Bug 318268 - Konqueror or okular crash on second invocation of print button
Summary: Konqueror or okular crash on second invocation of print button
Status: RESOLVED DUPLICATE of bug 199780
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 4.8.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-12 23:24 UTC by Vladimir Dergachev
Modified: 2015-01-11 11:50 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 Vladimir Dergachev 2013-04-12 23:24:43 UTC
Application: konqueror (4.8.5 (4.8.5))
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-40-generic x86_64
Distribution: Ubuntu 12.04.2 LTS

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

After submitting a print job, if I try to print again okular (or konqueror with embedded okular) crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd97087b780 (LWP 27930))]

Thread 6 (Thread 0x7fd95e9e9700 (LWP 27931)):
#0  0x00007fd9700f8023 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fd96db9106f in QProcessManager::run (this=0x7fd96df09500) at io/qprocess_unix.cpp:245
#2  0x00007fd96dab3fcb in QThreadPrivate::start (arg=0x7fd96df09500) at thread/qthread_unix.cpp:298
#3  0x00007fd9696d4e9a in start_thread (arg=0x7fd95e9e9700) at pthread_create.c:308
#4  0x00007fd9700fecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fd952449700 (LWP 27943)):
#0  0x00007fff187ff8de in ?? ()
#1  0x00007fd9692c515d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007fd96db0abb4 in do_gettime (frac=0x7fd952448b98, sec=0x7fd952448b90) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fd96dbe2b8d in QTimerInfoList::updateCurrentTime (this=0x7fd94c002660) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007fd96dbe2ec3 in QTimerInfoList::timerWait (this=0x7fd94c002660, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007fd96dbe197c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fd952448c6c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fd96dbe1a25 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fd969013846 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fd969013f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fd969014164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fd96dbe2426 in QEventDispatcherGlib::processEvents (this=0x7fd94c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007fd96dbb1c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fd96dbb1ed7 in QEventLoop::exec (this=0x7fd952448dd0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007fd96dab0fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007fd96db919ff in QInotifyFileSystemWatcherEngine::run (this=0x3903dd0) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007fd96dab3fcb in QThreadPrivate::start (arg=0x3903dd0) at thread/qthread_unix.cpp:298
#17 0x00007fd9696d4e9a in start_thread (arg=0x7fd952449700) at pthread_create.c:308
#18 0x00007fd9700fecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fd950f7c700 (LWP 27948)):
#0  0x00007fd9700f3303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd969014036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd969014164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd96dbe2426 in QEventDispatcherGlib::processEvents (this=0x7fd944002920, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fd96dbb1c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd96dbb1ed7 in QEventLoop::exec (this=0x7fd950f7bdd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fd96dab0fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fd96ee368fe in KIO::NameLookUpThread::run (this=0x4d2a920) at ../../kio/kio/hostinfo.cpp:226
#8  0x00007fd96dab3fcb in QThreadPrivate::start (arg=0x4d2a920) at thread/qthread_unix.cpp:298
#9  0x00007fd9696d4e9a in start_thread (arg=0x7fd950f7c700) at pthread_create.c:308
#10 0x00007fd9700fecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd948fc9700 (LWP 28011)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd96dab44db in wait (time=18446744073709551615, this=0x4a5d560) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x4a75c50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fd96d1c2354 in QFileInfoGatherer::run (this=0x4a75c40) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007fd96dab3fcb in QThreadPrivate::start (arg=0x4a75c40) at thread/qthread_unix.cpp:298
#5  0x00007fd9696d4e9a in start_thread (arg=0x7fd948fc9700) at pthread_create.c:308
#6  0x00007fd9700fecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd9497ca700 (LWP 28012)):
#0  0x00007fd9700f3303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd969014036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd969014164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd96dbe2426 in QEventDispatcherGlib::processEvents (this=0x7fd930b24c00, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fd96dbb1c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd96dbb1ed7 in QEventLoop::exec (this=0x7fd9497c9dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fd96dab0fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fd96db919ff in QInotifyFileSystemWatcherEngine::run (this=0x4911fc0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fd96dab3fcb in QThreadPrivate::start (arg=0x4911fc0) at thread/qthread_unix.cpp:298
#9  0x00007fd9696d4e9a in start_thread (arg=0x7fd9497ca700) at pthread_create.c:308
#10 0x00007fd9700fecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd97087b780 (LWP 27930)):
[KCrash Handler]
#6  0x00007fd96ced6b0e in QCUPSSupport::printerOption (this=0x4461690, key=...) at painting/qcups.cpp:251
#7  0x00007fd96d172ce5 in QUnixPrintWidgetPrivate::_q_printerChanged (this=0x4ae3b50, index=0) at dialogs/qprintdialog_unix.cpp:804
#8  0x00007fd96d1738f2 in QUnixPrintWidgetPrivate::QUnixPrintWidgetPrivate (this=0x4ae3b50, p=<optimized out>) at dialogs/qprintdialog_unix.cpp:711
#9  0x00007fd96d173bdb in QUnixPrintWidget::QUnixPrintWidget (this=0x48c0670, printer=0x0, parent=<optimized out>) at dialogs/qprintdialog_unix.cpp:1036
#10 0x00007fd96d173c5e in QPrintDialogPrivate::init (this=<optimized out>) at dialogs/qprintdialog_unix.cpp:386
#11 0x00007fd96d1741a8 in QPrintDialog::QPrintDialog (this=0x3853ac0, printer=0x7fff186e0830, parent=0x4dad820) at dialogs/qprintdialog_unix.cpp:591
#12 0x00007fd96e73c362 in KdePrint::createPrintDialog (printer=0x7fff186e0830, pageSelectPolicy=KdePrint::ApplicationSelectsPages, customTabs=..., parent=0x4dad820) at ../../kdeui/dialogs/kdeprintdialog.cpp:44
#13 0x00007fd94b34cc28 in ?? () from /usr/lib/kde4/okularpart.so
#14 0x00007fd96dbc7281 in QMetaObject::activate (sender=0x277adb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff186e09f0) at kernel/qobject.cpp:3547
#15 0x00007fd96ccb2132 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#16 0x00007fd96ccb231f in QAction::activate (this=0x277adb0, event=<optimized out>) at kernel/qaction.cpp:1257
#17 0x00007fd96d104119 in QMenuPrivate::activateCausedStack (this=0x2b61700, causedStack=..., action=0x277adb0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#18 0x00007fd96d10a272 in QMenuPrivate::activateAction (this=0x2b61700, action=0x277adb0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#19 0x00007fd96e6d9030 in KMenu::mouseReleaseEvent (this=0x2b616c0, e=0x7fff186e15c0) at ../../kdeui/widgets/kmenu.cpp:464
#20 0x00007fd96cd09144 in QWidget::event (this=0x2b616c0, event=0x7fff186e15c0) at kernel/qwidget.cpp:8362
#21 0x00007fd96d10b80b in QMenu::event (this=0x2b616c0, e=0x7fff186e15c0) at widgets/qmenu.cpp:2469
#22 0x00007fd96ccb8894 in notify_helper (e=0x7fff186e15c0, receiver=0x2b616c0, this=0x20aca10) at kernel/qapplication.cpp:4559
#23 QApplicationPrivate::notify_helper (this=0x20aca10, receiver=0x2b616c0, e=0x7fff186e15c0) at kernel/qapplication.cpp:4531
#24 0x00007fd96ccbe0bf in QApplication::notify (this=<optimized out>, receiver=0x2b616c0, e=0x7fff186e15c0) at kernel/qapplication.cpp:4102
#25 0x00007fd96e6183f6 in KApplication::notify (this=0x7fff186e2400, receiver=0x2b616c0, event=0x7fff186e15c0) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00007fd96dbb2e9c in QCoreApplication::notifyInternal (this=0x7fff186e2400, receiver=0x2b616c0, event=0x7fff186e15c0) at kernel/qcoreapplication.cpp:876
#27 0x00007fd96ccb9862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QApplicationPrivate::sendMouseEvent (receiver=0x2b616c0, event=0x7fff186e15c0, alienWidget=0x0, nativeWidget=0x2b616c0, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#29 0x00007fd96cd392c1 in QETWidget::translateMouseEvent (this=0x2b616c0, event=<optimized out>) at kernel/qapplication_x11.cpp:4551
#30 0x00007fd96cd37bae in QApplication::x11ProcessEvent (this=0x7fff186e2400, event=0x7fff186e1e90) at kernel/qapplication_x11.cpp:3732
#31 0x00007fd96cd610d2 in x11EventSourceDispatch (s=0x20b2200, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007fd969013d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fd9690140a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fd969014164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fd96dbe23bf in QEventDispatcherGlib::processEvents (this=0x207fb30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#36 0x00007fd96cd60d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007fd96dbb1c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007fd96dbb1ed7 in QEventLoop::exec (this=0x7fff186e2230, flags=...) at kernel/qeventloop.cpp:204
#39 0x00007fd96dbb6f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#40 0x00007fd97048128a in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../../konqueror/src/konqmain.cpp:242
#41 0x00007fd97002c76d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=2, ubp_av=0x7fff186e2db8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff186e2da8) at libc-start.c:226
#42 0x0000000000400671 in _start ()

Possible duplicates by query: bug 298276.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-04-12 23:49:59 UTC
See https://bugs.kde.org/show_bug.cgi?id=199780#c13

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