Debugger crashes with corrupt memory, seems reproducible
|Reported by:||stippi||Owned by:||bonefish|
In the Images tab, I close the tree view handle for MainApp.cpp and open the one for MainWin.cpp below it. Scrolling a bit, I find the entry for MainWin::OpenPlaylistEntry() and select it. I set a breakpoint at the beginning of the function. Then I press the Run button and drop an MP3 into MediaPlayer. On the second invokation of F10, the Debugger crashes reproducibly. Usually, it's the following stack crawl:
Thread 7288 caused an exception: Segment violation ... [Switching to team generated/objects/haiku/x86/release/apps/debugger/Debugger gene (7283) thread worker (7288)] 0x0028856e in LoadImageDebugInfoJob::Do () (gdb) bt #0 0x0028856e in LoadImageDebugInfoJob::Do () #1 0x0029001f in Worker::_ProcessJobs () #2 0x002903af in Worker::_WorkerLoop () #3 0x0029047c in Worker::_WorkerLoopEntry () #4 0x006729ed in thread_entry () from /boot/system/lib/libroot.so #5 0x7003ffec in ?? ()
But the first time I got this crash, I was messing a bit in the variables view before stepping, and then it crashed in realloc().