Bug 284650 - KDE System Settings Crash when Adding Printer PPD
Summary: KDE System Settings Crash when Adding Printer PPD
Status: RESOLVED DUPLICATE of bug 283611
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 1.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: System Settings Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-21 22:01 UTC by djbulfer
Modified: 2011-10-22 00:35 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description djbulfer 2011-10-21 22:01:40 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.7.1 (4.7.1)
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:
Manually selecting printer PPD for DYMO LabelWriter Twin Turbo.  KDE System Settings crashes every time as soon as I select the PPD file.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7fb6d3551700 (LWP 31764)):
#0  timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fb6d3550c3c) at kernel/qeventdispatcher_glib.cpp:139
#1  0x00007fb6e6e564f5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#2  0x00007fb6e3fadff2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb6e3faedfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb6e3faf429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb6e6e56f3e in QEventDispatcherGlib::processEvents (this=0x1c5ee10, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007fb6e6e2acf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fb6e6e2aef7 in QEventLoop::exec (this=0x7fb6d3550dd0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007fb6e6d4227f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#9  0x00007fb6e6e0dcbf in QInotifyFileSystemWatcherEngine::run (this=0x1c5a080) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fb6e6d44d05 in QThreadPrivate::start (arg=0x1c5a080) at thread/qthread_unix.cpp:331
#11 0x00007fb6e4480efc in start_thread (arg=0x7fb6d3551700) at pthread_create.c:304
#12 0x00007fb6e66fa89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb6c14d2700 (LWP 31850)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fb6c14d1af0 in ?? ()
#2  0x00007fff117ff7e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7fb6e9224780 (LWP 31763)):
[KCrash Handler]
#6  0x00007fb6d276b9c2 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  0x00007fb6d2b4b9e5 in KPythonPluginFactory::~KPythonPluginFactory (this=0x1da6020, __in_chrg=<optimized out>) at ../../kpythonpluginfactory/kpythonpluginfactory.cpp:262
#10 0x00007fb6d2b4ba49 in KPythonPluginFactory::~KPythonPluginFactory (this=0x1da6020, __in_chrg=<optimized out>) at ../../kpythonpluginfactory/kpythonpluginfactory.cpp:268
#11 0x00007fb6e6e44926 in QObjectCleanupHandler::clear (this=0x1a1a2f0) at kernel/qobjectcleanuphandler.cpp:140
#12 0x00007fb6e6e4496b in QObjectCleanupHandler::~QObjectCleanupHandler (this=0x1a1a2f0, __in_chrg=<optimized out>) at kernel/qobjectcleanuphandler.cpp:86
#13 0x00007fb6e6e449b9 in QObjectCleanupHandler::~QObjectCleanupHandler (this=0x1a1a2f0, __in_chrg=<optimized out>) at kernel/qobjectcleanuphandler.cpp:87
#14 0x00007fb6e6654821 in __run_exit_handlers (status=1, listp=0x7fb6e69b15a8, run_list_atexit=true) at exit.c:78
#15 0x00007fb6e66548a5 in __GI_exit (status=<optimized out>) at exit.c:100
#16 0x00007fb6c7421b9e in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#17 0x00007fb6e5a5506f in _XError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#18 0x00007fb6e5a51e21 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#19 0x00007fb6e5a52d77 in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#20 0x00007fb6e5a3734b in XGetWindowProperty () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#21 0x00007fb6e88fb92b in NETWinInfo::update (this=0x7fff117871a0, dirty_props=<optimized out>) at ../../kdeui/windowmanagement/netwm.cpp:3962
#22 0x00007fb6e88fd0f6 in NETWinInfo::event (this=0x7fff117871a0, event=0x7fff11787250, properties=0x7fff11787170, properties_size=2) at ../../kdeui/windowmanagement/netwm.cpp:3925
#23 0x00007fb6e88f21d8 in KWindowSystemPrivate::x11Event (this=0x1d8bc30, ev=0x7fff11787250) at ../../kdeui/windowmanagement/kwindowsystem_x11.cpp:198
#24 0x00007fb6e87e2206 in publicX11Event (e=0x7fff11787250, this=<optimized out>) at ../../kdeui/kernel/ksystemeventfilter.cpp:43
#25 KSystemEventFilterPrivate::filterEvent (this=0x1adf500, message=0x7fff11787250) at ../../kdeui/kernel/ksystemeventfilter.cpp:102
#26 0x00007fb6e7b4d388 in x11EventSourceDispatch (s=0x168bdb0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:143
#27 0x00007fb6e3faea5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fb6e3faf258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fb6e3faf429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fb6e6e56ed6 in QEventDispatcherGlib::processEvents (this=0x1661a10, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007fb6e7b4d07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007fb6e6e2acf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007fb6e6e2aef7 in QEventLoop::exec (this=0x7fff11787620, flags=...) at kernel/qeventloop.cpp:201
#34 0x00007fb6e7f5c216 in QDialog::exec (this=0x305ad10) at dialogs/qdialog.cpp:552
#35 0x00007fb6d10c8390 in meth_QDialog_exec_ (sipSelf=<NewPrinterGUI(btnNPPDComments=<QPushButton at remote 0x310fd40>, label_18=<QLabel at remote 0x2f25cb0>, label_19=<QLabel at remote 0x2f25e60>, label_16=<QLabel at remote 0x310e680>, label_17=<QLabel at remote 0x2f25c20>, label_14=<QLabel at remote 0x2f25560>, label_15=<QLabel at remote 0x2f25710>, label_12=<QLabel at remote 0x2f25200>, label_13=<QLabel at remote 0x2f254d0>, label_10=<QLabel at remote 0x2f25050>, label_11=<QLabel at remote 0x2f250e0>, mainapp=<GUI(encoding=('en_US', 'UTF-8'), memberTabWidget=<QWidget at remote 0x2ee8830>, mainListSelectedName=u'New Printer', servers=set(['/var/run/cups/cups.sock']), newPrinterItem=<QTreeWidgetItem at remote 0x3112170>, connect_server='/var/run/cups/cups.sock', cups=<Connection(getNotifications=<function at remote 0x2e29ed8>, deletePrinterOptionDefault=<function at remote 0x2e299b0>, acceptJobs=<function at remote 0x2cc6f50>, adminSetServerSettings=<function at remote 0x2e29578>, getDocument=<function at remote 0x2e29cf8>, adminGetServerSettings=<function at r...(truncated), sipArgs=<optimized out>) at /build/buildd/python-qt4-4.8.5/sip/QtGui/qdialog.sip:73
#36 0x00007fb6d27466f5 in call_function (oparg=<optimized out>, pp_stack=0x7fff117877a0) at ../Python/ceval.c:4021
#37 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2666
#38 0x00007fb6d2747064 in fast_function (nk=<optimized out>, na=2, n=<optimized out>, pp_stack=0x7fff11787900, func=<function at remote 0x2cbe578>) at ../Python/ceval.c:4107
#39 call_function (oparg=<optimized out>, pp_stack=0x7fff11787900) at ../Python/ceval.c:4042
#40 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2666
#41 0x00007fb6d2747f05 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 0x00007fb6d26caa1c in function_call (func=<function at remote 0x2cbcb90>, arg=(<GUI(encoding=('en_US', 'UTF-8'), memberTabWidget=<QWidget at remote 0x2ee8830>, mainListSelectedName=u'New Printer', servers=set(['/var/run/cups/cups.sock']), newPrinterItem=<QTreeWidgetItem at remote 0x3112170>, connect_server='/var/run/cups/cups.sock', cups=<Connection(getNotifications=<function at remote 0x2e29ed8>, deletePrinterOptionDefault=<function at remote 0x2e299b0>, acceptJobs=<function at remote 0x2cc6f50>, adminSetServerSettings=<function at remote 0x2e29578>, getDocument=<function at remote 0x2e29cf8>, adminGetServerSettings=<function at remote 0x2e29500>, restartJob=<function at remote 0x2ef66e0>, _cannot_auth=False, deletePrinter=<function at remote 0x2e298c0>, setPrinterInfo=<function at remote 0x2ef6938>, setPrinterLocation=<function at remote 0x2ef6a28>, getPPDs2=<function at remote 0x2ef6140>, addPrinterOptionDefault=<function at remote 0x2e29398>, addPrinterToClass=<function at remote 0x2e29410>, _cancel=False, _operation_stack=[], _forbidden=False, putFile=<function at remote 0x2ef6578...(truncated), kw=0x0) at ../Objects/funcobject.c:526
#43 0x00007fb6d26a21f3 in PyObject_Call (func=<function at remote 0x2cbcb90>, arg=<optimized out>, kw=<optimized out>) at ../Objects/abstract.c:2529
#44 0x00007fb6d26af94f in instancemethod_call (func=<function at remote 0x2cbcb90>, arg=(<GUI(encoding=('en_US', 'UTF-8'), memberTabWidget=<QWidget at remote 0x2ee8830>, mainListSelectedName=u'New Printer', servers=set(['/var/run/cups/cups.sock']), newPrinterItem=<QTreeWidgetItem at remote 0x3112170>, connect_server='/var/run/cups/cups.sock', cups=<Connection(getNotifications=<function at remote 0x2e29ed8>, deletePrinterOptionDefault=<function at remote 0x2e299b0>, acceptJobs=<function at remote 0x2cc6f50>, adminSetServerSettings=<function at remote 0x2e29578>, getDocument=<function at remote 0x2e29cf8>, adminGetServerSettings=<function at remote 0x2e29500>, restartJob=<function at remote 0x2ef66e0>, _cannot_auth=False, deletePrinter=<function at remote 0x2e298c0>, setPrinterInfo=<function at remote 0x2ef6938>, setPrinterLocation=<function at remote 0x2ef6a28>, getPPDs2=<function at remote 0x2ef6140>, addPrinterOptionDefault=<function at remote 0x2e29398>, addPrinterToClass=<function at remote 0x2e29410>, _cancel=False, _operation_stack=[], _forbidden=False, putFile=<function at remote 0x2ef6578...(truncated), kw=0x0) at ../Objects/classobject.c:2578
#45 0x00007fb6d26a21f3 in PyObject_Call (func=<instancemethod at remote 0x20f75a0>, arg=<optimized out>, kw=<optimized out>) at ../Objects/abstract.c:2529
#46 0x00007fb6d2740807 in PyEval_CallObjectWithKeywords (func=<instancemethod at remote 0x20f75a0>, arg=(), kw=<optimized out>) at ../Python/ceval.c:3890
#47 0x00007fb6d1542cc0 in sip_api_invoke_slot (slot=<optimized out>, sigargs=()) at /build/buildd/sip4-4.12.4/siplib/qtlib.c:203
#48 0x00007fb6d18bff86 in PyQtProxy::invokeSlot(qpycore_slot const&, void**) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#49 0x00007fb6d18c0068 in PyQtProxy::unislot(void**) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#50 0x00007fb6d18c0122 in PyQtProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#51 0x00007fb6e6e3eeba in QMetaObject::activate (sender=0x2e7f170, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff11787fd0) at kernel/qobject.cpp:3278
#52 0x00007fb6e8116582 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#53 0x00007fb6e7e5c13e in QAbstractButtonPrivate::emitClicked (this=<optimized out>) at widgets/qabstractbutton.cpp:546
#54 0x00007fb6e7e5d47b in QAbstractButtonPrivate::click (this=0x2e7f380) at widgets/qabstractbutton.cpp:539
#55 0x00007fb6e7e5d6ec in QAbstractButton::mouseReleaseEvent (this=0x2e7f170, e=0x7fff11788740) at widgets/qabstractbutton.cpp:1121
#56 0x00007fb6cb9afec3 in sipKPushButton::mouseReleaseEvent (this=0x2e7f170, a0=0x7fff11788740) at sip/kdeui/sipkdeuipart3.cpp:26572
#57 0x00007fb6e7af5c9a in QWidget::event (this=0x2e7f170, event=0x7fff11788740) at kernel/qwidget.cpp:8295
#58 0x00007fb6cb9bd8db in event (a0=0x7fff11788740, this=0x2e7f170) at sip/kdeui/sipkdeuipart3.cpp:26433
#59 sipKPushButton::event (this=0x2e7f170, a0=0x7fff11788740) at sip/kdeui/sipkdeuipart3.cpp:26425
#60 0x00007fb6e7aa5424 in notify_helper (e=0x7fff11788740, receiver=0x2e7f170, this=0x1688310) at kernel/qapplication.cpp:4486
#61 QApplicationPrivate::notify_helper (this=0x1688310, receiver=0x2e7f170, e=0x7fff11788740) at kernel/qapplication.cpp:4458
#62 0x00007fb6e7aaac6b in QApplication::notify (this=<optimized out>, receiver=0x2e7f170, e=0x7fff11788740) at kernel/qapplication.cpp:4047
#63 0x00007fb6e87b91e6 in KApplication::notify (this=0x7fff117893a0, receiver=0x2e7f170, event=0x7fff11788740) at ../../kdeui/kernel/kapplication.cpp:311
#64 0x00007fb6e6e2bafc in QCoreApplication::notifyInternal (this=0x7fff117893a0, receiver=0x2e7f170, event=0x7fff11788740) at kernel/qcoreapplication.cpp:787
#65 0x00007fb6e7aa63f2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#66 QApplicationPrivate::sendMouseEvent (receiver=0x2e7f170, event=0x7fff11788740, alienWidget=0x2e7f170, nativeWidget=0x17d09a0, buttonDown=0x2e7f170, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#67 0x00007fb6e7b25945 in QETWidget::translateMouseEvent (this=0x17d09a0, event=<optimized out>) at kernel/qapplication_x11.cpp:4568
#68 0x00007fb6e7b248be in QApplication::x11ProcessEvent (this=0x7fff117893a0, event=0x7fff11788f60) at kernel/qapplication_x11.cpp:3690
#69 0x00007fb6e7b4d412 in x11EventSourceDispatch (s=0x168bdb0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#70 0x00007fb6e3faea5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#71 0x00007fb6e3faf258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007fb6e3faf429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#73 0x00007fb6e6e56ed6 in QEventDispatcherGlib::processEvents (this=0x1661a10, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#74 0x00007fb6e7b4d07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#75 0x00007fb6e6e2acf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#76 0x00007fb6e6e2aef7 in QEventLoop::exec (this=0x7fff11789330, flags=...) at kernel/qeventloop.cpp:201
#77 0x00007fb6e6e2f789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#78 0x000000000040a7c5 in main (argc=1, argv=0x7fff11789668) at ../../../systemsettings/app/main.cpp:49

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

Possible duplicates by query: bug 284012.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-10-22 00:35:47 UTC

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