Bug 323484 - Okular crashes with a particular PDF
Summary: Okular crashes with a particular PDF
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.16.5
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-08-14 08:13 UTC by Michael Johnson
Modified: 2013-08-15 11:26 UTC (History)
1 user (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 Michael Johnson 2013-08-14 08:13:31 UTC
Application: okular (0.16.5)
KDE Platform Version: 4.10.5
Qt Version: 4.8.5
Operating System: Linux 3.10-2-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
I tried opening a PDF retrieved via http://rpg.drivethrustuff.com/product/82175/Eclipse-Phase-Sample-Characters-(iPad) . Upon opening (either from within the Chromium download or from file browser), Okular crashed without even presenting any form in UI.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#5  0x00007f43542fdfb5 in ?? () from /usr/lib/x86_64-linux-gnu/libpoppler-qt4.so.3
#6  0x00007f43755169e6 in call_init (env=0xe7ce40, argv=0x7ffff85e8748, argc=6, l=<optimized out>) at dl-init.c:84
#7  call_init (l=<optimized out>, argc=6, argv=0x7ffff85e8748, env=0xe7ce40) at dl-init.c:34
#8  0x00007f4375516aca in _dl_init (main_map=main_map@entry=0x114ac20, argc=6, argv=0x7ffff85e8748, env=0xe7ce40) at dl-init.c:133
#9  0x00007f437551aaf9 in dl_open_worker (a=a@entry=0x7ffff85e5f48) at dl-open.c:566
#10 0x00007f4375516826 in _dl_catch_error (objname=objname@entry=0x7ffff85e5f38, errstring=errstring@entry=0x7ffff85e5f40, mallocedp=mallocedp@entry=0x7ffff85e5f37, operate=operate@entry=0x7f437551a780 <dl_open_worker>, args=args@entry=0x7ffff85e5f48) at dl-error.c:177
#11 0x00007f437551a329 in _dl_open (file=0x1143778 "/usr/lib/kde4/okularGenerator_poppler.so", mode=-2147483647, caller_dlopen=<optimized out>, nsid=-2, argc=6, argv=0x7ffff85e8748, env=0xe7ce40) at dl-open.c:656
#12 0x00007f436da59026 in dlopen_doit (a=a@entry=0x7ffff85e6150) at dlopen.c:66
#13 0x00007f4375516826 in _dl_catch_error (objname=0xbf2d60, errstring=0xbf2d68, mallocedp=0xbf2d58, operate=0x7f436da58fc0 <dlopen_doit>, args=0x7ffff85e6150) at dl-error.c:177
#14 0x00007f436da595ec in _dlerror_run (operate=operate@entry=0x7f436da58fc0 <dlopen_doit>, args=args@entry=0x7ffff85e6150) at dlerror.c:163
#15 0x00007f436da590c1 in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:87
#16 0x00007f4373063d8c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007f437305ec5a in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007f43735efac4 in KPluginLoader::load() () from /usr/lib/libkdecore.so.5
#19 0x00007f43735f0348 in KPluginLoader::factory() () from /usr/lib/libkdecore.so.5
#20 0x00007f4358492f11 in Okular::DocumentPrivate::loadGeneratorLibrary (this=this@entry=0xf15b80, service=...) at ../core/document.cpp:696
#21 0x00007f4358493c33 in Okular::DocumentPrivate::openDocumentInternal (this=0xf15b80, offer=..., isstdin=isstdin@entry=false, docFile=..., filedata=...) at ../core/document.cpp:796
#22 0x00007f4358494044 in Okular::Document::openDocument (this=0xee8af0, docFile=..., url=..., _mime=...) at ../core/document.cpp:1907
#23 0x00007f435874928c in Okular::Part::openFile (this=0xee4ab0) at ../part.cpp:1214
#24 0x00007f43752d6887 in ?? () from /usr/lib/libkparts.so.4
#25 0x00007f43752d7e6e in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
#26 0x00007f4358740aeb in Okular::Part::openUrl (this=0xee4ab0, _url=...) at ../part.cpp:1359
#27 0x000000000040ad73 in Shell::openUrl (this=0xe9e780, url=...) at ../../shell/shell.cpp:179
#28 0x000000000040b8cc in delayedOpen (this=<optimized out>) at ../../shell/shell.cpp:138
#29 Shell::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at ./shell.moc:78
#30 0x00007f437308b0ae in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#31 0x00007f4373acfd5b in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007f4373e86383 in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#33 0x00007f4374895d29 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#34 0x00007f4373a8070c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#35 0x00007f4373a86d80 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#36 0x00007f43747a9cfa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#37 0x00007f4373072b5d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#38 0x00007f43730760bf in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#39 0x00007f43730a0423 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007f436f24fea6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f436f2501f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f436f25029c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f437309fce5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#44 0x00007f4373b1e846 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#45 0x00007f43730717bf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#46 0x00007f4373071ab5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#47 0x00007f43730770fb in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#48 0x000000000040802e in main (argc=<optimized out>, argv=<optimized out>) at ../../shell/main.cpp:94

Possible duplicates by query: bug 323407, bug 320306.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2013-08-14 08:16:34 UTC
Can you open other pdf files? The backtrace seems to say that the whole pdf plugin of okular is crashing before even trying to open the file itself
Comment 2 Michael Johnson 2013-08-15 04:29:16 UTC
On Wed, 14 Aug 2013 03:16:34 -0500, Albert Astals Cid <aacid@kde.org>  
wrote:

> https://bugs.kde.org/show_bug.cgi?id=323484
>
> Albert Astals Cid <aacid@kde.org> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |NEEDSINFO
>                  CC|                            |aacid@kde.org
>          Resolution|---                         |WAITINGFORINFO
>
> --- Comment #1 from Albert Astals Cid <aacid@kde.org> ---
> Can you open other pdf files? The backtrace seems to say that the whole  
> pdf
> plugin of okular is crashing before even trying to open the file itself
>

Thanks for the quick turnaround.

You are correct, I was unable to open any other PDFs. I usually do better  
in researching a problem like this...but the nice bug dialog popped up :)

So, I tried logging out and back in and even restarting X. Neither worked.  
So finally I attempted a reboot. Now I can read PDFs just fine. My guess  
is that since I typically keep my machine up for extended periods, and  
also frequently update packages (I'm running Debian Sid), something  
updated that got locked into memory. I can't say I've seen this type of  
thing happen very often, though, in 10 years running Debian Sid :)

I'm sorry for the trouble. Again, I normally research such problems a  
little more thoroughly.

Thanks again for the help,
Michael
Comment 3 Albert Astals Cid 2013-08-15 11:26:27 UTC
Reboot fixed it