Bug 257340

Summary: okular crashed during opening pdf
Product: [Applications] okular Reporter: Christoph Thielecke <crissi99>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aacid, crissi99
Priority: NOR    
Version: 0.11.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Christoph Thielecke 2010-11-19 17:50:27 UTC
Application: okular (0.11.2)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
Open konqueror/rekonq, open www.google.de, enter 'x-umleitung rdp' (alternativly: http://www.google.de/search?client=safari&rls=de-DE&q=x-umleitung+rdp&ie=UTF-8&oe=UTF-8), klick with middle mouse button (open in new tab) at first result ('emote Desktop Lösungen - Was sie schon immer über remote X wissen ...'), open with okular when requested, openlar starts up, loads file and crash :(

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

Thread 2 (Thread 0xb2495b70 (LWP 5725)):
#0  0x00b9f3eb in __pthread_mutex_lock (mutex=0x93a60d4) at pthread_mutex_lock.c:61
#1  0x05cf8f86 in pthread_mutex_lock (mutex=0x93a60d4) at forward.c:182
#2  0x016d3b68 in g_main_context_check () from /lib/libglib-2.0.so.0
#3  0x016d445e in ?? () from /lib/libglib-2.0.so.0
#4  0x016d4848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x02f5359f in QEventDispatcherGlib::processEvents (this=0x8fa3a20, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x02f23609 in QEventLoop::processEvents (this=0xb2495290, flags=) at kernel/qeventloop.cpp:149
#7  0x02f23a8a in QEventLoop::exec (this=0xb2495290, flags=...) at kernel/qeventloop.cpp:201
#8  0x02e1fb7e in QThread::exec (this=0x92209b8) at thread/qthread.cpp:490
#9  0x02f0235b in QInotifyFileSystemWatcherEngine::run (this=0x92209b8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x02e22df9 in QThreadPrivate::start (arg=0x92209b8) at thread/qthread_unix.cpp:266
#11 0x00b9ccc9 in start_thread (arg=0xb2495b70) at pthread_create.c:304
#12 0x05ceb6be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb779e710 (LWP 5724)):
[KCrash Handler]
#7  0x06ad23a7 in PagePainter::scalePixmapOnImage (dest=..., src=0x90c26b0, scaledWidth=1570, scaledHeight=1177, cropRect=..., format=QImage::Format_ARGB32_Premultiplied) at ../../okular/ui/pagepainter.cpp:755
#8  0x06ad2a24 in PagePainter::paintCroppedPageOnPainter (destPainter=0xbf8ef68c, page=0x9d0fd70, pixID=3, flags=<value optimized out>, scaledWidth=1570, scaledHeight=1177, limits=..., crop=...) at ../../okular/ui/pagepainter.cpp:229
#9  0x06ae608f in PageView::drawDocumentOnPainter (this=0x92d1e58, contentsRect=..., p=0xbf8ef68c) at ../../okular/ui/pageview.cpp:2446
#10 0x06ae6995 in PageView::paintEvent (this=0x92d1e58, pe=0xbf8efd94) at ../../okular/ui/pageview.cpp:1212
#11 0x00d4bcc6 in QWidget::event (this=0x92d1e58, event=0xbf8efd94) at kernel/qwidget.cpp:8333
#12 0x0116d763 in QFrame::event (this=0x92d1e58, e=0xbf8efd94) at widgets/qframe.cpp:557
#13 0x0120aa82 in QAbstractScrollArea::viewportEvent (this=0xe6636, e=0x1) at widgets/qabstractscrollarea.cpp:1043
#14 0x06ae9b40 in PageView::viewportEvent (this=0x92d1e58, e=0xbf8efd94) at ../../okular/ui/pageview.cpp:2292
#15 0x0120d4d5 in viewportEvent (this=0x90de6a8, o=0x92d28f8, e=0xbf8efd94) at widgets/qabstractscrollarea_p.h:100
#16 QAbstractScrollAreaFilter::eventFilter (this=0x90de6a8, o=0x92d28f8, e=0xbf8efd94) at widgets/qabstractscrollarea_p.h:116
#17 0x02f2429a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8f9dd90, receiver=0x92d28f8, event=0xbf8efd94) at kernel/qcoreapplication.cpp:847
#18 0x00cedfb9 in QApplicationPrivate::notify_helper (this=0x8f9dd90, receiver=0x92d28f8, e=0xbf8efd94) at kernel/qapplication.cpp:4392
#19 0x00cf40e9 in QApplication::notify (this=0xbf8f1dd0, receiver=0x92d28f8, e=0xbf8efd94) at kernel/qapplication.cpp:4361
#20 0x005ae01a in KApplication::notify (this=0xbf8f1dd0, receiver=0x92d28f8, event=0xbf8efd94) at ../../kdeui/kernel/kapplication.cpp:310
#21 0x02f24b3b in QCoreApplication::notifyInternal (this=0xbf8f1dd0, receiver=0x92d28f8, event=0xbf8efd94) at kernel/qcoreapplication.cpp:732
#22 0x00d52ee6 in sendSpontaneousEvent (this=0x92d2910, pdev=0x937c9c4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x937ce80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#23 QWidgetPrivate::drawWidget (this=0x92d2910, pdev=0x937c9c4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x937ce80) at kernel/qwidget.cpp:5420
#24 0x00d53cff in QWidgetPrivate::paintSiblingsRecursive (this=0x92d26c0, pdev=0x937c9c4, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x937ce80) at kernel/qwidget.cpp:5627
#25 0x00d53b38 in QWidgetPrivate::paintSiblingsRecursive (this=0x92d26c0, pdev=0x937c9c4, siblings=..., index=51, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x937ce80) at kernel/qwidget.cpp:5614
#26 0x00d53b38 in QWidgetPrivate::paintSiblingsRecursive (this=0x92d26c0, pdev=0x937c9c4, siblings=..., index=52, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x937ce80) at kernel/qwidget.cpp:5614
#27 0x00d52c35 in QWidgetPrivate::drawWidget (this=0x92d26c0, pdev=0x937c9c4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x937ce80) at kernel/qwidget.cpp:5473
#28 0x00d53cff in QWidgetPrivate::paintSiblingsRecursive (this=0x921ec18, pdev=0x937c9c4, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x937ce80) at kernel/qwidget.cpp:5627
#29 0x00d53b38 in QWidgetPrivate::paintSiblingsRecursive (this=0x921ec18, pdev=0x937c9c4, siblings=..., index=5, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x937ce80) at kernel/qwidget.cpp:5614
#30 0x00d52c35 in QWidgetPrivate::drawWidget (this=0x921ec18, pdev=0x937c9c4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x937ce80) at kernel/qwidget.cpp:5473
#31 0x00d53cff in QWidgetPrivate::paintSiblingsRecursive (this=0x90dc960, pdev=0x937c9c4, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x937ce80) at kernel/qwidget.cpp:5627
#32 0x00d52c35 in QWidgetPrivate::drawWidget (this=0x90dc960, pdev=0x937c9c4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x937ce80) at kernel/qwidget.cpp:5473
#33 0x00d53cff in QWidgetPrivate::paintSiblingsRecursive (this=0x90c1b78, pdev=0x937c9c4, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x937ce80) at kernel/qwidget.cpp:5627
#34 0x00d52c35 in QWidgetPrivate::drawWidget (this=0x90c1b78, pdev=0x937c9c4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x937ce80) at kernel/qwidget.cpp:5473
#35 0x00d53cff in QWidgetPrivate::paintSiblingsRecursive (this=0x90544d0, pdev=0x937c9c4, siblings=..., index=22, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x937ce80) at kernel/qwidget.cpp:5627
#36 0x00d52c35 in QWidgetPrivate::drawWidget (this=0x90544d0, pdev=0x937c9c4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x937ce80) at kernel/qwidget.cpp:5473
#37 0x00f43c74 in QWidgetBackingStore::sync (this=0x937ce80) at painting/qbackingstore.cpp:1328
#38 0x00d452b3 in QWidgetPrivate::syncBackingStore (this=0x90544d0) at kernel/qwidget.cpp:1805
#39 0x00d4c466 in QWidget::event (this=0x90508e8, event=0x9474778) at kernel/qwidget.cpp:8480
#40 0x0118c917 in QMainWindow::event (this=0x90508e8, event=0x9474778) at widgets/qmainwindow.cpp:1417
#41 0x006a4264 in KMainWindow::event (this=0x90508e8, ev=0x9474778) at ../../kdeui/widgets/kmainwindow.cpp:1100
#42 0x006ecb4f in KXmlGuiWindow::event (this=0x90508e8, ev=0x9474778) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:132
#43 0x00cedfdc in QApplicationPrivate::notify_helper (this=0x8f9dd90, receiver=0x90508e8, e=0x9474778) at kernel/qapplication.cpp:4396
#44 0x00cf40e9 in QApplication::notify (this=0xbf8f1dd0, receiver=0x90508e8, e=0x9474778) at kernel/qapplication.cpp:4361
#45 0x005ae01a in KApplication::notify (this=0xbf8f1dd0, receiver=0x90508e8, event=0x9474778) at ../../kdeui/kernel/kapplication.cpp:310
#46 0x02f24b3b in QCoreApplication::notifyInternal (this=0xbf8f1dd0, receiver=0x90508e8, event=0x9474778) at kernel/qcoreapplication.cpp:732
#47 0x02f27d8b in sendEvent (receiver=0x0, event_type=0, data=0x8f88e98) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#48 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8f88e98) at kernel/qcoreapplication.cpp:1373
#49 0x02f27f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#50 0x02f53a74 in sendPostedEvents (s=0x8fa0110) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#51 postEventSourceDispatch (s=0x8fa0110) at kernel/qeventdispatcher_glib.cpp:277
#52 0x016d0855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#53 0x016d4668 in ?? () from /lib/libglib-2.0.so.0
#54 0x016d4848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#55 0x02f53565 in QEventDispatcherGlib::processEvents (this=0x8f88b58, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#56 0x00dafbe5 in QGuiEventDispatcherGlib::processEvents (this=0x8f88b58, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#57 0x02f23609 in QEventLoop::processEvents (this=0xbf8f1cd4, flags=) at kernel/qeventloop.cpp:149
#58 0x02f23a8a in QEventLoop::exec (this=0xbf8f1cd4, flags=...) at kernel/qeventloop.cpp:201
#59 0x02f2800f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#60 0x00cece07 in QApplication::exec () at kernel/qapplication.cpp:3672
#61 0x0804e6d9 in main (argc=5, argv=0xbf8f1fc4) at ../../../okular/shell/main.cpp:82

Reported using DrKonqi
Comment 1 Christoph Feck 2010-11-19 18:29:53 UTC
Cannot reproduce in current trunk (with poppler 0.12.3)
Comment 2 Christoph Thielecke 2010-11-23 15:38:59 UTC
Created attachment 53663 [details]
New crash information added by DrKonqi

okular (0.11.2) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

I opened a local pdf file and okular crashes at open it.

-- Backtrace (Reduced):
#7  0x064ce3a7 in PagePainter::scalePixmapOnImage (dest=..., src=0x8682038, scaledWidth=1570, scaledHeight=2219, cropRect=..., format=QImage::Format_ARGB32_Premultiplied) at ../../okular/ui/pagepainter.cpp:755
#8  0x064cea24 in PagePainter::paintCroppedPageOnPainter (destPainter=0xbfe07c6c, page=0x9070e58, pixID=3, flags=<value optimized out>, scaledWidth=1570, scaledHeight=2219, limits=..., crop=...) at ../../okular/ui/pagepainter.cpp:229
#9  0x064e208f in PageView::drawDocumentOnPainter (this=0x867d8c0, contentsRect=..., p=0xbfe07c6c) at ../../okular/ui/pageview.cpp:2446
#10 0x064e2995 in PageView::paintEvent (this=0x867d8c0, pe=0xbfe08374) at ../../okular/ui/pageview.cpp:1212
#11 0x00ca1cc6 in QWidget::event (this=0x867d8c0, event=0xbfe08374) at kernel/qwidget.cpp:8333
Comment 3 Albert Astals Cid 2010-12-01 21:24:08 UTC

*** This bug has been marked as a duplicate of bug 256681 ***
Comment 4 Pino Toscano 2010-12-09 18:40:58 UTC

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