Bug 299562

Summary: Segmentation violation on i386 when printer-configuration selected
Product: [Unmaintained] system-config-printer-kde Reporter: poenikatu <poenikatu>
Component: generalAssignee: Jonathan Riddell <jr>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: cfeck, ddomenichelli
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description poenikatu 2012-05-07 15:08:18 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.1
Operating System: Linux 3.3-4.towo.2-siduction-686 i686
Distribution (Platform): Debian unstable

-- Information about the crash:
- What I was doing when the application crashed:
Starting the printer configuration option. Mozilla Firefox was running and two xterms.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
[KCrash Handler]
#7  createClassType (client=0xb0636740, ctd=0xb063e740, mod_dict=) at /tmp/buildd/sip4-4.13.2/siplib/siplib.c:5502
#8  0xb0e31c64 in sip_api_init_module (client=0xb0636740, mod_dict=) at /tmp/buildd/sip4-4.13.2/siplib/siplib.c:1418
#9  0xb04c5977 in initkdecore () from /usr/lib/python2.7/dist-packages/PyKDE4/kdecore.so
#10 0xb14a953c in _PyImport_LoadDynamicModule () from /usr/lib/libpython2.7.so.1.0
#11 0xb155f370 in load_module.39532 () from /usr/lib/libpython2.7.so.1.0
#12 0xb155f5d9 in import_submodule.39551 () from /usr/lib/libpython2.7.so.1.0
#13 0xb1545e59 in load_next.39556 () from /usr/lib/libpython2.7.so.1.0
#14 0xb155fc1e in import_module_level.isra.9 () from /usr/lib/libpython2.7.so.1.0
#15 0xb1559597 in PyImport_ImportModuleLevel () from /usr/lib/libpython2.7.so.1.0
#16 0xb146ae33 in builtin___import__ () from /usr/lib/libpython2.7.so.1.0
#17 0xb15712fd in PyCFunction_Call () from /usr/lib/libpython2.7.so.1.0
#18 0xb156fdd4 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#19 0xb15707bb in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.7.so.1.0
#20 0xb14b63b8 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#21 0xb146ec34 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#22 0xb146ef83 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
#23 0xb1470792 in PyImport_ExecCodeModuleEx () from /usr/lib/libpython2.7.so.1.0
#24 0xb155ee7c in load_source_module.39493 () from /usr/lib/libpython2.7.so.1.0
#25 0xb155f5d9 in import_submodule.39551 () from /usr/lib/libpython2.7.so.1.0
#26 0xb1545e59 in load_next.39556 () from /usr/lib/libpython2.7.so.1.0
#27 0xb155fbdd in import_module_level.isra.9 () from /usr/lib/libpython2.7.so.1.0
#28 0xb1559597 in PyImport_ImportModuleLevel () from /usr/lib/libpython2.7.so.1.0
#29 0xb146ae33 in builtin___import__ () from /usr/lib/libpython2.7.so.1.0
#30 0xb15712fd in PyCFunction_Call () from /usr/lib/libpython2.7.so.1.0
#31 0xb156fdd4 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#32 0xb1570a1f in call_function_tail () from /usr/lib/libpython2.7.so.1.0
#33 0xb150f2b0 in PyObject_CallFunction () from /usr/lib/libpython2.7.so.1.0
#34 0xb14a9c8f in PyImport_Import () from /usr/lib/libpython2.7.so.1.0
#35 0xb14aaff2 in PyImport_ImportModule () from /usr/lib/libpython2.7.so.1.0
#36 0xb1709a50 in ?? () from /usr/lib/kde4/kpythonpluginfactory.so
#37 0xb170ac31 in ?? () from /usr/lib/kde4/kpythonpluginfactory.so
#38 0xb77598e3 in create<KCModule> (parent=0x85d4858, this=0x85f5688, args=..., keyword=..., parentWidget=0x0) at ../../kdecore/util/kpluginfactory.h:531
#39 createInstance<KCModule> (error=0xbf8e2428, args=..., parent=0x85d4858, parentWidget=0x0, this=0x84f2a18) at ../../kdecore/services/kservice.h:553
#40 createInstance<KCModule> (error=0xbf8e2428, args=..., parent=0x85d4858, this=0x84f2a18) at ../../kdecore/services/kservice.h:530
#41 KCModuleLoader::loadModule (mod=..., report=KCModuleLoader::Inline, parent=0x85d4858, args=...) at ../../kutils/kcmoduleloader.cpp:89
#42 0xb775f209 in KCModuleProxyPrivate::loadModule (this=0x85d6da0) at ../../kutils/kcmoduleproxy.cpp:106
#43 0xb7760054 in KCModuleProxy::realModule (this=0x85d4858) at ../../kutils/kcmoduleproxy.cpp:83
#44 0xb77600a1 in KCModuleProxy::showEvent (this=0x85d4858, ev=0xbf8e2c10) at ../../kutils/kcmoduleproxy.cpp:197
#45 0xb6978728 in QWidget::event (this=0x85d4858, event=0xbf8e2c10) at kernel/qwidget.cpp:8569
#46 0xb691dfc4 in notify_helper (e=0xbf8e2c10, receiver=0x85d4858, this=0x82fdd68) at kernel/qapplication.cpp:4559
#47 QApplicationPrivate::notify_helper (this=0x82fdd68, receiver=0x85d4858, e=0xbf8e2c10) at kernel/qapplication.cpp:4531
#48 0xb692347a in QApplication::notify (this=0x82fdd68, receiver=0x85d4858, e=0xbf8e2c10) at kernel/qapplication.cpp:4524
#49 0xb74d8511 in KApplication::notify (this=0xbf8e4acc, receiver=0x85d4858, event=0xbf8e2c10) at ../../kdeui/kernel/kapplication.cpp:311
#50 0xb630d4de in QCoreApplication::notifyInternal (this=0xbf8e4acc, receiver=0x85d4858, event=0xbf8e2c10) at kernel/qcoreapplication.cpp:876
#51 0xb697b64d in sendEvent (event=0xbf8e2c10, receiver=0x85d4858) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#52 QWidgetPrivate::show_helper (this=0x85f2fd0) at kernel/qwidget.cpp:7542
#53 0xb697b324 in QWidgetPrivate::show_recursive (this=0x85f2fd0) at kernel/qwidget.cpp:7413
#54 0xb697b429 in QWidgetPrivate::showChildren (this=0x85d53d0, spontaneous=false) at kernel/qwidget.cpp:7850
#55 0xb697b540 in QWidgetPrivate::show_helper (this=0x85d53d0) at kernel/qwidget.cpp:7489
#56 0xb697b981 in QWidget::setVisible (this=0x85af1b8, visible=true) at kernel/qwidget.cpp:7764
#57 0xb697b4a8 in show (this=0x85af1b8) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:494
#58 QWidgetPrivate::showChildren (this=0x85af000, spontaneous=false) at kernel/qwidget.cpp:7852
#59 0xb697b540 in QWidgetPrivate::show_helper (this=0x85af000) at kernel/qwidget.cpp:7489
#60 0xb697b981 in QWidget::setVisible (this=0x850d608, visible=true) at kernel/qwidget.cpp:7764
#61 0xb69594cd in show (this=0x850d608) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:494
#62 QStackedLayout::setCurrentIndex (this=0x84dcef8, index=1) at kernel/qstackedlayout.cpp:311
#63 0xb695962f in QStackedLayout::setCurrentWidget (this=0x84dcef8, widget=0x850d608) at kernel/qstackedlayout.cpp:365
#64 0xb6dfe70e in QStackedWidget::setCurrentWidget (this=0x8507a38, widget=0x850d608) at widgets/qstackedwidget.cpp:292
#65 0xb750f83b in KPageViewPrivate::_k_pageSelected (this=0x8507640, index=..., previous=...) at ../../kdeui/paged/kpageview.cpp:235
#66 0xb750fa35 in KPageView::qt_metacall (this=0x8506f50, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf8e30b4) at ./kpageview.moc:100
#67 0xb7513aa2 in KPageWidget::qt_metacall (this=0x8506f50, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbf8e30b4) at ./kpagewidget.moc:76
#68 0xb63147ed in metacall (argv=0xbf8e30b4, idx=30, cl=QMetaObject::InvokeMetaMethod, object=0x8506f50) at kernel/qmetaobject.cpp:245
#69 QMetaObject::metacall (object=0x8506f50, cl=QMetaObject::InvokeMetaMethod, idx=30, argv=0xbf8e30b4) at kernel/qmetaobject.cpp:240
#70 0xb6324513 in QMetaObject::activate (sender=0x85c1a98, m=0xb72a3aa8, local_signal_index=0, argv=0xbf8e30b4) at kernel/qobject.cpp:3566
#71 0xb6f3039d in QItemSelectionModel::selectionChanged (this=0x85c1a98, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:166
#72 0xb6f365a5 in QItemSelectionModel::emitSelectionChanged (this=0x85c1a98, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1544
#73 0xb6f3761c in QItemSelectionModel::select (this=0x85c1a98, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#74 0xb6f324b6 in QItemSelectionModel::select (this=0x85c1a98, index=..., command=...) at itemviews/qitemselectionmodel.cpp:985
#75 0xb6f306c8 in QItemSelectionModel::setCurrentIndex (this=0x85c1a98, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1174
#76 0xb750e287 in KPageViewPrivate::_k_rebuildGui (this=0x8507640) at ../../kdeui/paged/kpageview.cpp:70
#77 0xb750f538 in KPageViewPrivate::_k_modelChanged (this=0x8507640) at ../../kdeui/paged/kpageview.cpp:190
#78 0xb750fa47 in KPageView::qt_metacall (this=0x8506f50, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf8e3480) at ./kpageview.moc:99
#79 0xb7513aa2 in KPageWidget::qt_metacall (this=0x8506f50, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbf8e3480) at ./kpagewidget.moc:76
#80 0xb63147ed in metacall (argv=0xbf8e3480, idx=29, cl=QMetaObject::InvokeMetaMethod, object=0x8506f50) at kernel/qmetaobject.cpp:245
#81 QMetaObject::metacall (object=0x8506f50, cl=QMetaObject::InvokeMetaMethod, idx=29, argv=0xbf8e3480) at kernel/qmetaobject.cpp:240
#82 0xb6324513 in QMetaObject::activate (sender=0x84edcf8, m=0xb646c298, local_signal_index=2, argv=0x0) at kernel/qobject.cpp:3566
#83 0xb6376245 in QAbstractItemModel::layoutChanged (this=0x84edcf8) at .moc/release-shared/moc_qabstractitemmodel.cpp:177
#84 0xb7515a3f in KPageWidgetModel::addPage (this=0x84edcf8, item=0x84ce108) at ../../kdeui/paged/kpagewidgetmodel.cpp:401
#85 0xb75136b9 in KPageWidget::addPage (this=0x8506f50, item=0x84ce108) at ../../kdeui/paged/kpagewidget.cpp:87
#86 0xb773d3c8 in ModuleView::addModule(KCModuleInfo*) () from /usr/lib/libsystemsettingsview.so.2
#87 0xb773d833 in ModuleView::loadModule(QModelIndex) () from /usr/lib/libsystemsettingsview.so.2
#88 0xb1ff7366 in ?? () from /usr/lib/kde4/icon_mode.so
#89 0xb1ff77ab in ?? () from /usr/lib/kde4/icon_mode.so
#90 0xb63147ed in metacall (argv=0xbf8e3808, idx=12, cl=QMetaObject::InvokeMetaMethod, object=0x84d4a70) at kernel/qmetaobject.cpp:245
#91 QMetaObject::metacall (object=0x84d4a70, cl=QMetaObject::InvokeMetaMethod, idx=12, argv=0xbf8e3808) at kernel/qmetaobject.cpp:240
#92 0xb6324513 in QMetaObject::activate (sender=0x82f9f58, m=0xb72a2dbc, local_signal_index=3, argv=0xbf8e3808) at kernel/qobject.cpp:3566
#93 0xb6ed1d55 in QAbstractItemView::activated (this=0x82f9f58, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:362
#94 0xb6ed2290 in QAbstractItemView::mouseReleaseEvent (this=0x82f9f58, event=0xbf8e4274) at itemviews/qabstractitemview.cpp:1821
#95 0xb6ef3c11 in QListView::mouseReleaseEvent (this=0x82f9f58, e=0xbf8e4274) at itemviews/qlistview.cpp:799
#96 0xb74a8574 in KCategorizedView::mouseReleaseEvent (this=0x82f9f58, event=0xbf8e4274) at ../../kdeui/itemviews/kcategorizedview.cpp:1060
#97 0xb69785e7 in QWidget::event (this=0x82f9f58, event=0xbf8e4274) at kernel/qwidget.cpp:8362
#98 0xb6d96a95 in QFrame::event (this=0x82f9f58, e=0xbf8e4274) at widgets/qframe.cpp:557
#99 0xb6e2a0c1 in QAbstractScrollArea::viewportEvent (this=0x82f9f58, e=0xbf8e4274) at widgets/qabstractscrollarea.cpp:1043
#100 0xb6ed041c in QAbstractItemView::viewportEvent (this=0x82f9f58, event=0xbf8e4274) at itemviews/qabstractitemview.cpp:1644
#101 0xb6e2c846 in viewportEvent (this=<optimized out>, event=0xbf8e4274) at widgets/qabstractscrollarea_p.h:100
#102 eventFilter (e=0xbf8e4274, this=<optimized out>, o=<optimized out>) at widgets/qabstractscrollarea_p.h:116
#103 QAbstractScrollAreaFilter::eventFilter (this=0x82f57b0, o=0x82f5be8, e=0xbf8e4274) at widgets/qabstractscrollarea_p.h:115
#104 0xb630d676 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x82fdd68, receiver=0x82f5be8, event=0xbf8e4274) at kernel/qcoreapplication.cpp:986
#105 0xb691df92 in notify_helper (e=0xbf8e4274, receiver=0x82f5be8, this=0x82fdd68) at kernel/qapplication.cpp:4555
#106 QApplicationPrivate::notify_helper (this=0x82fdd68, receiver=0x82f5be8, e=0xbf8e4274) at kernel/qapplication.cpp:4531
#107 0xb6923dfc in QApplication::notify (this=0x82fdd68, receiver=0x82f5be8, e=0xbf8e4274) at kernel/qapplication.cpp:4102
#108 0xb74d8511 in KApplication::notify (this=0xbf8e4acc, receiver=0x82f5be8, event=0xbf8e4274) at ../../kdeui/kernel/kapplication.cpp:311
#109 0xb630d4de in QCoreApplication::notifyInternal (this=0xbf8e4acc, receiver=0x82f5be8, event=0xbf8e4274) at kernel/qcoreapplication.cpp:876
#110 0xb691ef80 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#111 QApplicationPrivate::sendMouseEvent (receiver=0x82f5be8, event=0xbf8e4274, alienWidget=0x82f5be8, nativeWidget=0x84197a8, buttonDown=0xb72b2cf4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#112 0xb69a8974 in QETWidget::translateMouseEvent (this=0x84197a8, event=0xbf8e472c) at kernel/qapplication_x11.cpp:4523
#113 0xb69a753e in QApplication::x11ProcessEvent (this=0xbf8e4acc, event=0xbf8e472c) at kernel/qapplication_x11.cpp:3646
#114 0xb69d3a6c in x11EventSourceDispatch (s=0x82feff8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#115 0xb5726946 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#116 0xb5726ce5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#117 0xb5726dc1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#118 0xb63405e7 in QEventDispatcherGlib::processEvents (this=0x82d4780, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#119 0xb69d366a in QGuiEventDispatcherGlib::processEvents (this=0x82d4780, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#120 0xb630c04d in QEventLoop::processEvents (this=0xbf8e4a24, flags=...) at kernel/qeventloop.cpp:149
#121 0xb630c2e9 in QEventLoop::exec (this=0xbf8e4a24, flags=...) at kernel/qeventloop.cpp:204
#122 0xb6311a1a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#123 0xb691be34 in QApplication::exec () at kernel/qapplication.cpp:3820
#124 0x08050d48 in ?? ()
#125 0xb5f56e46 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#126 0x08050d8d in _start ()

