Bug 199418

Summary: Dolphin crashed when choosing "Properties" from context menu
Product: [Applications] dolphin Reporter: Darek <gdarecki>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, frank78ac
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Darek 2009-07-08 14:19:11 UTC
Application that crashed: dolphin
Version of the application: 1.2.80
KDE Version: 4.2.95 (KDE 4.2.95 (KDE 4.3 RC1))
Qt Version: 4.5.0
Operating System: Linux 2.6.28-13-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
I chose "Properties" from the context menu (right-clicking on empty area: having no files/folders selected). Dophin crashed.

 -- Backtrace:
Application: Dolphin (dolphin), signal: Aborted
[KCrash Handler]
#6  0xb8071430 in __kernel_vsyscall ()
#7  0xb643d6d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb643f098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb64365ce in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#10 0xb639fb6d in Strigi::AnalysisResult::Private::Private () from /usr/lib/libstreamanalyzer.so.0
#11 0xb639fc9a in Strigi::AnalysisResult::AnalysisResult () from /usr/lib/libstreamanalyzer.so.0
#12 0xb7f08dde in KFileMetaInfoPrivate::init (this=0xaa5f6d0, stream=@0xbff8bed0, url=@0xbff8bf1c, mtime=1247054969) at /build/buildd/kde4libs-4.2.95/kio/kio/kfilemetainfo.cpp:198
#13 0xb7f0a4c2 in KFileMetaInfo (this=0xbff8bf24, url=@0xbff8bf1c) at /build/buildd/kde4libs-4.2.95/kio/kio/kfilemetainfo.cpp:240
#14 0xb7ef200a in KFileItem::metaInfo (this=0xa994f78, autoget=true) at /build/buildd/kde4libs-4.2.95/kio/kio/kfileitem.cpp:1217
#15 0xb7fca6ee in KFileMetaPropsPlugin (this=0xaa0e860, props=0xa971d10) at /build/buildd/kde4libs-4.2.95/kio/kfile/kmetaprops.cpp:63
#16 0xb7ff1550 in KPropertiesDialog::KPropertiesDialogPrivate::insertPages (this=0xa9663f0) at /build/buildd/kde4libs-4.2.95/kio/kfile/kpropertiesdialog.cpp:523
#17 0xb7ff1822 in KPropertiesDialog::KPropertiesDialogPrivate::init (this=0xa9663f0) at /build/buildd/kde4libs-4.2.95/kio/kfile/kpropertiesdialog.cpp:351
#18 0xb7ff2de1 in KPropertiesDialog (this=0xa971d10, _url=@0xa883380, parent=0x9d41940) at /build/buildd/kde4libs-4.2.95/kio/kfile/kpropertiesdialog.cpp:265
#19 0x08078c0f in DolphinContextMenu::openViewportContextMenu (this=0xbff8c204) at /build/buildd/kdebase-4.2.95/apps/dolphin/src/dolphincontextmenu.cpp:294
#20 0x080793dc in DolphinContextMenu::open (this=0xbff8c204) at /build/buildd/kdebase-4.2.95/apps/dolphin/src/dolphincontextmenu.cpp:107
#21 0x08072811 in DolphinViewContainer::openContextMenu (this=0xa6a8388, item=@0xbff8c388, url=@0xa9547d4, customActions=@0xbff8c4b8)
    at /build/buildd/kdebase-4.2.95/apps/dolphin/src/dolphinviewcontainer.cpp:363
#22 0x080749ea in DolphinViewContainer::qt_metacall (this=0xa6a8388, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbff8c324)
    at /build/buildd/kdebase-4.2.95/obj-i486-linux-gnu/apps/dolphin/src/dolphinviewcontainer.moc:124
#23 0xb67faca8 in QMetaObject::activate (sender=0xa798460, from_signal_index=44, to_signal_index=44, argv=0xbff8c324) at kernel/qobject.cpp:3069
#24 0xb67fb932 in QMetaObject::activate (sender=0xa798460, m=0xb7cdaf04, local_signal_index=17, argv=0xbff8c324) at kernel/qobject.cpp:3143
#25 0xb7ca760f in DolphinView::requestContextMenu (this=0xa798460, _t1=@0xbff8c388, _t2=@0xa9547d4, _t3=@0xbff8c4b8)
    at /build/buildd/kdebase-4.2.95/obj-i486-linux-gnu/apps/dolphin/src/dolphinview.moc:353
