Bug 195968

Summary: Okular crashed when trying to load a PDF recently generated with pdflatex
Product: [Applications] okular Reporter: Raphael Kubo da Costa <rakuco>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Raphael Kubo da Costa 2009-06-11 02:53:20 UTC
Application that crashed: okular
Version of the application: 0.8.80
KDE Version: 4.2.91 (KDE 4.2.91 (KDE 4.3 >= 20090609))
Qt Version: 4.5.1
Operating System: Linux 2.6.29-ARCH i686

What I was doing when the application crashed:
I was running "pdflatex cv.tex && okular cv.pdf". Most of the time the document is opened correctly, but sometimes Okular crashes right after it's called.

 -- Backtrace:
Application: Okular (okular), signal: Aborted
[KCrash Handler]
#6  0xb7f0f424 in __kernel_vsyscall ()
#7  0xb62737a1 in raise () from /lib/libc.so.6
#8  0xb6274fd4 in abort () from /lib/libc.so.6
#9  0xb62b52ab in malloc_printerr () from /lib/libc.so.6
#10 0xb62b9b26 in free () from /lib/libc.so.6
#11 0xb714740b in qFree (ptr=0x92b5370) at /home/kubo/kde4/build/qt-copy/src/corelib/global/qmalloc.cpp:60
#12 0xb67ad710 in QVector<QScriptItem>::free (this=0x928bb10, x=0x92b5370) at ../../include/QtCore/../../../../qt-copy/src/corelib/tools/qvector.h:425
#13 0xb68ffd01 in ~QVector (this=0x928bb10) at ../../include/QtCore/../../../../qt-copy/src/corelib/tools/qvector.h:114
#14 0xb68f727f in ~LayoutData (this=0x928bb10) at /home/kubo/kde4/build/qt-copy/src/gui/text/qtextengine.cpp:2044
#15 0xb68f863c in ~QTextEngine (this=0xbf928234) at /home/kubo/kde4/build/qt-copy/src/gui/text/qtextengine.cpp:1299
#16 0xb68ceef6 in QFontMetrics::boundingRect (this=0xbf92834c, text=@0x900b26c) at /home/kubo/kde4/build/qt-copy/src/gui/text/qfontmetrics.cpp:666
#17 0xb42b1a6e in PageViewMessage::paintEvent (this=0x900b258) at /home/kubo/kde4/build/kdegraphics/okular/ui/pageviewutils.cpp:309
#18 0xb66a3beb in QWidget::event (this=0x900b258, event=0xbf92895c) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qwidget.cpp:7659
#19 0xb6631f57 in QApplicationPrivate::notify_helper (this=0x8ee17e0, receiver=0x900b258, e=0xbf92895c) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication.cpp:4057
#20 0xb6634087 in QApplication::notify (this=0xbf92a408, receiver=0x900b258, e=0xbf92895c) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication.cpp:4022
#21 0xb788025b in KApplication::notify (this=0xbf92a408, receiver=0x900b258, event=0xbf92895c) at /home/kubo/kde4/build/kdelibs/kdeui/kernel/kapplication.cpp:302
#22 0xb7266732 in QCoreApplication::notifyInternal (this=0xbf92a408, receiver=0x900b258, event=0xbf92895c) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qcoreapplication.cpp:610
#23 0xb6640189 in QCoreApplication::sendSpontaneousEvent (receiver=0x900b258, event=0xbf92895c) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:216
#24 0xb66a0c98 in QWidgetPrivate::drawWidget (this=0x900a6b8, pdev=0x8f6d58c, rgn=@0xbf928ac8, offset=@0xbf928af4, flags=4, sharedPainter=0x0, backingStore=0x8f96df0)
    at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qwidget.cpp:5052
#25 0xb66a1622 in QWidgetPrivate::paintSiblingsRecursive (this=0x900b830, pdev=0x8f6d58c, siblings=@0x900b83c, index=0, rgn=@0xbf928b8c, offset=@0xbf928eb4, flags=4, sharedPainter=0x0, 
    backingStore=0x8f96df0) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qwidget.cpp:5162
#26 0xb66a14c9 in QWidgetPrivate::paintSiblingsRecursive (this=0x900b830, pdev=0x8f6d58c, siblings=@0x900b83c, index=49, rgn=@0xbf928c4c, offset=@0xbf928eb4, flags=4, sharedPainter=0x0, 
    backingStore=0x8f96df0) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qwidget.cpp:5153
#27 0xb66a14c9 in QWidgetPrivate::paintSiblingsRecursive (this=0x900b830, pdev=0x8f6d58c, siblings=@0x900b83c, index=50, rgn=@0xbf928e88, offset=@0xbf928eb4, flags=4, sharedPainter=0x0, 
    backingStore=0x8f96df0) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qwidget.cpp:5153
#28 0xb66a11dd in QWidgetPrivate::drawWidget (this=0x900b830, pdev=0x8f6d58c, rgn=@0xbf928e88, offset=@0xbf928eb4, flags=4, sharedPainter=0x0, backingStore=0x8f96df0)
    at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qwidget.cpp:5101
#29 0xb66a1622 in QWidgetPrivate::paintSiblingsRecursive (this=0x9033320, pdev=0x8f6d58c, siblings=@0x903332c, index=2, rgn=@0xbf9290c8, offset=@0xbf9290f4, flags=4, sharedPainter=0x0, 
    backingStore=0x8f96df0) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qwidget.cpp:5162
#30 0xb66a11dd in QWidgetPrivate::drawWidget (this=0x9033320, pdev=0x8f6d58c, rgn=@0xbf9290c8, offset=@0xbf9290f4, flags=4, sharedPainter=0x0, backingStore=0x8f96df0)
    at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qwidget.cpp:5101
