Bug 285907

Summary: Crash While Adding SAMBA Printer Share
Product: [Applications] systemsettings Reporter: Ronald W. Klarin <rwklarin>
Component: generalAssignee: System Settings Bugs <sourtooth+ssbugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kubuntubugs
Priority: NOR    
Version: 1.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Ronald W. Klarin 2011-11-06 15:49:16 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

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

Adding SAMBA printer from SMB server.  Application detected server and printer share but crashed when selecting "next" action after adding server credentials.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fc6c7645780 (LWP 2056))]

Thread 4 (Thread 0x7fc6b1f58700 (LWP 2812)):
#0  0x00007fc6c4b0d773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc6c23cbf68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc6c23cc429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc6c5275f3e in QEventDispatcherGlib::processEvents (this=0x1ee6d60, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fc6c5249cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc6c5249ef7 in QEventLoop::exec (this=0x7fc6b1f57dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fc6c516127f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fc6c522ccbf in QInotifyFileSystemWatcherEngine::run (this=0x1f42db0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fc6c5163d05 in QThreadPrivate::start (arg=0x1f42db0) at thread/qthread_unix.cpp:331
#9  0x00007fc6c289defc in start_thread (arg=0x7fc6b1f58700) at pthread_create.c:304
#10 0x00007fc6c4b1989d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc69ecd2700 (LWP 3481)):
#0  0x00007fc6c4b0d773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc6c23cbf68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc6c23cc792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc69efaf516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fc6c23f12b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc6c289defc in start_thread (arg=0x7fc69ecd2700) at pthread_create.c:304
#6  0x00007fc6c4b1989d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc69dfb3700 (LWP 3501)):
#0  0x00007fc6c4b0d773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc6c23cbf68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc6c23cc429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc6c5275f3e in QEventDispatcherGlib::processEvents (this=0x1be4ac0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fc6c5249cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc6c5249ef7 in QEventLoop::exec (this=0x7fc69dfb2dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fc6c516127f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fc6c522ccbf in QInotifyFileSystemWatcherEngine::run (this=0x23d4b50) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fc6c5163d05 in QThreadPrivate::start (arg=0x23d4b50) at thread/qthread_unix.cpp:331
#9  0x00007fc6c289defc in start_thread (arg=0x7fc69dfb3700) at pthread_create.c:304
#10 0x00007fc6c4b1989d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc6c7645780 (LWP 2056)):
[KCrash Handler]
#6  0x00007fc691a589c2 in wait_for_thread_shutdown () at ../Python/pythonrun.c:1689
#7  Py_Finalize () at ../Python/pythonrun.c:401
#8  Py_Finalize () at ../Python/pythonrun.c:393
#9  0x00007fc691e389e5 in KPythonPluginFactory::~KPythonPluginFactory (this=0x2f15ed0, __in_chrg=<optimized out>) at ../../kpythonpluginfactory/kpythonpluginfactory.cpp:262
#10 0x00007fc691e38a49 in KPythonPluginFactory::~KPythonPluginFactory (this=0x2f15ed0, __in_chrg=<optimized out>) at ../../kpythonpluginfactory/kpythonpluginfactory.cpp:268
#11 0x00007fc6c5263926 in QObjectCleanupHandler::clear (this=0x1ee99a0) at kernel/qobjectcleanuphandler.cpp:140
#12 0x00007fc6c526396b in QObjectCleanupHandler::~QObjectCleanupHandler (this=0x1ee99a0, __in_chrg=<optimized out>) at kernel/qobjectcleanuphandler.cpp:86
#13 0x00007fc6c52639b9 in QObjectCleanupHandler::~QObjectCleanupHandler (this=0x1ee99a0, __in_chrg=<optimized out>) at kernel/qobjectcleanuphandler.cpp:87
#14 0x00007fc6c4a73821 in __run_exit_handlers (status=1, listp=0x7fc6c4dd05a8, run_list_atexit=true) at exit.c:78
#15 0x00007fc6c4a738a5 in __GI_exit (status=<optimized out>) at exit.c:100
#16 0x00007fc68a96bb9e in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#17 0x00007fc6c3e7206f in _XError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#18 0x00007fc6c3e6ee21 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#19 0x00007fc6c3e6fd77 in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#20 0x00007fc6c3e5434b in XGetWindowProperty () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#21 0x00007fc6c6d1a71b in NETWinInfo::update (this=0x7fffd5c29c10, dirty_props=<optimized out>) at ../../kdeui/windowmanagement/netwm.cpp:3962
#22 0x00007fc6c6d1bee6 in NETWinInfo::event (this=0x7fffd5c29c10, event=0x7fffd5c29cc0, properties=0x7fffd5c29be0, properties_size=2) at ../../kdeui/windowmanagement/netwm.cpp:3925
#23 0x00007fc6c6d10fc8 in KWindowSystemPrivate::x11Event (this=0x2262bd0, ev=0x7fffd5c29cc0) at ../../kdeui/windowmanagement/kwindowsystem_x11.cpp:198
#24 0x00007fc6c6c010a6 in publicX11Event (e=0x7fffd5c29cc0, this=<optimized out>) at ../../kdeui/kernel/ksystemeventfilter.cpp:43
#25 KSystemEventFilterPrivate::filterEvent (this=0x224fce0, message=0x7fffd5c29cc0) at ../../kdeui/kernel/ksystemeventfilter.cpp:102
#26 0x00007fc6c5f6c388 in x11EventSourceDispatch (s=0x1b5fbe0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:143
#27 0x00007fc6c23cba5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fc6c23cc258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fc6c23cc429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fc6c5275ed6 in QEventDispatcherGlib::processEvents (this=0x1b35a10, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007fc6c5f6c07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007fc6c524e92f in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:979
#33 0x00007fc690c27002 in meth_QCoreApplication_processEvents (sipArgs=(), sipKwds=<optimized out>) at sipQtCorepart7.cpp:14300
#34 0x00007fc691a336f5 in call_function (oparg=<optimized out>, pp_stack=0x7fffd5c2a1b0) at ../Python/ceval.c:4021
#35 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2666
#36 0x00007fc691a34f05 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=1, kws=0x697e3c8, kwcount=0, defs=0x4467a68, defcount=1, closure=0x0) at ../Python/ceval.c:3253
#37 0x00007fc691a33075 in fast_function (nk=<optimized out>, na=1, n=<optimized out>, pp_stack=0x7fffd5c2a3c0, func=<function at remote 0x4472ed8>) at ../Python/ceval.c:4117
#38 call_function (oparg=<optimized out>, pp_stack=0x7fffd5c2a3c0) at ../Python/ceval.c:4042
#39 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2666
#40 0x00007fc691a34f05 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=1, kws=0x697e1a0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3253
#41 0x00007fc6919b7a1c in function_call (func=<function at remote 0x44725f0>, arg=(<NewPrinterGUI(btnNPPDComments=<QPushButton at remote 0x48b8cb0>, label_18=<QLabel at remote 0x46d4c20>, label_19=<QLabel at remote 0x46d4dd0>, label_16=<QLabel at remote 0x48b75f0>, label_17=<QLabel at remote 0x46d4b90>, label_14=<QLabel at remote 0x46d44d0>, label_15=<QLabel at remote 0x46d4680>, label_12=<QLabel at remote 0x46d4170>, label_13=<QLabel at remote 0x46d4440>, label_10=<QLabel at remote 0x46d1f80>, label_11=<QLabel at remote 0x46d4050>, mainapp=<GUI(encoding=('en_US', 'UTF-8'), memberTabWidget=<QWidget at remote 0x46977a0>, mainListSelectedName=u'New Printer', servers=set(['/var/run/cups/cups.sock']), newPrinterItem=<QTreeWidgetItem at remote 0x48bd0e0>, connect_server='/var/run/cups/cups.sock', cups=<Connection(getNotifications=<function at remote 0x45deed8>, deletePrinterOptionDefault=<function at remote 0x45de9b0>, acceptJobs=<function at remote 0x4479f50>, adminSetServerSettings=<function at remote 0x45de578>, getDocument=<function at remote 0x45decf8>, adminGetServerSettings=<function at ...(truncated), kw=0x0) at ../Objects/funcobject.c:526
#42 0x00007fc69198f1f3 in PyObject_Call (func=<function at remote 0x44725f0>, arg=<optimized out>, kw=<optimized out>) at ../Objects/abstract.c:2529
#43 0x00007fc69199c94f in instancemethod_call (func=<function at remote 0x44725f0>, arg=(<NewPrinterGUI(btnNPPDComments=<QPushButton at remote 0x48b8cb0>, label_18=<QLabel at remote 0x46d4c20>, label_19=<QLabel at remote 0x46d4dd0>, label_16=<QLabel at remote 0x48b75f0>, label_17=<QLabel at remote 0x46d4b90>, label_14=<QLabel at remote 0x46d44d0>, label_15=<QLabel at remote 0x46d4680>, label_12=<QLabel at remote 0x46d4170>, label_13=<QLabel at remote 0x46d4440>, label_10=<QLabel at remote 0x46d1f80>, label_11=<QLabel at remote 0x46d4050>, mainapp=<GUI(encoding=('en_US', 'UTF-8'), memberTabWidget=<QWidget at remote 0x46977a0>, mainListSelectedName=u'New Printer', servers=set(['/var/run/cups/cups.sock']), newPrinterItem=<QTreeWidgetItem at remote 0x48bd0e0>, connect_server='/var/run/cups/cups.sock', cups=<Connection(getNotifications=<function at remote 0x45deed8>, deletePrinterOptionDefault=<function at remote 0x45de9b0>, acceptJobs=<function at remote 0x4479f50>, adminSetServerSettings=<function at remote 0x45de578>, getDocument=<function at remote 0x45decf8>, adminGetServerSettings=<function at ...(truncated), kw=0x0) at ../Objects/classobject.c:2578
#44 0x00007fc69198f1f3 in PyObject_Call (func=<instancemethod at remote 0x3cb27d0>, arg=<optimized out>, kw=<optimized out>) at ../Objects/abstract.c:2529
#45 0x00007fc691a2d807 in PyEval_CallObjectWithKeywords (func=<instancemethod at remote 0x3cb27d0>, arg=(), kw=<optimized out>) at ../Python/ceval.c:3890
#46 0x00007fc6908f0cc0 in sip_api_invoke_slot (slot=<optimized out>, sigargs=()) at /build/buildd/sip4-4.12.4/siplib/qtlib.c:203
#47 0x00007fc690c6df86 in PyQtProxy::invokeSlot(qpycore_slot const&, void**) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#48 0x00007fc690c6e068 in PyQtProxy::unislot(void**) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#49 0x00007fc690c6e122 in PyQtProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#50 0x00007fc6c525deba in QMetaObject::activate (sender=0x48ffa80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd5c2aa90) at kernel/qobject.cpp:3278
#51 0x00007fc6c6535582 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#52 0x00007fc6c627b13e in QAbstractButtonPrivate::emitClicked (this=<optimized out>) at widgets/qabstractbutton.cpp:546
#53 0x00007fc6c627c47b in QAbstractButtonPrivate::click (this=0x4903750) at widgets/qabstractbutton.cpp:539
#54 0x00007fc6c627c6ec in QAbstractButton::mouseReleaseEvent (this=0x48ffa80, e=0x7fffd5c2b200) at widgets/qabstractbutton.cpp:1121
#55 0x00007fc6904a9723 in sipQPushButton::mouseReleaseEvent (this=0x48ffa80, a0=0x7fffd5c2b200) at sipQtGuipart9.cpp:13596
#56 0x00007fc6c5f14c9a in QWidget::event (this=0x48ffa80, event=0x7fffd5c2b200) at kernel/qwidget.cpp:8295
#57 0x00007fc6904af117 in event (a0=0x7fffd5c2b200, this=0x48ffa80) at sipQtGuipart9.cpp:13421
#58 sipQPushButton::event (this=0x48ffa80, a0=0x7fffd5c2b200) at sipQtGuipart9.cpp:13413
#59 0x00007fc6c5ec4424 in notify_helper (e=0x7fffd5c2b200, receiver=0x48ffa80, this=0x1b5c0e0) at kernel/qapplication.cpp:4486
#60 QApplicationPrivate::notify_helper (this=0x1b5c0e0, receiver=0x48ffa80, e=0x7fffd5c2b200) at kernel/qapplication.cpp:4458
#61 0x00007fc6c5ec9c6b in QApplication::notify (this=<optimized out>, receiver=0x48ffa80, e=0x7fffd5c2b200) at kernel/qapplication.cpp:4047
#62 0x00007fc6c6bd8126 in KApplication::notify (this=0x7fffd5c2db70, receiver=0x48ffa80, event=0x7fffd5c2b200) at ../../kdeui/kernel/kapplication.cpp:311
#63 0x00007fc6c524aafc in QCoreApplication::notifyInternal (this=0x7fffd5c2db70, receiver=0x48ffa80, event=0x7fffd5c2b200) at kernel/qcoreapplication.cpp:787
#64 0x00007fc6c5ec53f2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#65 QApplicationPrivate::sendMouseEvent (receiver=0x48ffa80, event=0x7fffd5c2b200, alienWidget=0x48ffa80, nativeWidget=0x4821110, buttonDown=0x48ffa80, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#66 0x00007fc6c5f44945 in QETWidget::translateMouseEvent (this=0x4821110, event=<optimized out>) at kernel/qapplication_x11.cpp:4568
#67 0x00007fc6c5f438be in QApplication::x11ProcessEvent (this=0x7fffd5c2db70, event=0x7fffd5c2ba20) at kernel/qapplication_x11.cpp:3690
#68 0x00007fc6c5f6c412 in x11EventSourceDispatch (s=0x1b5fbe0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#69 0x00007fc6c23cba5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#70 0x00007fc6c23cc258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#71 0x00007fc6c23cc429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007fc6c5275ed6 in QEventDispatcherGlib::processEvents (this=0x1b35a10, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#73 0x00007fc6c5f6c07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#74 0x00007fc6c5249cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#75 0x00007fc6c5249ef7 in QEventLoop::exec (this=0x7fffd5c2bdf0, flags=...) at kernel/qeventloop.cpp:201
#76 0x00007fc6c637b216 in QDialog::exec (this=0x4804520) at dialogs/qdialog.cpp:552
#77 0x00007fc690476390 in meth_QDialog_exec_ (sipSelf=<NewPrinterGUI(btnNPPDComments=<QPushButton at remote 0x48b8cb0>, label_18=<QLabel at remote 0x46d4c20>, label_19=<QLabel at remote 0x46d4dd0>, label_16=<QLabel at remote 0x48b75f0>, label_17=<QLabel at remote 0x46d4b90>, label_14=<QLabel at remote 0x46d44d0>, label_15=<QLabel at remote 0x46d4680>, label_12=<QLabel at remote 0x46d4170>, label_13=<QLabel at remote 0x46d4440>, label_10=<QLabel at remote 0x46d1f80>, label_11=<QLabel at remote 0x46d4050>, mainapp=<GUI(encoding=('en_US', 'UTF-8'), memberTabWidget=<QWidget at remote 0x46977a0>, mainListSelectedName=u'New Printer', servers=set(['/var/run/cups/cups.sock']), newPrinterItem=<QTreeWidgetItem at remote 0x48bd0e0>, connect_server='/var/run/cups/cups.sock', cups=<Connection(getNotifications=<function at remote 0x45deed8>, deletePrinterOptionDefault=<function at remote 0x45de9b0>, acceptJobs=<function at remote 0x4479f50>, adminSetServerSettings=<function at remote 0x45de578>, getDocument=<function at remote 0x45decf8>, adminGetServerSettings=<function at r...(truncated), sipArgs=<optimized out>) at /build/buildd/python-qt4-4.8.5/sip/QtGui/qdialog.sip:73
#78 0x00007fc691a336f5 in call_function (oparg=<optimized out>, pp_stack=0x7fffd5c2bf70) at ../Python/ceval.c:4021
#79 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2666
#80 0x00007fc691a34064 in fast_function (nk=<optimized out>, na=2, n=<optimized out>, pp_stack=0x7fffd5c2c0d0, func=<function at remote 0x4470578>) at ../Python/ceval.c:4107
#81 call_function (oparg=<optimized out>, pp_stack=0x7fffd5c2c0d0) at ../Python/ceval.c:4042
#82 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2666
#83 0x00007fc691a34f05 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=1, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3253
#84 0x00007fc6919b7a1c in function_call (func=<function at remote 0x4471b90>, arg=(<GUI(encoding=('en_US', 'UTF-8'), memberTabWidget=<QWidget at remote 0x46977a0>, mainListSelectedName=u'New Printer', servers=set(['/var/run/cups/cups.sock']), newPrinterItem=<QTreeWidgetItem at remote 0x48bd0e0>, connect_server='/var/run/cups/cups.sock', cups=<Connection(getNotifications=<function at remote 0x45deed8>, deletePrinterOptionDefault=<function at remote 0x45de9b0>, acceptJobs=<function at remote 0x4479f50>, adminSetServerSettings=<function at remote 0x45de578>, getDocument=<function at remote 0x45decf8>, adminGetServerSettings=<function at remote 0x45de500>, restartJob=<function at remote 0x46a56e0>, _cannot_auth=False, deletePrinter=<function at remote 0x45de8c0>, setPrinterInfo=<function at remote 0x46a5938>, setPrinterLocation=<function at remote 0x46a5a28>, getPPDs2=<function at remote 0x46a5140>, addPrinterOptionDefault=<function at remote 0x45de398>, addPrinterToClass=<function at remote 0x45de410>, _cancel=False, _operation_stack=[], _forbidden=False, putFile=<function at remote 0x46a5578...(truncated), kw=0x0) at ../Objects/funcobject.c:526
#85 0x00007fc69198f1f3 in PyObject_Call (func=<function at remote 0x4471b90>, arg=<optimized out>, kw=<optimized out>) at ../Objects/abstract.c:2529
#86 0x00007fc69199c94f in instancemethod_call (func=<function at remote 0x4471b90>, arg=(<GUI(encoding=('en_US', 'UTF-8'), memberTabWidget=<QWidget at remote 0x46977a0>, mainListSelectedName=u'New Printer', servers=set(['/var/run/cups/cups.sock']), newPrinterItem=<QTreeWidgetItem at remote 0x48bd0e0>, connect_server='/var/run/cups/cups.sock', cups=<Connection(getNotifications=<function at remote 0x45deed8>, deletePrinterOptionDefault=<function at remote 0x45de9b0>, acceptJobs=<function at remote 0x4479f50>, adminSetServerSettings=<function at remote 0x45de578>, getDocument=<function at remote 0x45decf8>, adminGetServerSettings=<function at remote 0x45de500>, restartJob=<function at remote 0x46a56e0>, _cannot_auth=False, deletePrinter=<function at remote 0x45de8c0>, setPrinterInfo=<function at remote 0x46a5938>, setPrinterLocation=<function at remote 0x46a5a28>, getPPDs2=<function at remote 0x46a5140>, addPrinterOptionDefault=<function at remote 0x45de398>, addPrinterToClass=<function at remote 0x45de410>, _cancel=False, _operation_stack=[], _forbidden=False, putFile=<function at remote 0x46a5578...(truncated), kw=0x0) at ../Objects/classobject.c:2578
#87 0x00007fc69198f1f3 in PyObject_Call (func=<instancemethod at remote 0x3907550>, arg=<optimized out>, kw=<optimized out>) at ../Objects/abstract.c:2529
#88 0x00007fc691a2d807 in PyEval_CallObjectWithKeywords (func=<instancemethod at remote 0x3907550>, arg=(), kw=<optimized out>) at ../Python/ceval.c:3890
#89 0x00007fc6908f0cc0 in sip_api_invoke_slot (slot=<optimized out>, sigargs=()) at /build/buildd/sip4-4.12.4/siplib/qtlib.c:203
#90 0x00007fc690c6df86 in PyQtProxy::invokeSlot(qpycore_slot const&, void**) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#91 0x00007fc690c6e068 in PyQtProxy::unislot(void**) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#92 0x00007fc690c6e122 in PyQtProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#93 0x00007fc6c525deba in QMetaObject::activate (sender=0x4633a60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd5c2c7a0) at kernel/qobject.cpp:3278
#94 0x00007fc6c6535582 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#95 0x00007fc6c627b13e in QAbstractButtonPrivate::emitClicked (this=<optimized out>) at widgets/qabstractbutton.cpp:546
#96 0x00007fc6c627c47b in QAbstractButtonPrivate::click (this=0x4633c70) at widgets/qabstractbutton.cpp:539
#97 0x00007fc6c627c6ec in QAbstractButton::mouseReleaseEvent (this=0x4633a60, e=0x7fffd5c2cf10) at widgets/qabstractbutton.cpp:1121
#98 0x00007fc68eef9ec3 in sipKPushButton::mouseReleaseEvent (this=0x4633a60, a0=0x7fffd5c2cf10) at sip/kdeui/sipkdeuipart3.cpp:26572
#99 0x00007fc6c5f14c9a in QWidget::event (this=0x4633a60, event=0x7fffd5c2cf10) at kernel/qwidget.cpp:8295
#100 0x00007fc68ef078db in event (a0=0x7fffd5c2cf10, this=0x4633a60) at sip/kdeui/sipkdeuipart3.cpp:26433
#101 sipKPushButton::event (this=0x4633a60, a0=0x7fffd5c2cf10) at sip/kdeui/sipkdeuipart3.cpp:26425
#102 0x00007fc6c5ec4424 in notify_helper (e=0x7fffd5c2cf10, receiver=0x4633a60, this=0x1b5c0e0) at kernel/qapplication.cpp:4486
#103 QApplicationPrivate::notify_helper (this=0x1b5c0e0, receiver=0x4633a60, e=0x7fffd5c2cf10) at kernel/qapplication.cpp:4458
#104 0x00007fc6c5ec9c6b in QApplication::notify (this=<optimized out>, receiver=0x4633a60, e=0x7fffd5c2cf10) at kernel/qapplication.cpp:4047
#105 0x00007fc6c6bd8126 in KApplication::notify (this=0x7fffd5c2db70, receiver=0x4633a60, event=0x7fffd5c2cf10) at ../../kdeui/kernel/kapplication.cpp:311
#106 0x00007fc6c524aafc in QCoreApplication::notifyInternal (this=0x7fffd5c2db70, receiver=0x4633a60, event=0x7fffd5c2cf10) at kernel/qcoreapplication.cpp:787
#107 0x00007fc6c5ec53f2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#108 QApplicationPrivate::sendMouseEvent (receiver=0x4633a60, event=0x7fffd5c2cf10, alienWidget=0x4633a60, nativeWidget=0x1cafd20, buttonDown=0x4633a60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#109 0x00007fc6c5f44945 in QETWidget::translateMouseEvent (this=0x1cafd20, event=<optimized out>) at kernel/qapplication_x11.cpp:4568
#110 0x00007fc6c5f438be in QApplication::x11ProcessEvent (this=0x7fffd5c2db70, event=0x7fffd5c2d730) at kernel/qapplication_x11.cpp:3690
#111 0x00007fc6c5f6c412 in x11EventSourceDispatch (s=0x1b5fbe0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#112 0x00007fc6c23cba5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#113 0x00007fc6c23cc258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#114 0x00007fc6c23cc429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#115 0x00007fc6c5275ed6 in QEventDispatcherGlib::processEvents (this=0x1b35a10, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#116 0x00007fc6c5f6c07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#117 0x00007fc6c5249cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#118 0x00007fc6c5249ef7 in QEventLoop::exec (this=0x7fffd5c2db00, flags=...) at kernel/qeventloop.cpp:201
#119 0x00007fc6c524e789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#120 0x000000000040a7c5 in main (argc=3, argv=0x7fffd5c2de38) at ../../../systemsettings/app/main.cpp:49

