Bug 317608 - Error while opening .pdf file
Summary: Error while opening .pdf file
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.14.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-30 14:59 UTC by Mathieu Dutour Sikiric
Modified: 2013-04-01 22:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-17095-0.html (1.42 KB, text/html)
2013-03-30 15:13 UTC, Mathieu Dutour Sikiric
Details
attachment-17095-1.dat (1 bytes, multipart/alternative)
2013-03-30 15:13 UTC, Mathieu Dutour Sikiric
Details
9400751397_Parado.pdf (3.05 MB, application/pdf)
2013-03-30 15:13 UTC, Mathieu Dutour Sikiric
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Dutour Sikiric 2013-03-30 14:59:16 UTC
Application: okular (0.14.3)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-39-generic x86_64
Distribution: Ubuntu 12.04.2 LTS

-- Information about the crash:
I have a .pdf file that makes okular have segmentation fault.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2b08b68780 (LWP 25123))]

Thread 3 (Thread 0x7f2aef72e700 (LWP 25124)):
#0  0x00007f2b05d3f303 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f2b02b46036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2b02b4649a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2aef73398b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007f2b02b679e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2b03012e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f2b05d4acbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2aeef2d700 (LWP 25125)):
#0  0x00007f2b02b45a04 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2b02b45fd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2b02b4649a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2af6885406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f2b02b679e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2b03012e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f2b05d4acbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2b08b68780 (LWP 25123)):
[KCrash Handler]
#6  0x00007f2b05c8d425 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007f2b05c90b8b in abort () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x00007f2ad82c8b69 in Object::getNum (this=<optimized out>) at Object.h:193
#9  0x00007f2ad8342cb6 in getNum (this=<optimized out>) at Object.h:193
#10 LinkDest::LinkDest (this=0x248b340, a=0x22fda50) at Link.cc:306
#11 0x00007f2ad8342de4 in LinkGoTo::LinkGoTo (this=0x248b110, destObj=<optimized out>) at Link.cc:405
#12 0x00007f2ad834430c in LinkAction::parseAction (obj=0x7fff1ea4fb60, baseURI=0x0) at Link.cc:79
#13 0x00007f2ad8347054 in OutlineItem::OutlineItem (this=0x248b0a0, dict=0x2485b60, xrefA=<optimized out>) at Outline.cc:100
#14 0x00007f2ad834729b in OutlineItem::readItemList (firstItemRef=<optimized out>, lastItemRef=0x7fff1ea4fc00, xrefA=0x2332dd0) at Outline.cc:157
#15 0x00007f2ad83473f0 in Outline::Outline (this=0x2484430, outlineObj=0x2332b28, xref=0x2332dd0) at Outline.cc:50
#16 0x00007f2ad834d29a in PDFDoc::getOutline (this=0x2332650) at PDFDoc.cc:1363
#17 0x00007f2ad8662951 in Poppler::Document::toc (this=0x23342e0) at poppler-document.cc:423
#18 0x00007f2ad88c80a0 in generateDocumentSynopsis (this=0x22fdaa0) at ../../../generators/poppler/generator_pdf.cpp:612
#19 PDFGenerator::generateDocumentSynopsis (this=0x22fdaa0) at ../../../generators/poppler/generator_pdf.cpp:603
#20 0x00007f2adc04a1b9 in notifySetup (this=0x1ee5d30, setupFlags=<optimized out>) at ../ui/toc.cpp:75
#21 TOC::notifySetup (this=0x1ee5d30, setupFlags=<optimized out>) at ../ui/toc.cpp:65
#22 0x00007f2adbd212bf in Okular::Document::openDocument (this=0x1eb2660, docFile=..., url=..., _mime=...) at ../core/document.cpp:1696
#23 0x00007f2adbfd598e in Okular::Part::openFile (this=0x1e9f180) at ../part.cpp:1151
#24 0x00007f2b0875199c in ?? () from /usr/lib/libkparts.so.4
#25 0x00007f2b08751f54 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
#26 0x00007f2adbfc77f5 in Okular::Part::openUrl (this=0x1e9f180, _url=...) at ../part.cpp:1273
#27 0x0000000000408d14 in Shell::openUrl (this=0x1e7a200, url=...) at ../../shell/shell.cpp:134
#28 0x00007f2b06727446 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#29 0x00007f2b07157b7b in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#30 0x00007f2b07531c4b in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007f2b07f3d378 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#32 0x00007f2b07107894 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#33 0x00007f2b0710c713 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#34 0x00007f2b07e413f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#35 0x00007f2b0670de9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#36 0x00007f2b06711c6a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#37 0x00007f2b0673cf93 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#38 0x00007f2b02b45d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f2b02b460a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f2b02b46164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f2b0673d3bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#42 0x00007f2b071afd5e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#43 0x00007f2b0670cc82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#44 0x00007f2b0670ced7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#45 0x00007f2b06711f67 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#46 0x00000000004079c6 in main (argc=<optimized out>, argv=<optimized out>) at ../../shell/main.cpp:85

Reported using DrKonqi
Comment 1 Fabio D'Urso 2013-03-30 15:08:10 UTC
Can you attach it here and tell us your poppler version please?
Comment 2 Mathieu Dutour Sikiric 2013-03-30 15:13:13 UTC
Created attachment 78510 [details]
attachment-17095-0.html

"poppler" I don't know what it is, but versions I can give, it
is standard ubuntu:
mathieu@nutmeg:~$ okular -v
Qt: 4.8.1
KDE Development Platform: 4.8.5 (4.8.5)
Okular: 0.14.3



On Sat, Mar 30, 2013 at 4:08 PM, Fabio D'Urso <fabiodurso@hotmail.it> wrote:

> https://bugs.kde.org/show_bug.cgi?id=317608
>
> Fabio D'Urso <fabiodurso@hotmail.it> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |fabiodurso@hotmail.it
>
> --- Comment #1 from Fabio D'Urso <fabiodurso@hotmail.it> ---
> Can you attach it here and tell us your poppler version please?
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 3 Mathieu Dutour Sikiric 2013-03-30 15:13:15 UTC
Created attachment 78511 [details]
attachment-17095-1.dat
Comment 4 Mathieu Dutour Sikiric 2013-03-30 15:13:15 UTC
Created attachment 78512 [details]
9400751397_Parado.pdf
Comment 5 Fabio D'Urso 2013-03-30 15:21:17 UTC
You can do a  "pdfinfo -v"
Comment 6 Mathieu Dutour Sikiric 2013-03-30 16:24:40 UTC
mathieu@nutmeg:~$ pdfinfo -v
pdfinfo version 0.18.4
Copyright 2005-2011 The Poppler Developers - http://poppler.freedesktop.org
Copyright 1996-2004 Glyph & Cog, LLC



On Sat, Mar 30, 2013 at 4:21 PM, Fabio D'Urso <fabiodurso@hotmail.it> wrote:

> https://bugs.kde.org/show_bug.cgi?id=317608
>
> --- Comment #5 from Fabio D'Urso <fabiodurso@hotmail.it> ---
> You can do a  "pdfinfo -v"
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 7 Albert Astals Cid 2013-04-01 22:08:03 UTC
Newer poppler (>= 0.20.0) already has that bug fixed