Bug 240549 - Okular crashes when opening pdf file
Summary: Okular crashes when opening pdf file
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.10.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 243990 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-03 04:48 UTC by Erik Quaeghebeur
Modified: 2010-08-13 18:19 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.54 KB, text/plain)
2010-08-13 18:13 UTC, ewald.zech
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2010-06-03 04:48:19 UTC
Application: okular (0.10.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
http://www.ctan.org/tex-archive/graphics/pgf/contrib/pgfplots/doc/latex/pgfplots/pgfplots.pdf crashes okular consistently

The crash can be reproduced every time.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#5  Object::free (this=0x100000000) at Object.cc:124
#6  0x00007f3c5debd1b4 in ~ObjectStream (this=0x10197c0, __in_chrg=<value optimized out>) at XRef.cc:211
#7  0x00007f3c5debe98a in XRef::fetch (this=0x13793d0, num=2, gen=0, obj=0x7fffe22ae120) at XRef.cc:1001
#8  0x00007f3c5de48cd1 in Catalog::getJS (this=0x1424e90, i=<value optimized out>) at Catalog.cc:439
#9  0x00007f3c5e1c2612 in Poppler::Document::scripts (this=<value optimized out>) at poppler-document.cc:570
#10 0x00007f3c5e42fc82 in PDFGenerator::metaData (this=0x1422c10, key=<value optimized out>, option=...) at ../../../../okular/generators/poppler/generator_pdf.cpp:1001
#11 0x00007f3c60cb5d1d in Okular::Document::openDocument (this=0x113e490, docFile=<value optimized out>, url=<value optimized out>, _mime=<value optimized out>) at ../../okular/core/document.cpp:1718
#12 0x00007f3c60f7086c in Okular::Part::openFile (this=0x1077f10) at ../../okular/part.cpp:930
#13 0x00007f3c6c74d117 in KParts::ReadOnlyPart::openUrl (this=0x1077f10, url=<value optimized out>) at ../../kparts/part.cpp:557
#14 0x00007f3c60f6504a in Okular::Part::openUrl (this=0x1077f10, _url=<value optimized out>) at ../../okular/part.cpp:1049
#15 0x0000000000409a8a in Shell::openUrl (this=0x1114d60, url=...) at ../../../okular/shell/shell.cpp:130
#16 0x000000000040a3ac in Shell::qt_metacall (this=0x1114d60, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffe22af0a0) at ./shell.moc:94
#17 0x00007f3c6b1f9e3f in QMetaObject::activate (sender=0x13ff8e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffe22ae120) at kernel/qobject.cpp:3293
#18 0x00007f3c6b20165f in QSingleShotTimer::timerEvent (this=0x13ff8e0) at kernel/qtimer.cpp:308
#19 0x00007f3c6b1f6a63 in QObject::event (this=0x13ff8e0, e=0x7fffe22af800) at kernel/qobject.cpp:1212
#20 0x00007f3c6a5a022c in QApplicationPrivate::notify_helper (this=0xfc49b0, receiver=0x13ff8e0, e=0x7fffe22af800) at kernel/qapplication.cpp:4300
#21 0x00007f3c6a5a66fb in QApplication::notify (this=0x7fffe22afb50, receiver=0x13ff8e0, e=0x7fffe22af800) at kernel/qapplication.cpp:4183
#22 0x00007f3c6be48526 in KApplication::notify (this=0x7fffe22afb50, receiver=0x13ff8e0, event=0x7fffe22af800) at ../../kdeui/kernel/kapplication.cpp:302
#23 0x00007f3c6b1e706c in QCoreApplication::notifyInternal (this=0x7fffe22afb50, receiver=0x13ff8e0, event=0x7fffe22af800) at kernel/qcoreapplication.cpp:704
#24 0x00007f3c6b213d42 in QCoreApplication::sendEvent (this=0xfc8680) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QTimerInfoList::activateTimers (this=0xfc8680) at kernel/qeventdispatcher_unix.cpp:603
#26 0x00007f3c6b210824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#27 0x00007f3c665118c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0x00007f3c66515748 in ?? () from /lib/libglib-2.0.so.0
#29 0x00007f3c665158fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0x00007f3c6b210513 in QEventDispatcherGlib::processEvents (this=0xfacfb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#31 0x00007f3c6a65046e in QGuiEventDispatcherGlib::processEvents (this=0x100000000, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f3c6b1e5992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#33 0x00007f3c6b1e5d6c in QEventLoop::exec (this=0x7fffe22afaa0, flags=) at kernel/qeventloop.cpp:201
#34 0x00007f3c6b1e9aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#35 0x000000000040889c in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../okular/shell/main.cpp:82

This bug may be a duplicate of or related to bug 235805.

Possible duplicates by query: bug 240125, bug 235805.

Reported using DrKonqi
Comment 1 Rex Dieter 2010-06-03 14:33:51 UTC
confirmed (fedora 13/x86_64, kde-4.4.3, poppler-0.12.4)
Comment 2 Albert Astals Cid 2010-06-03 20:37:15 UTC
works here, can i get a valgrind trace?
Comment 3 Albert Astals Cid 2010-06-03 21:32:18 UTC
SVN commit 1134257 by aacid:

Accessing pdfdoc needs to hold the lock
BUGS: 240549


 M  +3 -0      generator_pdf.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1134257
Comment 4 Albert Astals Cid 2010-07-23 22:57:09 UTC
*** Bug 243990 has been marked as a duplicate of this bug. ***
Comment 5 ewald.zech 2010-08-13 18:13:40 UTC
Created attachment 50138 [details]
New crash information added by DrKonqi

I tried to open a pdf-file at the homepage of my bank but i could not open it because Okular always crashed.
I hope i send you the right crash information file.
best regards
ewald
Comment 6 Pino Toscano 2010-08-13 18:19:55 UTC
(In reply to comment #5)
> Created an attachment (id=50138) [details]
> New crash information added by DrKonqi
> 
> I tried to open a pdf-file at the homepage of my bank but i could not open it
> because Okular always crashed.
> I hope i send you the right crash information file.
> best regards
> ewald

Hi,

your problem has nothing do with with bug, bit it is use to an version of the poppler library. Please ask to your distro how to update it.