Opened 9 years ago

Closed 8 years ago

#6845 closed bug (fixed)

[Media] crashed on start in BBitmap::Bounds ()

Reported by: diver Owned by: anevilyak
Priority: normal Milestone: R1
Component: Preferences/Media Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


hrev39530, gcc4 hybrid.

It crashed on start, next run worked fine though. Not reproducible.

Thread 787 caused an exception: Segment violation
[Switching to team /boot/system/preferences/Media (782) thread w>Media (787)]
0x00368ed7 in BBitmap::Bounds () from /boot/system/lib/
(gdb) bt
#0  0x00368ed7 in BBitmap::Bounds () from /boot/system/lib/
#1  0x00401c15 in BView::DrawBitmap () from /boot/system/lib/
#2  0x0020d766 in MediaListItem::DrawItem ()
#3  0x0039b116 in BListView::DrawItem () from /boot/system/lib/
#4  0x0039ba50 in BListView::Draw () from /boot/system/lib/
#5  0x00402d13 in BView::_Draw () from /boot/system/lib/
#6  0x0040e08e in BWindow::DispatchMessage () from /boot/system/lib/
#7  0x00409bd9 in BWindow::task_looper () from /boot/system/lib/
#8  0x0034ccea in BLooper::_task0_ () from /boot/system/lib/
#9  0x00558a54 in thread_entry () from /boot/system/lib/
#10 0x70080fec in ?? ()

Change History (1)

comment:1 Changed 8 years ago by yourpalal

Resolution: fixed
Status: newclosed

I think this should be fixed, in hrev40127, the icons were being initialized after the window was created, which was causing a race condition (whether or not the window got drawn before the icons were initialized). Now, the icons are initialized before the window is created. I also experienced this once, while testing some other changes I had made.

Note: See TracTickets for help on using tickets.