Bug 285627

Summary: kde config crashes when adding printer ppd
Product: [Applications] systemsettings Reporter: Tom Braun <braun.tom>
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 Tom Braun 2011-11-03 09:54:55 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 my Oki B431dn network printer and then trying to set the PPD (see below) relyably chrashed the system-settings.

- Custom settings of the application:
I used the PPD downloaded from http://www.oki.co.uk/support/printer/printer-drivers/detail.aspx?prodid=tcm:122-107774&driverid=tcm:122-113452-16

The crash can be reproduced every time.

-- Backtrace:
Application: Systemeinstellungen (systemsettings), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ff1e4496780 (LWP 6842))]

Thread 3 (Thread 0x7ff1ce2ed700 (LWP 6843)):
#0  0x00007ff1df6f7034 in __pthread_mutex_lock (mutex=0x18a8758) at pthread_mutex_lock.c:61
#1  0x00007ff1df222023 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff1df222dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff1df223429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff1e20ccf3e in QEventDispatcherGlib::processEvents (this=0x18a86c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007ff1e20a0cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ff1e20a0ef7 in QEventLoop::exec (this=0x7ff1ce2ecdd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007ff1e1fb827f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007ff1e2083cbf in QInotifyFileSystemWatcherEngine::run (this=0x18a7c00) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007ff1e1fbad05 in QThreadPrivate::start (arg=0x18a7c00) at thread/qthread_unix.cpp:331
#10 0x00007ff1df6f4efc in start_thread (arg=0x7ff1ce2ed700) at pthread_create.c:304
#11 0x00007ff1e197089d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff1bd2ea700 (LWP 6981)):
#0  0x00007ff1e1964773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff1df222f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff1df223429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff1e20ccf3e in QEventDispatcherGlib::processEvents (this=0x3046370, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007ff1e20a0cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff1e20a0ef7 in QEventLoop::exec (this=0x7ff1bd2e9dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007ff1e1fb827f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007ff1e2083cbf in QInotifyFileSystemWatcherEngine::run (this=0x4dd6060) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ff1e1fbad05 in QThreadPrivate::start (arg=0x4dd6060) at thread/qthread_unix.cpp:331
#9  0x00007ff1df6f4efc in start_thread (arg=0x7ff1bd2ea700) at pthread_create.c:304
#10 0x00007ff1e197089d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff1e4496780 (LWP 6842)):
[KCrash Handler]
#6  0x00007ff1cd5079c2 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  0x00007ff1cd8e79e5 in KPythonPluginFactory::~KPythonPluginFactory (this=0x19e67d0, __in_chrg=<optimized out>) at ../../kpythonpluginfactory/kpythonpluginfactory.cpp:262
#10 0x00007ff1cd8e7a49 in KPythonPluginFactory::~KPythonPluginFactory (this=0x19e67d0, __in_chrg=<optimized out>) at ../../kpythonpluginfactory/kpythonpluginfactory.cpp:268
#11 0x00007ff1e20ba926 in QObjectCleanupHandler::clear (this=0x15f90e0) at kernel/qobjectcleanuphandler.cpp:140
#12 0x00007ff1e20ba96b in QObjectCleanupHandler::~QObjectCleanupHandler (this=0x15f90e0, __in_chrg=<optimized out>) at kernel/qobjectcleanuphandler.cpp:86
#13 0x00007ff1e20ba9b9 in QObjectCleanupHandler::~QObjectCleanupHandler (this=0x15f90e0, __in_chrg=<optimized out>) at kernel/qobjectcleanuphandler.cpp:87
#14 0x00007ff1e18ca821 in __run_exit_handlers (status=1, listp=0x7ff1e1c275a8, run_list_atexit=true) at exit.c:78
#15 0x00007ff1e18ca8a5 in __GI_exit (status=<optimized out>) at exit.c:100
#16 0x00007ff1c2297b9e in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#17 0x00007ff1e0cc906f in _XError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#18 0x00007ff1e0cc5e21 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#19 0x00007ff1e0cc6d77 in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#20 0x00007ff1e0cab34b in XGetWindowProperty () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#21 0x00007ff1e3b7171b in NETWinInfo::update (this=0x7fffa399d6f0, dirty_props=<optimized out>) at ../../kdeui/windowmanagement/netwm.cpp:3962
#22 0x00007ff1e3b72ee6 in NETWinInfo::event (this=0x7fffa399d6f0, event=0x7fffa399d7a0, properties=0x7fffa399d6c0, properties_size=2) at ../../kdeui/windowmanagement/netwm.cpp:3925
#23 0x00007ff1e3b67fc8 in KWindowSystemPrivate::x11Event (this=0x3f2b440, ev=0x7fffa399d7a0) at ../../kdeui/windowmanagement/kwindowsystem_x11.cpp:198
#24 0x00007ff1e3a580a6 in publicX11Event (e=0x7fffa399d7a0, this=<optimized out>) at ../../kdeui/kernel/ksystemeventfilter.cpp:43
#25 KSystemEventFilterPrivate::filterEvent (this=0x59f33e0, message=0x7fffa399d7a0) at ../../kdeui/kernel/ksystemeventfilter.cpp:102
#26 0x00007ff1e2dc3388 in x11EventSourceDispatch (s=0x128f870, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:143
#27 0x00007ff1df222a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007ff1df223258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ff1df223429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007ff1e20cced6 in QEventDispatcherGlib::processEvents (this=0x1265a10, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007ff1e2dc307e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007ff1e20a0cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007ff1e20a0ef7 in QEventLoop::exec (this=0x7fffa399db70, flags=...) at kernel/qeventloop.cpp:201
#34 0x00007ff1e31d2216 in QDialog::exec (this=0x2bca4b0) at dialogs/qdialog.cpp:552
#35 0x00007ff1c7b98390 in meth_QDialog_exec_ (sipSelf=<NewPrinterGUI(btnNPPDComments=<QPushButton at remote 0x2c8cd40>, label_18=<QLabel at remote 0x2a9ecb0>, label_19=<QLabel at remote 0x2a9ee60>, label_16=<QLabel at remote 0x2aa0680>, label_17=<QLabel at remote 0x2a9ec20>, label_14=<QLabel at remote 0x2a9e560>, label_15=<QLabel at remote 0x2a9e710>, label_12=<QLabel at remote 0x2a9e200>, label_13=<QLabel at remote 0x2a9e4d0>, label_10=<QLabel at remote 0x2a9e050>, label_11=<QLabel at remote 0x2a9e0e0>, mainapp=<GUI(option_inputslot=None, encoding=('de_DE', 'UTF-8'), memberTabWidget=<QWidget at remote 0x29b9830>, mainListSelectedName=u'Neuer Drucker', servers=set(['/var/run/cups/cups.sock', u'localhost']), newPrinterItem=<QTreeWidgetItem at remote 0x2c8f200>, removeJobOptionButtons={<QPushButton at remote 0x2ca9b00>: <OptionSelectOneNumber(supported=[4], name='print-quality', on_change=<instancemethod at remote 0x1d09640>, is_new=False, value=4, label=<QLabel at remote 0x2ca97a0>, selector=<QComboBox at remote 0x2ca9830>) at remote 0x2c949e0>, <QPushButton at r...(truncated), sipArgs=<optimized out>) at /build/buildd/python-qt4-4.8.5/sip/QtGui/qdialog.sip:73
#36 0x00007ff1cd4e26f5 in call_function (oparg=<optimized out>, pp_stack=0x7fffa399dcf0) at ../Python/ceval.c:4021
#37 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2666
#38 0x00007ff1cd4e3064 in fast_function (nk=<optimized out>, na=2, n=<optimized out>, pp_stack=0x7fffa399de50, func=<function at remote 0x2826578>) at ../Python/ceval.c:4107
#39 call_function (oparg=<optimized out>, pp_stack=0x7fffa399de50) at ../Python/ceval.c:4042
#40 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2666
#41 0x00007ff1cd4e3f05 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 0x00007ff1cd466a1c in function_call (func=<function at remote 0x2824b90>, arg=(<GUI(option_inputslot=None, encoding=('de_DE', 'UTF-8'), memberTabWidget=<QWidget at remote 0x29b9830>, mainListSelectedName=u'Neuer Drucker', servers=set(['/var/run/cups/cups.sock', u'localhost']), newPrinterItem=<QTreeWidgetItem at remote 0x2c8f200>, removeJobOptionButtons={<QPushButton at remote 0x2ca9b00>: <OptionSelectOneNumber(supported=[4], name='print-quality', on_change=<instancemethod at remote 0x1d09640>, is_new=False, value=4, label=<QLabel at remote 0x2ca97a0>, selector=<QComboBox at remote 0x2ca9830>) at remote 0x2c949e0>, <QPushButton at remote 0x2ca98c0>: <OptionSelectOne(supported=[u'monochrome'], name='output-mode', on_change=<instancemethod at remote 0x1d09690>, is_new=False, value=u'monochrome', label=<QLabel at remote 0x2c8f440>, selector=<QComboBox at remote 0x2c8f5f0>) at remote 0x2c94998>, <QPushButton at remote 0x2ca9950>: <OptionSelectOne(supported=[u'monochrome'], name='print-color-mode', on_change=<instancemethod at remote 0x1d09730>, is_new=False, value=u'monochrome', label=<QLab...(truncated), kw=0x0) at ../Objects/funcobject.c:526
#43 0x00007ff1cd43e1f3 in PyObject_Call (func=<function at remote 0x2824b90>, arg=<optimized out>, kw=<optimized out>) at ../Objects/abstract.c:2529
#44 0x00007ff1cd44b94f in instancemethod_call (func=<function at remote 0x2824b90>, arg=(<GUI(option_inputslot=None, encoding=('de_DE', 'UTF-8'), memberTabWidget=<QWidget at remote 0x29b9830>, mainListSelectedName=u'Neuer Drucker', servers=set(['/var/run/cups/cups.sock', u'localhost']), newPrinterItem=<QTreeWidgetItem at remote 0x2c8f200>, removeJobOptionButtons={<QPushButton at remote 0x2ca9b00>: <OptionSelectOneNumber(supported=[4], name='print-quality', on_change=<instancemethod at remote 0x1d09640>, is_new=False, value=4, label=<QLabel at remote 0x2ca97a0>, selector=<QComboBox at remote 0x2ca9830>) at remote 0x2c949e0>, <QPushButton at remote 0x2ca98c0>: <OptionSelectOne(supported=[u'monochrome'], name='output-mode', on_change=<instancemethod at remote 0x1d09690>, is_new=False, value=u'monochrome', label=<QLabel at remote 0x2c8f440>, selector=<QComboBox at remote 0x2c8f5f0>) at remote 0x2c94998>, <QPushButton at remote 0x2ca9950>: <OptionSelectOne(supported=[u'monochrome'], name='print-color-mode', on_change=<instancemethod at remote 0x1d09730>, is_new=False, value=u'monochrome', label=<QLab...(truncated), kw=0x0) at ../Objects/classobject.c:2578
#45 0x00007ff1cd43e1f3 in PyObject_Call (func=<instancemethod at remote 0x1d095a0>, arg=<optimized out>, kw=<optimized out>) at ../Objects/abstract.c:2529
#46 0x00007ff1cd4dc807 in PyEval_CallObjectWithKeywords (func=<instancemethod at remote 0x1d095a0>, arg=(), kw=<optimized out>) at ../Python/ceval.c:3890
#47 0x00007ff1cc2decc0 in sip_api_invoke_slot (slot=<optimized out>, sigargs=()) at /build/buildd/sip4-4.12.4/siplib/qtlib.c:203
#48 0x00007ff1cc65bf86 in PyQtProxy::invokeSlot(qpycore_slot const&, void**) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#49 0x00007ff1cc65c068 in PyQtProxy::unislot(void**) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#50 0x00007ff1cc65c122 in PyQtProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#51 0x00007ff1e20b4eba in QMetaObject::activate (sender=0x29e7d10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa399e520) at kernel/qobject.cpp:3278
#52 0x00007ff1e338c582 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#53 0x00007ff1e30d213e in QAbstractButtonPrivate::emitClicked (this=<optimized out>) at widgets/qabstractbutton.cpp:546
#54 0x00007ff1e30d347b in QAbstractButtonPrivate::click (this=0x29e7fc0) at widgets/qabstractbutton.cpp:539
#55 0x00007ff1e30d36ec in QAbstractButton::mouseReleaseEvent (this=0x29e7d10, e=0x7fffa399ec90) at widgets/qabstractbutton.cpp:1121
#56 0x00007ff1c6825ec3 in sipKPushButton::mouseReleaseEvent (this=0x29e7d10, a0=0x7fffa399ec90) at sip/kdeui/sipkdeuipart3.cpp:26572
#57 0x00007ff1e2d6bc9a in QWidget::event (this=0x29e7d10, event=0x7fffa399ec90) at kernel/qwidget.cpp:8295
#58 0x00007ff1c68338db in event (a0=0x7fffa399ec90, this=0x29e7d10) at sip/kdeui/sipkdeuipart3.cpp:26433
#59 sipKPushButton::event (this=0x29e7d10, a0=0x7fffa399ec90) at sip/kdeui/sipkdeuipart3.cpp:26425
#60 0x00007ff1e2d1b424 in notify_helper (e=0x7fffa399ec90, receiver=0x29e7d10, this=0x1298040) at kernel/qapplication.cpp:4486
#61 QApplicationPrivate::notify_helper (this=0x1298040, receiver=0x29e7d10, e=0x7fffa399ec90) at kernel/qapplication.cpp:4458
#62 0x00007ff1e2d20c6b in QApplication::notify (this=<optimized out>, receiver=0x29e7d10, e=0x7fffa399ec90) at kernel/qapplication.cpp:4047
#63 0x00007ff1e3a2f126 in KApplication::notify (this=0x7fffa399f8f0, receiver=0x29e7d10, event=0x7fffa399ec90) at ../../kdeui/kernel/kapplication.cpp:311
#64 0x00007ff1e20a1afc in QCoreApplication::notifyInternal (this=0x7fffa399f8f0, receiver=0x29e7d10, event=0x7fffa399ec90) at kernel/qcoreapplication.cpp:787
#65 0x00007ff1e2d1c3f2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#66 QApplicationPrivate::sendMouseEvent (receiver=0x29e7d10, event=0x7fffa399ec90, alienWidget=0x29e7d10, nativeWidget=0x13b88e0, buttonDown=0x29e7d10, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#67 0x00007ff1e2d9b945 in QETWidget::translateMouseEvent (this=0x13b88e0, event=<optimized out>) at kernel/qapplication_x11.cpp:4568
#68 0x00007ff1e2d9a8be in QApplication::x11ProcessEvent (this=0x7fffa399f8f0, event=0x7fffa399f4b0) at kernel/qapplication_x11.cpp:3690
#69 0x00007ff1e2dc3412 in x11EventSourceDispatch (s=0x128f870, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#70 0x00007ff1df222a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#71 0x00007ff1df223258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007ff1df223429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#73 0x00007ff1e20cced6 in QEventDispatcherGlib::processEvents (this=0x1265a10, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#74 0x00007ff1e2dc307e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#75 0x00007ff1e20a0cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#76 0x00007ff1e20a0ef7 in QEventLoop::exec (this=0x7fffa399f880, flags=...) at kernel/qeventloop.cpp:201
#77 0x00007ff1e20a5789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#78 0x000000000040a7c5 in main (argc=5, argv=0x7fffa399fbb8) at ../../../systemsettings/app/main.cpp:49

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

Possible duplicates by query: bug 285533, bug 285481, bug 285450, bug 285447, bug 285211.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-11-07 20:55:11 UTC

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