[Okular-devel] [Bug 230282] New: Crash (reproducible) in PagePainter::scalePixmapOnImage()

Sami Liedes sliedes at cc.hut.fi
Thu Mar 11 01:21:10 CET 2010


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

           Summary: Crash (reproducible) in
                    PagePainter::scalePixmapOnImage()
           Product: okular
           Version: 0.9.4
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: sliedes at cc.hut.fi


Version:           0.9.4 (using KDE 4.3.4)
OS:                Linux
Installed from:    Debian testing/unstable Packages

Okular reproducibly crashes when I first open the attached PDF file, then
scroll down. The backtrace seems (significantly) different from what I found
from other bug reports.

Steps to reproduce:

1. Open the attached PDF file
2. Ensure that it's zoomed in enough (~1200 px wide, i.e. as wide as my
1600x1200 screen is, seems to be generally enough, but it doesn't crash on
lesser zoom levels)
3. Scroll down (by e.g. mouse wheel)
4. Okular crashes at around the second half of page 2.

Here's a backtrace. It looks substantially similar every time I reproduce the
crash.

------------------------------------------------------------
Application: Okular (okular), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  0x00007f887e3ccb98 in PagePainter::scalePixmapOnImage (dest=<value
optimized out>, src=<value optimized out>, scaledWidth=<value optimized out>,
scaledHeight=1382, 
    cropRect=<value optimized out>, format=<value optimized out>) at
../../okular/ui/pagepainter.cpp:752
#6  0x00007f887e3d1545 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:604
#7  0x00007f887e3de8b3 in PageView::drawDocumentOnPainter (this=<value
optimized out>, contentsRect=<value optimized out>, p=0x7fff06118720) at
../../okular/ui/pageview.cpp:2368
#8  0x00007f887e3df712 in PageView::contentsPaintEvent (this=0x1f27850,
pe=<value optimized out>) at ../../okular/ui/pageview.cpp:1250
#9  0x00007f8886b96196 in QWidget::event (this=0x1f35e30, event=0x7fff06118e50)
at kernel/qwidget.cpp:7692
#10 0x00007f887e3ed66d in PageViewWidget::event (this=0x1f35e30,
e=0x7fff06118e50) at ../../okular/ui/pageview.cpp:264
#11 0x00007f8886b4601d in QApplicationPrivate::notify_helper (this=0x1d6cfd0,
receiver=0x1f35e30, e=0x7fff06118e50) at kernel/qapplication.cpp:4065
#12 0x00007f8886b4e07a in QApplication::notify (this=0x7fff06119e80,
receiver=0x1f35e30, e=0x7fff06118e50) at kernel/qapplication.cpp:4030
#13 0x00007f88882e7de6 in KApplication::notify (this=0x7fff06119e80,
receiver=0x1f35e30, event=0x7fff06118e50) at
../../kdeui/kernel/kapplication.cpp:302
#14 0x00007f88876ccc9c in QCoreApplication::notifyInternal
(this=0x7fff06119e80, receiver=0x1f35e30, event=0x7fff06118e50) at
kernel/qcoreapplication.cpp:610
#15 0x00007f8886b9d1be in QWidgetPrivate::drawWidget (this=0x1f1e190,
pdev=0x1e80198, rgn=..., offset=..., flags=4, sharedPainter=0x0,
backingStore=0x1e7bdb0) at kernel/qwidget.cpp:5084
#16 0x00007f8886d12e6e in QWidgetBackingStore::sync (this=0x1e7bdb0) at
painting/qbackingstore.cpp:1264
#17 0x00007f8886b8f220 in QWidgetPrivate::syncBackingStore (this=0x1e789f0) at
kernel/qwidget.cpp:1603
#18 0x00007f8886b96031 in QWidget::event (this=0x1e7e210, event=0x1f05a70) at
kernel/qwidget.cpp:7832
#19 0x00007f8886f18d2b in QMainWindow::event (this=0x1e7e210, event=0x1f05a70)
at widgets/qmainwindow.cpp:1399
#20 0x00007f88883f2353 in KXmlGuiWindow::event (this=0x0, ev=0x18a4) at
../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#21 0x00007f8886b4601d in QApplicationPrivate::notify_helper (this=0x1d6cfd0,
receiver=0x1e7e210, e=0x1f05a70) at kernel/qapplication.cpp:4065
#22 0x00007f8886b4e07a in QApplication::notify (this=0x7fff06119e80,
receiver=0x1e7e210, e=0x1f05a70) at kernel/qapplication.cpp:4030
#23 0x00007f88882e7de6 in KApplication::notify (this=0x7fff06119e80,
receiver=0x1e7e210, event=0x1f05a70) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007f88876ccc9c in QCoreApplication::notifyInternal
(this=0x7fff06119e80, receiver=0x1e7e210, event=0x1f05a70) at
kernel/qcoreapplication.cpp:610
#25 0x00007f88876cd8e4 in QCoreApplication::sendEvent (receiver=0x0,
event_type=0, data=0x1d54950) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x1d54950) at kernel/qcoreapplication.cpp:1247
#27 0x00007f88876f57d3 in QCoreApplication::sendPostedEvents (s=<value
optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#28 postEventSourceDispatch (s=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:276
#29 0x00007f8882f3890e in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x00007f8882f3c2c8 in ?? () from /lib/libglib-2.0.so.0
#31 0x00007f8882f3c3f0 in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#32 0x00007f88876f539c in QEventDispatcherGlib::processEvents (this=0x1d54160,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#33 0x00007f8886bdcf1f in QGuiEventDispatcherGlib::processEvents (this=0x0,
flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#34 0x00007f88876cb562 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f88876cb934 in QEventLoop::exec (this=0x7fff06119dd0, flags=...) at
kernel/qeventloop.cpp:201
#36 0x00007f88876cdba4 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:888
#37 0x000000000040891c in main (argc=<value optimized out>, argv=<value
optimized out>) at ../../../okular/shell/main.cpp:81
------------------------------------------------------------