Possible duplicates by query: bug 299229, bug 294897, bug 294831, bug 292659, bug 292633.

Reported using DrKonqi
Comment 1 Daniele E. Domenichelli 2012-05-15 08:27:11 UTC
Created attachment 71095 [details]
New crash information added by DrKonqi

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

Same problem: Every time I start the system-config-printer-kde, kcmshell crashes

-- Backtrace (Reduced):
#7  createClassType (client=0xb14c3740, ctd=0xb14cb740, mod_dict=) at /tmp/buildd/sip4-4.13.2/siplib/siplib.c:5502
#8  0xb1bfbc64 in sip_api_init_module (client=0xb14c3740, mod_dict=) at /tmp/buildd/sip4-4.13.2/siplib/siplib.c:1418
#9  0xb1352977 in initkdecore () at sip/kdecore/sipkdecorepart0.cpp:5361
#10 0xb225e53c in _PyImport_LoadDynamicModule () from /usr/lib/libpython2.7.so.1.0
#11 0xb2314370 in load_module.39532 () from /usr/lib/libpython2.7.so.1.0
Comment 2 Daniele E. Domenichelli 2012-05-15 08:57:59 UTC
I have the same identical issue on 2 different computers, the first running debian testing with kde 4.7.4 (see previous comment) and the second running debian testing + kde 4.8.3 from pkg-kde experimental repository

Application: kcmshell4 ()
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-2-amd64 x86_64
Distribution: Debian GNU/Linux testing (wheezy)

I suggest that this could be a problem in debian introduced very recently, because it used to work a few days ago
Comment 3 Daniele E. Domenichelli 2012-05-19 13:11:06 UTC
The bug is fixed for me with some of the last updates...
Please update your system, check if it is fixed for you as well, and eventually close the bug.
Comment 4 Christoph Feck 2013-11-23 20:31:55 UTC
"system-config-printer-kde" is no longer maintained and has been replaced with "Print Manager" since KDE 4.10. The new version is a C++ rewrite of the old Python version, and may still lack some features or have some bugs.

If this or another issue still needs to be addressed in KDE 4.10 or newer, please add a comment, or report it for "Print Manager".