Bug 313066 - Okular crashed trying to print a "file to pdf"
Summary: Okular crashed trying to print a "file to pdf"
Status: RESOLVED UPSTREAM
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: 2013-01-11 10:28 UTC by Alexander Blesius
Modified: 2013-01-13 23:22 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 Alexander Blesius 2013-01-11 10:28:23 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-35-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

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

extracting a page from a set of pages to print only this one to a new document called 'print.pdf'. When I tried to enter the directory path, Okular crashed. The problem hasn't occured again yet, though I tried it two more times.

The crash does not seem to be reproducible.

-- 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 0x7ffca9847780 (LWP 4711))]

Thread 5 (Thread 0x7ffc95477700 (LWP 4713)):
#0  0x00007ffca6a1f303 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffca3826036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffca382649a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffc9547c98b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007ffca38479e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffca3cf2e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007ffca6a2acbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ffc94c76700 (LWP 4714)):
#0  0x00007ffca6a1f303 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffca3826036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffca382649a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffc9c5ce406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ffca38479e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffca3cf2e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007ffca6a2acbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ffc8f7c6700 (LWP 5100)):
#0  0x00007ffca3cf6d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffca72ef4db in wait (time=18446744073709551615, this=0x18ac690) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x18ac240, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ffca82f1354 in QFileInfoGatherer::run (this=0x18ac230) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007ffca72eefcb in QThreadPrivate::start (arg=0x18ac230) at thread/qthread_unix.cpp:298
#5  0x00007ffca3cf2e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007ffca6a2acbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffc7d814700 (LWP 5101)):
#0  0x00007ffca6a1f303 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffca3826036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffca3826164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffca741d426 in QEventDispatcherGlib::processEvents (this=0x7ffc780632a0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007ffca73ecc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ffca73eced7 in QEventLoop::exec (this=0x7ffc7d813dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ffca72ebfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007ffca73cc9ff in QInotifyFileSystemWatcherEngine::run (this=0x18abf30) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ffca72eefcb in QThreadPrivate::start (arg=0x18abf30) at thread/qthread_unix.cpp:298
#9  0x00007ffca3cf2e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007ffca6a2acbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffca9847780 (LWP 4711)):
[KCrash Handler]
#6  0x00007ffc75780040 in ?? ()
#7  0x00007ffca73d3566 in QFactoryLoader::instance (this=<optimized out>, key=...) at plugin/qfactoryloader.cpp:276
#8  0x00007ffca7e92d22 in QIcon::addFile (this=0x7fffc0a13d80, fileName=..., size=..., mode=QIcon::Normal, state=QIcon::Off) at image/qicon.cpp:843
#9  0x00007ffca7e9305a in QIcon::QIcon (this=<optimized out>, fileName=...) at image/qicon.cpp:565
#10 0x00007ffca7e9722d in ScalableEntry::pixmap (this=0x1934730, size=..., mode=QIcon::Normal, state=QIcon::Off) at image/qiconloader.cpp:515
#11 0x00007ffca7e9ac1a in QIconLoaderEngine::pixmap (this=0x192c7b0, size=..., mode=QIcon::Normal, state=QIcon::Off) at image/qiconloader.cpp:528
#12 0x00007ffca7e92835 in QIcon::pixmap (this=<optimized out>, size=..., mode=<optimized out>, state=<optimized out>) at image/qicon.cpp:684
#13 0x00007ffca835f5f1 in QItemDelegate::decoration (this=<optimized out>, option=..., variant=...) at itemviews/qitemdelegate.cpp:1011
#14 0x00007ffca8361a91 in QItemDelegate::paint (this=0x45521b0, painter=0x7fffc0a14450, option=..., index=...) at itemviews/qitemdelegate.cpp:441
#15 0x00007ffca8454c32 in QCompleterItemDelegate::paint (this=0x45521b0, p=0x7fffc0a14450, opt=..., idx=...) at util/qcompleter_p.h:204
#16 0x00007ffca8333171 in QListView::paintEvent (this=0x450bcf0, e=<optimized out>) at itemviews/qlistview.cpp:1039
#17 0x00007ffca7e380f6 in QWidget::event (this=0x450bcf0, event=0x7fffc0a150c0) at kernel/qwidget.cpp:8508
#18 0x00007ffca81f83b6 in QFrame::event (this=0x450bcf0, e=0x7fffc0a150c0) at widgets/qframe.cpp:557
#19 0x00007ffca830c89b in QAbstractItemView::viewportEvent (this=0x450bcf0, event=0x7fffc0a150c0) at itemviews/qabstractitemview.cpp:1644
#20 0x00007ffca73ee028 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x455b100, event=0x7fffc0a150c0) at kernel/qcoreapplication.cpp:986
#21 0x00007ffca7de785f in notify_helper (e=0x7fffc0a150c0, receiver=0x455b100, this=0x67ee10) at kernel/qapplication.cpp:4555
#22 QApplicationPrivate::notify_helper (this=0x67ee10, receiver=0x455b100, e=0x7fffc0a150c0) at kernel/qapplication.cpp:4531
#23 0x00007ffca7dec713 in QApplication::notify (this=0x7fffc0a18440, receiver=0x455b100, e=0x7fffc0a150c0) at kernel/qapplication.cpp:4420
#24 0x00007ffca8b213f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#25 0x00007ffca73ede9c in QCoreApplication::notifyInternal (this=0x7fffc0a18440, receiver=0x455b100, event=0x7fffc0a150c0) at kernel/qcoreapplication.cpp:876
#26 0x00007ffca7e33d96 in sendSpontaneousEvent (event=0x7fffc0a150c0, receiver=0x455b100) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#27 QWidgetPrivate::drawWidget (this=0x1060440, pdev=0x4555570, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xd67440) at kernel/qwidget.cpp:5585
#28 0x00007ffca7e34a0f in QWidgetPrivate::paintSiblingsRecursive (this=0x10e4f60, pdev=0x4555570, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xd67440) at kernel/qwidget.cpp:5794
#29 0x00007ffca7e34797 in QWidgetPrivate::paintSiblingsRecursive (this=0x10e4f60, pdev=0x4555570, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xd67440) at kernel/qwidget.cpp:5781
#30 0x00007ffca7e33acc in QWidgetPrivate::drawWidget (this=0x10e4f60, pdev=0x4555570, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0xd67440) at kernel/qwidget.cpp:5638
#31 0x00007ffca8004b58 in QWidgetBackingStore::sync (this=0xd67440) at painting/qbackingstore.cpp:1373
#32 0x00007ffca8004f23 in QWidgetBackingStore::sync (this=0xd67440, exposedWidget=0x450bcf0, exposedRegion=...) at painting/qbackingstore.cpp:1161
#33 0x00007ffca7e65daa in QETWidget::translatePaintEvent (this=0x450bcf0, event=<optimized out>) at kernel/qapplication_x11.cpp:5584
#34 0x00007ffca7e66ebb in QApplication::x11ProcessEvent (this=0x7fffc0a18440, event=0x7fffc0a16390) at kernel/qapplication_x11.cpp:3632
#35 0x00007ffca7e900d2 in x11EventSourceDispatch (s=0x67df10, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0x00007ffca3825d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007ffca38260a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffca3826164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007ffca741d3bf in QEventDispatcherGlib::processEvents (this=0x654b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#40 0x00007ffca7e8fd5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007ffca73ecc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007ffca73eced7 in QEventLoop::exec (this=0x7fffc0a16730, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007ffca82b7936 in QDialog::exec (this=0x18ab220) at dialogs/qdialog.cpp:554
#44 0x00007ffc81bc6ceb in Okular::Part::slotPrint (this=0x915600) at ../part.cpp:2341
#45 0x00007ffc81bc727a in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./part.moc:229
#46 Okular::Part::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./part.moc:159
#47 0x00007ffca7402281 in QMetaObject::activate (sender=0xcccd50, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc0a16980) at kernel/qobject.cpp:3547
#48 0x00007ffca7de1132 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#49 0x00007ffca7de131f in QAction::activate (this=0xcccd50, event=<optimized out>) at kernel/qaction.cpp:1257
#50 0x00007ffca7de148f in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#51 0x00007ffca8a38a6a in KAction::event(QEvent*) () from /usr/lib/libkdeui.so.5
#52 0x00007ffca7de7894 in notify_helper (e=0x7fffc0a16fa0, receiver=0xcccd50, this=0x67ee10) at kernel/qapplication.cpp:4559
#53 QApplicationPrivate::notify_helper (this=0x67ee10, receiver=0xcccd50, e=0x7fffc0a16fa0) at kernel/qapplication.cpp:4531
#54 0x00007ffca7dec713 in QApplication::notify (this=0x7fffc0a18440, receiver=0xcccd50, e=0x7fffc0a16fa0) at kernel/qapplication.cpp:4420
#55 0x00007ffca8b213f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#56 0x00007ffca73ede9c in QCoreApplication::notifyInternal (this=0x7fffc0a18440, receiver=0xcccd50, event=0x7fffc0a16fa0) at kernel/qcoreapplication.cpp:876
#57 0x00007ffca7e198b9 in sendEvent (event=0x7fffc0a16fa0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#58 QShortcutMap::dispatchEvent (this=<optimized out>, e=0x7fffc0a17540) at kernel/qshortcutmap.cpp:879
#59 0x00007ffca7e1ad8a in QShortcutMap::tryShortcutEvent (this=0x67ef30, o=<optimized out>, e=0x7fffc0a17540) at kernel/qshortcutmap.cpp:364
#60 0x00007ffca7dedf92 in QApplication::notify (this=0x7fffc0a18440, receiver=0xc3daa0, e=0x7fffc0a17540) at kernel/qapplication.cpp:3983
#61 0x00007ffca8b213f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#62 0x00007ffca73ede9c in QCoreApplication::notifyInternal (this=0x7fffc0a18440, receiver=0xc3daa0, event=0x7fffc0a17540) at kernel/qcoreapplication.cpp:876
#63 0x00007ffca7e8bc49 in QKeyMapper::sendKeyEvent (keyWidget=0xc3daa0, grab=<optimized out>, type=QEvent::KeyPress, code=80, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=33, nativeVirtualKey=112, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1866
#64 0x00007ffca7e8c0bb in QKeyMapperPrivate::translateKeyEvent (this=0x6b7890, keyWidget=0xc3daa0, event=0x7fffc0a18030, grab=false) at kernel/qkeymapper_x11.cpp:1836
#65 0x00007ffca7e66637 in QApplication::x11ProcessEvent (this=0x7fffc0a18440, event=0x7fffc0a18030) at kernel/qapplication_x11.cpp:3625
#66 0x00007ffca7e900d2 in x11EventSourceDispatch (s=0x67df10, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#67 0x00007ffca3825d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#68 0x00007ffca38260a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#69 0x00007ffca3826164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#70 0x00007ffca741d3bf in QEventDispatcherGlib::processEvents (this=0x654b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#71 0x00007ffca7e8fd5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#72 0x00007ffca73ecc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#73 0x00007ffca73eced7 in QEventLoop::exec (this=0x7fffc0a183d0, flags=...) at kernel/qeventloop.cpp:204
#74 0x00007ffca73f1f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#75 0x00000000004079c6 in main (argc=<optimized out>, argv=<optimized out>) at ../../shell/main.cpp:85

Reported using DrKonqi
Comment 1 Albert Astals Cid 2013-01-13 23:22:40 UTC
The top part of the backtrace

#7 0x00007f200c460566 in QFactoryLoader::instance (this=<optimized out>, key=...) at plugin/qfactoryloader.cpp:276
#8 0x00007f200cf1ad32 in QIcon::addFile (this=0x59548b8, fileName=..., size=..., mode=QIcon::Normal, state=QIcon::Off) at image/qicon.cpp:843 

is the same than described at https://bugs.kde.org/show_bug.cgi?id=298091 and in it the ?? point to libdbusmenu-qt.so.2 ( that is https://launchpad.net/libdbusmenu-qt )

That code is outside the scope of Okular. I'd suggest you to go there and file a bug about it, but if you don't really have a way to reproduce the crash it's going to be very hard that anyone actually can fix anything.

Sorry that my answer is not that much satisfactory and thanks a lot for caring about Okular and reporting this bug :-)