List of installed related packages (ones the Debian package depends on or that
it recommends or suggests):

--------------------
ii  ghostscript          8.71~dfsg-2          The GPL Ghostscript
PostScript/PDF interpreter
ii  kdebase-runtime      4:4.3.4-2            runtime components from the
official KDE 4 release
ii  kdelibs5             4:4.3.4-3            core libraries for all KDE 4
applications
ii  libc6                2.10.2-6             Embedded GNU C Library: Shared
libraries
ii  libfreetype6         2.3.11-1             FreeType 2 font engine, shared
library files
ii  libjpeg62            6b-16.1              The Independent JPEG Group's JPEG
runtime library (versi
ii  libokularcore1       4:4.3.4-1+b1         libraries for the Okular document
viewer
ii  libphonon4           4:4.5.3-4            Qt 4 Phonon module
ii  libpoppler-qt4-3     0.12.2-2.1           PDF rendering library (Qt 4 based
shared library)
ii  libqca2              2.0.2-1              libraries for the Qt
Cryptographic Architecture
ii  libqimageblitz4      1:0.0.4-4            QImageBlitz image effects library
ii  libqt4-dbus          4:4.5.3-4            Qt 4 D-Bus module
ii  libqt4-qt3support    4:4.5.3-4            Qt 3 compatibility library for Qt
4
ii  libqt4-svg           4:4.5.3-4            Qt 4 SVG module
ii  libqt4-xml           4:4.5.3-4            Qt 4 XML module
ii  libqtcore4           4:4.5.3-4            Qt 4 core module
ii  libqtgui4            4:4.5.3-4            Qt 4 GUI module
ii  libspectre1          0.2.4-1              Library for rendering PostScript
documents
ii  libstdc++6           4.4.3-3              The GNU Standard C++ Library v3
ii  okular-extra-backend 4:4.3.4-1+b1         additional document format
support for Okular
ii  phonon               4:4.5.3-4            Qt 4 Phonon module metapackage
ii  unrar                1:3.9.7-1            Unarchiver for .rar files
(non-free version)
ii  zlib1g               1:1.2.3.4.dfsg-3     compression library - runtime
--------------------

If you need further information, ask me.

-- 
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