Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#8073 closed bug (invalid)

Error in libbe

Reported by: diger Owned by: nobody
Priority: normal Milestone: R1
Component: - General Version: R1/alpha3
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

hrev43018 gcc4

after BG's patches spurt TaskManager crash if you start with a parameter:
TaskManager --install

[Switching to team ./TaskManager --install (62058) thread TaskManager (62058)]
0x0042d536 in BView::_CheckLock () from /boot/system/lib/libbe.so
(gdb) bt
#0 0x0042d536 in BView::_CheckLock () from /boot/system/lib/libbe.so
#1 0x0042e423 in BView::Bounds () from /boot/system/lib/libbe.so
#2 0x0025d7a0 in CInstallationDialogView::GetPreferredSize ()
#3 0x0025e7fe in CInstallationDialog::CInstallationDialog ()
#4 0x0025e95d in CInstallationDialog::CreateInstance ()

On hrev42790 it worked

Attachments (1)

TaskManager.zip (339.5 KB ) - added by diger 13 years ago.

Download all attachments as: .zip

Change History (3)

by diger, 13 years ago

Attachment: TaskManager.zip added

comment:1 by anevilyak, 13 years ago

Resolution: invalid
Status: newclosed

This is a bug in TaskManager itself, not Haiku: at InstallationDialog.cpp:275 it calls languageMenuField->Bounds(), however the code to construct languageMenuField in CInstallationDialogView::CInstallationDialogView() has been commented out so that object ptr is completely uninitialized. It not crashing previously was probably complete luck.

comment:2 by diger, 13 years ago

Thanks, anevilyak. I stupid :). Now fix & run

Note: See TracTickets for help on using tickets.