Bug 317710 - some pdf files crash new version of okular
Summary: some pdf files crash new version of okular
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.16.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 324351 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-04-02 02:17 UTC by Rick Smegal
Modified: 2013-09-01 17:48 UTC (History)
2 users (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 Rick Smegal 2013-04-02 02:17:14 UTC
Application: okular (0.16.0)
KDE Platform Version: 4.10.00 "release 1"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.1-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: attempted to open a file on the local drive with okular. This crash happens consistently on a particular group of files which were readable with okular 0.13.2,  KDE 4.7.2 "release 5" with opensuse 12.1.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f85f908eaad in Poppler::UnicodeParsedString (s1=0x100) at poppler-private.cc:98
#7  0x00007f85f908f9be in Poppler::MediaRendition::fileName (this=0x357d480) at poppler-media.cc:74
#8  0x00007f85f92bb03b in createMovieFromPopplerScreen (popplerScreen=<optimized out>) at /usr/src/debug/okular-4.10.0/generators/poppler/generator_pdf.cpp:201
#9  0x00007f85f92bdd06 in createLinkFromPopplerLink (popplerLink=<optimized out>) at /usr/src/debug/okular-4.10.0/generators/poppler/generator_pdf.cpp:314
#10 0x00007f85f92bf813 in PDFGenerator::loadPages (this=this@entry=0x2967f80, pagesVector=..., rotation=rotation@entry=0, clear=clear@entry=false) at /usr/src/debug/okular-4.10.0/generators/poppler/generator_pdf.cpp:648
#11 0x00007f85f92bff76 in PDFGenerator::init (this=this@entry=0x2967f80, pagesVector=..., walletKey=...) at /usr/src/debug/okular-4.10.0/generators/poppler/generator_pdf.cpp:572
#12 0x00007f85f92c20ea in PDFGenerator::loadDocument (this=0x2967f80, filePath=..., pagesVector=...) at /usr/src/debug/okular-4.10.0/generators/poppler/generator_pdf.cpp:466
#13 0x00007f85fd3d2c87 in Okular::DocumentPrivate::openDocumentInternal (this=0x2654060, offer=..., isstdin=isstdin@entry=false, docFile=..., filedata=...) at /usr/src/debug/okular-4.10.0/core/document.cpp:819
#14 0x00007f85fd3daaab in Okular::Document::openDocument (this=0x263c410, docFile=..., url=..., _mime=...) at /usr/src/debug/okular-4.10.0/core/document.cpp:1896
#15 0x00007f85fd6adef1 in Okular::Part::openFile (this=0x2610c40) at /usr/src/debug/okular-4.10.0/part.cpp:1200
#16 0x00007f860d329000 in KParts::ReadOnlyPartPrivate::openLocalFile (this=this@entry=0x260f310) at /usr/src/debug/kdelibs-4.10.0/kparts/part.cpp:591
#17 0x00007f860d3295a4 in KParts::ReadOnlyPart::openUrl (this=0x2610c40, url=...) at /usr/src/debug/kdelibs-4.10.0/kparts/part.cpp:555
#18 0x00007f85fd6a0c05 in openUrl (_url=..., this=0x2610c40) at /usr/src/debug/okular-4.10.0/part.cpp:1345
#19 Okular::Part::openUrl (this=0x2610c40, _url=...) at /usr/src/debug/okular-4.10.0/part.cpp:1316
#20 0x000000000040b2ed in Shell::openUrl (this=0x260bc80, url=...) at /usr/src/debug/okular-4.10.0/shell/shell.cpp:179
#21 0x00007f860b11668e in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#22 0x00007f860bb5888a in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#23 0x00007f860bf1d4fb in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#24 0x00007f860c90fd78 in KXmlGuiWindow::event (this=0x260bc80, ev=0x2894cd0) at /usr/src/debug/kdelibs-4.10.0/kdeui/xmlgui/kxmlguiwindow.cpp:126
#25 0x00007f860bb0986c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#26 0x00007f860bb0dceb in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#27 0x00007f860c81dcb6 in KApplication::notify (this=0x7fff2ac7bc70, receiver=0x260bc80, event=0x2894cd0) at /usr/src/debug/kdelibs-4.10.0/kdeui/kernel/kapplication.cpp:311
#28 0x00007f860b101c9e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#29 0x00007f860b105601 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#30 0x00007f860b130043 in ?? () from /usr/lib64/libQtCore.so.4
#31 0x00007f86071887d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f8607188b08 in ?? () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f8607188bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f860b1301d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#35 0x00007f860bba9c1e in ?? () from /usr/lib64/libQtGui.so.4
#36 0x00007f860b1009ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#37 0x00007f860b100c78 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#38 0x00007f860b105918 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#39 0x000000000040895e in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/okular-4.10.0/shell/main.cpp:94

Reported using DrKonqi
Comment 1 Albert Astals Cid 2013-04-02 08:19:14 UTC
Which poppler version are you using?
Can you attach the pdf file that caused this crash?
Comment 2 Rick Smegal 2013-04-02 19:32:33 UTC
libpoppler-glib8  0.22.1-1.1.1
libpoppler-qt4-4  0.22.1-1.1.1
libpoppler34  0.22.1-1.1.1
poppler-data  0.4.6-2.1.1
poppler-tools  0.22.1-1.1.1

The pdf file that caused the crash is a member of a paid subscription so I prefer not to make it public. Is there an email address that I could send it to?
Documents of this subscription before September 2012 open with this new Okular but documents (of this subscription) starting with, and after, September 2012 do not.
Additional note: I can open all if the document under the new installation with the Adobe reader.
Comment 3 Albert Astals Cid 2013-04-02 21:43:25 UTC
You can send it to me if you want.
Comment 4 Rick Smegal 2013-04-02 22:19:00 UTC
On April 2, 2013 21:43:25 you wrote:
> https://bugs.kde.org/show_bug.cgi?id=317710
> 
> --- Comment #3 from Albert Astals Cid <aacid@kde.org> ---
> You can send it to me if you want.
Comment 5 Albert Astals Cid 2013-04-02 22:25:10 UTC
If that was an attempt of sending me (aacid@kde.org) a file it did not work :D
Comment 6 Rick Smegal 2013-04-02 22:36:57 UTC
(In reply to comment #5)
> If that was an attempt of sending me (aacid@kde.org) a file it did not work
> :D
Apparently, a 14 MB attachment is too large for kde.org email. I will have to leave it somewhere where you can extract it.
Comment 7 Albert Astals Cid 2013-04-02 23:31:06 UTC
Did you sentido it todo aacid@kde.org director original answered the bugzilla email? Answering the bugzilla email Will try todo attach it todo bugzilla itself
Comment 8 Albert Astals Cid 2013-04-02 23:32:54 UTC
Arg millions of typos because of using the tablet keyboard. Sorry about that
Comment 9 Rick Smegal 2013-04-02 23:41:53 UTC
(In reply to comment #8)
> Arg millions of typos because of using the tablet keyboard. Sorry about that
Nice for browsing but I've been curious to know how they are for real work.
Anyway, I sent it by accident to bugzilla email and it was rejected. I then sent to aacid@kde.org and it was also rejected.
I have left it in an ftp accessible directory; standby for instructions (to aacid@kde.org).
Comment 10 Albert Astals Cid 2013-04-03 17:05:10 UTC
Got the file.
Comment 11 Albert Astals Cid 2013-04-07 15:45:01 UTC
This was an upstream bug in poppler (the library we use for rendering pdf files). I've fixed the bug there and it will be released with poppler 0.22.3

Thanks for reporting :-)
Comment 12 Fabio D'Urso 2013-09-01 17:48:02 UTC
*** Bug 324351 has been marked as a duplicate of this bug. ***