Bug 277842

Summary: Okular crashes on open on DisplayLink terminal
Product: [Applications] okular Reporter: Charles <charles>
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 Charles 2011-07-15 15:39:42 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.5-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
Every time the app is opened on this (DisplayLink) terminal it segfaults
The same app works fine on another X session on the same computer which is connected to a local display via the propriatory nVidia driver

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f5b56d87947 in PagePainter::scalePixmapOnImage (dest=..., src=0x8164f0, scaledWidth=<value optimized out>, scaledHeight=902, cropRect=<value optimized out>, format=<value optimized out>) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pagepainter.cpp:755
#7  0x00007f5b56d88360 in PagePainter::paintCroppedPageOnPainter (destPainter=0x7fff638e5ba0, page=0xa0cf00, pixID=<value optimized out>, flags=<value optimized out>, scaledWidth=638, scaledHeight=902, limits=..., crop=...) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pagepainter.cpp:229
#8  0x00007f5b56d98d9f in PageView::drawDocumentOnPainter (this=0x7a0810, contentsRect=..., p=0x7fff638e5ba0) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:2469
#9  0x00007f5b56d995a1 in PageView::paintEvent (this=0x7a0810, pe=<value optimized out>) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:1226
#10 0x00007f5b657e14ea in QWidget::event (this=0x7a0810, event=0x7fff638e64c0) at kernel/qwidget.cpp:8346
#11 0x00007f5b65b85906 in QFrame::event (this=0x7a0810, e=0x7fff638e64c0) at widgets/qframe.cpp:557
#12 0x00007f5b56d95cdd in PageView::viewportEvent (this=0x7a0810, e=0x7fff638e64c0) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:2315
#13 0x00007f5b64df2d87 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x7a0870, event=0x7fff638e64c0) at kernel/qcoreapplication.cpp:847
#14 0x00007f5b6578fce1 in QApplicationPrivate::notify_helper (this=0x632690, receiver=0x7a0870, e=0x7fff638e64c0) at kernel/qapplication.cpp:4441
#15 0x00007f5b6579822a in QApplication::notify (this=<value optimized out>, receiver=0x7a0870, e=0x7fff638e64c0) at kernel/qapplication.cpp:4324
#16 0x00007f5b663ef9e6 in KApplication::notify (this=0x7fff638e93a0, receiver=0x7a0870, event=0x7fff638e64c0) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#17 0x00007f5b64df2bfc in QCoreApplication::notifyInternal (this=0x7fff638e93a0, receiver=0x7a0870, event=0x7fff638e64c0) at kernel/qcoreapplication.cpp:732
#18 0x00007f5b657de3b2 in sendSpontaneousEvent (this=0x7cbfd0, pdev=0x919178, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9190e0) at ../../src/corelib/kernel/qcoreapplication.h:218
#19 QWidgetPrivate::drawWidget (this=0x7cbfd0, pdev=0x919178, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9190e0) at kernel/qwidget.cpp:5433
#20 0x00007f5b657def7f in QWidgetPrivate::paintSiblingsRecursive (this=0x76ae30, pdev=0x919178, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9190e0) at kernel/qwidget.cpp:5640
#21 0x00007f5b657dee3c in QWidgetPrivate::paintSiblingsRecursive (this=0x76ae30, pdev=0x919178, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9190e0) at kernel/qwidget.cpp:5627
#22 0x00007f5b657dee3c in QWidgetPrivate::paintSiblingsRecursive (this=0x76ae30, pdev=0x919178, siblings=..., index=51, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9190e0) at kernel/qwidget.cpp:5627
#23 0x00007f5b657de11a in QWidgetPrivate::drawWidget (this=0x76ae30, pdev=0x919178, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9190e0) at kernel/qwidget.cpp:5486
#24 0x00007f5b657def7f in QWidgetPrivate::paintSiblingsRecursive (this=0x7e3e10, pdev=0x919178, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9190e0) at kernel/qwidget.cpp:5640
#25 0x00007f5b657dee3c in QWidgetPrivate::paintSiblingsRecursive (this=0x7e3e10, pdev=0x919178, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9190e0) at kernel/qwidget.cpp:5627
#26 0x00007f5b657de11a in QWidgetPrivate::drawWidget (this=0x7e3e10, pdev=0x919178, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9190e0) at kernel/qwidget.cpp:5486
#27 0x00007f5b657def7f in QWidgetPrivate::paintSiblingsRecursive (this=0x752910, pdev=0x919178, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9190e0) at kernel/qwidget.cpp:5640
#28 0x00007f5b657dee3c in QWidgetPrivate::paintSiblingsRecursive (this=0x752910, pdev=0x919178, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9190e0) at kernel/qwidget.cpp:5627
#29 0x00007f5b657dee3c in QWidgetPrivate::paintSiblingsRecursive (this=0x752910, pdev=0x919178, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9190e0) at kernel/qwidget.cpp:5627
#30 0x00007f5b657de11a in QWidgetPrivate::drawWidget (this=0x752910, pdev=0x919178, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9190e0) at kernel/qwidget.cpp:5486
#31 0x00007f5b657def7f in QWidgetPrivate::paintSiblingsRecursive (this=0x73f540, pdev=0x919178, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9190e0) at kernel/qwidget.cpp:5640
#32 0x00007f5b657de11a in QWidgetPrivate::drawWidget (this=0x73f540, pdev=0x919178, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9190e0) at kernel/qwidget.cpp:5486
#33 0x00007f5b657def7f in QWidgetPrivate::paintSiblingsRecursive (this=0x6cf8a0, pdev=0x919178, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9190e0) at kernel/qwidget.cpp:5640
#34 0x00007f5b657de11a in QWidgetPrivate::drawWidget (this=0x6cf8a0, pdev=0x919178, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9190e0) at kernel/qwidget.cpp:5486
#35 0x00007f5b659a1191 in QWidgetBackingStore::sync (this=0x9190e0) at painting/qbackingstore.cpp:1333
#36 0x00007f5b657d4170 in QWidgetPrivate::syncBackingStore (this=0x6cf8a0) at kernel/qwidget.cpp:1816
#37 0x00007f5b657e19f2 in QWidget::event (this=0x715570, event=0xc22310) at kernel/qwidget.cpp:8493
#38 0x00007f5b65b9f47b in QMainWindow::event (this=0x715570, event=0xc22310) at widgets/qmainwindow.cpp:1478
#39 0x00007f5b66498793 in KXmlGuiWindow::event (this=0x715570, ev=0xc22310) at /usr/src/debug/kdelibs-4.6.0/kdeui/xmlgui/kxmlguiwindow.cpp:126
#40 0x00007f5b6578fd14 in QApplicationPrivate::notify_helper (this=0x632690, receiver=0x715570, e=0xc22310) at kernel/qapplication.cpp:4445
#41 0x00007f5b6579822a in QApplication::notify (this=<value optimized out>, receiver=0x715570, e=0xc22310) at kernel/qapplication.cpp:4324
#42 0x00007f5b663ef9e6 in KApplication::notify (this=0x7fff638e93a0, receiver=0x715570, event=0xc22310) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#43 0x00007f5b64df2bfc in QCoreApplication::notifyInternal (this=0x7fff638e93a0, receiver=0x715570, event=0xc22310) at kernel/qcoreapplication.cpp:732
#44 0x00007f5b64df63f5 in sendEvent (receiver=0x0, event_type=0, data=0x614050) at kernel/qcoreapplication.h:215
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x614050) at kernel/qcoreapplication.cpp:1373
#46 0x00007f5b64e1d783 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#47 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#48 0x00007f5b60fe2bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#49 0x00007f5b60fe33b0 in ?? () from /lib64/libglib-2.0.so.0
#50 0x00007f5b60fe3650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#51 0x00007f5b64e1d91f in QEventDispatcherGlib::processEvents (this=0x619b00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#52 0x00007f5b65834d8e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007f5b64df2052 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#54 0x00007f5b64df2265 in QEventLoop::exec (this=0x7fff638e92f0, flags=...) at kernel/qeventloop.cpp:201
#55 0x00007f5b64df66ab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#56 0x0000000000408909 in main (argc=6, argv=0x7fff638e9988) at /usr/src/debug/kdegraphics-4.6.0/okular/shell/main.cpp:82

Possible duplicates by query: bug 277335, bug 276197, bug 271548, bug 269489, bug 268921.

Reported using DrKonqi
Comment 1 Pino Toscano 2011-07-15 15:55:38 UTC

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