Bug 275258

Summary: Dolphin crashed when workin during 5-10 minutes with external storage device connected
Product: [Applications] dolphin Reporter: dima.rubashkin
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: 1.6.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.7.0
Sentry Crash Report:

Description dima.rubashkin 2011-06-09 07:57:24 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:
Dolphin crashed when workin during 5-10 minutes with external storage device connected

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
__libc_enable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:62
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S
[Current thread is 1 (Thread 0x7f08d522c780 (LWP 2116))]

Thread 4 (Thread 0x7f08c1445700 (LWP 2117)):
#0  __libc_disable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:97
#1  0x00007f08d4b1bf17 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:89
#2  0x00007f08cd2ba104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f08cd2ba639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f08d0fa1446 in QEventDispatcherGlib::processEvents (this=0x167a0f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f08d0f75882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f08d0f75abc in QEventLoop::exec (this=0x7f08c1444dd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f08d0e8c924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f08d0f57c2f in QInotifyFileSystemWatcherEngine::run (this=0x1679b90) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f08d0e8f175 in QThreadPrivate::start (arg=0x1679b90) at thread/qthread_unix.cpp:320
#10 0x00007f08cd785d8c in start_thread (arg=0x7f08c1445700) at pthread_create.c:304
#11 0x00007f08d4b2904d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f08bad60700 (LWP 2121)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f08bad5fae0 in ?? ()
#2  0x00007fff289ff7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7f08b5036700 (LWP 2798)):
[KCrash Handler]
#6  readLittleEndianInt32 (this=0x1f3bf20, s=<value optimized out>, input=<value optimized out>) at /build/buildd/strigi-0.7.2/src/streams/textutils.h:78
#7  Strigi::OleInputStream::Private::Private (this=0x1f3bf20, s=<value optimized out>, input=<value optimized out>) at /build/buildd/strigi-0.7.2/src/streams/oleinputstream.cpp:208
#8  0x00007f08cac29162 in Strigi::OleInputStream::OleInputStream (this=<value optimized out>, input=<value optimized out>) at /build/buildd/strigi-0.7.2/src/streams/oleinputstream.cpp:151
#9  0x00007f08cef4adfd in OleEndAnalyzer::analyze (this=0x1f14a40, ar=..., in=<value optimized out>) at /build/buildd/strigi-0.7.2/src/streamanalyzer/endanalyzers/oleendanalyzer.cpp:377
#10 0x00007f08cef34eca in Strigi::StreamAnalyzerPrivate::analyze (this=0x1bc02a0, idx=..., input=0x1f14940) at /build/buildd/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
#11 0x00007f08d2bb97d1 in KFileMetaInfoPrivate::init (this=0x1fd0df0, stream=..., url=..., mtime=<value optimized out>, w=<value optimized out>) at ../../kio/kio/kfilemetainfo.cpp:257
#12 0x00007f08d2bba02f in KFileMetaInfo::KFileMetaInfo (this=0x7f08b5035ce0, path=<value optimized out>, w=...) at ../../kio/kio/kfilemetainfo.cpp:286
#13 0x00007f08d2c874b6 in KLoadFileMetaDataThread::run (this=0x1e29860) at ../../kio/kfile/kloadfilemetadatathread.cpp:143
#14 0x00007f08d0e8f175 in QThreadPrivate::start (arg=0x1e29860) at thread/qthread_unix.cpp:320
#15 0x00007f08cd785d8c in start_thread (arg=0x7f08b5036700) at pthread_create.c:304
#16 0x00007f08d4b2904d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f08d522c780 (LWP 2116)):
#0  __libc_enable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:62
#1  0x00007f08d4b1bee8 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:85
#2  0x00007f08cb08e512 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f08cb08ea5f in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007f08cb08eae4 in xcb_writev () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#5  0x00007f08ce6752a7 in _XSend () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#6  0x00007f08ce669717 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#7  0x00007f08ce6698f2 in XPutImage () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#8  0x00007f08d1a23ac3 in QX11PixmapData::fromImage (this=0x1febd40, img=<value optimized out>, flags=...) at image/qpixmap_x11.cpp:612
#9  0x00007f08d1a0f05f in QPixmap::fromImage (image=..., flags=...) at image/qpixmap.cpp:2059
#10 0x00007f08d1a69f39 in QPaintEngine::drawImage (this=0x1ac20b0, r=..., image=..., sr=<value optimized out>, flags=...) at painting/qpaintengine.cpp:623
#11 0x00007f08d1b31b92 in QX11PaintEngine::drawImage (this=0x1ac20b0, r=..., image=..., sr=..., flags=...) at painting/qpaintengine_x11.cpp:1903
#12 0x00007f08d1a7ef65 in QPainterPrivate::draw_helper (this=0x1ecd000, originalPath=..., op=<value optimized out>) at painting/qpainter.cpp:497
#13 0x00007f08d1a7fe4c in QPainter::drawLines (this=<value optimized out>, lines=<value optimized out>, lineCount=1) at painting/qpainter.cpp:4706
#14 0x00007f08c73ebb01 in Oxygen::Helper::drawSeparator(QPainter*, QRect const&, QColor const&, Qt::Orientation) () from /usr/lib/liboxygenstyle.so.4
#15 0x00007f08c764b1ec in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#16 0x00007f08c76486ba in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#17 0x00007f08d1d3694b in QFrame::drawFrame (this=0x1ab1690, p=0x7fff289e8b60) at widgets/qframe.cpp:534
#18 0x00007f08d1d369df in QFrame::paintEvent (this=0x1ab1690) at widgets/qframe.cpp:496
#19 0x00007f08d1986c6a in QWidget::event (this=0x1ab1690, event=0x7fff289e9370) at kernel/qwidget.cpp:8405
#20 0x00007f08d1d36a66 in QFrame::event (this=0x1ab1690, e=0x7fff289e9370) at widgets/qframe.cpp:557
#21 0x00007f08d19359e4 in QApplicationPrivate::notify_helper (this=0x1543990, receiver=0x1ab1690, e=0x7fff289e9370) at kernel/qapplication.cpp:4462
#22 0x00007f08d193a3aa in QApplication::notify (this=<value optimized out>, receiver=0x1ab1690, e=0x7fff289e9370) at kernel/qapplication.cpp:4341
#23 0x00007f08d2654866 in KApplication::notify (this=0x7fff289eb6d0, receiver=0x1ab1690, event=0x7fff289e9370) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007f08d0f7649c in QCoreApplication::notifyInternal (this=0x7fff289eb6d0, receiver=0x1ab1690, event=0x7fff289e9370) at kernel/qcoreapplication.cpp:731
#25 0x00007f08d1983abd in sendSpontaneousEvent (this=0x1ab2bf0, pdev=0x1979f98, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x197a1e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#26 QWidgetPrivate::drawWidget (this=0x1ab2bf0, pdev=0x1979f98, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x197a1e0) at kernel/qwidget.cpp:5492
#27 0x00007f08d19846d2 in QWidgetPrivate::paintSiblingsRecursive (this=0x1a7d3b0, pdev=0x1979f98, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x197a1e0) at kernel/qwidget.cpp:5699
#28 0x00007f08d198458a in QWidgetPrivate::paintSiblingsRecursive (this=0x1a7d3b0, pdev=0x1979f98, siblings=..., index=5, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x197a1e0) at kernel/qwidget.cpp:5686
#29 0x00007f08d19837fc in QWidgetPrivate::drawWidget (this=0x1a7d3b0, pdev=0x1979f98, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x197a1e0) at kernel/qwidget.cpp:5545
#30 0x00007f08d19846d2 in QWidgetPrivate::paintSiblingsRecursive (this=0x19d1070, pdev=0x1979f98, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x197a1e0) at kernel/qwidget.cpp:5699
#31 0x00007f08d19837fc in QWidgetPrivate::drawWidget (this=0x19d1070, pdev=0x1979f98, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x197a1e0) at kernel/qwidget.cpp:5545
#32 0x00007f08d19846d2 in QWidgetPrivate::paintSiblingsRecursive (this=0x19cbca0, pdev=0x1979f98, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x197a1e0) at kernel/qwidget.cpp:5699
#33 0x00007f08d19837fc in QWidgetPrivate::drawWidget (this=0x19cbca0, pdev=0x1979f98, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x197a1e0) at kernel/qwidget.cpp:5545
#34 0x00007f08d19846d2 in QWidgetPrivate::paintSiblingsRecursive (this=0x1530a40, pdev=0x1979f98, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x197a1e0) at kernel/qwidget.cpp:5699
#35 0x00007f08d19837fc in QWidgetPrivate::drawWidget (this=0x1530a40, pdev=0x1979f98, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x197a1e0) at kernel/qwidget.cpp:5545
#36 0x00007f08d1b482fb in QWidgetBackingStore::sync (this=0x197a1e0) at painting/qbackingstore.cpp:1333
#37 0x00007f08d1979f50 in QWidgetPrivate::syncBackingStore (this=0x1530a40) at kernel/qwidget.cpp:1842
#38 0x00007f08d1987184 in QWidget::event (this=0x15d4560, event=0x1631eb0) at kernel/qwidget.cpp:8552
#39 0x00007f08d1d5051b in QMainWindow::event (this=0x15d4560, event=0x1631eb0) at widgets/qmainwindow.cpp:1480
#40 0x00007f08d274fd8e in KXmlGuiWindow::event (this=0x15d4560, ev=0x1631eb0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#41 0x00007f08d19359e4 in QApplicationPrivate::notify_helper (this=0x1543990, receiver=0x15d4560, e=0x1631eb0) at kernel/qapplication.cpp:4462
#42 0x00007f08d193a3aa in QApplication::notify (this=<value optimized out>, receiver=0x15d4560, e=0x1631eb0) at kernel/qapplication.cpp:4341
#43 0x00007f08d2654866 in KApplication::notify (this=0x7fff289eb6d0, receiver=0x15d4560, event=0x1631eb0) at ../../kdeui/kernel/kapplication.cpp:311
#44 0x00007f08d0f7649c in QCoreApplication::notifyInternal (this=0x7fff289eb6d0, receiver=0x15d4560, event=0x1631eb0) at kernel/qcoreapplication.cpp:731
#45 0x00007f08d0f79c25 in sendEvent (receiver=0x0, event_type=0, data=0x14f05d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x14f05d0) at kernel/qcoreapplication.cpp:1372
#47 0x00007f08d0fa1253 in sendPostedEvents (s=0x153ed60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#48 postEventSourceDispatch (s=0x153ed60) at kernel/qeventdispatcher_glib.cpp:277
#49 0x00007f08cd2b9bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f08cd2ba3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f08cd2ba639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007f08d0fa13ef in QEventDispatcherGlib::processEvents (this=0x14efdb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#53 0x00007f08d19dcdfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x00007f08d0f75882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#55 0x00007f08d0f75abc in QEventLoop::exec (this=0x7fff289eb660, flags=...) at kernel/qeventloop.cpp:201
#56 0x00007f08d0f79ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#57 0x00007f08d4e19995 in kdemain (argc=5, argv=0x7fff289ebbf8) at ../../../dolphin/src/main.cpp:98
#58 0x00007f08d4a61eff in __libc_start_main (main=0x400730 <main(int, char**)>, argc=5, ubp_av=0x7fff289ebbf8, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff289ebbe8) at libc-start.c:226
#59 0x0000000000400659 in _start ()

Possible duplicates by query: bug 275211, bug 274171, bug 274123, bug 273820, bug 273320.

Reported using DrKonqi
Comment 1 Peter Penz 2011-06-09 08:52:01 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).