Opened 10 years ago

Closed 10 years ago

#5051 closed bug (fixed)

Crash problably due BTabView with no BTab's added

Reported by: oruizdorantes Owned by: axeld
Priority: normal Milestone: R1
Component: Kits/Interface Kit Version: R1/alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

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 ?? ()

Change History (2)

comment:1 by axeld, 10 years ago

Component: User InterfaceKits/Interface Kit
Owner: changed from stippi to axeld
Status: newassigned

This particular issue should be fixed with hrev34346. Please confirm if that was all.

comment:2 by oruizdorantes, 10 years ago

Resolution: fixed
Status: assignedclosed

Just tested, fixed.

Note: See TracTickets for help on using tickets.