Bug 233890

Summary: konqueror crashed when tried to open print dialog
Product: [Unmaintained] kdelibs Reporter: anton <benderamp>
Component: print-dialogAssignee: KDEPrint Devel Mailinglist <kde-print-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: christiandehne
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description anton 2010-04-09 22:49:19 UTC
Application: konqueror (4.4.2 (KDE 4.4.2) "release 234")
KDE Platform Version: 4.4.2 (KDE 4.4.2) "release 234"
Qt Version: 4.6.2
Operating System: Linux 2.6.31.5-0.1-desktop x86_64
Distribution: "openSUSE 11.2 (x86_64)"

-- Information about the crash:
I have printing system configured to print all documents to remote cups server, the server was down when I tried to open print dialog for html page in konqueror - konqueror crashed. Then I tried to reproduce this immediately - the 2nd time konqueror hanged for a while (2 opened windows only had grey background), then became fine after minute or two. The 3rd time I tried to call print dialog it was fine - it immediately showed me "print to pdf" option and remote printers were no shown (as expected).

 -- Backtrace:
Application: Konqueror (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f33a6670750 (LWP 2549))]

Thread 5 (Thread 0x7f338d5bf910 (LWP 6602)):
#0  0x00007f33a49212cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3387689621 in metronom_sync_loop () from /usr/lib64/libxine.so.1
#2  0x00007f33a491c65d in start_thread () from /lib64/libpthread.so.0
#3  0x00007f33a36ea14d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f33807bf910 (LWP 6604)):
#0  0x00007f33a36e1033 in poll () from /lib64/libc.so.6
#1  0x00007f339ff0458c in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f339ff048d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f33a4cc8f06 in QEventDispatcherGlib::processEvents (this=0x2eacda0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f33a4c9e2a2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f33a4c9e67c in QEventLoop::exec (this=0x7f33807befe0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f33a4ba8d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f33878e5286 in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f33a4bab775 in QThreadPrivate::start (arg=0x11cff20) at thread/qthread_unix.cpp:248
#9  0x00007f33a491c65d in start_thread () from /lib64/libpthread.so.0
#10 0x00007f33a36ea14d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f337e9c9910 (LWP 16492)):
#0  0x00007f33a4921049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f33a4bac72b in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f33a43431ae in QFileInfoGatherer::run (this=<value optimized out>) at dialogs/qfileinfogatherer.cpp:203
#4  0x00007f33a4bab775 in QThreadPrivate::start (arg=0x93bf218) at thread/qthread_unix.cpp:248
#5  0x00007f33a491c65d in start_thread () from /lib64/libpthread.so.0
#6  0x00007f33a36ea14d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3375acf910 (LWP 16493)):
#0  0x00007f339ff02aef in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f339ff04322 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f339ff048d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f33a4cc8f06 in QEventDispatcherGlib::processEvents (this=0x4bc5560, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f33a4c9e2a2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f33a4c9e67c in QEventLoop::exec (this=0x7f3375acf000, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f33a4ba8d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f33a4c7e9d8 in QInotifyFileSystemWatcherEngine::run (this=0x52fc450) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f33a4bab775 in QThreadPrivate::start (arg=0x52fc450) at thread/qthread_unix.cpp:248
#9  0x00007f33a491c65d in start_thread () from /lib64/libpthread.so.0
#10 0x00007f33a36ea14d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f33a6670750 (LWP 2549)):
[KCrash Handler]
#5  0x00007f33a405967e in QCUPSSupport::printerOption (this=0x7cc23f0, key=...) at painting/qcups.cpp:251
#6  0x00007f33a42ee5a3 in QUnixPrintWidgetPrivate::_q_printerChanged (this=0x7d78660, index=<value optimized out>) at dialogs/qprintdialog_unix.cpp:796
#7  0x00007f33a42ef193 in QUnixPrintWidgetPrivate::QUnixPrintWidgetPrivate (this=0x7d78660, p=<value optimized out>) at dialogs/qprintdialog_unix.cpp:703
#8  0x00007f33a42ef48b in QUnixPrintWidget::QUnixPrintWidget (this=0x9ad2270, printer=0x0, parent=<value optimized out>) at dialogs/qprintdialog_unix.cpp:995
#9  0x00007f33a42ef500 in QPrintDialogPrivate::init (this=0x8910bb0) at dialogs/qprintdialog_unix.cpp:385
#10 0x00007f33a42efac8 in QPrintDialog::QPrintDialog (this=0x7f3a2e0, printer=0x7fff5a47eec0, parent=0x205d8c0) at dialogs/qprintdialog_unix.cpp:581
#11 0x00007f33a5213b96 in KdePrint::createPrintDialog (printer=0x7fff5a47eec0, pageSelectPolicy=SystemSelectsPages, customTabs=..., parent=0x205d8c0)
    at /usr/src/debug/kdelibs-4.4.2/kdeui/dialogs/kdeprintdialog.cpp:44
