Bug 276851

Summary: Dolphin crashes when i try to click on zip file
Product: [Applications] dolphin Reporter: Łukasz Czyrny <lukasz.czyrny>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED FIXED    
Severity: crash CC: alexandar.vladimirov
Priority: NOR    
Version: 1.6.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.7.0
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Łukasz Czyrny 2011-06-30 19:57:48 UTC
Application: dolphin (1.6.1)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I downloaded the zip file, and when i moved the cursor above file the Delphin crashed. I tried many times - still the same. In addition - it is only on one file, with other zip files Dolphin works correct.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Aborted
[Current thread is 1 (Thread 0x7fe15be52780 (LWP 9342))]

Thread 4 (Thread 0x7fe1480e5700 (LWP 9343)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fe1480e4ae0 in ?? ()
#2  0x00007fffe0fff7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x7fe1459d4700 (LWP 9345)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fe1459d3ae0 in ?? ()
#2  0x00007fffe0fff7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7fe1451d3700 (LWP 9355)):
[KCrash Handler]
#6  0x00007fe15b6a0d05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fe15b6a4ab6 in abort () at abort.c:92
#8  0x00007fe15b6997c5 in __assert_fail (assertion=0x7fe155b86c20 "m_path.size() > m_parent->p->m_path.size()+1", file=<value optimized out>, line=134, function=<value optimized out>) at assert.c:81
#9  0x00007fe155b3becf in Strigi::AnalysisResult::Private::Private (this=0x7fe14016cea0, p=..., name=<value optimized out>, mt=<value optimized out>, t=..., parent=...) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:134
#10 0x00007fe155b3bf95 in Strigi::AnalysisResult::AnalysisResult (this=0x7fe140111a10, path=..., name=0x7fe14016da45 "", mt=1303185134, parent=...) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:140
#11 0x00007fe155b3c2c2 in Strigi::AnalysisResult::indexChild (this=0x7fe1451d29d0, name=<value optimized out>, mt=1303185134, file=0x7fe140109940) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:249
#12 0x00007fe155b795a8 in ZipEndAnalyzer::analyze (this=0x7fe14005e500, idx=..., in=0x7fe140056500) at /build/buildd/strigi-0.7.2/src/streamanalyzer/endanalyzers/zipendanalyzer.cpp:62
#13 0x00007fe155b5eeca in Strigi::StreamAnalyzerPrivate::analyze (this=0x7fe14000a3b0, idx=..., input=0x7fe140056500) at /build/buildd/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
#14 0x00007fe1597e37d1 in KFileMetaInfoPrivate::init (this=0x7fe140086ec0, stream=..., url=..., mtime=<value optimized out>, w=<value optimized out>) at ../../kio/kio/kfilemetainfo.cpp:257
#15 0x00007fe1597e402f in KFileMetaInfo::KFileMetaInfo (this=0x7fe1451d2ce0, path=<value optimized out>, w=...) at ../../kio/kio/kfilemetainfo.cpp:286
#16 0x00007fe1598b14b6 in KLoadFileMetaDataThread::run (this=0x2777da0) at ../../kio/kfile/kloadfilemetadatathread.cpp:143
#17 0x00007fe157ab9175 in QThreadPrivate::start (arg=0x2777da0) at thread/qthread_unix.cpp:320
#18 0x00007fe1543afd8c in start_thread (arg=0x7fe1451d3700) at pthread_create.c:304
#19 0x00007fe15b75304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe15be52780 (LWP 9342)):
#0  0x00007fe15b745f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe151cb8512 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fe151cb8a5f in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fe151cb8ae4 in xcb_writev () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007fe15529f2a7 in _XSend () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007fe15529f641 in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#6  0x00007fe15528ff1f in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#7  0x00007fe158606ca7 in x11EventSourcePrepare (s=0x20307d0, timeout=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:77
#8  0x00007fe153ee30a2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fe153ee3f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fe153ee4639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fe157bcb3ef in QEventDispatcherGlib::processEvents (this=0x1fdadb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#12 0x00007fe158606dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#13 0x00007fe157b9f882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007fe157b9fabc in QEventLoop::exec (this=0x7fffe0fd5d20, flags=...) at kernel/qeventloop.cpp:201
#15 0x00007fe15899ea11 in QMenu::exec (this=0x265a050, p=..., action=0x0) at widgets/qmenu.cpp:2059
#16 0x00007fe15ba41b21 in DolphinContextMenu::openItemContextMenu (this=0x26ea770) at ../../../dolphin/src/dolphincontextmenu.cpp:310
#17 0x00007fe15ba42440 in DolphinContextMenu::open (this=0x26ea770) at ../../../dolphin/src/dolphincontextmenu.cpp:132
#18 0x00007fe15ba38c8d in DolphinMainWindow::openContextMenu (this=0x20ca1c0, item=..., url=..., customActions=...) at ../../../dolphin/src/dolphinmainwindow.cpp:1257
#19 0x00007fe15ba3b81b in DolphinMainWindow::qt_metacall (this=0x20ca1c0, _c=QMetaObject::InvokeMetaMethod, _id=67, _a=0x7fffe0fd6180) at ./dolphinmainwindow.moc:260
#20 0x00007fe157bb55f8 in QMetaObject::activate (sender=0x2339fb0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffe0fd6180) at kernel/qobject.cpp:3287
#21 0x00007fe15aab55ff in DolphinView::requestContextMenu (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>, _t3=<value optimized out>) at ./dolphinview.moc:349
#22 0x00007fe15aab56ff in DolphinView::openContextMenu (this=0x2339fb0, pos=..., customActions=...) at ../../../dolphin/src/views/dolphinview.cpp:806
#23 0x00007fe15aab9584 in DolphinView::qt_metacall (this=0x2339fb0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe0fd6330) at ./dolphinview.moc:221
#24 0x00007fe157bb55f8 in QMetaObject::activate (sender=0x2363e80, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffe0fd6330) at kernel/qobject.cpp:3287
#25 0x00007fe15aacee1a in DolphinViewController::requestContextMenu (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>) at ./dolphinviewcontroller.moc:148
#26 0x00007fe15aacf74f in DolphinViewController::triggerContextMenuRequest (this=0x2363e80, pos=..., customActions=...) at ../../../dolphin/src/views/dolphinviewcontroller.cpp:79
#27 0x00007fe15aac02ea in DolphinIconsView::contextMenuEvent (this=0x2364880, event=0x7fffe0fd6f50) at ../../../dolphin/src/views/dolphiniconsview.cpp:162
#28 0x00007fe1585b0a10 in QWidget::event (this=0x2364880, event=0x7fffe0fd6f50) at kernel/qwidget.cpp:8426
#29 0x00007fe158960a66 in QFrame::event (this=0x2364880, e=0x7fffe0fd6f50) at widgets/qframe.cpp:557
#30 0x00007fe158a71d7b in QAbstractItemView::viewportEvent (this=0x2364880, event=0x7fffe0fd6f50) at itemviews/qabstractitemview.cpp:1628
#31 0x00007fe157ba0627 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2365a20, event=0x7fffe0fd6f50) at kernel/qcoreapplication.cpp:846
#32 0x00007fe15855f9b1 in QApplicationPrivate::notify_helper (this=0x202aee0, receiver=0x2365a20, e=0x7fffe0fd6f50) at kernel/qapplication.cpp:4458
#33 0x00007fe158564561 in QApplication::notify (this=<value optimized out>, receiver=0x2365a20, e=0x7fffe0fd6f50) at kernel/qapplication.cpp:4102
#34 0x00007fe15927e866 in KApplication::notify (this=0x7fffe0fd7c40, receiver=0x2365a20, event=0x7fffe0fd6f50) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x00007fe157ba049c in QCoreApplication::notifyInternal (this=0x7fffe0fd7c40, receiver=0x2365a20, event=0x7fffe0fd6f50) at kernel/qcoreapplication.cpp:731
#36 0x00007fe1585e065d in sendSpontaneousEvent (this=<value optimized out>, event=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#37 QETWidget::translateMouseEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4561
#38 0x00007fe1585df04a in QApplication::x11ProcessEvent (this=0x7fffe0fd7c40, event=0x7fffe0fd78d0) at kernel/qapplication_x11.cpp:3678
#39 0x00007fe158607162 in x11EventSourceDispatch (s=0x20307d0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x00007fe153ee3bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fe153ee43a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fe153ee4639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fe157bcb3ef in QEventDispatcherGlib::processEvents (this=0x1fdadb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#44 0x00007fe158606dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007fe157b9f882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007fe157b9fabc in QEventLoop::exec (this=0x7fffe0fd7bd0, flags=...) at kernel/qeventloop.cpp:201
#47 0x00007fe157ba3ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#48 0x00007fe15ba43995 in kdemain (argc=1, argv=0x7fffe0fd8168) at ../../../dolphin/src/main.cpp:98
#49 0x00007fe15b68beff in __libc_start_main (main=0x400730 <main(int, char**)>, argc=1, ubp_av=0x7fffe0fd8168, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffe0fd8158) at libc-start.c:226
#50 0x0000000000400659 in _start ()

This bug may be a duplicate of or related to bug 274802.

Possible duplicates by query: bug 276353, bug 276254, bug 275538, bug 275115, bug 274802.

Reported using DrKonqi
Comment 1 Peter Penz 2011-06-30 20:17:26 UTC
Thanks for the report. This is an issue in the corresponding Strigi analyzer
that Dolphin uses to get the metadata of a file. Dolphin for KDE 4.7 won't
crash anymore in this case (see
http://ppenz.blogspot.com/2011/03/dont-crash-when-reading-metadata.html for
details).
Comment 2 Alexandar 2011-12-07 08:20:12 UTC
Created attachment 66462 [details]
New crash information added by DrKonqi

dolphin (1.6.1) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.2

Using KDE 4.65 with Kubuntu.

-- Backtrace (Reduced):
#10 0x00671888 in __assert_fail (assertion=0x29827d4 "m_path.size() > m_parent->p->m_path.size()+1", file=0x29826dc "/build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp", line=134, function=0x29829a0 "Strigi::AnalysisResult::Private::Private(const std::string&, const char*, time_t, Strigi::AnalysisResult&, Strigi::AnalysisResult&)") at assert.c:81
#11 0x02931ef1 in Strigi::AnalysisResult::Private::Private (this=0xb4dd66a0, p=..., name=0xb4dd65ae "", mt=1287523204, t=..., parent=...) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:134
#12 0x02931fd3 in Strigi::AnalysisResult::AnalysisResult (this=0xb4ded438, path=..., name=0xb4dd65ae "", mt=1287523204, parent=...) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:140
#13 0x029322fd in Strigi::AnalysisResult::indexChild (this=0xb08ff0f4, name=..., mt=1287523204, file=0xb4dd6608) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:249
#14 0x02973baf in ZipEndAnalyzer::analyze (this=0xb4de1558, idx=..., in=0xb4de16b8) at /build/buildd/strigi-0.7.2/src/streamanalyzer/endanalyzers/zipendanalyzer.cpp:62