Possible duplicates by query: bug 285887, bug 285766, bug 285760, bug 285627, bug 285533.

Reported using DrKonqi
Comment 1 Hannes Gruber 2011-11-07 12:48:24 UTC
Created attachment 65340 [details]
New crash information added by DrKonqi

kcmshell4 () on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed:

- Open Printer Setup dialog
- Press New Printer button, (takes 5-10 seconds before showing the New Printer
dialog)
- Select "Windows Printer Via SAMBA"
- enter IP-Adress of the Server, click on Search --> Crash
-- or:
-enter IP-Adress/printername,
- enter Username and Password (the same if I enter the right or wrong Password)
- click: Submit
- (wrong Password) error message: "Dieser Freigegebene Drucker ist nicht erreichbar" "This shared Printer is not
- (right Password) success message: "Printer is accessable"
- click OK
--> Crash (this variant is the one corresponding to that crash report)

If I do not check for conectivity, I can finishc the setup rozess, and the Printer gets installed.
I can click on print testpage, the Testpage will be printed, but the Printer setup crashes again.

-- Backtrace (Reduced):
#7  0xb3af29fa in wait_for_thread_shutdown () at ../Python/pythonrun.c:1689
#8  Py_Finalize () at ../Python/pythonrun.c:401
#9  Py_Finalize () at ../Python/pythonrun.c:393
#10 0xb3cd5f75 in KPythonPluginFactory::~KPythonPluginFactory (this=0x83676b8, __in_chrg=<optimized out>) at ../../kpythonpluginfactory/kpythonpluginfactory.cpp:262
#11 0xb3cd6002 in KPythonPluginFactory::~KPythonPluginFactory (this=0x83676b8, __in_chrg=<optimized out>) at ../../kpythonpluginfactory/kpythonpluginfactory.cpp:268
Comment 2 Christoph Feck 2011-11-07 20:52:40 UTC

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