#31 0xb66a1622 in QWidgetPrivate::paintSiblingsRecursive (this=0x8fc5b38, pdev=0x8f6d58c, siblings=@0x8fc5b44, index=0, rgn=@0xbf929308, offset=@0xbf929334, flags=4, sharedPainter=0x0, 
    backingStore=0x8f96df0) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qwidget.cpp:5162
#32 0xb66a11dd in QWidgetPrivate::drawWidget (this=0x8fc5b38, pdev=0x8f6d58c, rgn=@0xbf929308, offset=@0xbf929334, flags=4, sharedPainter=0x0, backingStore=0x8f96df0)
    at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qwidget.cpp:5101
#33 0xb66a1622 in QWidgetPrivate::paintSiblingsRecursive (this=0x8f9e5b0, pdev=0x8f6d58c, siblings=@0x8f9e5bc, index=1, rgn=@0xbf929548, offset=@0xbf929574, flags=4, sharedPainter=0x0, 
    backingStore=0x8f96df0) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qwidget.cpp:5162
#34 0xb66a11dd in QWidgetPrivate::drawWidget (this=0x8f9e5b0, pdev=0x8f6d58c, rgn=@0xbf929548, offset=@0xbf929574, flags=4, sharedPainter=0x0, backingStore=0x8f96df0)
    at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qwidget.cpp:5101
#35 0xb66a1622 in QWidgetPrivate::paintSiblingsRecursive (this=0x8f88208, pdev=0x8f6d58c, siblings=@0x8f88214, index=5, rgn=@0xbf929850, offset=@0x8f96e14, flags=4, sharedPainter=0x0, 
    backingStore=0x8f96df0) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qwidget.cpp:5162
#36 0xb66a11dd in QWidgetPrivate::drawWidget (this=0x8f88208, pdev=0x8f6d58c, rgn=@0xbf929850, offset=@0x8f96e14, flags=5, sharedPainter=0x0, backingStore=0x8f96df0)
    at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qwidget.cpp:5101
#37 0xb68abe7c in QWidgetBackingStore::sync (this=0x8f96df0) at /home/kubo/kde4/build/qt-copy/src/gui/painting/qbackingstore.cpp:1268
#38 0xb6699c22 in QWidgetPrivate::syncBackingStore (this=0x8f88208) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qwidget.cpp:1602
#39 0xb66a41e0 in QWidget::event (this=0x8f94ee0, event=0x91e2b48) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qwidget.cpp:7799
#40 0xb6b81c43 in QMainWindow::event (this=0x8f94ee0, event=0x91e2b48) at /home/kubo/kde4/build/qt-copy/src/gui/widgets/qmainwindow.cpp:1402
#41 0xb7958c94 in KMainWindow::event (this=0x8f94ee0, ev=0x91e2b48) at /home/kubo/kde4/build/kdelibs/kdeui/widgets/kmainwindow.cpp:1094
#42 0xb7998b3f in KXmlGuiWindow::event (this=0x8f94ee0, ev=0x91e2b48) at /home/kubo/kde4/build/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:131
#43 0xb6631f57 in QApplicationPrivate::notify_helper (this=0x8ee17e0, receiver=0x8f94ee0, e=0x91e2b48) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication.cpp:4057
#44 0xb6634087 in QApplication::notify (this=0xbf92a408, receiver=0x8f94ee0, e=0x91e2b48) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication.cpp:4022
#45 0xb788025b in KApplication::notify (this=0xbf92a408, receiver=0x8f94ee0, event=0x91e2b48) at /home/kubo/kde4/build/kdelibs/kdeui/kernel/kapplication.cpp:302
#46 0xb7266732 in QCoreApplication::notifyInternal (this=0xbf92a408, receiver=0x8f94ee0, event=0x91e2b48) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qcoreapplication.cpp:610
#47 0xb726b15d in QCoreApplication::sendEvent (receiver=0x8f94ee0, event=0x91e2b48) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:213
#48 0xb7266cbc in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8eb29c8) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1247
#49 0xb7266f51 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1140
#50 0xb729f4f8 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:218
#51 0xb729e6de in postEventSourceDispatch (s=0x8ee3b18) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:209
#52 0xb5e49e08 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#53 0xb5e4d370 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#54 0xb5e4d4a3 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#55 0xb729d8c2 in QEventDispatcherGlib::processEvents (this=0x8ee17a0, flags={i = -1080909080}) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:324
#56 0xb66fd644 in QGuiEventDispatcherGlib::processEvents (this=0x8ee17a0, flags={i = -1080909032}) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#57 0xb7262d3c in QEventLoop::processEvents (this=0xbf92a3a8, flags={i = -1080908968}) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#58 0xb7262f97 in QEventLoop::exec (this=0xbf92a3a8, flags={i = -1080908880}) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qeventloop.cpp:200
#59 0xb7267087 in QCoreApplication::exec () at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qcoreapplication.cpp:888
#60 0xb6631c70 in QApplication::exec () at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication.cpp:3526
#61 0x0804ed8d in main (argc=2, argv=0xbf92a544) at /home/kubo/kde4/build/kdegraphics/okular/shell/main.cpp:81

Reported using DrKonqi
Comment 1 Pino Toscano 2009-06-16 16:27:33 UTC
Looks like a Qt issue.
Can you please provide a valgrind log?
Also, can you reproduce the proble reliably?
Comment 2 Raphael Kubo da Costa 2009-07-07 06:58:37 UTC
I haven't been able to reproduce it ever since. Should it be closed?
Comment 3 Pino Toscano 2009-07-28 13:16:05 UTC
Closing then.