Bug 237085

Summary: Crash when loading printer-queue
Product: [Unmaintained] system-config-printer-kde Reporter: Geoffray Levasseur <jeff.levasseur>
Component: generalAssignee: Jonathan Riddell <jr>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: cfeck
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Geoffray Levasseur 2010-05-10 12:00:59 UTC
Application: print-queue (0.1)
KDE Platform Version: 4.4.3 (KDE 4.4.3) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-4-amd64 x86_64
Distribution: Debian GNU/Linux 5.0.4 (lenny)

-- Information about the crash:
This always hapen when clicking on "Configure Printer" from the kcm module in KDE's system configuration.

The printer is connected via ethernet and is disconnected. I did not test it when printer is connected as I'm not at home ;). Will send feedback when it will be connected.

The crash can be reproduced every time.

 -- Backtrace:
Application: PrintQueue (print-queue), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f831bfb8770 (LWP 22718))]

Thread 2 (Thread 0x7f8306304910 (LWP 22719)):
[KCrash Handler]
#5  0x0000000000000040 in ?? ()
#6  0x00007f8319f63b79 in operator<< (dbg=) at kernel/qobject.cpp:3683
#7  0x00007f831abd2e73 in QCups::Request::request (this=0x1560f70, result=0x1658d30, operation=CUPS_GET_PRINTERS, resource=..., reqValues=..., needResponse=true)
    at /share/src/kde/playground/print-manager/libqcups/cupsActions.cpp:482
#8  0x00007f831abcfcce in QCups::Request::qt_metacall (this=0x1560f70, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x1656580)
    at /share/src/build/kde/playground/print-manager/libqcups/moc_cupsActions.cpp:92
#9  0x00007f8319f5cb59 in QObject::event (this=0x1560f70, e=0x1659380) at kernel/qobject.cpp:1248
#10 0x00007f83190cf8fc in QApplicationPrivate::notify_helper (this=0x14e0320, receiver=0x1560f70, e=0x1659380) at kernel/qapplication.cpp:4300
#11 0x00007f83190d5ddb in QApplication::notify (this=0x7fff22fda5c0, receiver=0x1560f70, e=0x1659380) at kernel/qapplication.cpp:4183
#12 0x00007f831b9be931 in KApplication::notify (this=0x7fff22fda5c0, receiver=0x1560f70, event=0x1659380) at /share/src/kde/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302
#13 0x00007f8319f4cf1c in QCoreApplication::notifyInternal (this=0x7fff22fda5c0, receiver=0x1560f70, event=0x1659380) at kernel/qcoreapplication.cpp:704
#14 0x00007f8319f4f697 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x16e8950) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x16e8950) at kernel/qcoreapplication.cpp:1345
#16 0x00007f8319f76833 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#17 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#18 0x00007f8313fd66c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#19 0x00007f8313fda538 in ?? () from /lib/libglib-2.0.so.0
#20 0x00007f8313fda6ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#21 0x00007f8319f76373 in QEventDispatcherGlib::processEvents (this=0x15da240, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#22 0x00007f8319f4b842 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#23 0x00007f8319f4bc1c in QEventLoop::exec (this=0x7f8306303fc0, flags=) at kernel/qeventloop.cpp:201
#24 0x00007f8319e55bc9 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#25 0x00007f831abd140b in QCups::CupsThreadRequest::run (this=0x16cbc80) at /share/src/kde/playground/print-manager/libqcups/cupsActions.cpp:137
#26 0x00007f8319e585c5 in QThreadPrivate::start (arg=0x16cbc80) at thread/qthread_unix.cpp:248
#27 0x00007f8319bb97aa in start_thread () from /lib/libpthread.so.0
#28 0x00007f8317f2959d in clone () from /lib/libc.so.6
#29 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f831bfb8770 (LWP 22718)):
#0  0x00007f8317f1e633 in poll () from /lib/libc.so.6
#1  0x00007f831303f8ca in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f831303fec9 in ?? () from /usr/lib/libxcb.so.1
#3  0x00007f8313040175 in xcb_writev () from /usr/lib/libxcb.so.1
#4  0x00007f831774e616 in _XSend () from /usr/lib/libX11.so.6
#5  0x00007f831774e769 in _XReply () from /usr/lib/libX11.so.6
#6  0x00007f831772bbb3 in XGetSelectionOwner () from /usr/lib/libX11.so.6
#7  0x00007f831915c944 in QClipboard::event (this=0x16332d0, e=<value optimized out>) at kernel/qclipboard_x11.cpp:928
#8  0x00007f83190cf8fc in QApplicationPrivate::notify_helper (this=0x14e0320, receiver=0x16332d0, e=0x7fff22fda500) at kernel/qapplication.cpp:4300
#9  0x00007f83190d5ddb in QApplication::notify (this=0x7fff22fda5c0, receiver=0x16332d0, e=0x7fff22fda500) at kernel/qapplication.cpp:4183
#10 0x00007f8319f4cf1c in QCoreApplication::notifyInternal (this=0x7fff22fda5c0, receiver=0x16332d0, event=0x7fff22fda500) at kernel/qcoreapplication.cpp:704
#11 0x00007f83190dcabb in QCoreApplication::sendEvent (this=0x7fff22fda5c0, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#12 ~QApplication (this=0x7fff22fda5c0, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1011
#13 0x000000000040b8bb in ~PrintQueue (this=0x7fff22fda5c0, __in_chrg=<value optimized out>) at /share/src/kde/playground/print-manager/printqueue/PrintQueue.cpp:52
#14 0x000000000040b33f in main (argc=1, argv=0x7fff22fda858) at /share/src/kde/playground/print-manager/printqueue/main.cpp:54

Reported using DrKonqi
Comment 1 Christoph Feck 2013-11-23 20:35:04 UTC
"system-config-printer-kde" is no longer maintained and has been replaced with "Print Manager" since KDE 4.10. The new version is a C++ rewrite of the old Python version, and may still lack some features or have some bugs.

If this or another issue still needs to be addressed in KDE 4.10 or newer, please add a comment, or report it for "Print Manager".