[haiku-bugs] [Haiku] #5051: Crash problably due BTabView with no BTab's added

  • From: "oruizdorantes" <trac@xxxxxxxxxxxx>
  • Date: Sat, 28 Nov 2009 21:54:15 -0000

#5051: Crash problably due BTabView with no BTab's added
----------------------------+-----------------------------------------------
 Reporter:  oruizdorantes   |       Owner:  stippi   
     Type:  bug             |      Status:  new      
 Priority:  normal          |   Milestone:  R1       
Component:  User Interface  |     Version:  R1/alpha1
 Keywords:                  |   Blockedby:           
 Platform:  All             |    Blocking:           
----------------------------+-----------------------------------------------
 The BTabView was constructed(inside a BWindow) but without any BTab
 attached, (tabs are added afterwards upon user request). Such scheme was
 possible in R5.

 Adding a Tab at the end of the constructor of the BWindow solved the
 crash.

 Trace:
 {{{
 #0  0x004bbd26 in BTab::Label () from /boot/system/lib/libbe.so
 #1  0x004be643 in BTabView::TabFrame () from /boot/system/lib/libbe.so
 #2  0x004bddde in BTabView::Draw () from /boot/system/lib/libbe.so
 #3  0x004dee70 in BView::_Draw () from /boot/system/lib/libbe.so
 #4  0x004e3c65 in BWindow::DispatchMessage () from
 /boot/system/lib/libbe.so
 #5  0x004e7c2c in BWindow::task_looper () from /boot/system/lib/libbe.so
 #6  0x004252f3 in BLooper::_task0_ () from /boot/system/lib/libbe.so
 #7  0x002910c8 in thread_entry () from /boot/system/lib/libroot.so
 #8  0x7003ffec in ?? ()
 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5051>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: