Version: (using Devel) Compiler: g++-4.3 OS: Linux Installed from: Compiled sources Dolphin crashes with SIGABRT on viewing the properties of any directory ending in "/" (e.g., /, trash:/). Based on the debug output and backtrace below, it appears that the problem is related to the assertion added in revision 914514 at trunk/kdesupport/strigi/src/streamanalyzer/analysisresult.cpp:152. The line is: assert(pos != m_path.size()-1); // make sure there is no trailing '/' It's not clear to me right now whether this assertion is necessary and dolphin should do something differently or strigi should handle these cases differently. As a side note, it handles things like "remote:" fine, which is what the network bookmark is in my 4.2 build, but trunk has "remote:/", which doesn't. Debug Output: _____________________________ dolphin: /home/steve/kde/src/kdesupport/strigi/src/streamanalyzer/analysisresult.cpp:152: Strigi::AnalysisResult::Private::Private(const std::string&, time_t, Strigi::IndexWriter&, Strigi::StreamAnalyzer&, const std::string&, Strigi::AnalysisResult&): Assertion `pos != m_path.size()-1' failed. Backtrace: _____________________________ Application: Dolphin (dolphin), signal SIGABRT [Current thread is 0 (LWP 10657)] Thread 2 (Thread 0xb382ab90 (LWP 10663)): #0 0xb7f78430 in __kernel_vsyscall () #1 0xb666b3a2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb40c166f in ?? () from /usr/lib/libxine.so.1 Thread 1 (Thread 0xb5c746c0 (LWP 10657)): [KCrash Handler] #6 0xb7f78430 in __kernel_vsyscall () #7 0xb640b8a0 in raise () from /lib/tls/i686/cmov/libc.so.6 #8 0xb640d268 in abort () from /lib/tls/i686/cmov/libc.so.6 #9 0xb640472e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6 #10 0xb6340223 in Strigi::AnalysisResult::Private::Private () from /home/steve/kde/lib/libstreamanalyzer.so.0 #11 0xb63404aa in Strigi::AnalysisResult::AnalysisResult () from /home/steve/kde/lib/libstreamanalyzer.so.0 #12 0xb7e1b26c in KFileMetaInfoPrivate::init (this=0x9e77aa0, stream=@0xbfc769f4, url=@0xbfc76a40, mtime=1235540214) at /home/steve/kde/src/KDE/kdelibs/kio/kio/kfilemetainfo.cpp:198 #13 0xb7e1b420 in KFileMetaInfo (this=0xbfc76a48, url=@0xbfc76a40) at /home/steve/kde/src/KDE/kdelibs/kio/kio/kfilemetainfo.cpp:240 #14 0xb7e0c35d in KFileItem::metaInfo (this=0x97ff648, autoget=true) at /home/steve/kde/src/KDE/kdelibs/kio/kio/kfileitem.cpp:1195 #15 0xb7eb7824 in KFileMetaPropsPlugin (this=0x9e7e9c0, props=0x9dbfcf0) at /home/steve/kde/src/KDE/kdelibs/kio/kfile/kmetaprops.cpp:63 #16 0xb7ed92cf in KPropertiesDialog::KPropertiesDialogPrivate::insertPages (this=0x9dccf10) at /home/steve/kde/src/KDE/kdelibs/kio/kfile/kpropertiesdialog.cpp:526 #17 0xb7ed98af in KPropertiesDialog::KPropertiesDialogPrivate::init (this=0x9dccf10) at /home/steve/kde/src/KDE/kdelibs/kio/kfile/kpropertiesdialog.cpp:348 #18 0xb7ede638 in KPropertiesDialog (this=0x9dbfcf0, _url=@0xbfc76c30, parent=0x9de36c0) at /home/steve/kde/src/KDE/kdelibs/kio/kfile/kpropertiesdialog.cpp:262 #19 0xb7bbf3b9 in DolphinViewActionHandler::slotProperties (this=0x9defac0) at /home/steve/kde/src/KDE/kdebase/apps/dolphin/src/dolphinviewactionhandler.cpp:534 #20 0xb7b9ff85 in DolphinViewActionHandler::qt_metacall (this=0x9defac0, _c=QMetaObject::InvokeMetaMethod, _id=24, _a=0xbfc76d6c) at /home/steve/kde/build/KDE/kdebase/apps/dolphin/src/moc_dolphinviewactionhandler.cpp:135 #21 0xb67ffbe7 in QMetaObject::activate (sender=0x9dd08d0, from_signal_index=5, to_signal_index=6, argv=0xbfc76d6c) at kernel/qobject.cpp:3061 #22 0xb67ffe18 in QMetaObject::activate (sender=0x9dd08d0, m=0xb71ce228, from_local_signal_index=1, to_local_signal_index=2, argv=0xbfc76d6c) at kernel/qobject.cpp:3156 #23 0xb6a07e42 in QAction::triggered (this=0x9dd08d0, _t1=false) at .moc/debug-shared/moc_qaction.cpp:236 #24 0xb6a09b50 in QAction::activate (this=0x9dd08d0, event=QAction::Trigger) at kernel/qaction.cpp:1155 #25 0xb6ec59c7 in QMenuPrivate::activateCausedStack (this=0x9e667b8, causedStack=@0xbfc76e54, action=0x9dd08d0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:957 #26 0xb6eca0ba in QMenuPrivate::activateAction (this=0x9e667b8, action=0x9dd08d0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1053 #27 0xb6ecbdbf in QMenu::mouseReleaseEvent (this=0x9dfa578, e=0xbfc77588) at widgets/qmenu.cpp:2247 #28 0xb775a6c4 in KMenu::mouseReleaseEvent (this=0x9dfa578, e=0xbfc77588) at /home/steve/kde/src/KDE/kdelibs/kdeui/widgets/kmenu.cpp:454 #29 0xb6a70862 in QWidget::event (this=0x9dfa578, event=0xbfc77588) at kernel/qwidget.cpp:7511 #30 0xb6ecb175 in QMenu::event (this=0x9dfa578, e=0xbfc77588) at widgets/qmenu.cpp:2346 #31 0xb6a10005 in QApplicationPrivate::notify_helper (this=0x95edc08, receiver=0x9dfa578, e=0xbfc77588) at kernel/qapplication.cpp:4051 #32 0xb6a10c12 in QApplication::notify (this=0xbfc7937c, receiver=0x9dfa578, e=0xbfc77588) at kernel/qapplication.cpp:3753 #33 0xb7676581 in KApplication::notify (this=0xbfc7937c, receiver=0x9dfa578, event=0xbfc77588) at /home/steve/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307 #34 0xb67e95e3 in QCoreApplication::notifyInternal (this=0xbfc7937c, receiver=0x9dfa578, event=0xbfc77588) at kernel/qcoreapplication.cpp:593 #35 0xb6a1bb39 in QCoreApplication::sendSpontaneousEvent (receiver=0x9dfa578, event=0xbfc77588) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:211 #36 0xb6a14c5c in QApplicationPrivate::sendMouseEvent (receiver=0x9dfa578, event=0xbfc77588, alienWidget=0x0, nativeWidget=0x9dfa578, buttonDown=0xb71edd80, lastMouseReceiver=@0xb71edd84) at kernel/qapplication.cpp:2913 #37 0xb6a91d5f in QETWidget::translateMouseEvent (this=0x9dfa578, event=0xbfc77b9c) at kernel/qapplication_x11.cpp:4348 #38 0xb6a9310d in QApplication::x11ProcessEvent (this=0xbfc7937c, event=0xbfc77b9c) at kernel/qapplication_x11.cpp:3410 #39 0xb6abeb84 in x11EventSourceDispatch (s=0x95eb980, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:141 #40 0xb5fa26f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #41 0xb5fa5da3 in ?? () from /usr/lib/libglib-2.0.so.0 #42 0xb5fa5f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #43 0xb681841e in QEventDispatcherGlib::processEvents (this=0x95edcf0, flags={i = -1077445292}) at kernel/qeventdispatcher_glib.cpp:318 #44 0xb6abe37c in QGuiEventDispatcherGlib::processEvents (this=0x95edcf0, flags={i = -1077445244}) at kernel/qguieventdispatcher_glib.cpp:197 #45 0xb67e65d4 in QEventLoop::processEvents (this=0xbfc77e10, flags={i = -1077445168}) at kernel/qeventloop.cpp:144 #46 0xb67e682e in QEventLoop::exec (this=0xbfc77e10, flags={i = -1077445096}) at kernel/qeventloop.cpp:191 #47 0xb6ec8818 in QMenu::exec (this=0x9dfa578, p=@0xbfc77e58, action=0x0) at widgets/qmenu.cpp:1986 #48 0x08075fb2 in DolphinContextMenu::openTrashContextMenu (this=0xbfc77f48) at /home/steve/kde/src/KDE/kdebase/apps/dolphin/src/dolphincontextmenu.cpp:133 #49 0x0807631d in DolphinContextMenu::open (this=0xbfc77f48) at /home/steve/kde/src/KDE/kdebase/apps/dolphin/src/dolphincontextmenu.cpp:102 #50 0x0806f058 in DolphinViewContainer::openContextMenu (this=0x95e3b90, item=@0xbfc780dc, url=@0x9df842c, customActions=@0xbfc78220) at /home/steve/kde/src/KDE/kdebase/apps/dolphin/src/dolphinviewcontainer.cpp:360 #51 0x0806fddd in DolphinViewContainer::qt_metacall (this=0x95e3b90, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbfc78074) at /home/steve/kde/build/KDE/kdebase/apps/dolphin/src/dolphinviewcontainer.moc:122 #52 0xb67ffbe7 in QMetaObject::activate (sender=0x9de36c0, from_signal_index=43, to_signal_index=43, argv=0xbfc78074) at kernel/qobject.cpp:3061 #53 0xb6800fb7 in QMetaObject::activate (sender=0x9de36c0, m=0xb7befea4, local_signal_index=16, argv=0xbfc78074) at kernel/qobject.cpp:3136 #54 0xb7bb7aa6 in DolphinView::requestContextMenu (this=0x9de36c0, _t1=@0xbfc780dc, _t2=@0x9df842c, _t3=@0xbfc78220) at /home/steve/kde/build/KDE/kdebase/apps/dolphin/src/dolphinview.moc:327 #55 0xb7bb9ff1 in DolphinView::openContextMenu (this=0x9de36c0, pos=@0xbfc78ad4, customActions=@0xbfc78220) at /home/steve/kde/src/KDE/kdebase/apps/dolphin/src/dolphinview.cpp:941 #56 0xb7bbcbac in DolphinView::qt_metacall (this=0x9de36c0, _c=QMetaObject::InvokeMetaMethod, _id=39, _a=0xbfc781e8) at /home/steve/kde/build/KDE/kdebase/apps/dolphin/src/dolphinview.moc:198 #57 0xb67ffbe7 in QMetaObject::activate (sender=0x9df8420, from_signal_index=6, to_signal_index=6, argv=0xbfc781e8) at kernel/qobject.cpp:3061 #58 0xb6800fb7 in QMetaObject::activate (sender=0x9df8420, m=0xb7bef42c, local_signal_index=2, argv=0xbfc781e8) at kernel/qobject.cpp:3136 #59 0xb7ba07ff in DolphinController::requestContextMenu (this=0x9df8420, _t1=@0xbfc78ad4, _t2= {{p = {static shared_null = {ref = {_q_value = 14767}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0xbfc78220}, d = 0xbfc78220}}) at /home/steve/kde/build/KDE/kdebase/apps/dolphin/src/dolphincontroller.moc:147 #60 0xb7ba08ee in DolphinController::triggerContextMenuRequest (this=0x9df8420, pos=@0xbfc78ad4, customActions=@0xbfc78250) at /home/steve/kde/src/KDE/kdebase/apps/dolphin/src/dolphincontroller.cpp:81 #61 0xb7ba9289 in DolphinIconsView::contextMenuEvent (this=0x9de3f88, event=0xbfc78ac4) at /home/steve/kde/src/KDE/kdebase/apps/dolphin/src/dolphiniconsview.cpp:178 #62 0xb6a70fe0 in QWidget::event (this=0x9de3f88, event=0xbfc78ac4) at kernel/qwidget.cpp:7670 #63 0xb6e7d4f4 in QFrame::event (this=0x9de3f88, e=0xbfc78ac4) at widgets/qframe.cpp:554 #64 0xb6f19e9f in QAbstractScrollArea::viewportEvent (this=0x9de3f88, e=0xbfc78ac4) at widgets/qabstractscrollarea.cpp:957 #65 0xb6fc21b6 in QAbstractItemView::viewportEvent (this=0x9de3f88, event=0xbfc78ac4) at itemviews/qabstractitemview.cpp:1461 #66 0xb6f1ca56 in QAbstractScrollAreaPrivate::viewportEvent (this=0x9de3ff0, event=0xbfc78ac4) at widgets/qabstractscrollarea_p.h:95 #67 0xb6f1ca84 in QAbstractScrollAreaFilter::eventFilter (this=0x9dda5a8, o=0x9de1188, e=0xbfc78ac4) at widgets/qabstractscrollarea_p.h:106 #68 0xb67e79b4 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x95edc08, receiver=0x9de1188, event=0xbfc78ac4) at kernel/qcoreapplication.cpp:713 #69 0xb6a0ffe2 in QApplicationPrivate::notify_helper (this=0x95edc08, receiver=0x9de1188, e=0xbfc78ac4) at kernel/qapplication.cpp:4047 #70 0xb6a1135a in QApplication::notify (this=0xbfc7937c, receiver=0x9de1188, e=0xbfc78ac4) at kernel/qapplication.cpp:3840 #71 0xb7676581 in KApplication::notify (this=0xbfc7937c, receiver=0x9de1188, event=0xbfc78ac4) at /home/steve/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307 #72 0xb67e95e3 in QCoreApplication::notifyInternal (this=0xbfc7937c, receiver=0x9de1188, event=0xbfc78ac4) at kernel/qcoreapplication.cpp:593 #73 0xb6a1bb39 in QCoreApplication::sendSpontaneousEvent (receiver=0x9de1188, event=0xbfc78ac4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:211 #74 0xb6a92101 in QETWidget::translateMouseEvent (this=0x9957db0, event=0xbfc7909c) at kernel/qapplication_x11.cpp:4420 #75 0xb6a9310d in QApplication::x11ProcessEvent (this=0xbfc7937c, event=0xbfc7909c) at kernel/qapplication_x11.cpp:3410 #76 0xb6abeb84 in x11EventSourceDispatch (s=0x95eb980, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:141 #77 0xb5fa26f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #78 0xb5fa5da3 in ?? () from /usr/lib/libglib-2.0.so.0 #79 0xb5fa5f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #80 0xb681841e in QEventDispatcherGlib::processEvents (this=0x95edcf0, flags={i = -1077439916}) at kernel/qeventdispatcher_glib.cpp:318 #81 0xb6abe37c in QGuiEventDispatcherGlib::processEvents (this=0x95edcf0, flags={i = -1077439868}) at kernel/qguieventdispatcher_glib.cpp:197 #82 0xb67e65d4 in QEventLoop::processEvents (this=0xbfc79310, flags={i = -1077439792}) at kernel/qeventloop.cpp:144 #83 0xb67e682e in QEventLoop::exec (this=0xbfc79310, flags={i = -1077439720}) at kernel/qeventloop.cpp:191 #84 0xb67e9dbb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:875 #85 0xb6a0fd1e in QApplication::exec () at kernel/qapplication.cpp:3526 #86 0x080781b5 in main (argc=6, argv=0xbfc79534) at /home/steve/kde/src/KDE/kdebase/apps/dolphin/src/main.cpp:94