Opened 15 years ago
Closed 15 years ago
#5860 closed bug (fixed)
Tracker crashes when moving a file (drag'n'drop) that was deleted meanwhile
Reported by: | aldeck | Owned by: | anevilyak |
---|---|---|---|
Priority: | normal | Milestone: | R1/alpha2 |
Component: | Applications/Tracker | Version: | R1/alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Tracker crashes when moving a file (drag'n'drop) that was deleted meanwhile
haiku hrev36523
example testcase:
. create two folders on the desktop with alt+N
. drag the second one into the first but hit alt+Z (undo) before dropping
. drop it
[Switching to team /boot/system/Tracker (38492) thread w>Desktop (38502)] 0x005556a1 in BPrivate::CheckDevicesEqual () from /boot/system/lib/libtracker.so (gdb) bt #0 0x005556a1 in BPrivate::CheckDevicesEqual () from /boot/system/lib/libtracker.so #1 0x005bd95c in BPrivate::BPoseView::MoveSelectionInto () from /boot/system/lib/libtracker.so #2 0x005bc748 in BPrivate::BPoseView::HandleDropCommon () from /boot/system/lib/libtracker.so #3 0x005bb02e in BPrivate::BPoseView::HandleMessageDropped () from /boot/system/lib/libtracker.so #4 0x005b4200 in BPrivate::BPoseView::MessageReceived () from /boot/system/lib/libtracker.so #5 0x002ca6c7 in BLooper::DispatchMessage () from /boot/system/lib/libbe.so #6 0x0038e661 in BWindow::DispatchMessage () from /boot/system/lib/libbe.so #7 0x003927f4 in BWindow::task_looper () from /boot/system/lib/libbe.so #8 0x002cbc23 in BLooper::_task0_ () from /boot/system/lib/libbe.so #9 0x0069d0b2 in thread_entry () from /boot/system/lib/libroot.so #10 0x70184fec in ?? ()
Change History (3)
comment:1 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → in-progress |
comment:2 by , 15 years ago
Milestone: | R1 → R1/alpha2 |
---|
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | in-progress → closed |
Fixed by anevilyak in hrev36543
Note:
See TracTickets
for help on using tickets.
Looks like MoveSelectionInto isn't checking for the case where the selection list is empty...looking into it.