Bug 285957

Summary: KDE control module crashes when installing printer with a PPD
Product: [Applications] systemsettings Reporter: luisrmonzon
Component: generalAssignee: System Settings Bugs <sourtooth+ssbugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description luisrmonzon 2011-11-07 06:06:09 UTC
Application: kcmshell4 ()
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:
KDE crashed while I attempted to install my Epson M1200 using a PPD. 

Crash can be replicated all the time. 

Installation always worked on previous versions of Kubuntu. Crash only happens with 11.10

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Control Module (kcmshell4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f43178e8780 (LWP 3036))]

Thread 3 (Thread 0x7f42f95bd700 (LWP 3076)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f42f95bcaf0 in ?? ()
#2  0x00007fffffffe7e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7f42f8bb8700 (LWP 3243)):
#0  0x00007f4312be5034 in __pthread_mutex_lock (mutex=0x56cf358) at pthread_mutex_lock.c:61
#1  0x00007f4311cbbf2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4311cbc429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4315e5ff3e in QEventDispatcherGlib::processEvents (this=0x56cf260, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f4315e33cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4315e33ef7 in QEventLoop::exec (this=0x7f42f8bb7dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f4315d4b27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f4315e16cbf in QInotifyFileSystemWatcherEngine::run (this=0x56cc7b0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4315d4dd05 in QThreadPrivate::start (arg=0x56cc7b0) at thread/qthread_unix.cpp:331
#9  0x00007f4312be2efc in start_thread (arg=0x7f42f8bb8700) at pthread_create.c:304
#10 0x00007f431723589d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f43178e8780 (LWP 3036)):
[KCrash Handler]
#6  0x00007f4307d819c2 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  0x00007f43081619e5 in KPythonPluginFactory::~KPythonPluginFactory (this=0x18663e0, __in_chrg=<optimized out>) at ../../kpythonpluginfactory/kpythonpluginfactory.cpp:262
#10 0x00007f4308161a49 in KPythonPluginFactory::~KPythonPluginFactory (this=0x18663e0, __in_chrg=<optimized out>) at ../../kpythonpluginfactory/kpythonpluginfactory.cpp:268
#11 0x00007f4315e4d926 in QObjectCleanupHandler::clear (this=0x1890170) at kernel/qobjectcleanuphandler.cpp:140
#12 0x00007f4315e4d96b in QObjectCleanupHandler::~QObjectCleanupHandler (this=0x1890170, __in_chrg=<optimized out>) at kernel/qobjectcleanuphandler.cpp:86
#13 0x00007f4315e4d9b9 in QObjectCleanupHandler::~QObjectCleanupHandler (this=0x1890170, __in_chrg=<optimized out>) at kernel/qobjectcleanuphandler.cpp:87
#14 0x00007f431718f821 in __run_exit_handlers (status=1, listp=0x7f43174ec5a8, run_list_atexit=true) at exit.c:78
#15 0x00007f431718f8a5 in __GI_exit (status=<optimized out>) at exit.c:100
#16 0x00007f4300a79b9e in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#17 0x00007f43145cb06f in _XError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#18 0x00007f43145c7e21 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#19 0x00007f43145c8d77 in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#20 0x00007f43145ad34b in XGetWindowProperty () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#21 0x00007f4316c2571b in NETWinInfo::update (this=0x7fffffe7f9b0, dirty_props=<optimized out>) at ../../kdeui/windowmanagement/netwm.cpp:3962
#22 0x00007f4316c26ee6 in NETWinInfo::event (this=0x7fffffe7f9b0, event=0x7fffffe7fa60, properties=0x7fffffe7f980, properties_size=2) at ../../kdeui/windowmanagement/netwm.cpp:3925
#23 0x00007f4316c1bfc8 in KWindowSystemPrivate::x11Event (this=0x5535d60, ev=0x7fffffe7fa60) at ../../kdeui/windowmanagement/kwindowsystem_x11.cpp:198
#24 0x00007f4316b0c0a6 in publicX11Event (e=0x7fffffe7fa60, this=<optimized out>) at ../../kdeui/kernel/ksystemeventfilter.cpp:43
#25 KSystemEventFilterPrivate::filterEvent (this=0x41381f0, message=0x7fffffe7fa60) at ../../kdeui/kernel/ksystemeventfilter.cpp:102
#26 0x00007f431528d388 in x11EventSourceDispatch (s=0x166ad00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:143
#27 0x00007f4311cbba5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f4311cbc258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f4311cbc429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f4315e5fed6 in QEventDispatcherGlib::processEvents (this=0x164ccd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007f431528d07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f4315e33cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f4315e33ef7 in QEventLoop::exec (this=0x7fffffe7fe30, flags=...) at kernel/qeventloop.cpp:201
#34 0x00007f431569c216 in QDialog::exec (this=0x2dfcda0) at dialogs/qdialog.cpp:552
#35 0x00007f430679f390 in meth_QDialog_exec_ (sipSelf=<NewPrinterGUI(btnNPPDComments=<QPushButton at remote 0x2ebccb0>, label_18=<QLabel at remote 0x2cd2c20>, label_19=<QLabel at remote 0x2cd2dd0>, label_16=<QLabel at remote 0x2cd35f0>, label_17=<QLabel at remote 0x2cd2b90>, label_14=<QLabel at remote 0x2cd24d0>, label_15=<QLabel at remote 0x2cd2680>, label_12=<QLabel at remote 0x2cd2170>, label_13=<QLabel at remote 0x2cd2440>, label_10=<QLabel at remote 0x2ccef80>, label_11=<QLabel at remote 0x2cd2050>, mainapp=<GUI(option_inputslot=<OptionPickOne(tab_label=<QLabel at remote 0x27eae60>, option=<cups.Option at remote 0x4b54d30>, ppd=<cups.PPD at remote 0x4e3e0c0>, gui=<...>, enabled=True, label=<QLabel at remote 0x4b59b00>, conflict_message='', conflicts=set([]), selector=<QComboBox at remote 0x4b59a70>, constraints=[<cups.Constraint at remote 0x4b51af0>, <cups.Constraint at remote 0x4b51b10>, <cups.Constraint at remote 0x4b51b30>, <cups.Constraint at remote 0x4b51b50>, <cups.Constraint at remote 0x4b51b70>, <cups.Constraint at remote 0x4b51b90>, <cups.Constrain...(truncated), sipArgs=<optimized out>) at /build/buildd/python-qt4-4.8.5/sip/QtGui/qdialog.sip:73
#36 0x00007f4307d5c6f5 in call_function (oparg=<optimized out>, pp_stack=0x7fffffe7ffb0) at ../Python/ceval.c:4021
#37 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2666
#38 0x00007f4307d5d064 in fast_function (nk=<optimized out>, na=2, n=<optimized out>, pp_stack=0x7fffffe80110, func=<function at remote 0x27da5f0>) at ../Python/ceval.c:4107
#39 call_function (oparg=<optimized out>, pp_stack=0x7fffffe80110) at ../Python/ceval.c:4042
#40 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2666
#41 0x00007f4307d5df05 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 0x00007f4307ce0a1c in function_call (func=<function at remote 0x27dbd70>, arg=(<GUI(option_inputslot=<OptionPickOne(tab_label=<QLabel at remote 0x27eae60>, option=<cups.Option at remote 0x4b54d30>, ppd=<cups.PPD at remote 0x4e3e0c0>, gui=<...>, enabled=True, label=<QLabel at remote 0x4b59b00>, conflict_message='', conflicts=set([]), selector=<QComboBox at remote 0x4b59a70>, constraints=[<cups.Constraint at remote 0x4b51af0>, <cups.Constraint at remote 0x4b51b10>, <cups.Constraint at remote 0x4b51b30>, <cups.Constraint at remote 0x4b51b50>, <cups.Constraint at remote 0x4b51b70>, <cups.Constraint at remote 0x4b51b90>, <cups.Constraint at remote 0x4b51bb0>, <cups.Constraint at remote 0x4b51bd0>, <cups.Constraint at remote 0x4b51bf0>, <cups.Constraint at remote 0x4b51c10>, <cups.Constraint at remote 0x4b51c30>, <cups.Constraint at remote 0x4b51c50>, <cups.Constraint at remote 0x4b51c70>, <cups.Constraint at remote 0x4b51c90>, <cups.Constraint at remote 0x4b51cb0>, <cups.Constraint at remote 0x4b51cd0>, <cups.Constraint at remote 0x4b51cf0>, <cups.Constraint at remote 0x4b51d10>, <cups.Cons...(truncated), kw=0x0) at ../Objects/funcobject.c:526
#43 0x00007f4307cb81f3 in PyObject_Call (func=<function at remote 0x27dbd70>, arg=<optimized out>, kw=<optimized out>) at ../Objects/abstract.c:2529
#44 0x00007f4307cc594f in instancemethod_call (func=<function at remote 0x27dbd70>, arg=(<GUI(option_inputslot=<OptionPickOne(tab_label=<QLabel at remote 0x27eae60>, option=<cups.Option at remote 0x4b54d30>, ppd=<cups.PPD at remote 0x4e3e0c0>, gui=<...>, enabled=True, label=<QLabel at remote 0x4b59b00>, conflict_message='', conflicts=set([]), selector=<QComboBox at remote 0x4b59a70>, constraints=[<cups.Constraint at remote 0x4b51af0>, <cups.Constraint at remote 0x4b51b10>, <cups.Constraint at remote 0x4b51b30>, <cups.Constraint at remote 0x4b51b50>, <cups.Constraint at remote 0x4b51b70>, <cups.Constraint at remote 0x4b51b90>, <cups.Constraint at remote 0x4b51bb0>, <cups.Constraint at remote 0x4b51bd0>, <cups.Constraint at remote 0x4b51bf0>, <cups.Constraint at remote 0x4b51c10>, <cups.Constraint at remote 0x4b51c30>, <cups.Constraint at remote 0x4b51c50>, <cups.Constraint at remote 0x4b51c70>, <cups.Constraint at remote 0x4b51c90>, <cups.Constraint at remote 0x4b51cb0>, <cups.Constraint at remote 0x4b51cd0>, <cups.Constraint at remote 0x4b51cf0>, <cups.Constraint at remote 0x4b51d10>, <cups.Cons...(truncated), kw=0x0) at ../Objects/classobject.c:2578
#45 0x00007f4307cb81f3 in PyObject_Call (func=<instancemethod at remote 0x1cc35a0>, arg=<optimized out>, kw=<optimized out>) at ../Objects/abstract.c:2529
#46 0x00007f4307d56807 in PyEval_CallObjectWithKeywords (func=<instancemethod at remote 0x1cc35a0>, arg=(), kw=<optimized out>) at ../Python/ceval.c:3890
#47 0x00007f4306c19cc0 in sip_api_invoke_slot (slot=<optimized out>, sigargs=()) at /build/buildd/sip4-4.12.4/siplib/qtlib.c:203
#48 0x00007f4306f96f86 in PyQtProxy::invokeSlot(qpycore_slot const&, void**) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#49 0x00007f4306f97068 in PyQtProxy::unislot(void**) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#50 0x00007f4306f97122 in PyQtProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#51 0x00007f4315e47eba in QMetaObject::activate (sender=0x2b081c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffffe807e0) at kernel/qobject.cpp:3278
#52 0x00007f4315856582 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#53 0x00007f431559c13e in QAbstractButtonPrivate::emitClicked (this=<optimized out>) at widgets/qabstractbutton.cpp:546
#54 0x00007f431559d47b in QAbstractButtonPrivate::click (this=0x2b08240) at widgets/qabstractbutton.cpp:539
#55 0x00007f431559d6ec in QAbstractButton::mouseReleaseEvent (this=0x2b081c0, e=0x7fffffe80f50) at widgets/qabstractbutton.cpp:1121
#56 0x00007f4305222ec3 in sipKPushButton::mouseReleaseEvent (this=0x2b081c0, a0=0x7fffffe80f50) at sip/kdeui/sipkdeuipart3.cpp:26572
#57 0x00007f4315235c9a in QWidget::event (this=0x2b081c0, event=0x7fffffe80f50) at kernel/qwidget.cpp:8295
#58 0x00007f43052308db in event (a0=0x7fffffe80f50, this=0x2b081c0) at sip/kdeui/sipkdeuipart3.cpp:26433
#59 sipKPushButton::event (this=0x2b081c0, a0=0x7fffffe80f50) at sip/kdeui/sipkdeuipart3.cpp:26425
#60 0x00007f43151e5424 in notify_helper (e=0x7fffffe80f50, receiver=0x2b081c0, this=0x1670bc0) at kernel/qapplication.cpp:4486
#61 QApplicationPrivate::notify_helper (this=0x1670bc0, receiver=0x2b081c0, e=0x7fffffe80f50) at kernel/qapplication.cpp:4458
#62 0x00007f43151eac6b in QApplication::notify (this=<optimized out>, receiver=0x2b081c0, e=0x7fffffe80f50) at kernel/qapplication.cpp:4047
#63 0x00007f4316ae3126 in KApplication::notify (this=0x7fffffe81bf0, receiver=0x2b081c0, event=0x7fffffe80f50) at ../../kdeui/kernel/kapplication.cpp:311
#64 0x00007f4315e34afc in QCoreApplication::notifyInternal (this=0x7fffffe81bf0, receiver=0x2b081c0, event=0x7fffffe80f50) at kernel/qcoreapplication.cpp:787
#65 0x00007f43151e63f2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#66 QApplicationPrivate::sendMouseEvent (receiver=0x2b081c0, event=0x7fffffe80f50, alienWidget=0x2b081c0, nativeWidget=0x1837530, buttonDown=0x2b081c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#67 0x00007f4315265945 in QETWidget::translateMouseEvent (this=0x1837530, event=<optimized out>) at kernel/qapplication_x11.cpp:4568
#68 0x00007f43152648be in QApplication::x11ProcessEvent (this=0x7fffffe81bf0, event=0x7fffffe81770) at kernel/qapplication_x11.cpp:3690
#69 0x00007f431528d412 in x11EventSourceDispatch (s=0x166ad00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#70 0x00007f4311cbba5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#71 0x00007f4311cbc258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007f4311cbc429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#73 0x00007f4315e5fed6 in QEventDispatcherGlib::processEvents (this=0x164ccd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#74 0x00007f431528d07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#75 0x00007f4315e33cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#76 0x00007f4315e33ef7 in QEventLoop::exec (this=0x7fffffe81b40, flags=...) at kernel/qeventloop.cpp:201
#77 0x00007f431569c216 in QDialog::exec (this=0x1837530) at dialogs/qdialog.cpp:552
#78 0x00007f43174fac6c in kdemain (_argc=<optimized out>, _argv=<optimized out>) at ../../kcmshell/main.cpp:292
#79 0x00007f431717530d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=2, ubp_av=0x7fffffe82408, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffe823f8) at libc-start.c:226
#80 0x0000000000400671 in _start ()

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

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

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

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