Bug 314536 - Okular crashes when trying to open one PDF file
Summary: Okular crashes when trying to open one PDF file
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.15.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-06 17:03 UTC by jussi.kivilinna
Modified: 2013-02-06 23:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
PDF that crashes okular (204.77 KB, application/octet-stream)
2013-02-06 21:36 UTC, jussi.kivilinna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jussi.kivilinna 2013-02-06 17:03:41 UTC
Application: okular (0.15.5)
KDE Platform Version: 4.9.5
Qt Version: 4.8.3
Operating System: Linux 3.7.6-jk20130204-id1851 x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:

Okular crashes when trying to open one PDF file (on Windows foxit reader managed to open it, and print to another PDF which workaround my problem). Unfortunally it's research article so the PDF file is not freely available.

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 0x7fa871dc6780 (LWP 7782))]

Thread 2 (Thread 0x7fa85cde4700 (LWP 7784)):
#0  0x00007fa86f02e303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa86bc2dd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa86bc2e1e2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa86442c4a6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fa86bc51645 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa86c0fce9a in start_thread (arg=0x7fa85cde4700) at pthread_create.c:308
#6  0x00007fa86f039cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa871dc6780 (LWP 7782)):
[KCrash Handler]
#5  0x00007fa86ef7c425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007fa86ef7fb8b in __GI_abort () at abort.c:91
#7  0x00007fa84ad30e4f in dictLookup (obj=<optimized out>, this=<optimized out>, key=<optimized out>, recursion=<optimized out>) at Object.h:309
#8  XRef::getDocInfo (this=<optimized out>, obj=<optimized out>) at XRef.cc:1124
#9  0x00007fa84b05ba2c in getDocInfo (obj=0x7fffc1302ec0, this=<optimized out>) at ../../poppler/PDFDoc.h:217
#10 Poppler::Document::info (this=<optimized out>, type=...) at poppler-document.cc:266
#11 0x00007fa84b2e01ec in PDFGenerator::metaData (this=0x1ce8ca0, key=..., option=...) at ../../../generators/poppler/generator_pdf.cpp:1148
#12 0x00007fa84e7809c6 in Okular::Document::metaData (this=<optimized out>, key=..., option=...) at ../core/document.cpp:2333
#13 0x00007fa84ea3b0c9 in Okular::Part::setWindowTitleFromDocument (this=0x1823560) at ../part.cpp:998
#14 0x00007fa84ea49f0f in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./part.moc:224
#15 Okular::Part::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./part.moc:159
#16 0x00007fa86fa10f5f in QMetaObject::activate (sender=0x1823560, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#17 0x00007fa8719c6b89 in ?? () from /usr/lib/libkparts.so.4
#18 0x00007fa8719c7074 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
#19 0x00007fa84ea3b205 in openUrl (_url=..., this=0x1823560) at ../part.cpp:1321
#20 Okular::Part::openUrl (this=0x1823560, _url=...) at ../part.cpp:1292
#21 0x0000000000408cd4 in Shell::openUrl (this=0x17a9c80, url=...) at ../../shell/shell.cpp:141
#22 0x00007fa86fa1043e in QObject::event (this=0x17a9c80, e=<optimized out>) at kernel/qobject.cpp:1195
#23 0x00007fa87042d0da in QWidget::event (this=0x17a9c80, event=0x1c9d720) at kernel/qwidget.cpp:8830
#24 0x00007fa8707f61cb in QMainWindow::event (this=0x17a9c80, event=0x1c9d720) at widgets/qmainwindow.cpp:1478
#25 0x00007fa8711d77c8 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#26 0x00007fa8703dde9c in QApplicationPrivate::notify_helper (this=this@entry=0x149c320, receiver=receiver@entry=0x17a9c80, e=e@entry=0x1c9d720) at kernel/qapplication.cpp:4562
#27 0x00007fa8703e230a in QApplication::notify (this=0x7fffc1304240, receiver=0x17a9c80, e=0x1c9d720) at kernel/qapplication.cpp:4423
#28 0x00007fa8710e61f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#29 0x00007fa86f9fb56e in QCoreApplication::notifyInternal (this=0x7fffc1304240, receiver=receiver@entry=0x17a9c80, event=event@entry=0x1c9d720) at kernel/qcoreapplication.cpp:915
#30 0x00007fa86f9ff3f1 in sendEvent (event=0x1c9d720, receiver=0x17a9c80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1471670) at kernel/qcoreapplication.cpp:1539
#32 0x00007fa86fa29a63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=0x14af3b0) at kernel/qeventdispatcher_glib.cpp:279
#34 0x00007fa86bc2dab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fa86bc2dde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fa86bc2dea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fa86fa29bf6 in QEventDispatcherGlib::processEvents (this=0x1472b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#38 0x00007fa870482c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007fa86f9fa2bf in QEventLoop::processEvents (this=this@entry=0x7fffc1303ff0, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007fa86f9fa548 in QEventLoop::exec (this=0x7fffc1303ff0, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007fa86f9ff708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#42 0x00000000004079ce in main (argc=<optimized out>, argv=<optimized out>) at ../../shell/main.cpp:85

Reported using DrKonqi
Comment 1 jussi.kivilinna 2013-02-06 17:05:53 UTC
Bug reporting tool sent this before asking conformation.. article PDF is at http://link.springer.com/chapter/10.1007%2F978-3-540-74735-2_9?LI=true .. for those who have access.
Comment 2 Albert Astals Cid 2013-02-06 18:39:54 UTC
With no document this is very hard to fix.

Which poppler version are you using?
Comment 3 jussi.kivilinna 2013-02-06 19:33:39 UTC
It's libpoppler28 (0.20.4-0ubuntu1.1), Ubuntu Quantal (with updates repository). http://packages.ubuntu.com/quantal-updates/libpoppler28

Appearently also other PDFs from springer.com cause this same crash. What you think, should I add one of those pdfs here as attachment or send with email to someone?
Comment 4 Albert Astals Cid 2013-02-06 21:01:36 UTC
Well, as said without the pdf fixing the crash is very hard. How you make it available it's up to you i guess.
Comment 5 jussi.kivilinna 2013-02-06 21:36:11 UTC
Created attachment 76957 [details]
PDF that crashes okular
Comment 6 Albert Astals Cid 2013-02-06 23:59:26 UTC
The bug is fixed in poppler >= 0.20.5

Thanks for reporting :-)