#26 0xb7ca8e7b in DolphinView::openContextMenu (this=0xa798460, pos=@0xbff8cca0, customActions=@0xbff8c4b8) at /build/buildd/kdebase-4.2.95/apps/dolphin/src/dolphinview.cpp:985
#27 0xb7cad8a0 in DolphinView::qt_metacall (this=0xa798460, _c=QMetaObject::InvokeMetaMethod, _id=41, _a=0xbff8c488)
    at /build/buildd/kdebase-4.2.95/obj-i486-linux-gnu/apps/dolphin/src/dolphinview.moc:212
#28 0xb67faca8 in QMetaObject::activate (sender=0xa9547c8, from_signal_index=6, to_signal_index=6, argv=0xbff8c488) at kernel/qobject.cpp:3069
#29 0xb67fb932 in QMetaObject::activate (sender=0xa9547c8, m=0xb7cda41c, local_signal_index=2, argv=0xbff8c488) at kernel/qobject.cpp:3143
#30 0xb7c95709 in DolphinController::requestContextMenu (this=0xa9547c8, _t1=@0xbff8cca0, _t2=
        {{p = {static shared_null = {ref = {_q_value = 16918}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0xbff8c4b8}, d = 0xbff8c4b8}})
    at /build/buildd/kdebase-4.2.95/obj-i486-linux-gnu/apps/dolphin/src/dolphincontroller.moc:150
#31 0xb7c96472 in DolphinController::triggerContextMenuRequest (this=0xa9547c8, pos=@0xbff8cca0, customActions=@0xbff8c4e8) at /build/buildd/kdebase-4.2.95/apps/dolphin/src/dolphincontroller.cpp:81
#32 0xb7c9bcf4 in DolphinIconsView::contextMenuEvent (this=0xa9e6b98, event=0xbff8cc90) at /build/buildd/kdebase-4.2.95/apps/dolphin/src/dolphiniconsview.cpp:164
#33 0xb6a7422c in QWidget::event (this=0xa9e6b98, event=0xbff8cc90) at kernel/qwidget.cpp:7675
#34 0xb6e4d993 in QFrame::event (this=0xa9e6b98, e=0xbff8cc90) at widgets/qframe.cpp:559
#35 0xb6eed94f in QAbstractScrollArea::viewportEvent (this=0xa9e6b98, e=0x6) at widgets/qabstractscrollarea.cpp:962
#36 0xb6f9f647 in QAbstractItemView::viewportEvent (this=0xa9e6b98, event=0xbff8cc90) at itemviews/qabstractitemview.cpp:1466
#37 0xb6eeff55 in QAbstractScrollAreaFilter::eventFilter (this=0xa7a8308, o=0xa77f0c8, e=0xbff8cc90) at widgets/qabstractscrollarea_p.h:100
#38 0xb67e3c5a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9d1bf28, receiver=0xa77f0c8, event=0xbff8cc90) at kernel/qcoreapplication.cpp:718
#39 0xb6a1ce7a in QApplicationPrivate::notify_helper (this=0x9d1bf28, receiver=0xa77f0c8, e=0xbff8cc90) at kernel/qapplication.cpp:4080
#40 0xb6a256dd in QApplication::notify (this=0xbff8d584, receiver=0xa77f0c8, e=0xbff8cc90) at kernel/qapplication.cpp:3873
#41 0xb77893dd in KApplication::notify (this=0xbff8d584, receiver=0xa77f0c8, event=0xbff8cc90) at /build/buildd/kde4libs-4.2.95/kdeui/kernel/kapplication.cpp:302
#42 0xb67e4a3b in QCoreApplication::notifyInternal (this=0xbff8d584, receiver=0xa77f0c8, event=0xbff8cc90) at kernel/qcoreapplication.cpp:602
#43 0xb6a27fee in QCoreApplication::sendSpontaneousEvent (receiver=0xa77f0c8, event=0x6) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#44 0xb6a95167 in QETWidget::translateMouseEvent (this=0xa798460, event=0xbff8d2ac) at kernel/qapplication_x11.cpp:4431
#45 0xb6a93ca7 in QApplication::x11ProcessEvent (this=0xbff8d584, event=0xbff8d2ac) at kernel/qapplication_x11.cpp:3421
#46 0xb6abec6a in x11EventSourceDispatch (s=0x9d1aab0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#47 0xb5f5ab88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#48 0xb5f5e0eb in ?? () from /usr/lib/libglib-2.0.so.0
#49 0xb5f5e268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#50 0xb6810438 in QEventDispatcherGlib::processEvents (this=0x9d14c40, flags={i = -1074211736}) at kernel/qeventdispatcher_glib.cpp:323
#51 0xb6abe365 in QGuiEventDispatcherGlib::processEvents (this=0x9d14c40, flags={i = -1074211688}) at kernel/qguieventdispatcher_glib.cpp:202
#52 0xb67e306a in QEventLoop::processEvents (this=0xbff8d510, flags={i = -1074211624}) at kernel/qeventloop.cpp:149
#53 0xb67e34aa in QEventLoop::exec (this=0xbff8d510, flags={i = -1074211560}) at kernel/qeventloop.cpp:200
#54 0xb67e5959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#55 0xb6a1cd17 in QApplication::exec () at kernel/qapplication.cpp:3553
#56 0x0807a8cf in main (argc=6, argv=0xbff8d734) at /build/buildd/kdebase-4.2.95/apps/dolphin/src/main.cpp:94

