[haiku-bugs] [Haiku] #7301: Tracker's file sorting bug

  • From: "mr.Noisy" <trac@xxxxxxxxxxxx>
  • Date: Mon, 28 Feb 2011 14:40:50 -0000

#7301: Tracker's file sorting bug
------------------------------------------+------------------------------
 Reporter:  mr.Noisy                      |        Owner:  axeld
     Type:  bug                           |       Status:  new
 Priority:  normal                        |    Milestone:  R1
Component:  Applications/Tracker          |      Version:  R1/Development
 Keywords:  sorting type-ahead filtering  |   Blocked By:
 Blocking:                                |  Has a Patch:  0
 Platform:  All                           |
------------------------------------------+------------------------------
 Hello!

 Tracker crashes while sorting files if type-ahead filtering is used.
 Bug is 100% reproducible on my r40649 GCC4/Hybrid.

 Here is a backtrace output:
 {{{
 (gdb) bt
 #0  0x003dc7d0 in BList::CountItems () from /boot/system/lib/libbe.so
 #1  0x00569159 in BObjectList<BPrivate::BTextWidget>::CountItems () from
 /boot/system/lib/libtracker.so
 #2  0x005669f5 in BPrivate::BPose::WidgetFor () from
 /boot/system/lib/libtracker.so
 #3  0x0056b1bb in
 _ZL20PoseCompareAddWidgetPKN8BPrivate5BPoseES2_PNS_9BPoseViewE () from
 /boot/system/lib/libtracker.so
 #4  0x005898aa in std::__insertion_sort<BPrivate::BPose**, PoseComparator>
 () from /boot/system/lib/libtracker.so
 #5  0x00589a0c in std::__chunk_insertion_sort<BPrivate::BPose**, long,
 PoseComparator> () from /boot/system/lib/libtracker.so
 #6  0x00589bb1 in std::__merge_sort_with_buffer<BPrivate::BPose**,
 BPrivate::BPose**, PoseComparator> ()
    from /boot/system/lib/libtracker.so
 #7  0x0058a2b0 in std::__stable_sort_adaptive<BPrivate::BPose**,
 BPrivate::BPose**, long, PoseComparator> ()
    from /boot/system/lib/libtracker.so
 #8  0x0057b2e5 in BPrivate::BPoseView::SortPoses () from
 /boot/system/lib/libtracker.so
 #9  0x005a637f in BPrivate::ColumnDragState::Clicked () from
 /boot/system/lib/libtracker.so
 #10 0x005a4e72 in BPrivate::ColumnTrackState::MouseUp () from
 /boot/system/lib/libtracker.so
 #11 0x005a4edc in BPrivate::BTitleView::MouseUp () from
 /boot/system/lib/libtracker.so
 #12 0x0038caf5 in BWindow::DispatchMessage () from
 /boot/system/lib/libbe.so
 #13 0x00388d5d in BWindow::task_looper () from /boot/system/lib/libbe.so
 #14 0x002cb29a in BLooper::_task0_ () from /boot/system/lib/libbe.so
 #15 0x006350b0 in thread_entry () from /boot/system/lib/libroot.so
 #16 0x701c5fec in ?? ()
 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7301>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: