Bug 252559 - okular crashes on zoom
Summary: okular crashes on zoom
Status: RESOLVED DUPLICATE of bug 243434
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.11.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-27 17:15 UTC by s.wbr
Modified: 2010-12-09 18:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description s.wbr 2010-09-27 17:15:18 UTC
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.34.7-0.3-desktop i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
Okular crashes on opening of EPS/PS files.
PDF files can be opened, but Okular crashes when you try to zoom in/out.

This happens since a major software update (including KDE) via the openSuse Update 

Output of terminal:
>okular color.pdf 
KCrash: Application 'okular' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/sweber/.kde4/socket-feuer.site/kdeinit4__0
Error: Leftover args in content stream 
[1]+  Exit 253                okular color.pdf

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#7  0xb2b24dc0 in PagePainter::scalePixmapOnImage (dest=..., src=0x830c848, scaledWidth=1227, scaledHeight=1735, cropRect=..., format=QImage::Format_ARGB32_Premultiplied)
    at /usr/src/debug/kdegraphics-4.5.1/okular/ui/pagepainter.cpp:755
#8  0xb2b25875 in PagePainter::paintCroppedPageOnPainter (destPainter=0xbfa220dc, page=0x8150810, pixID=3, flags=63, scaledWidth=1227, scaledHeight=1735, limits=..., crop=...)
    at /usr/src/debug/kdegraphics-4.5.1/okular/ui/pagepainter.cpp:229
#9  0xb2b3791c in PageView::drawDocumentOnPainter (this=0x8139a58, contentsRect=..., p=0xbfa220dc) at /usr/src/debug/kdegraphics-4.5.1/okular/ui/pageview.cpp:2446
#10 0xb2b381c9 in PageView::paintEvent (this=0x8139a58, pe=0xbfa227b4) at /usr/src/debug/kdegraphics-4.5.1/okular/ui/pageview.cpp:1212
#11 0xb67553ba in QWidget::event (this=0x8139a58, event=0xbfa227b4) at kernel/qwidget.cpp:8333
#12 0xb6b6a2c5 in QFrame::event (this=0x8139a58, e=0xbfa227b4) at widgets/qframe.cpp:557
#13 0xb6bfb7a1 in QAbstractScrollArea::viewportEvent (this=0x8139a58, e=0xbfa227b4) at widgets/qabstractscrollarea.cpp:1043
#14 0xb2b34ace in PageView::viewportEvent (this=0x8139a58, e=0xbfa227b4) at /usr/src/debug/kdegraphics-4.5.1/okular/ui/pageview.cpp:2292
#15 0xb6bfe096 in viewportEvent (this=0x8228f08, o=0x81e8648, e=0xbfa227b4) at widgets/qabstractscrollarea_p.h:100
#16 QAbstractScrollAreaFilter::eventFilter (this=0x8228f08, o=0x81e8648, e=0xbfa227b4) at widgets/qabstractscrollarea_p.h:116
#17 0xb61dd2c6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8071628, receiver=0x81e8648, event=0xbfa227b4) at kernel/qcoreapplication.cpp:847
#18 0xb66fa174 in QApplicationPrivate::notify_helper (this=0x8071628, receiver=0x81e8648, e=0xbfa227b4) at kernel/qapplication.cpp:4392
#19 0xb6702e84 in QApplication::notify (this=0x81e8648, receiver=0x81e8648, e=0xbfa227b4) at kernel/qapplication.cpp:4361
#20 0xb71a7401 in KApplication::notify (this=0xbfa254a0, receiver=0x81e8648, event=0xbfa227b4) at /usr/src/debug/kdelibs-4.5.1/kdeui/kernel/kapplication.cpp:310
#21 0xb61dd12e in QCoreApplication::notifyInternal (this=0xbfa254a0, receiver=0x81e8648, event=0xbfa227b4) at kernel/qcoreapplication.cpp:732
#22 0xb6752062 in sendSpontaneousEvent (this=0x83d6538, pdev=0x82c241c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x81d1b68) at ../../src/corelib/kernel/qcoreapplication.h:218
#23 QWidgetPrivate::drawWidget (this=0x83d6538, pdev=0x82c241c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x81d1b68) at kernel/qwidget.cpp:5420
#24 0xb6752db7 in QWidgetPrivate::paintSiblingsRecursive (this=0x83d6360, pdev=0x82c241c, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=
    0x81d1b68) at kernel/qwidget.cpp:5627
#25 0xb6752c7d in QWidgetPrivate::paintSiblingsRecursive (this=0x83d6360, pdev=0x82c241c, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x81d1b68)
    at kernel/qwidget.cpp:5614
#26 0xb6751db8 in QWidgetPrivate::drawWidget (this=0x83d6360, pdev=0x82c241c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x81d1b68) at kernel/qwidget.cpp:5473
#27 0xb6752db7 in QWidgetPrivate::paintSiblingsRecursive (this=0x83cd000, pdev=0x82c241c, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=
    0x81d1b68) at kernel/qwidget.cpp:5627
#28 0xb6751db8 in QWidgetPrivate::drawWidget (this=0x83cd000, pdev=0x82c241c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x81d1b68) at kernel/qwidget.cpp:5473
#29 0xb6752db7 in QWidgetPrivate::paintSiblingsRecursive (this=0x8115a70, pdev=0x82c241c, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=
    0x81d1b68) at kernel/qwidget.cpp:5627
#30 0xb6751db8 in QWidgetPrivate::drawWidget (this=0x8115a70, pdev=0x82c241c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x81d1b68) at kernel/qwidget.cpp:5473
#31 0xb6752db7 in QWidgetPrivate::paintSiblingsRecursive (this=0x8107b30, pdev=0x82c241c, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=
    0x81d1b68) at kernel/qwidget.cpp:5627
#32 0xb6751db8 in QWidgetPrivate::drawWidget (this=0x8107b30, pdev=0x82c241c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x81d1b68) at kernel/qwidget.cpp:5473
#33 0xb6752db7 in QWidgetPrivate::paintSiblingsRecursive (this=0x80fa570, pdev=0x82c241c, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=
    0x81d1b68) at kernel/qwidget.cpp:5627
#34 0xb6752c7d in QWidgetPrivate::paintSiblingsRecursive (this=0x80fa570, pdev=0x82c241c, siblings=..., index=13, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x81d1b68)
    at kernel/qwidget.cpp:5614
