Version: 1.0 (using KDE 4.3.2) OS: Linux Installed from: Debian testing/unstable Packages How to reproduce: Open "system settings">"printer configuration" and in the "new printer" tab click on "new network printer". --> Instant crash Here is the backtrace. Unfortunately I could not find the debug symbols for /usr/lib/pymodules/python2.5/cups.so Application: System Settings (systemsettings), signal: Segmentation fault [KCrash Handler] #6 PyFrame_New (tstate=0x0, code=0x9ded530, globals=0x9ddfbdc, locals=0x0) at ../Objects/frameobject.c:559 #7 0xb3b585d8 in PyEval_EvalCodeEx (co=0x9ded530, globals=0x9ddfbdc, locals=0x0, args=0xa318598, argcount=2, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:2670 #8 0xb3af0e3a in function_call (func=0xa321b1c, arg=0xa31858c, kw=0x0) at ../Objects/funcobject.c:517 #9 0xb3acd867 in PyObject_Call (func=0x0, arg=0xa31858c, kw=0x0) at ../Objects/abstract.c:1861 #10 0xb3ad54b5 in instancemethod_call (func=0xa321b1c, arg=0xa31858c, kw=0x0) at ../Objects/classobject.c:2519 #11 0xb3acd867 in PyObject_Call (func=0x0, arg=0x9de602c, kw=0x0) at ../Objects/abstract.c:1861 #12 0xb3b5104c in PyEval_CallObjectWithKeywords (func=0x9ec3194, arg=0x9de602c, kw=0x0) at ../Python/ceval.c:3481 #13 0xb24900a5 in ?? () from /usr/lib/pymodules/python2.5/cups.so #14 0xb247d880 in cupsGetPassword2 () from /usr/lib/libcups.so.2 #15 0xb2456d0e in cupsDoAuthentication () from /usr/lib/libcups.so.2 #16 0xb24771a2 in cupsGetResponse () from /usr/lib/libcups.so.2 #17 0xb2477443 in cupsDoIORequest () from /usr/lib/libcups.so.2 #18 0xb24776db in cupsDoRequest () from /usr/lib/libcups.so.2 #19 0xb2496a51 in ?? () from /usr/lib/pymodules/python2.5/cups.so #20 0xb3b57438 in call_function (f=0xa54826c, throwflag=0) at ../Python/ceval.c:3596 #21 PyEval_EvalFrameEx (f=0xa54826c, throwflag=0) at ../Python/ceval.c:2304 #22 0xb3b581ff in fast_function (f=0xa547f4c, throwflag=0) at ../Python/ceval.c:3698 #23 call_function (f=0xa547f4c, throwflag=0) at ../Python/ceval.c:3633 #24 PyEval_EvalFrameEx (f=0xa547f4c, throwflag=0) at ../Python/ceval.c:2304 #25 0xb3b581ff in fast_function (f=0xa5314b4, throwflag=0) at ../Python/ceval.c:3698 #26 call_function (f=0xa5314b4, throwflag=0) at ../Python/ceval.c:3633 #27 PyEval_EvalFrameEx (f=0xa5314b4, throwflag=0) at ../Python/ceval.c:2304 #28 0xb3b581ff in fast_function (f=0xa4f6e24, throwflag=0) at ../Python/ceval.c:3698 #29 call_function (f=0xa4f6e24, throwflag=0) at ../Python/ceval.c:3633 #30 PyEval_EvalFrameEx (f=0xa4f6e24, throwflag=0) at ../Python/ceval.c:2304 #31 0xb3b58c2d in PyEval_EvalCodeEx (co=0x9dedb60, globals=0x9ddfbdc, locals=0x0, args=0xa53b394, argcount=1, kws=0xa53b398, kwcount=0, defs=0xa311f78, defcount=1, closure=0x0) at ../Python/ceval.c:2875 #32 0xb3b574db in fast_function (f=0xa53b204, throwflag=0) at ../Python/ceval.c:3708 #33 call_function (f=0xa53b204, throwflag=0) at ../Python/ceval.c:3633 #34 PyEval_EvalFrameEx (f=0xa53b204, throwflag=0) at ../Python/ceval.c:2304 #35 0xb3b58c2d in PyEval_EvalCodeEx (co=0x9dedd10, globals=0x9ddfbdc, locals=0x0, args=0xa4a24a0, argcount=1, kws=0xa4a24a4, kwcount=0, defs=0xa310d98, defcount=2, closure=0x0) at ../Python/ceval.c:2875 #36 0xb3b574db in fast_function (f=0xa4a234c, throwflag=0) at ../Python/ceval.c:3708 #37 call_function (f=0xa4a234c, throwflag=0) at ../Python/ceval.c:3633 #38 PyEval_EvalFrameEx (f=0xa4a234c, throwflag=0) at ../Python/ceval.c:2304 #39 0xb3b581ff in fast_function (f=0xa4b877c, throwflag=0) at ../Python/ceval.c:3698 #40 call_function (f=0xa4b877c, throwflag=0) at ../Python/ceval.c:3633 #41 PyEval_EvalFrameEx (f=0xa4b877c, throwflag=0) at ../Python/ceval.c:2304 #42 0xb3b58c2d in PyEval_EvalCodeEx (co=0x9debf50, globals=0x9ddfbdc, locals=0x0, args=0xa318238, argcount=1, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:2875 #43 0xb3af0e3a in function_call (func=0xa32179c, arg=0xa31822c, kw=0x0) at ../Objects/funcobject.c:517 #44 0xb3acd867 in PyObject_Call (func=0x0, arg=0xa31822c, kw=0x0) at ../Objects/abstract.c:1861 #45 0xb3ad54b5 in instancemethod_call (func=0xa32179c, arg=0xa31822c, kw=0x0) at ../Objects/classobject.c:2519 #46 0xb3acd867 in PyObject_Call (func=0x0, arg=0x9d6402c, kw=0x0) at ../Objects/abstract.c:1861 #47 0xb3b5104c in PyEval_CallObjectWithKeywords (func=0x9ec316c, arg=0x9d6402c, kw=0x0) at ../Python/ceval.c:3481 #48 0xb376553f in sip_api_invoke_slot () from /usr/lib/pymodules/python2.5/sip.so #49 0xb3871d1b in ?? () from /usr/lib/pymodules/python2.5/PyQt4/QtCore.so #50 0xb3871e12 in ?? () from /usr/lib/pymodules/python2.5/PyQt4/QtCore.so #51 0xb3871edd in ?? () from /usr/lib/pymodules/python2.5/PyQt4/QtCore.so #52 0xb6e6b303 in QMetaObject::activate (sender=0xa3a62d0, from_signal_index=29, to_signal_index=30, argv=0xbfd09fdc) at kernel/qobject.cpp:3112 #53 0xb6e6b720 in QMetaObject::activate (sender=0xa3a62d0, m=0xb7ba8424, from_local_signal_index=2, to_local_signal_index=3, argv=0xbfd09fdc) at kernel/qobject.cpp:3206 #54 0xb79bfb21 in QAbstractButton::clicked (this=0xa3a62d0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200 #55 0xb76eb959 in QAbstractButtonPrivate::emitClicked (this=0xa3a64c8) at widgets/qabstractbutton.cpp:543 #56 0xb76ed584 in QAbstractButtonPrivate::click (this=0xa3a64c8) at widgets/qabstractbutton.cpp:536 #57 0xb76ed816 in QAbstractButton::mouseReleaseEvent (this=0xa3a62d0, e=0xbfd0a6fc) at widgets/qabstractbutton.cpp:1115 #58 0xb2b2b89f in sipKPushButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/pymodules/python2.5/PyKDE4/kdeui.so #59 0xb73949fb in QWidget::event (this=0xa3a62d0, event=0xbfd0a6fc) at kernel/qwidget.cpp:7554 #60 0xb76eb7fe in QAbstractButton::event (this=0xa3a62d0, e=0xbfd0a6fc) at widgets/qabstractbutton.cpp:1077 #61 0xb7794f10 in QPushButton::event (this=0xa3a62d0, e=0xbfd0a6fc) at widgets/qpushbutton.cpp:662 #62 0xb2b2b17f in sipKPushButton::event(QEvent*) () from /usr/lib/pymodules/python2.5/PyKDE4/kdeui.so #63 0xb733ea94 in QApplicationPrivate::notify_helper (this=0x99be250, receiver=0xa3a62d0, e=0xbfd0a6fc) at kernel/qapplication.cpp:4065 #64 0xb7347551 in QApplication::notify (this=0xbfd0bf84, receiver=0xa3a62d0, e=0xbfd0a6fc) at kernel/qapplication.cpp:3767 #65 0xb7d880fd in KApplication::notify (this=0xbfd0bf84, receiver=0xa3a62d0, event=0xbfd0a6fc) at ../../kdeui/kernel/kapplication.cpp:302 #66 0xb6e561eb in QCoreApplication::notifyInternal (this=0xbfd0bf84, receiver=0xa3a62d0, event=0xbfd0a6fc) at kernel/qcoreapplication.cpp:610 #67 0xb73465de in QCoreApplication::sendSpontaneousEvent (receiver=0xa3a62d0, event=0xbfd0a6fc, alienWidget=0xa3a62d0, nativeWidget=0x9a6a628, buttonDown=0xb7bb5580, lastMouseReceiver=...) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216 #68 QApplicationPrivate::sendMouseEvent (receiver=0xa3a62d0, event=0xbfd0a6fc, alienWidget=0xa3a62d0, nativeWidget=0x9a6a628, buttonDown=0xb7bb5580, lastMouseReceiver=...) at kernel/qapplication.cpp:2924 #69 0xb73b5175 in QETWidget::translateMouseEvent (this=0x9a6a628, event=0xbfd0bcac) at kernel/qapplication_x11.cpp:4411 #70 0xb73b4646 in QApplication::x11ProcessEvent (this=0xbfd0bf84, event=0xbfd0bcac) at kernel/qapplication_x11.cpp:3430 #71 0xb73debc2 in x11EventSourceDispatch (s=0x99c1f40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #72 0xb6338e98 in g_main_dispatch (context=0x99c0600) at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:1960 #73 IA__g_main_context_dispatch (context=0x99c0600) at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:2513 #74 0xb633c623 in g_main_context_iterate (context=0x99c0600, block=1, dispatch=1, self=0x99be330) at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:2591 #75 0xb633c7a8 in IA__g_main_context_iteration (context=0x99c0600, may_block=1) at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:2654 #76 0xb6e81041 in QEventDispatcherGlib::processEvents (this=0x99a1140, flags=...) at kernel/qeventdispatcher_glib.cpp:407 #77 0xb73de305 in QGuiEventDispatcherGlib::processEvents (this=0x99a1140, flags=...) at kernel/qguieventdispatcher_glib.cpp:202 #78 0xb6e5483a in QEventLoop::processEvents (this=0xbfd0bf10, flags=...) at kernel/qeventloop.cpp:149 #79 0xb6e54c82 in QEventLoop::exec (this=0xbfd0bf10, flags=...) at kernel/qeventloop.cpp:201 #80 0xb6e570d9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #81 0xb733e917 in QApplication::exec () at kernel/qapplication.cpp:3525 #82 0x08052e64 in _start ()
*** Bug 214247 has been marked as a duplicate of this bug. ***
*** Bug 217398 has been marked as a duplicate of this bug. ***
*** Bug 217916 has been marked as a duplicate of this bug. ***
*** Bug 219659 has been marked as a duplicate of this bug. ***
*** Bug 218649 has been marked as a duplicate of this bug. ***
*** Bug 220510 has been marked as a duplicate of this bug. ***
*** Bug 220754 has been marked as a duplicate of this bug. ***
*** Bug 220851 has been marked as a duplicate of this bug. ***
*** Bug 221118 has been marked as a duplicate of this bug. ***
I can confirm the bug even in KDE 4.3.4 - still same issue
*** Bug 222112 has been marked as a duplicate of this bug. ***
Confirmed on AMD64 debian testing. Qt: 4.5.3 KDE: 4.3.4 (KDE 4.3.4) System Settings: 1.0
*** Bug 225546 has been marked as a duplicate of this bug. ***
Is PyQt (or the Python interpreter) re-entrant? From the backtrace, it looks like libcups wants to open a password dialog, and enters Python again, which seems to lead to a crash. So to reproduce, you would need a CUPS printer which needs a password to access.
From bug 227464: From krunner, i type print, and enter the printer configuration, choose new printer, then the new printer configuration button. Works fine from 'sudo kcmshell4 system-config-printer-kde'
*** Bug 227464 has been marked as a duplicate of this bug. ***
"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".
Created attachment 112688 [details] bug report