Bug 307804 - Okular crashes while trying to open a complex or heavy odp file
Summary: Okular crashes while trying to open a complex or heavy odp file
Status: RESOLVED NOT A BUG
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: 2012-10-04 04:30 UTC by Pablo Dotro
Modified: 2013-03-10 23:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo Dotro 2012-10-04 04:30:50 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-31-generic x86_64
Distribution: Netrunner Dryland Second Edition

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

Okular is the default viewer in Netrunner 4.2SE for odp files (OpenDocument Presentations) when Calligra ins installed. I created a somewhat complex odp file using LibreOffice Impress, and every time Okular tries to open it (I forget it's set as default!), it crashes while trying to exit.

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0x7fd392963700 (LWP 943)):
#0  0x00007fd3b425cb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd3b1067036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd3b1067164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd3b4c5a426 in QEventDispatcherGlib::processEvents (this=0x7fd38c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fd3b4c29c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd3b4c29ed7 in QEventLoop::exec (this=0x7fd392962dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fd3b4b28fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fd3b4c099ff in QInotifyFileSystemWatcherEngine::run (this=0x24f29a0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fd3b4b2bfcb in QThreadPrivate::start (arg=0x24f29a0) at thread/qthread_unix.cpp:298
#9  0x00007fd3b1533e9a in start_thread (arg=0x7fd392963700) at pthread_create.c:308
#10 0x00007fd3b42684bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd3b707d780 (LWP 941)):
[KCrash Handler]
#6  0x00007fd3a15531e3 in OkularOdpGenerator::loadDocument (this=0x20f9c10, fileName=..., pages=...) at /build/buildd/calligra-2.4.3/tools/okularodpgenerator/OkularOdpGenerator.cpp:85
#7  0x00007fd3a5893737 in Okular::DocumentPrivate::openDocumentInternal (this=0x1eb1c90, offer=..., isstdin=false, docFile=..., filedata=...) at ../core/document.cpp:700
#8  0x00007fd3a589c177 in Okular::Document::openDocument (this=0x1e636d0, docFile=..., url=..., _mime=...) at ../core/document.cpp:1657
#9  0x00007fd3a5b5098e in Okular::Part::openFile (this=0x1e543c0) at ../part.cpp:1151
#10 0x00007fd3b6c6e99c in KParts::ReadOnlyPartPrivate::openLocalFile (this=0x1e54670) at ../../kparts/part.cpp:590
#11 0x00007fd3b6c6ef54 in KParts::ReadOnlyPart::openUrl (this=0x1e543c0, url=...) at ../../kparts/part.cpp:554
#12 0x00007fd3a5b427f5 in Okular::Part::openUrl (this=0x1e543c0, _url=...) at ../part.cpp:1273
#13 0x0000000000408d14 in Shell::openUrl (this=0x1e619f0, url=...) at ../../shell/shell.cpp:134
#14 0x00007fd3b4c44446 in QObject::event (this=0x1e619f0, e=<optimized out>) at kernel/qobject.cpp:1195
#15 0x00007fd3b5674b7b in QWidget::event (this=0x1e619f0, event=0x2089070) at kernel/qwidget.cpp:8821
#16 0x00007fd3b5a4ec4b in QMainWindow::event (this=0x1e619f0, event=0x2089070) at widgets/qmainwindow.cpp:1478
#17 0x00007fd3b645a378 in KXmlGuiWindow::event (this=0x1e619f0, ev=0x2089070) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#18 0x00007fd3b5624894 in notify_helper (e=0x2089070, receiver=0x1e619f0, this=0x1c86eb0) at kernel/qapplication.cpp:4559
#19 QApplicationPrivate::notify_helper (this=0x1c86eb0, receiver=0x1e619f0, e=0x2089070) at kernel/qapplication.cpp:4531
#20 0x00007fd3b5629713 in QApplication::notify (this=0x7fffa2797400, receiver=0x1e619f0, e=0x2089070) at kernel/qapplication.cpp:4420
#21 0x00007fd3b635e3f6 in KApplication::notify (this=0x7fffa2797400, receiver=0x1e619f0, event=0x2089070) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007fd3b4c2ae9c in QCoreApplication::notifyInternal (this=0x7fffa2797400, receiver=0x1e619f0, event=0x2089070) at kernel/qcoreapplication.cpp:876
#23 0x00007fd3b4c2ec6a in sendEvent (event=0x2089070, receiver=0x1e619f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1c5d670) at kernel/qcoreapplication.cpp:1500
#25 0x00007fd3b4c59f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#26 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#27 0x00007fd3b1066d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fd3b10670a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fd3b1067164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fd3b4c5a3bf in QEventDispatcherGlib::processEvents (this=0x1c5eb30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#31 0x00007fd3b56ccd5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007fd3b4c29c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007fd3b4c29ed7 in QEventLoop::exec (this=0x7fffa2797390, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007fd3b4c2ef67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#35 0x00000000004079c6 in main (argc=<optimized out>, argv=<optimized out>) at ../../shell/main.cpp:85

Reported using DrKonqi
Comment 1 Albert Astals Cid 2012-10-04 07:13:02 UTC
Please attach such a file
Comment 2 Albert Astals Cid 2013-03-10 23:57:25 UTC
No answer from reporter, closing down the bug. If you can provide the information we ask for please reopen the bug.