Opened 14 years ago
Closed 14 years ago
#7073 closed bug (fixed)
[BootManager] crash in BPath::Path ()
Reported by: | diver | Owned by: | anevilyak |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/BootManager | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
This is hrev40142, gcc4hybrid.
While trying to figure out what's wrong with jumping text on the Backup Master Boot Record page by clicking next/Previous buttons several times BootManager suddenly crashed.
Thread 233 caused an exception: Segment violation [...] [Switching to team /boot/system/apps/BootManager (229) thread w>BootManager (233)] 0x003c6926 in BPath::Path () from /boot/system/lib/libbe.so (gdb) bt #0 0x003c6926 in BPath::Path () from /boot/system/lib/libbe.so #1 0x0020fddd in DrivesPage::PageCompleted () #2 0x002143b2 in WizardView::PageCompleted () #3 0x00214cc2 in WizardController::Next () #4 0x0020e818 in BootManagerWindow::MessageReceived () #5 0x002e38b8 in BLooper::DispatchMessage () from /boot/system/lib/libbe.so #6 0x003a6828 in BWindow::DispatchMessage () from /boot/system/lib/libbe.so #7 0x003a212d in BWindow::task_looper () from /boot/system/lib/libbe.so #8 0x002e511a in BLooper::_task0_ () from /boot/system/lib/libbe.so #9 0x00783060 in thread_entry () from /boot/system/lib/libroot.so #10 0x7003ffec in ?? () (gdb)
Change History (16)
comment:1 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 14 years ago
comment:3 by , 14 years ago
This just a work-in-progress version; the crash should be gone now.
In any case, there are still some layout problems left; I probably won't find the time to work on that myself in which case I will add some bug reports for them if no one beats me.
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Damn hidden "resolve as fixed" UI gets me every time...
comment:5 by , 14 years ago
There is now a similar problem. On the first page select a drive then click "Install"; then click "Back"; now the "Install" button is still enabled, but no drive is selected. When you click "Install" the application crashes.
comment:6 by , 14 years ago
Thanks for the note! I could not reproduce the problem, however - the boot volume should have been selected always.
In any case, there were a number of issues that I resolved in hrev40173, for example, the next button is now actually disabled if there is no selection (copy&paste bug), and the previously chosen disk is now selected again when reentering the page.
comment:7 by , 14 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Reproducible in hrev40189, reopening.
follow-up: 11 comment:9 by , 14 years ago
Ah, you mean when you click on an empty space in the list? Looks like Rene's fix to the problem I introduced wasn't complete yet.
comment:11 by , 14 years ago
Replying to axeld:
Ah, you mean when you click on an empty space in the list? Looks like Rene's fix to the problem I introduced wasn't complete yet.
Oops, sorry. Should both Next and Previous be disabled in that instance? I notice right now it bases the Previous button's state on the selected drive as well.
comment:12 by , 14 years ago
Both should be disabled in that case, yes (as they are misused as "uninstall" and "install" buttons at that time). I think the code when creating the UI should just be moved to _UpdateWizardButtons(), and that function should then also be called with a NULL parameter before filling the list.
comment:14 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | reopened → in-progress |
Is syslog needed at all?