Bug 315842 - Okular crashes randomly when printing the second time
Summary: Okular crashes randomly when printing the second time
Status: RESOLVED DUPLICATE of bug 199780
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-02-27 10:44 UTC by energie.mc2
Modified: 2013-02-27 22:59 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 energie.mc2 2013-02-27 10:44:29 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-38-generic x86_64
Distribution: Ubuntu 12.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I wanted to print a certain pdf-document a second time. I pressed Ctrl-P for that. The program did not hang, it just closed immediately.

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 0x7f6784121780 (LWP 30686))]

Thread 4 (Thread 0x7f676d57f700 (LWP 30689)):
#0  0x00007f677e13b33e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f677e13b599 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f677e10001b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f677e100164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6781cf7426 in QEventDispatcherGlib::processEvents (this=0x7f67600038c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f6781cc6c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f6781cc6ed7 in QEventLoop::exec (this=0x7f676d57edd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f6781bc5fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f6781ca69ff in QInotifyFileSystemWatcherEngine::run (this=0x19391d0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f6781bc8fcb in QThreadPrivate::start (arg=0x19391d0) at thread/qthread_unix.cpp:298
#10 0x00007f677e5cce9a in start_thread (arg=0x7f676d57f700) at pthread_create.c:308
#11 0x00007f6781304cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6767fff700 (LWP 30938)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6781bc94db in wait (time=18446744073709551615, this=0x56dad20) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x7027700, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f6782bcb354 in QFileInfoGatherer::run (this=0x70276f0) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f6781bc8fcb in QThreadPrivate::start (arg=0x70276f0) at thread/qthread_unix.cpp:298
#5  0x00007f677e5cce9a in start_thread (arg=0x7f6767fff700) at pthread_create.c:308
#6  0x00007f6781304cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f676dd80700 (LWP 30939)):
#0  0x00007f67812f9303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f677e100036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f677e100164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6781cf7426 in QEventDispatcherGlib::processEvents (this=0x7f675c093510, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f6781cc6c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6781cc6ed7 in QEventLoop::exec (this=0x7f676dd7fdd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f6781bc5fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f6781ca69ff in QInotifyFileSystemWatcherEngine::run (this=0x18a2e60) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f6781bc8fcb in QThreadPrivate::start (arg=0x18a2e60) at thread/qthread_unix.cpp:298
#9  0x00007f677e5cce9a in start_thread (arg=0x7f676dd80700) at pthread_create.c:308
#10 0x00007f6781304cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6784121780 (LWP 30686)):
[KCrash Handler]
#6  0x00007f67828dfb0e in QCUPSSupport::printerOption (this=0x5740990, key=...) at painting/qcups.cpp:251
#7  0x00007f6782b7bce5 in QUnixPrintWidgetPrivate::_q_printerChanged (this=0x590ff20, index=0) at dialogs/qprintdialog_unix.cpp:804
#8  0x00007f6782b7c8f2 in QUnixPrintWidgetPrivate::QUnixPrintWidgetPrivate (this=0x590ff20, p=<optimized out>) at dialogs/qprintdialog_unix.cpp:711
#9  0x00007f6782b7cbdb in QUnixPrintWidget::QUnixPrintWidget (this=0x56aa880, printer=0x0, parent=<optimized out>) at dialogs/qprintdialog_unix.cpp:1036
#10 0x00007f6782b7cc5e in QPrintDialogPrivate::init (this=<optimized out>) at dialogs/qprintdialog_unix.cpp:386
#11 0x00007f6782b7d1a8 in QPrintDialog::QPrintDialog (this=0x56ad800, printer=0x7fff0d7c1070, parent=0x12dc860) at dialogs/qprintdialog_unix.cpp:591
#12 0x00007f678351f362 in KdePrint::createPrintDialog (printer=0x7fff0d7c1070, pageSelectPolicy=KdePrint::ApplicationSelectsPages, customTabs=..., parent=0x12dc860) at ../../kdeui/dialogs/kdeprintdialog.cpp:44
#13 0x00007f6772a7bc28 in ?? () from /usr/lib/kde4/okularpart.so
#14 0x00007f6772a7c27a in ?? () from /usr/lib/kde4/okularpart.so
#15 0x00007f6781cdc281 in QMetaObject::activate (sender=0x16b50e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff0d7c1260) at kernel/qobject.cpp:3547
#16 0x00007f67826bb132 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#17 0x00007f67826bb31f in QAction::activate (this=0x16b50e0, event=<optimized out>) at kernel/qaction.cpp:1257
#18 0x00007f6782b0d119 in QMenuPrivate::activateCausedStack (this=0x1266080, causedStack=..., action=0x16b50e0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#19 0x00007f6782b13272 in QMenuPrivate::activateAction (this=0x1266080, action=0x16b50e0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#20 0x00007f67834bc030 in KMenu::mouseReleaseEvent (this=0x1265f10, e=0x7fff0d7c1e30) at ../../kdeui/widgets/kmenu.cpp:464
#21 0x00007f6782712144 in QWidget::event (this=0x1265f10, event=0x7fff0d7c1e30) at kernel/qwidget.cpp:8362
#22 0x00007f6782b1480b in QMenu::event (this=0x1265f10, e=0x7fff0d7c1e30) at widgets/qmenu.cpp:2469
#23 0x00007f67826c1894 in notify_helper (e=0x7fff0d7c1e30, receiver=0x1265f10, this=0x10fa7b0) at kernel/qapplication.cpp:4559
#24 QApplicationPrivate::notify_helper (this=0x10fa7b0, receiver=0x1265f10, e=0x7fff0d7c1e30) at kernel/qapplication.cpp:4531
#25 0x00007f67826c70bf in QApplication::notify (this=<optimized out>, receiver=0x1265f10, e=0x7fff0d7c1e30) at kernel/qapplication.cpp:4102
#26 0x00007f67833fb3f6 in KApplication::notify (this=0x7fff0d7c2b10, receiver=0x1265f10, event=0x7fff0d7c1e30) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x00007f6781cc7e9c in QCoreApplication::notifyInternal (this=0x7fff0d7c2b10, receiver=0x1265f10, event=0x7fff0d7c1e30) at kernel/qcoreapplication.cpp:876
#28 0x00007f67826c2862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#29 QApplicationPrivate::sendMouseEvent (receiver=0x1265f10, event=0x7fff0d7c1e30, alienWidget=0x0, nativeWidget=0x1265f10, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#30 0x00007f67827422c1 in QETWidget::translateMouseEvent (this=0x1265f10, event=<optimized out>) at kernel/qapplication_x11.cpp:4551
#31 0x00007f6782740bae in QApplication::x11ProcessEvent (this=0x7fff0d7c2b10, event=0x7fff0d7c2700) at kernel/qapplication_x11.cpp:3732
#32 0x00007f678276a0d2 in x11EventSourceDispatch (s=0x10f1c80, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x00007f677e0ffd53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f677e1000a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f677e100164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f6781cf73bf in QEventDispatcherGlib::processEvents (this=0x10f85b0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0x00007f6782769d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f6781cc6c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f6781cc6ed7 in QEventLoop::exec (this=0x7fff0d7c2aa0, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007f6781ccbf67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#41 0x00000000004079c6 in ?? ()
#42 0x00007f678123276d in __libc_start_main (main=0x4075e0, argc=6, ubp_av=0x7fff0d7c2fe8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff0d7c2fd8) at libc-start.c:226
#43 0x00000000004081e9 in _start ()

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

Possible duplicates by query: bug 312049.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2013-02-27 22:59:06 UTC

*** This bug has been marked as a duplicate of bug 199780 ***