Opened 12 years ago

Closed 12 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


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/
(gdb) bt
#0  0x005556a1 in BPrivate::CheckDevicesEqual ()
   from /boot/system/lib/
#1  0x005bd95c in BPrivate::BPoseView::MoveSelectionInto ()
   from /boot/system/lib/
#2  0x005bc748 in BPrivate::BPoseView::HandleDropCommon ()
   from /boot/system/lib/
#3  0x005bb02e in BPrivate::BPoseView::HandleMessageDropped ()
   from /boot/system/lib/
#4  0x005b4200 in BPrivate::BPoseView::MessageReceived ()
   from /boot/system/lib/
#5  0x002ca6c7 in BLooper::DispatchMessage () from /boot/system/lib/
#6  0x0038e661 in BWindow::DispatchMessage () from /boot/system/lib/
#7  0x003927f4 in BWindow::task_looper () from /boot/system/lib/
#8  0x002cbc23 in BLooper::_task0_ () from /boot/system/lib/
#9  0x0069d0b2 in thread_entry () from /boot/system/lib/
#10 0x70184fec in ?? ()

Change History (3)

comment:1 by anevilyak, 12 years ago

Owner: changed from axeld to anevilyak
Status: newin-progress

comment:2 by anevilyak, 12 years ago

Milestone: R1R1/alpha2

Looks like MoveSelectionInto isn't checking for the case where the selection list is empty...looking into it.

comment:3 by aldeck, 12 years ago

Resolution: fixed
Status: in-progressclosed

Fixed by anevilyak in hrev36543

Note: See TracTickets for help on using tickets.