Opened 17 years ago

Closed 17 years ago

#960 closed bug (fixed)

Divide by zero error on atapi drives in diskprobe

Reported by: genki0 Owned by: axeld
Priority: normal Milestone: R1
Component: Applications/DiskProbe Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: x86

Description

Hello,

Starting diskprobe and selecting and probing my (empty) atapi drive will crash like this:

Thread 487 caused an exception: Divide error <cut>

[Switching to team /boot/beos/apps/DiskProbe (487) thread DiskProbe (487)] 0x006bb9bf in divdi3 () from /boot/beos/system/lib/libroot.so (gdb) bt #0 0x006bb9bf in divdi3 () from /boot/beos/system/lib/libroot.so #1 0x00228f7d in HeaderView::UpdateFileSizeView () #2 0x00227cbf in HeaderView::HeaderView () #3 0x0022a546 in ProbeView::ProbeView () #4 0x00220d1d in FileWindow::FileWindow () #5 0x0021753d in DiskProbe::Probe () #6 0x002177c3 in DiskProbe::RefsReceived () #7 0x002f0785 in BApplication::DispatchMessage ()

from /boot/beos/system/lib/libbe.so

#8 0x002faff5 in BLooper::task_looper () from /boot/beos/system/lib/libbe.so #9 0x002eef27 in BApplication::Run () from /boot/beos/system/lib/libbe.so #10 0x002183b7 in main () (gdb)

Change History (1)

comment:1 by axeld, 17 years ago

Resolution: fixed
Status: newclosed

Thanks for the report, it's fixed in hrev19940. (just for the record, this didn't happen in R5, as the CD did not report a block size of 0 without a medium; we may want to change this, too)

Note: See TracTickets for help on using tickets.