Bug 281373

Summary: Okular crashed while loading pdf file including embedded fonts and graphics
Product: [Applications] okular Reporter: richard virden <richard.virden>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 0.12   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description richard virden 2011-09-05 10:37:39 UTC
Application: okular (0.12)
KDE Platform Version: 4.6.00 (4.6.0) "release 6"
Qt Version: 4.7.1
Operating System: Linux 2.6.37.6-0.7-default i686
Distribution: "openSUSE 11.4 (i586)"

-- Information about the crash:
- What I was doing when the application crashed: using file-open command within Okular. Crashed with such files (16 pages and two pages respectively) but loaded successfully when page bar and navigation panels were disabled (in this respect might be related to bug 243434?)

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5022710 (LWP 9247))]

Thread 2 (Thread 0xb0349b70 (LWP 9251)):
#0  0xb588afcd in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xb5f17d04 in pthread_mutex_lock () from /lib/libc.so.6
#2  0xb5692db3 in g_main_context_query () from /lib/libglib-2.0.so.0
#3  0xb569392c in ?? () from /lib/libglib-2.0.so.0
#4  0xb5693fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb629d7b7 in QEventDispatcherGlib::processEvents (this=0x8320ab0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb626e2bd in QEventLoop::processEvents (this=0xb03492b0, flags=...) at kernel/qeventloop.cpp:149
#7  0xb626e4e9 in QEventLoop::exec (this=0xb03492b0, flags=...) at kernel/qeventloop.cpp:201
#8  0xb616f7b9 in QThread::exec (this=0x832bad8) at thread/qthread.cpp:490
#9  0xb624e23d in QInotifyFileSystemWatcherEngine::run (this=0x832bad8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb61723aa in QThreadPrivate::start (arg=0x832bad8) at thread/qthread_unix.cpp:285
#11 0xb5888b05 in start_thread () from /lib/libpthread.so.0
#12 0xb5f09d5e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5022710 (LWP 9247)):
[KCrash Handler]
#7  0xb2aca120 in PagePainter::scalePixmapOnImage (dest=..., src=0x84d8a40, scaledWidth=354, scaledHeight=250, cropRect=..., format=QImage::Format_ARGB32_Premultiplied) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pagepainter.cpp:755
#8  0xb2acab95 in PagePainter::paintCroppedPageOnPainter (destPainter=0xbf94049c, page=0x84d7b28, pixID=4, flags=41, scaledWidth=354, scaledHeight=250, limits=..., crop=...) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pagepainter.cpp:229
#9  0xb2aceec0 in PagePainter::paintPageOnPainter (destPainter=0xbf94049c, page=0x84d7b28, pixID=4, flags=41, scaledWidth=354, scaledHeight=250, limits=...) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pagepainter.cpp:54
#10 0xb2b0a060 in ThumbnailWidget::paint (this=0x84d82c8, p=..., _clipRect=...) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/thumbnaillist.cpp:972
#11 0xb2b0a48c in ThumbnailListPrivate::paintEvent (this=0x8165a80, e=0xbf940a24) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/thumbnaillist.cpp:190
#12 0xb67ed60a in QWidget::event (this=0x8165a80, event=0xbf940a24) at kernel/qwidget.cpp:8346
#13 0xb6792414 in QApplicationPrivate::notify_helper (this=0x8072240, receiver=0x8165a80, e=0xbf940a24) at kernel/qapplication.cpp:4445
#14 0xb679b174 in QApplication::notify (this=0xbf943650, receiver=0x8165a80, e=0xbf940a24) at kernel/qapplication.cpp:4324
#15 0xb72421f1 in KApplication::notify (this=0xbf943650, receiver=0x8165a80, event=0xbf940a24) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#16 0xb626efde in QCoreApplication::notifyInternal (this=0xbf943650, receiver=0x8165a80, event=0xbf940a24) at kernel/qcoreapplication.cpp:732
#17 0xb67ea2a2 in sendSpontaneousEvent (this=0x8167010, pdev=0x827b7d4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at ../../src/corelib/kernel/qcoreapplication.h:218
#18 QWidgetPrivate::drawWidget (this=0x8167010, pdev=0x827b7d4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5433
#19 0xb67eaff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x81c79d0, pdev=0x827b7d4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5640
#20 0xb67e9ff8 in QWidgetPrivate::drawWidget (this=0x81c79d0, pdev=0x827b7d4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5486
#21 0xb67eaff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x81e7d20, pdev=0x827b7d4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5640
#22 0xb67eaebd in QWidgetPrivate::paintSiblingsRecursive (this=0x81e7d20, pdev=0x827b7d4, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5627
#23 0xb67eaebd in QWidgetPrivate::paintSiblingsRecursive (this=0x81e7d20, pdev=0x827b7d4, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5627
#24 0xb67eaebd in QWidgetPrivate::paintSiblingsRecursive (this=0x81e7d20, pdev=0x827b7d4, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5627
#25 0xb67e9ff8 in QWidgetPrivate::drawWidget (this=0x81e7d20, pdev=0x827b7d4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5486
#26 0xb67eaff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x81dcb38, pdev=0x827b7d4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5640
#27 0xb67e9ff8 in QWidgetPrivate::drawWidget (this=0x81dcb38, pdev=0x827b7d4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5486
#28 0xb67eaff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x814cb68, pdev=0x827b7d4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5640
#29 0xb67e9ff8 in QWidgetPrivate::drawWidget (this=0x814cb68, pdev=0x827b7d4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5486
#30 0xb67eaff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x814c470, pdev=0x827b7d4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5640
#31 0xb67e9ff8 in QWidgetPrivate::drawWidget (this=0x814c470, pdev=0x827b7d4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5486
#32 0xb67eaff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x814c2b8, pdev=0x827b7d4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5640
#33 0xb67eaebd in QWidgetPrivate::paintSiblingsRecursive (this=0x814c2b8, pdev=0x827b7d4, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5627
#34 0xb67e9ff8 in QWidgetPrivate::drawWidget (this=0x814c2b8, pdev=0x827b7d4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5486
#35 0xb67eaff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x813c4a0, pdev=0x827b7d4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5640
#36 0xb67e9ff8 in QWidgetPrivate::drawWidget (this=0x813c4a0, pdev=0x827b7d4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5486
#37 0xb67eaff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x80e2700, pdev=0x827b7d4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5640
#38 0xb67eaebd in QWidgetPrivate::paintSiblingsRecursive (this=0x80e2700, pdev=0x827b7d4, siblings=..., index=13, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5627
#39 0xb67e9ff8 in QWidgetPrivate::drawWidget (this=0x80e2700, pdev=0x827b7d4, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x827a5f8) at kernel/qwidget.cpp:5486
#40 0xb69d86c8 in QWidgetBackingStore::sync (this=0x827a5f8) at painting/qbackingstore.cpp:1333
#41 0xb67df03b in QWidgetPrivate::syncBackingStore (this=0x80e2700) at kernel/qwidget.cpp:1816
#42 0xb67ee0da in QWidget::event (this=0x80c5e20, event=0x8485780) at kernel/qwidget.cpp:8493
#43 0xb6c1929c in QMainWindow::event (this=0x80c5e20, event=0x8485780) at widgets/qmainwindow.cpp:1478
#44 0xb7305ae4 in KMainWindow::event (this=0x80c5e20, ev=0x8485780) at /usr/src/debug/kdelibs-4.6.0/kdeui/widgets/kmainwindow.cpp:1100
#45 0xb7305d82 in KXmlGuiWindow::event (this=0x80c5e20, ev=0x8485780) at /usr/src/debug/kdelibs-4.6.0/kdeui/xmlgui/kxmlguiwindow.cpp:126
#46 0xb6792414 in QApplicationPrivate::notify_helper (this=0x8072240, receiver=0x80c5e20, e=0x8485780) at kernel/qapplication.cpp:4445
#47 0xb679b174 in QApplication::notify (this=0xbf943650, receiver=0x80c5e20, e=0x8485780) at kernel/qapplication.cpp:4324
#48 0xb72421f1 in KApplication::notify (this=0xbf943650, receiver=0x80c5e20, event=0x8485780) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#49 0xb626efde in QCoreApplication::notifyInternal (this=0xbf943650, receiver=0x80c5e20, event=0x8485780) at kernel/qcoreapplication.cpp:732
#50 0xb6272d6c in sendEvent (receiver=0x0, event_type=0, data=0x8059428) at kernel/qcoreapplication.h:215
#51 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8059428) at kernel/qcoreapplication.cpp:1373
#52 0xb6272ebc in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#53 0xb629d5e4 in sendPostedEvents (s=0x8074fb8) at kernel/qcoreapplication.h:220
#54 postEventSourceDispatch (s=0x8074fb8) at kernel/qeventdispatcher_glib.cpp:277
#55 0xb5693509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#56 0xb5693d10 in ?? () from /lib/libglib-2.0.so.0
#57 0xb5693fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#58 0xb629d76b in QEventDispatcherGlib::processEvents (this=0x805ce40, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#59 0xb684855a in QGuiEventDispatcherGlib::processEvents (this=0x805ce40, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#60 0xb626e2bd in QEventLoop::processEvents (this=0xbf943554, flags=...) at kernel/qeventloop.cpp:149
#61 0xb626e4e9 in QEventLoop::exec (this=0xbf943554, flags=...) at kernel/qeventloop.cpp:201
#62 0xb6272f90 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#63 0xb6790104 in QApplication::exec () at kernel/qapplication.cpp:3719
#64 0x0804ef78 in main (argc=0, argv=0x2) at /usr/src/debug/kdegraphics-4.6.0/okular/shell/main.cpp:82

Possible duplicates by query: bug 265279, bug 260650, bug 243434, bug 232060.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2011-09-05 11:07:35 UTC

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