HaikuArchives / Vision

A native Haiku IRC client that is feature filled, fast, lightweight, and stable.
Other
12 stars 15 forks source link

Crash in BDataPositionIOWrapper::Read #25

Closed humdingerb closed 6 years ago

humdingerb commented 6 years ago

Yesterday, just after saying to Vidrep that I haven't had Vision crash in a long time... it crashed. :) I thought that one was fixed with 18c4ccf ...

Here's the report:

Debug information for team /Source/Vision/dist/Vision (1344):
CPU(s): 8x Intel Core™ i7-4712MQ
Memory: 15.92 GiB total, 1.28 GiB used
Haiku revision: hrev51448 Sep 30 2017 08:37:40 (BePC)

Active Threads:
thread 1344: Vision (main)
thread 1347: the_spirits_within 
thread 1349: w>#haiku - Vision 
thread 1350: l>lookit! a ball! 
thread 4068: t>Tima 
thread 4069: s>Little Babies 
thread 4070: team 1344 debug task 
thread 1352: s>hello kitty 
    state: Exception (Segment violation)

    Frame       IP          Function Name
    -----------------------------------------------
    0x71151310  0xece7dd    BDataPositionIOWrapper::Read(void*, uint32) + 0x29 
        Disassembly:
            BDataPositionIOWrapper::Read(void*, uint32):
            0x00ece7b4:               55  push %ebp
            0x00ece7b5:             89e5  mov %esp, %ebp
            0x00ece7b7:           83ec0c  sub $0xc, %esp
            0x00ece7ba:               57  push %edi
            0x00ece7bb:               56  push %esi
            0x00ece7bc:               53  push %ebx
            0x00ece7bd:       e800000000  call 0xece7c2
            0x00ece7c2:               5b  pop %ebx
            0x00ece7c3:     81c34a610c00  add $0xc614a, %ebx
            0x00ece7c9:           8b7d08  mov 0x8(%ebp), %edi
            0x00ece7cc:           8b750c  mov 0xc(%ebp), %esi
            0x00ece7cf:           8b4510  mov 0x10(%ebp), %eax
            0x00ece7d2:           83c4fc  add $0xfffffffc, %esp
            0x00ece7d5:           8b5714  mov 0x14(%edi), %edx
            0x00ece7d8:           8b4a08  mov 0x8(%edx), %ecx
            0x00ece7db:               50  push %eax
            0x00ece7dc:               56  push %esi
            0x00ece7dd:         0fbf4110  movsx 0x10(%ecx), %eax <--

        Frame memory:
            [0x711512e4]  ............0J..   00 00 00 00 00 04 00 00 c2 e7 ec 00 30 4a 0a 02
            [0x711512f4]  .......q........   ff ff ff ff dc 18 15 71 c8 00 00 00 00 00 00 00
            [0x71151304]  ...q...q....       dc 18 15 71 d8 19 15 71 a6 85 05 02
    0x711519e0  0x20585a4   ServerAgent::Establish(void*) + 0x1620 
    0x71151a08  0x1a8a8d1   thread_entry + 0x21 
    00000000    0x61023250  commpage_thread_exit + 0 
janus2 commented 6 years ago

This crash is based on code that no longer exists. If it happens again please attach a new report. Thanks!