Bug 335698

Summary: Crash on open pdf file (attached)
Product: [Applications] okular Reporter: Aleksey Midenkov <midenok+kdebugs>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 0.19.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: GDB Cheat Sheet (1).pdf

Description Aleksey Midenkov 2014-06-02 11:10:01 UTC
Application: okular (0.19.0)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-lowlatency x86_64
Distribution: Ubuntu 12.04 LTS

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

Open attached .pdf file: 'GDB Cheat Sheet (1).pdf'
................

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
gobject.py: gdb was not built with custom backtrace support, disabling.
[Current thread is 1 (Thread 0x7f9df66eb7c0 (LWP 376))]

Thread 3 (Thread 0x7f9ddfce5700 (LWP 377)):
#0  0x00007f9df033a60d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9df033a999 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9df02f8680 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9df02f8f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9df02f90ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9df41107be in QEventDispatcherGlib::processEvents (this=0x7f9dd80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f9df40e20af in QEventLoop::processEvents (this=this@entry=0x7f9ddfce4de0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f9df40e23a5 in QEventLoop::exec (this=0x7f9ddfce4de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f9df3fdec5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#9  0x00007f9df40c3823 in QInotifyFileSystemWatcherEngine::run (this=0x1aece80) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f9df3fe132f in QThreadPrivate::start (arg=0x1aece80) at thread/qthread_unix.cpp:349
#11 0x00007f9df07d8182 in start_thread (arg=0x7f9ddfce5700) at pthread_create.c:312
#12 0x00007f9df371d30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f9ddf03a700 (LWP 382)):
#0  0x00007f9df370e6bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9df0339c00 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9df02f8b14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9df02f8f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9df02f90ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9df41107be in QEventDispatcherGlib::processEvents (this=0x7f9dd00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f9df40e20af in QEventLoop::processEvents (this=this@entry=0x7f9ddf039de0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f9df40e23a5 in QEventLoop::exec (this=0x7f9ddf039de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f9df3fdec5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#9  0x00007f9df40c3823 in QInotifyFileSystemWatcherEngine::run (this=0x1d63d40) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f9df3fe132f in QThreadPrivate::start (arg=0x1d63d40) at thread/qthread_unix.cpp:349
#11 0x00007f9df07d8182 in start_thread (arg=0x7f9ddf03a700) at pthread_create.c:312
#12 0x00007f9df371d30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f9df66eb7c0 (LWP 376)):
[KCrash Handler]
#6  QObject::thread (this=0x0) at kernel/qobject.cpp:1370
#7  0x00007f9df458645e in KDBusConnectionPool::threadConnection () at ../../kdecore/kernel/kdbusconnectionpool.cpp:64
#8  0x00007f9df5d27fdc in emitSignal (signalName=..., args=...) at ../../kio/kio/kdirnotify.cpp:34
#9  0x00007f9df5d2866a in OrgKdeKDirNotifyInterface::emitLeftDirectory (url=...) at ../../kio/kio/kdirnotify.cpp:69
#10 0x00007f9df5d11447 in sendSignal (this=<optimized out>, url=..., entering=false) at ../../kio/kio/kdirlister_p.h:343
#11 ~DirItem (this=0x1ef9b40, __in_chrg=<optimized out>) at ../../kio/kio/kdirlister_p.h:331
#12 qDeleteAll<QHash<QString, KDirListerCache::DirItem*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#13 qDeleteAll<QHash<QString, KDirListerCache::DirItem*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#14 KDirListerCache::~KDirListerCache (this=0x1d7da50, __in_chrg=<optimized out>) at ../../kio/kio/kdirlister.cpp:79
#15 0x00007f9df5d114f9 in KDirListerCache::~KDirListerCache (this=0x1d7da50, __in_chrg=<optimized out>) at ../../kio/kio/kdirlister.cpp:87
#16 0x00007f9df365e509 in __run_exit_handlers (status=1, listp=0x7f9df39e16c8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#17 0x00007f9df365e555 in __GI_exit (status=<optimized out>) at exit.c:104
#18 0x00007f9df4b3c878 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:783
#19 0x00007f9df57df760 in KApplication::xioErrhandler (this=0x7fff162d85b0, dpy=0x191c9a0) at ../../kdeui/kernel/kapplication.cpp:419
#20 0x00007f9df26425ee in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#21 0x00007f9df263fa8e in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#22 0x00007f9df2640259 in _XFlush () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#23 0x00007f9df2642c75 in _XGetRequest () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#24 0x00007f9df262065c in XDestroyWindow () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#25 0x00007f9ddd48dd1c in ?? () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR11.so
#26 0x00007f9ddd48dd49 in ?? () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR11.so
#27 0x00007f9ddd48bf97 in ?? () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR11.so
#28 0x00007f9ddd48bfc9 in ?? () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR11.so
#29 0x00007f9de329af69 in ?? () from /usr/lib/libkscreen.so.1
#30 0x00007f9de329b809 in KScreen::Config::current() () from /usr/lib/libkscreen.so.1
#31 0x00007f9de3fe3402 in Okular::Utils::realDpi (widgetOnScreen=0x1b4af30) at ../core/utils.cpp:102
#32 0x00007f9de3fbe0db in Okular::DocumentPrivate::openDocumentInternal (this=0x1b29350, offer=..., isstdin=isstdin@entry=false, docFile=..., filedata=...) at ../core/document.cpp:939
#33 0x00007f9de3fbe745 in Okular::Document::openDocument (this=0x1b0b930, docFile=..., url=..., _mime=...) at ../core/document.cpp:2225
#34 0x00007f9de4280c0c in Okular::Part::openFile (this=0x1af6d10) at ../part.cpp:1244
#35 0x00007f9df62eec47 in KParts::ReadOnlyPartPrivate::openLocalFile (this=this@entry=0x19dd860) at ../../kparts/part.cpp:591
#36 0x00007f9df62f022e in KParts::ReadOnlyPart::openUrl (this=<optimized out>, url=...) at ../../kparts/part.cpp:555
#37 0x00007f9de4275f5b in Okular::Part::openUrl (this=0x1af6d10, _url=...) at ../part.cpp:1394
#38 0x000000000040f117 in Shell::openUrl (this=this@entry=0x1a83300, url=...) at ../../shell/shell.cpp:246
#39 0x0000000000410393 in Shell::fileOpen (this=0x1a83300) at ../../shell/shell.cpp:409
#40 0x0000000000410645 in Shell::qt_static_metacall (_o=0x0, _id=372074592, _a=0x7fff162d75c0, _c=<optimized out>) at ./shell.moc:100
#41 0x00007f9df40f787a in QMetaObject::activate (sender=0x1ca7340, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff162d75c0) at kernel/qobject.cpp:3539
#42 0x00007f9df4acfa62 in QAction::triggered (this=this@entry=0x1ca7340, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#43 0x00007f9df4ad1433 in QAction::activate (this=0x1ca7340, event=<optimized out>) at kernel/qaction.cpp:1257
#44 0x00007f9df4eff489 in QMenuPrivate::activateCausedStack (this=this@entry=0x1cc8820, causedStack=..., action=action@entry=0x1ca7340, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#45 0x00007f9df4f039b9 in QMenuPrivate::activateAction (this=0x1cc8820, action=0x1ca7340, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1130
#46 0x00007f9df58974f5 in KMenu::mouseReleaseEvent (this=0x19bb6f0, e=0x7fff162d7cf0) at ../../kdeui/widgets/kmenu.cpp:464
#47 0x00007f9df4b2550a in QWidget::event (this=0x19bb6f0, event=0x7fff162d7cf0) at kernel/qwidget.cpp:8376
#48 0x00007f9df4f077bb in QMenu::event (this=0x19bb6f0, e=0x7fff162d7cf0) at widgets/qmenu.cpp:2481
#49 0x00007f9df4ad5e2c in QApplicationPrivate::notify_helper (this=this@entry=0x1919bd0, receiver=receiver@entry=0x19bb6f0, e=e@entry=0x7fff162d7cf0) at kernel/qapplication.cpp:4567
#50 0x00007f9df4adc5dd in QApplication::notify (this=<optimized out>, receiver=0x19bb6f0, e=0x7fff162d7cf0) at kernel/qapplication.cpp:4110
#51 0x00007f9df57e0baa in KApplication::notify (this=0x7fff162d85b0, receiver=0x19bb6f0, event=0x7fff162d7cf0) at ../../kdeui/kernel/kapplication.cpp:311
#52 0x00007f9df40e34dd in QCoreApplication::notifyInternal (this=0x7fff162d85b0, receiver=0x19bb6f0, event=0x7fff162d7cf0) at kernel/qcoreapplication.cpp:953
#53 0x00007f9df4adbd93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#54 QApplicationPrivate::sendMouseEvent (receiver=0x19bb6f0, event=0x7fff162d7cf0, alienWidget=0x0, nativeWidget=0x19bb6f0, buttonDown=0x7f9df55bb318 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
#55 0x00007f9df4b50cfc in QETWidget::translateMouseEvent (this=this@entry=0x19bb6f0, event=event@entry=0x7fff162d8040) at kernel/qapplication_x11.cpp:4568
#56 0x00007f9df4b50269 in QApplication::x11ProcessEvent (this=0x7fff162d85b0, event=0x7fff162d8040) at kernel/qapplication_x11.cpp:3627
#57 0x00007f9df4b77b02 in x11EventSourceDispatch (s=0x191b0d0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#58 0x00007f9df02f8e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f9df02f9048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f9df02f90ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007f9df41107be in QEventDispatcherGlib::processEvents (this=0x1917c50, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#62 0x00007f9df4b77bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#63 0x00007f9df40e20af in QEventLoop::processEvents (this=this@entry=0x7fff162d8410, flags=...) at kernel/qeventloop.cpp:149
#64 0x00007f9df40e23a5 in QEventLoop::exec (this=0x7fff162d8410, flags=...) at kernel/qeventloop.cpp:204
#65 0x00007f9df40e7b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#66 0x00000000004099c6 in main (argc=<optimized out>, argv=<optimized out>) at ../../shell/main.cpp:174

Possible duplicates by query: bug 334415, bug 324786.

Reported using DrKonqi
Comment 1 Aleksey Midenkov 2014-06-02 11:11:51 UTC
Created attachment 86964 [details]
GDB Cheat Sheet (1).pdf
Comment 2 Aleksey Midenkov 2014-06-02 11:12:36 UTC
Comment on attachment 86964 [details]
GDB Cheat Sheet (1).pdf

always reproducible
Comment 3 Christoph Feck 2014-06-02 12:52:39 UTC

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