#35 0xb6751db8 in QWidgetPrivate::drawWidget (this=0x80fa570, pdev=0x82c241c, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x81d1b68) at kernel/qwidget.cpp:5473
#36 0xb6941648 in QWidgetBackingStore::sync (this=0x81d1b68) at painting/qbackingstore.cpp:1328
#37 0xb674553b in QWidgetPrivate::syncBackingStore (this=0x80fa570) at kernel/qwidget.cpp:1805
#38 0xb6755e76 in QWidget::event (this=0x80f98c0, event=0xbfa24454) at kernel/qwidget.cpp:8480
#39 0xb6b8748c in QMainWindow::event (this=0x80f98c0, event=0xbfa24454) at widgets/qmainwindow.cpp:1417
#40 0xb7267564 in KMainWindow::event (this=0x80f98c0, ev=0xbfa24454) at /usr/src/debug/kdelibs-4.5.1/kdeui/widgets/kmainwindow.cpp:1100
#41 0xb7267802 in KXmlGuiWindow::event (this=0x80f98c0, ev=0xbfa24454) at /usr/src/debug/kdelibs-4.5.1/kdeui/xmlgui/kxmlguiwindow.cpp:130
#42 0xb66fa1a4 in QApplicationPrivate::notify_helper (this=0x8071628, receiver=0x80f98c0, e=0xbfa24454) at kernel/qapplication.cpp:4396
#43 0xb6702e84 in QApplication::notify (this=0x80f98c0, receiver=0x80f98c0, e=0xbfa24454) at kernel/qapplication.cpp:4361
#44 0xb71a7401 in KApplication::notify (this=0xbfa254a0, receiver=0x80f98c0, event=0xbfa24454) at /usr/src/debug/kdelibs-4.5.1/kdeui/kernel/kapplication.cpp:310
#45 0xb61dd12e in QCoreApplication::notifyInternal (this=0xbfa254a0, receiver=0x80f98c0, event=0xbfa24454) at kernel/qcoreapplication.cpp:732
#46 0xb693db79 in sendEvent (this=0x81d1b68, rect=..., widget=0x82b4fb0, updateImmediately=true, invalidateBuffer=false) at ../../src/corelib/kernel/qcoreapplication.h:215
#47 sendUpdateRequest (this=0x81d1b68, rect=..., widget=0x82b4fb0, updateImmediately=true, invalidateBuffer=false) at painting/qbackingstore.cpp:507
#48 QWidgetBackingStore::markDirty (this=0x81d1b68, rect=..., widget=0x82b4fb0, updateImmediately=true, invalidateBuffer=false) at painting/qbackingstore.cpp:695
#49 0xb6746bb2 in QWidget::repaint (this=0x82b4fb0, rect=...) at kernel/qwidget.cpp:10237
#50 0xb6746cd1 in QWidget::repaint (this=0x82b4fb0) at kernel/qwidget.cpp:10193
#51 0xb6b1f156 in QAbstractButtonPrivate::click (this=0x83e6390) at widgets/qabstractbutton.cpp:534
#52 0xb6b1f436 in QAbstractButton::mouseReleaseEvent (this=0x82b4fb0, e=0xbfa24bd4) at widgets/qabstractbutton.cpp:1121
#53 0xb6bf644d in QToolButton::mouseReleaseEvent (this=0x82b4fb0, e=0xbfa24bd4) at widgets/qtoolbutton.cpp:721
#54 0xb6755360 in QWidget::event (this=0x82b4fb0, event=0xbfa24bd4) at kernel/qwidget.cpp:8187
#55 0xb6b1e440 in QAbstractButton::event (this=0x82b4fb0, e=0xbfa24bd4) at widgets/qabstractbutton.cpp:1080
#56 0xb6bf7bac in QToolButton::event (this=0x82b4fb0, event=0xbfa24bd4) at widgets/qtoolbutton.cpp:1163
#57 0xb66fa1a4 in QApplicationPrivate::notify_helper (this=0x8071628, receiver=0x82b4fb0, e=0xbfa24bd4) at kernel/qapplication.cpp:4396
#58 0xb6703930 in QApplication::notify (this=0xbfa248ec, receiver=0x82b4fb0, e=0xbfa24bd4) at kernel/qapplication.cpp:3959
#59 0xb71a7401 in KApplication::notify (this=0xbfa254a0, receiver=0x82b4fb0, event=0xbfa24bd4) at /usr/src/debug/kdelibs-4.5.1/kdeui/kernel/kapplication.cpp:310
#60 0xb61dd12e in QCoreApplication::notifyInternal (this=0xbfa254a0, receiver=0x82b4fb0, event=0xbfa24bd4) at kernel/qcoreapplication.cpp:732
#61 0xb66fb24c in sendSpontaneousEvent (receiver=0x82b4fb0, event=0xbfa24bd4, alienWidget=0x82b4fb0, nativeWidget=0x80f98c0, buttonDown=0xb70772a0, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#62 QApplicationPrivate::sendMouseEvent (receiver=0x82b4fb0, event=0xbfa24bd4, alienWidget=0x82b4fb0, nativeWidget=0x80f98c0, buttonDown=0xb70772a0, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3056
#63 0xb678613c in QETWidget::translateMouseEvent (this=0x80f98c0, event=0xbfa250ec) at kernel/qapplication_x11.cpp:4403
#64 0xb67852fe in QApplication::x11ProcessEvent (this=0xbfa254a0, event=0xbfa250ec) at kernel/qapplication_x11.cpp:3414
#65 0xb67af5a0 in x11EventSourceDispatch (s=0x8074868, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#66 0xb5753b49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#67 0xb5754350 in ?? () from /usr/lib/libglib-2.0.so.0
#68 0xb575460e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#69 0xb620b85b in QEventDispatcherGlib::processEvents (this=0x805ce40, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#70 0xb67af19a in QGuiEventDispatcherGlib::processEvents (this=0x805ce40, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#71 0xb61dc40d in QEventLoop::processEvents (this=0xbfa253a4, flags=...) at kernel/qeventloop.cpp:149
#72 0xb61dc639 in QEventLoop::exec (this=0xbfa253a4, flags=...) at kernel/qeventloop.cpp:201
#73 0xb61e1090 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#74 0xb66f7ed4 in QApplication::exec () at kernel/qapplication.cpp:3672
#75 0x0804ef78 in main (argc=0, argv=0x1) at /usr/src/debug/kdegraphics-4.5.1/okular/shell/main.cpp:82

Possible duplicates by query: bug 251564, bug 230282.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2010-09-28 20:18:12 UTC
Please tell opensuse to rebuild okular, there must be something wrong in their build as there as in bug 251564 for the mandriva user

*** This bug has been marked as a duplicate of bug 251564 ***
Comment 2 Albert Astals Cid 2010-10-05 23:27:48 UTC
*** Bug 253343 has been marked as a duplicate of this bug. ***
Comment 3 s.wbr 2010-10-09 02:45:40 UTC
Hello!

I've good news!

Although there was a newer update of Okular and although I also tried some older version, the problem persists.


After reading some google results, I removed all okular-related files and folders in ~/.kde4 .
In addition I removed lots of stuff in /tmp, but I think, this is'nt the point.




Of course Okular lost all of it's settings, but I got no crashed so far!

So may be there was something weird with the settings. 
(Once I also got a permanent memory leak in open office caused by some corrupt setting files)
Comment 4 Pino Toscano 2010-12-09 18:38:41 UTC

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