Bug 331327

Summary: Okular crashes when updating a PDF generated with Kile
Product: [Applications] okular Reporter: Steffen Köhler <kdebug>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aacid, kdebug
Priority: NOR Keywords: drkonqi
Version: 0.17.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Steffen Köhler 2014-02-20 12:58:32 UTC
Application: okular (0.17.5)
KDE Platform Version: 4.11.5
Qt Version: 4.8.4
Operating System: Linux 3.8.0-31-generic i686
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
I built a Latex file using Kile while the according PDF has already been opened in Okular by previously forwarding it from Kile.

- Custom settings of the application:
In both Kile and Okular, the forward and inverse search has been enabled.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Okular (okular), signal: Aborted
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb4e60740 (LWP 6160))]

Thread 3 (Thread 0xb2408b40 (LWP 6161)):
#0  0xb7764424 in __kernel_vsyscall ()
#1  0xb5db08db in read () at ../sysdeps/unix/syscall-template.S:81
#2  0xb54aed4e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb546c65b in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb546cafa in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb546d04b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb342932a in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#7  0xb5492c4a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb554ad78 in start_thread (arg=0xb2408b40) at pthread_create.c:311
#9  0xb5dc201e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 2 (Thread 0xb1affb40 (LWP 6162)):
#0  0xb7764424 in __kernel_vsyscall ()
#1  0xb5db2a0b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb547ba4b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb546cb68 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb546cca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb546cd2e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb5492c4a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb554ad78 in start_thread (arg=0xb1affb40) at pthread_create.c:311
#8  0xb5dc201e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb4e60740 (LWP 6160)):
[KCrash Handler]
#6  0xb7764424 in __kernel_vsyscall ()
#7  0xb5cfeaff in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#8  0xb5d02083 in __GI_abort () at abort.c:90
#9  0xb6046993 in qt_message_output (msgType=QtFatalMsg, buf=0x9159a88 "ASSERT: \"d\" in file /usr/include/qt4/QtCore/qscopedpointer.h, line 112") at global/qglobal.cpp:2347
#10 0xb6046d47 in qt_message (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0xb61c8aec "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0xbfbc95a4 "\305h\005\256,_\005\256p") at global/qglobal.cpp:2393
#11 0xb6047278 in qFatal (msg=msg@entry=0xb61c8aec "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2576
#12 0xb60472f5 in qt_assert (assertion=assertion@entry=0xae0568c5 "d", file=file@entry=0xae055f2c "/usr/include/qt4/QtCore/qscopedpointer.h", line=line@entry=112) at global/qglobal.cpp:2021
#13 0xae02b648 in operator-> (this=<synthetic pointer>) at /usr/include/qt4/QtCore/qscopedpointer.h:112
#14 Poppler::Document::info (this=0xaa32110, type=...) at poppler-document.cc:272
#15 0xae099ffa in PDFGenerator::metaData (this=0x8f21e00, key=..., option=...) at ../../../generators/poppler/generator_pdf.cpp:1240
#16 0xaf1db6a7 in Okular::Document::metaData (this=0x8c15050, key=..., option=...) at ../core/document.cpp:2749
#17 0xaf282fba in Okular::Part::setWindowTitleFromDocument (this=0x8c0ee10) at ../part.cpp:1029
#18 0xaf293d60 in Okular::Part::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbfbc97e8, _c=<optimized out>) at ./part.moc:229
#19 0xb6175fc7 in QMetaObject::activate (sender=0x8c0ee10, m=0xb7740f08 <KParts::ReadOnlyPart::staticMetaObject>, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3539
#20 0xb7711b15 in KParts::ReadOnlyPart::completed() () from /usr/lib/libkparts.so.4
#21 0xb7712b2d in ?? () from /usr/lib/libkparts.so.4
#22 0xb771443c in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
#23 0xaf287f93 in Okular::Part::slotDoFileDirty (this=0x8c0ee10) at ../part.cpp:1627
#24 0xaf293ca8 in Okular::Part::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbfbc9a08, _c=<optimized out>) at ./part.moc:238
#25 0xb6175fc7 in QMetaObject::activate (sender=sender@entry=0x8eae780, m=m@entry=0xb62cc518 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#26 0xb61c6065 in QTimer::timeout (this=this@entry=0x8eae780) at .moc/release-shared/moc_qtimer.cpp:148
#27 0xb617f776 in QTimer::timerEvent (this=0x8eae780, e=0xbfbc9d80) at kernel/qtimer.cpp:280
#28 0xb617a3ec in QObject::event (this=0x8eae780, e=0xbfbc9d80) at kernel/qobject.cpp:1156
#29 0xb66bc744 in QApplicationPrivate::notify_helper (this=0x8a44a48, receiver=0x8eae780, e=0xbfbc9d80) at kernel/qapplication.cpp:4567
#30 0xb66c3223 in QApplication::notify (this=0xbfbca094, receiver=0x8eae780, e=0xbfbc9d80) at kernel/qapplication.cpp:4353
#31 0xb7209ff4 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#32 0xb6160eda in QCoreApplication::notifyInternal (this=0xbfbca094, receiver=0x8eae780, event=event@entry=0xbfbc9d80) at kernel/qcoreapplication.cpp:946
#33 0xb61934eb in sendEvent (event=0xbfbc9d80, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#34 QTimerInfoList::activateTimers (this=0x8a44a14) at kernel/qeventdispatcher_unix.cpp:622
#35 0xb619061b in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#36 idleTimerSourceDispatch (source=0x8a44b48) at kernel/qeventdispatcher_glib.cpp:233
#37 0xb546c83e in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0xb546cbe8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0xb546cca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#40 0xb61908bf in QEventDispatcherGlib::processEvents (this=this@entry=0x8a41248, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#41 0xb677132e in QGuiEventDispatcherGlib::processEvents (this=0x8a41248, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0xb615f9f3 in QEventLoop::processEvents (this=this@entry=0xbfbc9fa8, flags=...) at kernel/qeventloop.cpp:149
#43 0xb615fd19 in QEventLoop::exec (this=this@entry=0xbfbc9fa8, flags=...) at kernel/qeventloop.cpp:204
#44 0xb616589e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#45 0xb66ba974 in QApplication::exec () at kernel/qapplication.cpp:3828
#46 0x0804e666 in main (argc=3, argv=0xbfbca1c4) at ../../shell/main.cpp:100

Possible duplicates by query: bug 330858, bug 330637, bug 329162, bug 325810, bug 324432.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2014-02-20 21:20:47 UTC

*** This bug has been marked as a duplicate of bug 325810 ***
Comment 2 Steffen Köhler 2014-02-20 21:30:07 UTC
(In reply to comment #1)
> 
> 
> *** This bug has been marked as a duplicate of bug 325810 ***

Are you sure it's a duplicate as I did not even interact with Okular directly.
The report of bug 325810 specifically says that Okular crashed when changing the zoom.
Comment 3 Albert Astals Cid 2014-02-20 21:36:18 UTC
Yes, and my resolution says "the fact that you were chaning the zoom is annecdotical"