[Okular-devel] [Bug 262792] New: okular segfaults on opening pdf

Sol Mumey smumey at gmail.com
Mon Jan 10 21:52:59 CET 2011


https://bugs.kde.org/show_bug.cgi?id=262792

           Summary: okular segfaults on opening pdf
           Product: okular
           Version: 0.11.1
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: smumey at gmail.com


Application: okular (0.11.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
Opening a tax form PDF. Happens when I open the  PDF from the File menu or when
I open it from Dolphin.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f9da48e4700 (LWP 7690)):
#0  0x00007f9db9858203 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9db573f009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f9db573f45c in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#3  0x00007f9dba2171e6 in QEventDispatcherGlib::processEvents (this=0xfc2930,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f9dba1e9a02 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f9dba1e9dec in QEventLoop::exec (this=0x7f9da48e3db0, flags=) at
kernel/qeventloop.cpp:201
#6  0x00007f9dba0f42fd in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:490
#7  0x00007f9dba1c95f8 in QInotifyFileSystemWatcherEngine::run (this=0x11279e0)
at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f9dba0f727e in QThreadPrivate::start (arg=0x11279e0) at
thread/qthread_unix.cpp:266
#9  0x00007f9db8809971 in start_thread (arg=<value optimized out>) at
pthread_create.c:304
#10 0x00007f9db986492d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9dbc629760 (LWP 7687)):
[KCrash Handler]
#6  0x00007f9dac3d4f48 in PagePainter::scalePixmapOnImage (dest=<value
optimized out>, src=<value optimized out>, scaledWidth=<value optimized out>,
scaledHeight=588, cropRect=<value optimized out>, format=<value optimized out>)
at ../../okular/ui/pagepainter.cpp:755
#7  0x00007f9dac3d55e6 in PagePainter::paintCroppedPageOnPainter
(destPainter=<value optimized out>, page=<value optimized out>, pixID=<value
optimized out>, flags=<value optimized out>, scaledWidth=<value optimized out>,
scaledHeight=<value optimized out>, limits=..., crop=...) at
../../okular/ui/pagepainter.cpp:229
#8  0x00007f9dac3e815b in PageView::drawDocumentOnPainter (this=<value
optimized out>, contentsRect=<value optimized out>, p=0x7fffab3b3f80) at
../../okular/ui/pageview.cpp:2446
#9  0x00007f9dac3e894a in PageView::paintEvent (this=0xe8cf80, pe=<value
optimized out>) at ../../okular/ui/pageview.cpp:1212
#10 0x00007f9dbabf6c2e in QWidget::event (this=0xe8cf80, event=0x7fffab3b4880)
at kernel/qwidget.cpp:8333
#11 0x00007f9dbafc25e6 in QFrame::event (this=0xe8cf80, e=0x7fffab3b4880) at
widgets/qframe.cpp:557
#12 0x00007f9dac3ebbad in PageView::viewportEvent (this=0xe8cf80,
e=0x7fffab3b4880) at ../../okular/ui/pageview.cpp:2292
#13 0x00007f9dba1ea507 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized
out>, receiver=0xe8cfe0, event=0x7fffab3b4880) at
kernel/qcoreapplication.cpp:847
#14 0x00007f9dbaba0fac in QApplicationPrivate::notify_helper (this=0xa864d0,
receiver=0xe8cfe0, e=0x7fffab3b4880) at kernel/qapplication.cpp:4392
#15 0x00007f9dbaba6aed in QApplication::notify (this=0x7fffab3b7c30,
receiver=0xe8cfe0, e=0x7fffab3b4880) at kernel/qapplication.cpp:4277
#16 0x00007f9dbb8f3156 in KApplication::notify (this=0x7fffab3b7c30,
receiver=0xe8cfe0, event=0x7fffab3b4880) at
../../kdeui/kernel/kapplication.cpp:310
#17 0x00007f9dba1eacdc in QCoreApplication::notifyInternal
(this=0x7fffab3b7c30, receiver=0xe8cfe0, event=0x7fffab3b4880) at
kernel/qcoreapplication.cpp:732
#18 0x00007f9dbabfd67d in sendSpontaneousEvent (this=0xe82990, pdev=<value
optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized
out>, sharedPainter=0x0, backingStore=0xf57d30) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#19 QWidgetPrivate::drawWidget (this=0xe82990, pdev=<value optimized out>,
rgn=..., offset=<value optimized out>, flags=<value optimized out>,
sharedPainter=0x0, backingStore=0xf57d30) at kernel/qwidget.cpp:5420
#20 0x00007f9dbabfe328 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=0, rgn=<value
optimized out>, offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0xf57d30) at kernel/qwidget.cpp:5627
#21 0x00007f9dbabfe159 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=2, rgn=<value
optimized out>, offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0xf57d30) at kernel/qwidget.cpp:5614
#22 0x00007f9dbabfe159 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=52, rgn=<value
optimized out>, offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0xf57d30) at kernel/qwidget.cpp:5614
#23 0x00007f9dbabfd3da in QWidgetPrivate::drawWidget (this=0xd2a1c0,
pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value
optimized out>, sharedPainter=0x0, backingStore=0xf57d30) at
kernel/qwidget.cpp:5473
#24 0x00007f9dbabfe328 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=3, rgn=<value
optimized out>, offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0xf57d30) at kernel/qwidget.cpp:5627
#25 0x00007f9dbabfe159 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=5, rgn=<value
optimized out>, offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0xf57d30) at kernel/qwidget.cpp:5614
#26 0x00007f9dbabfd3da in QWidgetPrivate::drawWidget (this=0xe6a370,
pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value
optimized out>, sharedPainter=0x0, backingStore=0xf57d30) at
kernel/qwidget.cpp:5473
#27 0x00007f9dbabfe328 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=0, rgn=<value
optimized out>, offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0xf57d30) at kernel/qwidget.cpp:5627
#28 0x00007f9dbabfe159 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=1, rgn=<value
optimized out>, offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0xf57d30) at kernel/qwidget.cpp:5614
#29 0x00007f9dbabfe159 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=3, rgn=<value
optimized out>, offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0xf57d30) at kernel/qwidget.cpp:5614
#30 0x00007f9dbabfd3da in QWidgetPrivate::drawWidget (this=0xbb5430,
pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value
optimized out>, sharedPainter=0x0, backingStore=0xf57d30) at
kernel/qwidget.cpp:5473
#31 0x00007f9dbabfe328 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=2, rgn=<value
optimized out>, offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0xf57d30) at kernel/qwidget.cpp:5627
#32 0x00007f9dbabfd3da in QWidgetPrivate::drawWidget (this=0xb9eff0,
pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value
optimized out>, sharedPainter=0x0, backingStore=0xf57d30) at
kernel/qwidget.cpp:5473
#33 0x00007f9dbabfe328 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=6, rgn=<value
optimized out>, offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0xf57d30) at kernel/qwidget.cpp:5627
#34 0x00007f9dbabfe159 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=10, rgn=<value
optimized out>, offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0xf57d30) at kernel/qwidget.cpp:5614
#35 0x00007f9dbabfe159 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=14, rgn=<value
optimized out>, offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0xf57d30) at kernel/qwidget.cpp:5614
#36 0x00007f9dbabfd3da in QWidgetPrivate::drawWidget (this=0xb87d80,
pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value
optimized out>, sharedPainter=0x0, backingStore=0xf57d30) at
kernel/qwidget.cpp:5473
#37 0x00007f9dbadd1408 in QWidgetBackingStore::sync (this=0xf57d30) at
painting/qbackingstore.cpp:1328
#38 0x00007f9dbabf0730 in QWidgetPrivate::syncBackingStore (this=0xb87d80) at
kernel/qwidget.cpp:1805
#39 0x00007f9dbabf72f5 in QWidget::event (this=0xb74200, event=0xd257b0) at
kernel/qwidget.cpp:8480
#40 0x00007f9dbafde41b in QMainWindow::event (this=0xb74200, event=0xd257b0) at
widgets/qmainwindow.cpp:1417
#41 0x00007f9dbba0f683 in KXmlGuiWindow::event (this=0x2b4d4, ev=0x71c) at
../../kdeui/xmlgui/kxmlguiwindow.cpp:130
#42 0x00007f9dbaba0fdc in QApplicationPrivate::notify_helper (this=0xa864d0,
receiver=0xb74200, e=0xd257b0) at kernel/qapplication.cpp:4396
#43 0x00007f9dbaba6aed in QApplication::notify (this=0x7fffab3b7c30,
receiver=0xb74200, e=0xd257b0) at kernel/qapplication.cpp:4277
#44 0x00007f9dbb8f3156 in KApplication::notify (this=0x7fffab3b7c30,
receiver=0xb74200, event=0xd257b0) at ../../kdeui/kernel/kapplication.cpp:310
#45 0x00007f9dba1eacdc in QCoreApplication::notifyInternal
(this=0x7fffab3b7c30, receiver=0xb74200, event=0xd257b0) at
kernel/qcoreapplication.cpp:732
#46 0x00007f9dba1edc22 in sendEvent (receiver=0x0, event_type=<value optimized
out>, data=0xa6e350) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#47 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value
optimized out>, data=0xa6e350) at kernel/qcoreapplication.cpp:1373
#48 0x00007f9dba217653 in sendPostedEvents (s=0xa8a0a0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#49 postEventSourceDispatch (s=0xa8a0a0) at
kernel/qeventdispatcher_glib.cpp:277
#50 0x00007f9db573b342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#51 0x00007f9db573f2a8 in ?? () from /lib/libglib-2.0.so.0
#52 0x00007f9db573f45c in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#53 0x00007f9dba217193 in QEventDispatcherGlib::processEvents (this=0xa6de60,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#54 0x00007f9dbac53a4e in QGuiEventDispatcherGlib::processEvents (this=0x2b4d4,
flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#55 0x00007f9dba1e9a02 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#56 0x00007f9dba1e9dec in QEventLoop::exec (this=0x7fffab3b7b80, flags=) at
kernel/qeventloop.cpp:201
#57 0x00007f9dba1edebb in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1009
#58 0x000000000040807c in main (argc=<value optimized out>, argv=<value
optimized out>) at ../../../okular/shell/main.cpp:82

This bug may be a duplicate of or related to bug 260651.

Possible duplicates by query: bug 260902, bug 260833, bug 260651, bug 259525,
bug 259339.

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list