Bug 276246 - Dolphin crashes when opening a certain (large) doc file
Summary: Dolphin crashes when opening a certain (large) doc file
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 1.6.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-22 11:42 UTC by Johannes Schwall
Modified: 2011-06-22 13:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.7.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Schwall 2011-06-22 11:42:20 UTC
Application: dolphin (1.6.1)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

Clicked on a doc file (about 23 MB containing images), dolphin crashed. This can be reproduced with this file.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fe71d145760 (LWP 2564))]

Thread 4 (Thread 0x7fe708f56700 (LWP 2565)):
#0  0x00007fe71539f665 in __pthread_mutex_lock (mutex=0x7f5728) at pthread_mutex_lock.c:61
#1  0x00007fe714edea43 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x00007fe714edee78 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007fe714edf45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007fe718dc01e6 in QEventDispatcherGlib::processEvents (this=0x845020, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007fe718d92a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007fe718d92dec in QEventLoop::exec (this=0x7fe708f55db0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007fe718c9d2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007fe718d725f8 in QInotifyFileSystemWatcherEngine::run (this=0x834f10) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fe718ca027e in QThreadPrivate::start (arg=0x834f10) at thread/qthread_unix.cpp:266
#10 0x00007fe71539d971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#11 0x00007fe71ca4892d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe702552700 (LWP 2569)):
#0  QThreadData::current () at thread/qthread_unix.cpp:149
#1  0x00007fe718dc0689 in postEventSourcePrepare (s=0x7fe7190c5c48, timeout=0x7fe718c9fb20) at kernel/qeventdispatcher_glib.cpp:254
#2  0x00007fe714edea11 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#3  0x00007fe714edee78 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007fe714edf45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007fe718dc01e6 in QEventDispatcherGlib::processEvents (this=0x9b27a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#6  0x00007fe718d92a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#7  0x00007fe718d92dec in QEventLoop::exec (this=0x7fe702551db0, flags=) at kernel/qeventloop.cpp:201
#8  0x00007fe718c9d2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#9  0x00007fe718d725f8 in QInotifyFileSystemWatcherEngine::run (this=0xa9b3e0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fe718ca027e in QThreadPrivate::start (arg=0xa9b3e0) at thread/qthread_unix.cpp:266
#11 0x00007fe71539d971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#12 0x00007fe71ca4892d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe6fafb4700 (LWP 3638)):
[KCrash Handler]
#6  readLittleEndianInt32 (this=0x84fe60, 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=0x84fe60, s=<value optimized out>, input=<value optimized out>) at /build/buildd/strigi-0.7.2/src/streams/oleinputstream.cpp:208
#8  0x00007fe712a8f2c2 in Strigi::OleInputStream::OleInputStream (this=0x7fe6fafb3660, input=0x6b7080) at /build/buildd/strigi-0.7.2/src/streams/oleinputstream.cpp:151
#9  0x00007fe716b4ea7d in OleEndAnalyzer::analyze (this=<value optimized out>, ar=..., in=0x16c7df0) at /build/buildd/strigi-0.7.2/src/streamanalyzer/endanalyzers/oleendanalyzer.cpp:377
#10 0x00007fe716b3af7a in Strigi::StreamAnalyzerPrivate::analyze (this=0xe5ff90, idx=..., input=0x6b7080) at /build/buildd/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
#11 0x00007fe71aa8b565 in KFileMetaInfoPrivate::init (this=<value optimized out>, stream=<value optimized out>, url=<value optimized out>, mtime=1308731450, w=<value optimized out>) at ../../kio/kio/kfilemetainfo.cpp:257
#12 0x00007fe71aa8d2a3 in KFileMetaInfo::KFileMetaInfo (this=0x7fe6fafb3cd0, path=..., w=<value optimized out>) at ../../kio/kio/kfilemetainfo.cpp:286
#13 0x00007fe71ab7e38e in KLoadFileMetaDataThread::run (this=<value optimized out>) at ../../kio/kfile/kloadfilemetadatathread.cpp:143
#14 0x00007fe718ca027e in QThreadPrivate::start (arg=0x10e2ae0) at thread/qthread_unix.cpp:266
#15 0x00007fe71539d971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#16 0x00007fe71ca4892d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe71d145760 (LWP 2564)):
#0  0x00007fe71311c2c4 in ?? () from /usr/lib/libxcb.so.1
#1  0x00007fe71311c837 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fe71311cae5 in xcb_writev () from /usr/lib/libxcb.so.1
#3  0x00007fe71628b7ba in _XSend () from /usr/lib/libX11.so.6
#4  0x00007fe71628b8f9 in _XReply () from /usr/lib/libX11.so.6
#5  0x00007fe716278fe0 in XQueryPointer () from /usr/lib/libX11.so.6
#6  0x00007fe719809cdd in QCursor::pos () at kernel/qcursor_x11.cpp:158
#7  0x00007fe71977c191 in QApplicationPrivate::sendSyntheticEnterLeave (this=<value optimized out>, widget=0x9a5810) at kernel/qapplication.cpp:3124
#8  0x00007fe7197d26aa in QWidget::setVisible (this=0x9a5810, visible=<value optimized out>) at kernel/qwidget.cpp:7592
#9  0x00007fe70f180cc0 in show (this=0xf865a0, object=0x10b1f70, event=0x7fff550fc440) at /usr/include/qt4/QtGui/qwidget.h:487
#10 Oxygen::LabelData::eventFilter (this=0xf865a0, object=0x10b1f70, event=0x7fff550fc440) at ../../../kstyles/oxygen/transitions/oxygenlabeldata.cpp:120
#11 0x00007fe718d93507 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x10b1f70, event=0x7fff550fc440) at kernel/qcoreapplication.cpp:847
#12 0x00007fe719776fac in QApplicationPrivate::notify_helper (this=0x6bc6f0, receiver=0x10b1f70, e=0x7fff550fc440) at kernel/qapplication.cpp:4392
#13 0x00007fe71977caed in QApplication::notify (this=0x7fff550fe720, receiver=0x10b1f70, e=0x7fff550fc440) at kernel/qapplication.cpp:4277
#14 0x00007fe71a5072f6 in KApplication::notify (this=0x7fff550fe720, receiver=0x10b1f70, event=0x7fff550fc440) at ../../kdeui/kernel/kapplication.cpp:311
#15 0x00007fe718d93cdc in QCoreApplication::notifyInternal (this=0x7fff550fe720, receiver=0x10b1f70, event=0x7fff550fc440) at kernel/qcoreapplication.cpp:732
#16 0x00007fe7197d367d in sendSpontaneousEvent (this=0x10b1fa0, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9425f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#17 QWidgetPrivate::drawWidget (this=0x10b1fa0, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9425f0) at kernel/qwidget.cpp:5420
#18 0x00007fe7197d4328 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=4, rgn=<value optimized out>, offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x9425f0) at kernel/qwidget.cpp:5627
#19 0x00007fe7197d33da in QWidgetPrivate::drawWidget (this=0x10b81c0, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9425f0) at kernel/qwidget.cpp:5473
#20 0x00007fe7197d4328 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=4, rgn=<value optimized out>, offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x9425f0) at kernel/qwidget.cpp:5627
#21 0x00007fe7197d33da in QWidgetPrivate::drawWidget (this=0x95a6a0, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9425f0) at kernel/qwidget.cpp:5473
#22 0x00007fe7197d4328 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=5, rgn=<value optimized out>, offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x9425f0) at kernel/qwidget.cpp:5627
#23 0x00007fe7197d33da in QWidgetPrivate::drawWidget (this=0x959060, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9425f0) at kernel/qwidget.cpp:5473
#24 0x00007fe7197d4328 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=11, rgn=<value optimized out>, offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x9425f0) at kernel/qwidget.cpp:5627
#25 0x00007fe7197d33da in QWidgetPrivate::drawWidget (this=0xf40500, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9425f0) at kernel/qwidget.cpp:5473
#26 0x00007fe7199a7408 in QWidgetBackingStore::sync (this=0x9425f0) at painting/qbackingstore.cpp:1328
#27 0x00007fe7197c6730 in QWidgetPrivate::syncBackingStore (this=0xf40500) at kernel/qwidget.cpp:1805
#28 0x00007fe7197cd2f5 in QWidget::event (this=0xf4b7c0, event=0x15e61a0) at kernel/qwidget.cpp:8480
#29 0x00007fe719bb441b in QMainWindow::event (this=0xf4b7c0, event=0x15e61a0) at widgets/qmainwindow.cpp:1417
#30 0x00007fe71a61de63 in KXmlGuiWindow::event (this=0x6dcbf8, ev=0x0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#31 0x00007fe719776fdc in QApplicationPrivate::notify_helper (this=0x6bc6f0, receiver=0xf4b7c0, e=0x15e61a0) at kernel/qapplication.cpp:4396
#32 0x00007fe71977caed in QApplication::notify (this=0x7fff550fe720, receiver=0xf4b7c0, e=0x15e61a0) at kernel/qapplication.cpp:4277
#33 0x00007fe71a5072f6 in KApplication::notify (this=0x7fff550fe720, receiver=0xf4b7c0, event=0x15e61a0) at ../../kdeui/kernel/kapplication.cpp:311
#34 0x00007fe718d93cdc in QCoreApplication::notifyInternal (this=0x7fff550fe720, receiver=0xf4b7c0, event=0x15e61a0) at kernel/qcoreapplication.cpp:732
#35 0x00007fe718d96c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x6909e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x6909e0) at kernel/qcoreapplication.cpp:1373
#37 0x00007fe718dc0653 in sendPostedEvents (s=0x6c3260) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#38 postEventSourceDispatch (s=0x6c3260) at kernel/qeventdispatcher_glib.cpp:277
#39 0x00007fe714edb342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x00007fe714edf2a8 in ?? () from /lib/libglib-2.0.so.0
#41 0x00007fe714edf45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00007fe718dc0193 in QEventDispatcherGlib::processEvents (this=0x6900d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#43 0x00007fe719829a4e in QGuiEventDispatcherGlib::processEvents (this=0x6dcbf8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007fe718d92a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#45 0x00007fe718d92dec in QEventLoop::exec (this=0x7fff550fe660, flags=) at kernel/qeventloop.cpp:201
#46 0x00007fe718d96ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#47 0x00007fe71cd2c30f in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../dolphin/src/main.cpp:98
#48 0x00007fe71c980d8e in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff550fec38) at libc-start.c:226
#49 0x0000000000400659 in _start ()

Possible duplicates by query: bug 276217, bug 275957, bug 275843, bug 275474, bug 275368.

Reported using DrKonqi
Comment 1 Peter Penz 2011-06-22 13:13:33 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).