Bug 263166 - okular crashes on opening any PDF
Summary: okular crashes on opening any PDF
Status: RESOLVED DUPLICATE of bug 243434
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.11.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-14 18:25 UTC by dorian.goldstein
Modified: 2011-01-14 18:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dorian.goldstein 2011-01-14 18:25:15 UTC
Application: okular (0.11.2)
KDE Platform Version: 4.5.4 (KDE 4.5.4)
Qt Version: 4.7.1
Operating System: Linux 2.6.35.10-74.fc14.x86_64 x86_64
Distribution: "Fedora release 14 (Laughlin)"

-- Information about the crash:
- What I was doing when the application crashed:

Opened a pdf file. 2 ways

1) type okular on command line, open via GUI
2) type okular <pdffile.pdf>

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f0102b29557 in PagePainter::scalePixmapOnImage (dest=..., src=0x27f1950, scaledWidth=<value optimized out>, scaledHeight=1035, cropRect=<value optimized out>, format=<value optimized out>) at /usr/src/debug/kdegraphics-4.5.4/okular/ui/pagepainter.cpp:755
#7  0x00007f0102b29f6d in PagePainter::paintCroppedPageOnPainter (destPainter=0x7fff65db99b0, page=0x28cfa10, pixID=<value optimized out>, flags=63, scaledWidth=800, scaledHeight=1035, limits=..., crop=...) at /usr/src/debug/kdegraphics-4.5.4/okular/ui/pagepainter.cpp:229
#8  0x00007f0102b37eaf in PageView::drawDocumentOnPainter (this=0x2724750, contentsRect=..., p=0x7fff65db99b0) at /usr/src/debug/kdegraphics-4.5.4/okular/ui/pageview.cpp:2446
#9  0x00007f0102b386d1 in PageView::paintEvent (this=0x2724750, pe=<value optimized out>) at /usr/src/debug/kdegraphics-4.5.4/okular/ui/pageview.cpp:1212
#10 0x000000356c008f9a in QWidget::event (this=0x2724750, event=0x7fff65dba2d0) at kernel/qwidget.cpp:8346
#11 0x000000356c3b38e6 in QFrame::event (this=0x2724750, e=0x7fff65dba2d0) at widgets/qframe.cpp:557
#12 0x00007f0102b3924d in PageView::viewportEvent (this=0x2724750, e=0x7fff65dba2d0) at /usr/src/debug/kdegraphics-4.5.4/okular/ui/pageview.cpp:2292
#13 0x000000356a75b937 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x27247b0, event=0x7fff65dba2d0) at kernel/qcoreapplication.cpp:847
#14 0x000000356bfb7891 in QApplicationPrivate::notify_helper (this=0x24c3450, receiver=0x27247b0, e=0x7fff65dba2d0) at kernel/qapplication.cpp:4441
#15 0x000000356bfbc3da in QApplication::notify (this=<value optimized out>, receiver=0x27247b0, e=0x7fff65dba2d0) at kernel/qapplication.cpp:4324
#16 0x000000356ce20566 in KApplication::notify (this=0x7fff65dbd350, receiver=0x27247b0, event=0x7fff65dba2d0) at /usr/src/debug/kdelibs-4.5.4/kdeui/kernel/kapplication.cpp:310
#17 0x000000356a75b7ac in QCoreApplication::notifyInternal (this=0x7fff65dbd350, receiver=0x27247b0, event=0x7fff65dba2d0) at kernel/qcoreapplication.cpp:732
#18 0x000000356c005e68 in sendSpontaneousEvent (this=0x2719c80, pdev=0x27f3e08, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27f6ca0) at ../../src/corelib/kernel/qcoreapplication.h:218
#19 QWidgetPrivate::drawWidget (this=0x2719c80, pdev=0x27f3e08, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27f6ca0) at kernel/qwidget.cpp:5433
#20 0x000000356c006a2f in QWidgetPrivate::paintSiblingsRecursive (this=0x2697c10, pdev=0x27f3e08, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27f6ca0) at kernel/qwidget.cpp:5640
#21 0x000000356c0068ec in QWidgetPrivate::paintSiblingsRecursive (this=0x2697c10, pdev=0x27f3e08, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27f6ca0) at kernel/qwidget.cpp:5627
#22 0x000000356c0068ec in QWidgetPrivate::paintSiblingsRecursive (this=0x2697c10, pdev=0x27f3e08, siblings=..., index=51, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27f6ca0) at kernel/qwidget.cpp:5627
#23 0x000000356c005baa in QWidgetPrivate::drawWidget (this=0x2697c10, pdev=0x27f3e08, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x27f6ca0) at kernel/qwidget.cpp:5486
#24 0x000000356c006a2f in QWidgetPrivate::paintSiblingsRecursive (this=0x2700c40, pdev=0x27f3e08, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27f6ca0) at kernel/qwidget.cpp:5640
#25 0x000000356c0068ec in QWidgetPrivate::paintSiblingsRecursive (this=0x2700c40, pdev=0x27f3e08, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27f6ca0) at kernel/qwidget.cpp:5627
#26 0x000000356c005baa in QWidgetPrivate::drawWidget (this=0x2700c40, pdev=0x27f3e08, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x27f6ca0) at kernel/qwidget.cpp:5486
#27 0x000000356c006a2f in QWidgetPrivate::paintSiblingsRecursive (this=0x25f7990, pdev=0x27f3e08, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27f6ca0) at kernel/qwidget.cpp:5640
#28 0x000000356c0068ec in QWidgetPrivate::paintSiblingsRecursive (this=0x25f7990, pdev=0x27f3e08, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27f6ca0) at kernel/qwidget.cpp:5627
#29 0x000000356c0068ec in QWidgetPrivate::paintSiblingsRecursive (this=0x25f7990, pdev=0x27f3e08, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27f6ca0) at kernel/qwidget.cpp:5627
#30 0x000000356c005baa in QWidgetPrivate::drawWidget (this=0x25f7990, pdev=0x27f3e08, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x27f6ca0) at kernel/qwidget.cpp:5486
#31 0x000000356c006a2f in QWidgetPrivate::paintSiblingsRecursive (this=0x25ee0f0, pdev=0x27f3e08, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27f6ca0) at kernel/qwidget.cpp:5640
#32 0x000000356c005baa in QWidgetPrivate::drawWidget (this=0x25ee0f0, pdev=0x27f3e08, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x27f6ca0) at kernel/qwidget.cpp:5486
#33 0x000000356c006a2f in QWidgetPrivate::paintSiblingsRecursive (this=0x25d1e80, pdev=0x27f3e08, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27f6ca0) at kernel/qwidget.cpp:5640
#34 0x000000356c0068ec in QWidgetPrivate::paintSiblingsRecursive (this=0x25d1e80, pdev=0x27f3e08, siblings=..., index=13, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27f6ca0) at kernel/qwidget.cpp:5627
#35 0x000000356c005baa in QWidgetPrivate::drawWidget (this=0x25d1e80, pdev=0x27f3e08, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x27f6ca0) at kernel/qwidget.cpp:5486
#36 0x000000356c1c8fe9 in QWidgetBackingStore::sync (this=0x27f6ca0) at painting/qbackingstore.cpp:1333
#37 0x000000356bffc1b0 in QWidgetPrivate::syncBackingStore (this=0x25d1e80) at kernel/qwidget.cpp:1816
#38 0x000000356c0094a2 in QWidget::event (this=0x25c4d80, event=0x28e79d0) at kernel/qwidget.cpp:8493
#39 0x000000356c3cd56b in QMainWindow::event (this=0x25c4d80, event=0x28e79d0) at widgets/qmainwindow.cpp:1478
#40 0x000000356cf24403 in KXmlGuiWindow::event (this=0x25c4d80, ev=0x28e79d0) at /usr/src/debug/kdelibs-4.5.4/kdeui/xmlgui/kxmlguiwindow.cpp:132
#41 0x000000356bfb78c4 in QApplicationPrivate::notify_helper (this=0x24c3450, receiver=0x25c4d80, e=0x28e79d0) at kernel/qapplication.cpp:4445
#42 0x000000356bfbc3da in QApplication::notify (this=<value optimized out>, receiver=0x25c4d80, e=0x28e79d0) at kernel/qapplication.cpp:4324
#43 0x000000356ce20566 in KApplication::notify (this=0x7fff65dbd350, receiver=0x25c4d80, event=0x28e79d0) at /usr/src/debug/kdelibs-4.5.4/kdeui/kernel/kapplication.cpp:310
#44 0x000000356a75b7ac in QCoreApplication::notifyInternal (this=0x7fff65dbd350, receiver=0x25c4d80, event=0x28e79d0) at kernel/qcoreapplication.cpp:732
#45 0x000000356a75ef95 in sendEvent (receiver=0x0, event_type=0, data=0x24ac5f0) at kernel/qcoreapplication.h:215
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x24ac5f0) at kernel/qcoreapplication.cpp:1373
#47 0x000000356a786723 in sendPostedEvents (s=0x24c7000) at kernel/qcoreapplication.h:220
#48 postEventSourceDispatch (s=0x24c7000) at kernel/qeventdispatcher_glib.cpp:277
#49 0x0000003059c41e33 in g_main_dispatch (context=0x24c6120) at gmain.c:2149
#50 g_main_context_dispatch (context=0x24c6120) at gmain.c:2702
#51 0x0000003059c42610 in g_main_context_iterate (context=0x24c6120, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#52 0x0000003059c428ad in g_main_context_iteration (context=0x24c6120, may_block=1) at gmain.c:2843
#53 0x000000356a7868bf in QEventDispatcherGlib::processEvents (this=0x24abce0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#54 0x000000356c05c59e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#55 0x000000356a75ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#56 0x000000356a75ad8c in QEventLoop::exec (this=0x7fff65dbd2a0, flags=...) at kernel/qeventloop.cpp:201
#57 0x000000356a75f24b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#58 0x00000000004080c9 in main (argc=2, argv=0x7fff65dbd938) at /usr/src/debug/kdegraphics-4.5.4/okular/shell/main.cpp:82

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

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

Reported using DrKonqi
Comment 1 dorian.goldstein 2011-01-14 18:29:53 UTC
This could be HW related here's the CPU info if needed

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 6
model name      : Intel(R) Pentium(R) D CPU 3.20GHz
stepping        : 4
cpu MHz         : 3200.000
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 6
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts pni dtes64 monitor ds_cpl vmx est cid cx16 xtpr pdcm lahf_lm tpr_shadow
bogomips        : 6384.48
clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 6
model name      : Intel(R) Pentium(R) D CPU 3.20GHz
stepping        : 4
cpu MHz         : 3200.000
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 6
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts pni dtes64 monitor ds_cpl vmx est cid cx16 xtpr pdcm lahf_lm tpr_shadow
bogomips        : 6383.79
clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 48 bits virtual
power management:
Comment 2 Pino Toscano 2011-01-14 18:37:00 UTC

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