Reported using DrKonqi
Comment 1 Dario Andres 2009-07-08 15:55:49 UTC
What is your strigi version? (you can find that with the command "strigidaemon --version" on Konsole)
What directory were you browsing and you right clicked it on ? 
This is probably bug 185551.
Thanks
Comment 2 Darek 2009-07-08 16:25:50 UTC
(In reply to comment #1)
> What is your strigi version? (you can find that with the command "strigidaemon
> --version" on Konsole)
> What directory were you browsing and you right clicked it on ? 
> This is probably bug 185551.
> Thanks

strigidaemon 0.6.4
 Copyright (C) 2006-2007 Jos van den Oever and others
Comment 3 Darek 2009-07-08 16:37:04 UTC
(In reply to comment #1)

> What directory were you browsing and you right clicked it on ? 

No, I right-clicked on blank space below icons of files and folders and then chose "Properties" from context menu.
Comment 4 Dario Andres 2009-07-08 16:45:31 UTC
Thanks. What about the second question ?
Comment 5 Darek 2009-07-08 17:29:52 UTC
(In reply to comment #4)
> Thanks. What about the second question ?
Above?
Comment 6 Dario Andres 2009-07-08 17:32:00 UTC
Yes, what directory were you browsing with Dolphin ? Root, or any other special dir ? Thanks
Comment 7 Darek 2009-07-09 00:31:53 UTC
(In reply to comment #6)
> Yes, what directory were you browsing with Dolphin ? Root, or any other special
> dir ? Thanks

No, one of subdirectories of my home directory (like: /home/user/Documents/sth).
Comment 8 Frank Reininghaus 2009-07-09 01:17:17 UTC
If you open Dolphin from a Konsole, does the output before the crash contain

"Assertion `pos != m_path.size()-1' failed"?

In that case, it's indeed a duplicate of bug 185551 (this assert was removed when the bug was fixed).

@DarĂ­o: It seems that this can happen in any directory in 4.3, see e.g. bug 196324.
Comment 9 Darek 2009-07-09 01:40:25 UTC
(In reply to comment #8)
> If you open Dolphin from a Konsole, does the output before the crash contain
> 
> "Assertion `pos != m_path.size()-1' failed"?
> 
> In that case, it's indeed a duplicate of bug 185551 (this assert was removed
> when the bug was fixed).

Yes:

dolphin: /build/buildd/strigi-0.6.4/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.
KCrash: Application 'dolphin' crashing...
sock_file=/home/darek/.kde/socket-dpad/kdeinit4__0
Comment 10 Frank Reininghaus 2009-07-09 08:45:40 UTC
Thanks, it really is a duplicate then. The bug is fixed already in trunk (the current development version). For information when a fixed Strigi package (released separately from KDE) will be provided by your Linux distribution, please contact your distribution directly.

*** This bug has been marked as a duplicate of bug 185551 ***