Bug 175978 - okular sigsegv (crashes) opening attached PDF
Summary: okular sigsegv (crashes) opening attached PDF
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.7.3
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-24 13:05 UTC by CSights
Modified: 2008-11-24 13:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
crashes okular (701.98 KB, application/pdf)
2008-11-24 13:07 UTC, CSights
Details

Note You need to log in before you can comment on or make changes to this bug.
Description CSights 2008-11-24 13:05:31 UTC
Version:           0.7.3 (using KDE 4.1.3)
OS:                Linux
Installed from:    Debian testing/unstable Packages

Okular (Version 0.7.3 Using KDE 4.1.3) crashes when opening the (soon to be) attached PDF file.  KPDF does not.  Below are the versions of the various okular dependencies:

Depends                  (Version) | Installed
==================================-+-=============
kdebase-runtime       (>= 4:4.1.0) | 4:4.1.3-1
kdelibs5              (>= 4:4.1.3) | 4:4.1.3-2
libc6                   (>= 2.7-1) | 2.7-16
libfreetype6            (>= 2.3.5) | 2.3.7-2
libgcc1               (>= 1:4.1.1) | 1:4.3.2-1
libjpeg62                          | 6b-14
libokularcore1        (>= 4:4.1.2) | 4:4.1.3-1
libpoppler-qt4-3                   | 0.8.7-1
libqca2                            | 2.0.0-4
libqimageblitz4                    | 1:0.0.4-4
libqt4-dbus             (>= 4.4.3) | 4.4.3-1
libqt4-qt3support       (>= 4.4.3) | 4.4.3-1
libqt4-xml              (>= 4.4.3) | 4.4.3-1
libqtcore4              (>= 4.4.3) | 4.4.3-1
libqtgui4               (>= 4.4.3) | 4.4.3-1
libspectre1                        | 0.2.0.ds-1
libstdc++6              (>= 4.1.1) | 4.3.2-1
zlib1g                (>= 1:1.1.4) | 1:1.2.3.3.dfsg-12
Comment 1 CSights 2008-11-24 13:07:06 UTC
Created attachment 28790 [details]
crashes okular
Comment 2 Pino Toscano 2008-11-24 13:12:45 UTC
(gdb) bt
#0  Form::findWidgetByRef (this=0x0, aref={num = 77, gen = 0}) at Form.cc:1231
#1  0x00007fe2aefa27e7 in AnnotWidget::initialize (this=0x7fe2a85637c0, xrefA=<value optimized out>, catalog=0x2699b80, dict=0x7fe2a807ba30)
    at Annot.cc:1735
#2  0x00007fe2aefa2aab in AnnotWidget (this=0x7fe2a85637c0, xrefA=0x2697a30, dict=0x7fe2a807ba30, catalog=0x2699b80, obj=<value optimized out>)
    at Annot.cc:1714
#3  0x00007fe2aefa4c32 in Annots::createAnnot (this=<value optimized out>, xref=0x2697a30, dict=0x7fe2a807ba30, catalog=0x2699b80, obj=0x409b1ca0)
    at Annot.cc:3394
#4  0x00007fe2aefa4ee8 in Annots (this=0x7fe2a856aa20, xref=0x2697a30, catalog=0x2699b80, annotsObj=0x409b1d60) at Annot.cc:3333
#5  0x00007fe2af007731 in Page::displaySlice (this=0x269b8b0, out=0x26e5bc0, hDPI=32.271646859083191, vDPI=32.275862068965516,
    rotate=<value optimized out>, useMediaBox=<value optimized out>, crop=<value optimized out>, sliceX=<value optimized out>, sliceY=-1, sliceW=-1,
    sliceH=-1, printing=0, catalog=0x2699b80, abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0)
    at Page.cc:421
#6  0x00007fe2af3170bd in Poppler::Page::renderToImage (this=0x2692340, xres=32.271646859083191, yres=32.275862068965516, x=-1, y=-1, w=-1, h=-1,
    rotate=Poppler::Page::Rotate0) at poppler-page.cc:188
#7  0x00007fe2af5760b1 in PDFPixmapGeneratorThread::run (this=0x24d7520)
    at /mnt/devel/kde-svn/branches/KDE/4.1/kdegraphics/okular/generators/poppler/generator_pdf.cpp:1780
#8  0x00007fe2badb2162 in QThreadPrivate::start (arg=0x24d7520) at thread/qthread_unix.cpp:185
#9  0x00007fe2bab30fc7 in start_thread () from /lib/libpthread.so.0
#10 0x00007fe2b67ce5ad in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

This is a Poppler problem, please report the problem to its bug tracking system at https://bugs.freedesktop.org ("poppler" product).
(I can reproduce it with Poppler 0.8.7, but not with a more recent version of 0.10.x.)
Comment 3 Albert Astals Cid 2008-11-24 13:54:12 UTC
Please do not report it, as Pino says it's fixed on current poppler stable version 0.10.1 so there's nothing more the poppler team can do.