#12 0x00007f3391c3a7a9 in KHTMLView::print (this=<value optimized out>, quick=false) at /usr/src/debug/kdelibs-4.4.2/khtml/khtmlview.cpp:3177
#13 0x00007f3391c944cc in KHTMLPartBrowserExtension::qt_metacall (this=0x206d6b0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff5a47f3e0)
    at /usr/src/debug/kdelibs-4.4.2/build/khtml/khtml_ext.moc:103
#14 0x00007f33a4cb278f in QMetaObject::activate (sender=0x864d7b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xa2699ea) at kernel/qobject.cpp:3293
#15 0x00007f33a3e39d12 in QAction::triggered (this=0x7cc23f0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#16 0x00007f33a3e3bd8b in QAction::activate (this=0x864d7b0, event=<value optimized out>) at kernel/qaction.cpp:1255
#17 0x00007f33a427852d in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x864d7b0, action_e=Trigger, self=true) at widgets/qmenu.cpp:1011
#18 0x00007f33a427e09a in QMenuPrivate::activateAction (this=0xa268370, action=0x864d7b0, action_e=Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#19 0x00007f33a515736e in KMenu::mouseReleaseEvent (this=0x4134dc0, e=0x7fff5a47e910) at /usr/src/debug/kdelibs-4.4.2/kdeui/widgets/kmenu.cpp:471
#20 0x00007f33a3e96172 in QWidget::event (this=0x4134dc0, event=0x7fff5a480020) at kernel/qwidget.cpp:7998
#21 0x00007f33a428025b in QMenu::event (this=0x4134dc0, e=0x7fff5a480020) at widgets/qmenu.cpp:2414
#22 0x00007f33a3e3fe1c in QApplicationPrivate::notify_helper (this=0x671be0, receiver=0x4134dc0, e=0x7fff5a480020) at kernel/qapplication.cpp:4300
#23 0x00007f33a3e46bdb in QApplication::notify (this=0x7fff5a480e80, receiver=0x4134dc0, e=0x7fff5a480020) at kernel/qapplication.cpp:3865
#24 0x00007f33a5172506 in KApplication::notify (this=0x7fff5a480e80, receiver=0x4134dc0, event=0x7fff5a480020) at /usr/src/debug/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#25 0x00007f33a4c9f98c in QCoreApplication::notifyInternal (this=0x7fff5a480e80, receiver=0x4134dc0, event=0x7fff5a480020) at kernel/qcoreapplication.cpp:704
#26 0x00007f33a3e45db6 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#27 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:2965
#28 0x00007f33a3ec5ba5 in QETWidget::translateMouseEvent (this=0x4134dc0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4302
#29 0x00007f33a3ec447a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff5a480940) at kernel/qapplication_x11.cpp:3501
#30 0x00007f33a3eee932 in x11EventSourceDispatch (s=0x6758e0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#31 0x00007f339ff00dde in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f339ff047a8 in ?? () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f339ff048d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f33a4cc8eb3 in QEventDispatcherGlib::processEvents (this=0x61a8e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#35 0x00007f33a3eee51e in QGuiEventDispatcherGlib::processEvents (this=0x7cc23f0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f33a4c9e2a2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#37 0x00007f33a4c9e67c in QEventLoop::exec (this=0x7fff5a480c70, flags=) at kernel/qeventloop.cpp:201
#38 0x00007f33a4ca23cb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#39 0x00007f33982b306b in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-4.4.2/apps/konqueror/src/konqmain.cpp:257
#40 0x00000000004073b8 in launch (argc=3, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=24, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x409c52 "0") at /usr/src/debug/kdelibs-4.4.2/kinit/kinit.cpp:717
#41 0x0000000000408070 in handle_launcher_request (sock=8, who=<value optimized out>) at /usr/src/debug/kdelibs-4.4.2/kinit/kinit.cpp:1209
#42 0x0000000000408521 in handle_requests (waitForPid=0) at /usr/src/debug/kdelibs-4.4.2/kinit/kinit.cpp:1402
#43 0x0000000000409202 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/debug/kdelibs-4.4.2/kinit/kinit.cpp:1845

Reported using DrKonqi
Comment 1 Nicolas L. 2010-06-22 13:24:27 UTC
*** Bug 242472 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Feck 2010-08-08 23:25:00 UTC

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