Bug 284918

Summary: crash adding a wifi printer (cnijnet)
Product: [Applications] systemsettings Reporter: jfgregoire
Component: generalAssignee: System Settings Bugs <sourtooth+ssbugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 1.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description jfgregoire 2011-10-25 08:26:01 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-13-generic x86_64
Distribution: Ubuntu 11.10

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

I added a wifi shared printer , giving it the URI I got from another laptop on the same wifi network (cnijnet:/00-1E-8F-5D-C3-86); I used a ppd file existing in the system (canon pixma mp550)

-- Backtrace:
Application: Configuration du système (systemsettings), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fc4833a2780 (LWP 2111))]

Thread 2 (Thread 0x7fc46d945700 (LWP 2112)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fc46d944af0 in ?? ()
#2  0x00007fffcc7317e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7fc4833a2780 (LWP 2111)):
[KCrash Handler]
#6  0x00007fc46cb5f9c2 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  0x00007fc46cf3f9e5 in KPythonPluginFactory::~KPythonPluginFactory (this=0x22afa60, __in_chrg=<optimized out>) at ../../kpythonpluginfactory/kpythonpluginfactory.cpp:262
#10 0x00007fc46cf3fa49 in KPythonPluginFactory::~KPythonPluginFactory (this=0x22afa60, __in_chrg=<optimized out>) at ../../kpythonpluginfactory/kpythonpluginfactory.cpp:268
#11 0x00007fc480fb9926 in QObjectCleanupHandler::clear (this=0x22e8b20) at kernel/qobjectcleanuphandler.cpp:140
#12 0x00007fc480fb996b in QObjectCleanupHandler::~QObjectCleanupHandler (this=0x22e8b20, __in_chrg=<optimized out>) at kernel/qobjectcleanuphandler.cpp:86
#13 0x00007fc480fb99b9 in QObjectCleanupHandler::~QObjectCleanupHandler (this=0x22e8b20, __in_chrg=<optimized out>) at kernel/qobjectcleanuphandler.cpp:87
#14 0x00007fc4807c9821 in __run_exit_handlers (status=1, listp=0x7fc480b265a8, run_list_atexit=true) at exit.c:78
#15 0x00007fc4807c98a5 in __GI_exit (status=<optimized out>) at exit.c:100
#16 0x00007fc461834b9e in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#17 0x00007fc47fbc806f in _XError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#18 0x00007fc47fbc4e21 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#19 0x00007fc47fbc5d77 in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#20 0x00007fc47fbaa34b in XGetWindowProperty () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#21 0x00007fc482a7071b in NETWinInfo::update (this=0x7fffcc723220, dirty_props=<optimized out>) at ../../kdeui/windowmanagement/netwm.cpp:3962
#22 0x00007fc482a71ee6 in NETWinInfo::event (this=0x7fffcc723220, event=0x7fffcc7232d0, properties=0x7fffcc7231f0, properties_size=2) at ../../kdeui/windowmanagement/netwm.cpp:3925
#23 0x00007fc482a66fc8 in KWindowSystemPrivate::x11Event (this=0x2734110, ev=0x7fffcc7232d0) at ../../kdeui/windowmanagement/kwindowsystem_x11.cpp:198
#24 0x00007fc4829570a6 in publicX11Event (e=0x7fffcc7232d0, this=<optimized out>) at ../../kdeui/kernel/ksystemeventfilter.cpp:43
#25 KSystemEventFilterPrivate::filterEvent (this=0x272f520, message=0x7fffcc7232d0) at ../../kdeui/kernel/ksystemeventfilter.cpp:102
#26 0x00007fc481cc2388 in x11EventSourceDispatch (s=0x1f83bc0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:143
#27 0x00007fc47e121a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fc47e122258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fc47e122429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fc480fcbed6 in QEventDispatcherGlib::processEvents (this=0x1f57a10, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007fc481cc207e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007fc480f9fcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007fc480f9fef7 in QEventLoop::exec (this=0x7fffcc7236a0, flags=...) at kernel/qeventloop.cpp:201
#34 0x00007fc4820d1216 in QDialog::exec (this=0x397ffd0) at dialogs/qdialog.cpp:552
#35 0x00007fc46733f390 in meth_QDialog_exec_ (sipSelf=<NewPrinterGUI(btnNPPDComments=<QPushButton at remote 0x3a11d40>, label_18=<QLabel at remote 0x3845cb0>, label_19=<QLabel at remote 0x3845e60>, label_16=<QLabel at remote 0x3a10680>, label_17=<QLabel at remote 0x3845c20>, label_14=<QLabel at remote 0x3845560>, label_15=<QLabel at remote 0x3845710>, label_12=<QLabel at remote 0x3845200>, label_13=<QLabel at remote 0x38454d0>, label_10=<QLabel at remote 0x3845050>, label_11=<QLabel at remote 0x38450e0>, mainapp=<GUI(encoding=('fr_FR', 'UTF-8'), memberTabWidget=<QWidget at remote 0x3808830>, mainListSelectedName=u'Nouvelle imprimante', servers=set(['/var/run/cups/cups.sock']), newPrinterItem=<QTreeWidgetItem at remote 0x3a14170>, connect_server='/var/run/cups/cups.sock', cups=<Connection(getNotifications=<function at remote 0x3749ed8>, deletePrinterOptionDefault=<function at remote 0x37499b0>, acceptJobs=<function at remote 0x35e6f50>, adminSetServerSettings=<function at remote 0x3749578>, getDocument=<function at remote 0x3749cf8>, adminGetServerSettings=<funct...(truncated), sipArgs=<optimized out>) at /build/buildd/python-qt4-4.8.5/sip/QtGui/qdialog.sip:73
#36 0x00007fc46cb3a6f5 in call_function (oparg=<optimized out>, pp_stack=0x7fffcc723820) at ../Python/ceval.c:4021
#37 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2666
#38 0x00007fc46cb3b064 in fast_function (nk=<optimized out>, na=2, n=<optimized out>, pp_stack=0x7fffcc723980, func=<function at remote 0x35db578>) at ../Python/ceval.c:4107
#39 call_function (oparg=<optimized out>, pp_stack=0x7fffcc723980) at ../Python/ceval.c:4042
#40 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2666
#41 0x00007fc46cb3bf05 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
#42 0x00007fc46cabea1c in function_call (func=<function at remote 0x35d8b90>, arg=(<GUI(encoding=('fr_FR', 'UTF-8'), memberTabWidget=<QWidget at remote 0x3808830>, mainListSelectedName=u'Nouvelle imprimante', servers=set(['/var/run/cups/cups.sock']), newPrinterItem=<QTreeWidgetItem at remote 0x3a14170>, connect_server='/var/run/cups/cups.sock', cups=<Connection(getNotifications=<function at remote 0x3749ed8>, deletePrinterOptionDefault=<function at remote 0x37499b0>, acceptJobs=<function at remote 0x35e6f50>, adminSetServerSettings=<function at remote 0x3749578>, getDocument=<function at remote 0x3749cf8>, adminGetServerSettings=<function at remote 0x3749500>, restartJob=<function at remote 0x38166e0>, _cannot_auth=False, deletePrinter=<function at remote 0x37498c0>, setPrinterInfo=<function at remote 0x3816938>, setPrinterLocation=<function at remote 0x3816a28>, getPPDs2=<function at remote 0x3816140>, addPrinterOptionDefault=<function at remote 0x3749398>, addPrinterToClass=<function at remote 0x3749410>, _cancel=False, _operation_stack=[], _forbidden=False, putFile=<function at remote 0...(truncated), kw=0x0) at ../Objects/funcobject.c:526
#43 0x00007fc46ca961f3 in PyObject_Call (func=<function at remote 0x35d8b90>, arg=<optimized out>, kw=<optimized out>) at ../Objects/abstract.c:2529
#44 0x00007fc46caa394f in instancemethod_call (func=<function at remote 0x35d8b90>, arg=(<GUI(encoding=('fr_FR', 'UTF-8'), memberTabWidget=<QWidget at remote 0x3808830>, mainListSelectedName=u'Nouvelle imprimante', servers=set(['/var/run/cups/cups.sock']), newPrinterItem=<QTreeWidgetItem at remote 0x3a14170>, connect_server='/var/run/cups/cups.sock', cups=<Connection(getNotifications=<function at remote 0x3749ed8>, deletePrinterOptionDefault=<function at remote 0x37499b0>, acceptJobs=<function at remote 0x35e6f50>, adminSetServerSettings=<function at remote 0x3749578>, getDocument=<function at remote 0x3749cf8>, adminGetServerSettings=<function at remote 0x3749500>, restartJob=<function at remote 0x38166e0>, _cannot_auth=False, deletePrinter=<function at remote 0x37498c0>, setPrinterInfo=<function at remote 0x3816938>, setPrinterLocation=<function at remote 0x3816a28>, getPPDs2=<function at remote 0x3816140>, addPrinterOptionDefault=<function at remote 0x3749398>, addPrinterToClass=<function at remote 0x3749410>, _cancel=False, _operation_stack=[], _forbidden=False, putFile=<function at remote 0...(truncated), kw=0x0) at ../Objects/classobject.c:2578
#45 0x00007fc46ca961f3 in PyObject_Call (func=<instancemethod at remote 0x2ac1550>, arg=<optimized out>, kw=<optimized out>) at ../Objects/abstract.c:2529
#46 0x00007fc46cb34807 in PyEval_CallObjectWithKeywords (func=<instancemethod at remote 0x2ac1550>, arg=(), kw=<optimized out>) at ../Python/ceval.c:3890
#47 0x00007fc4677b9cc0 in sip_api_invoke_slot (slot=<optimized out>, sigargs=()) at /build/buildd/sip4-4.12.4/siplib/qtlib.c:203
#48 0x00007fc467b36f86 in PyQtProxy::invokeSlot(qpycore_slot const&, void**) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#49 0x00007fc467b37068 in PyQtProxy::unislot(void**) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#50 0x00007fc467b37122 in PyQtProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#51 0x00007fc480fb3eba in QMetaObject::activate (sender=0x379deb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffcc724050) at kernel/qobject.cpp:3278
#52 0x00007fc48228b582 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#53 0x00007fc481fd113e in QAbstractButtonPrivate::emitClicked (this=<optimized out>) at widgets/qabstractbutton.cpp:546
#54 0x00007fc481fd247b in QAbstractButtonPrivate::click (this=0x379e130) at widgets/qabstractbutton.cpp:539
#55 0x00007fc481fd26ec in QAbstractButton::mouseReleaseEvent (this=0x379deb0, e=0x7fffcc7247c0) at widgets/qabstractbutton.cpp:1121
#56 0x00007fc465dc2ec3 in sipKPushButton::mouseReleaseEvent (this=0x379deb0, a0=0x7fffcc7247c0) at sip/kdeui/sipkdeuipart3.cpp:26572
#57 0x00007fc481c6ac9a in QWidget::event (this=0x379deb0, event=0x7fffcc7247c0) at kernel/qwidget.cpp:8295
#58 0x00007fc465dd08db in event (a0=0x7fffcc7247c0, this=0x379deb0) at sip/kdeui/sipkdeuipart3.cpp:26433
#59 sipKPushButton::event (this=0x379deb0, a0=0x7fffcc7247c0) at sip/kdeui/sipkdeuipart3.cpp:26425
#60 0x00007fc481c1a424 in notify_helper (e=0x7fffcc7247c0, receiver=0x379deb0, this=0x1f801c0) at kernel/qapplication.cpp:4486
#61 QApplicationPrivate::notify_helper (this=0x1f801c0, receiver=0x379deb0, e=0x7fffcc7247c0) at kernel/qapplication.cpp:4458
#62 0x00007fc481c1fc6b in QApplication::notify (this=<optimized out>, receiver=0x379deb0, e=0x7fffcc7247c0) at kernel/qapplication.cpp:4047
#63 0x00007fc48292e126 in KApplication::notify (this=0x7fffcc725420, receiver=0x379deb0, event=0x7fffcc7247c0) at ../../kdeui/kernel/kapplication.cpp:311
#64 0x00007fc480fa0afc in QCoreApplication::notifyInternal (this=0x7fffcc725420, receiver=0x379deb0, event=0x7fffcc7247c0) at kernel/qcoreapplication.cpp:787
#65 0x00007fc481c1b3f2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#66 QApplicationPrivate::sendMouseEvent (receiver=0x379deb0, event=0x7fffcc7247c0, alienWidget=0x379deb0, nativeWidget=0x2107e30, buttonDown=0x379deb0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#67 0x00007fc481c9a945 in QETWidget::translateMouseEvent (this=0x2107e30, event=<optimized out>) at kernel/qapplication_x11.cpp:4568
#68 0x00007fc481c998be in QApplication::x11ProcessEvent (this=0x7fffcc725420, event=0x7fffcc724fe0) at kernel/qapplication_x11.cpp:3690
#69 0x00007fc481cc2412 in x11EventSourceDispatch (s=0x1f83bc0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#70 0x00007fc47e121a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#71 0x00007fc47e122258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007fc47e122429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#73 0x00007fc480fcbed6 in QEventDispatcherGlib::processEvents (this=0x1f57a10, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#74 0x00007fc481cc207e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#75 0x00007fc480f9fcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#76 0x00007fc480f9fef7 in QEventLoop::exec (this=0x7fffcc7253b0, flags=...) at kernel/qeventloop.cpp:201
#77 0x00007fc480fa4789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#78 0x000000000040a7c5 in main (argc=5, argv=0x7fffcc7256e8) at ../../../systemsettings/app/main.cpp:49

This bug may be a duplicate of or related to bug 283611.

Possible duplicates by query: bug 284691, bug 284650, bug 284012.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-10-25 09:22:14 UTC

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