Bug 218917

Summary: Global Shortcut Editor crashes when exiting [QWidgetPrivate::activateChildLayoutsRecursively, QWidgetPrivate::activateChildLayoutsRecursively, QWidgetPrivate::activateChildLayoutsRecursively]
Product: [Applications] systemsettings Reporter: Javier Conti <javier.conti>
Component: generalAssignee: System Settings Bugs <sourtooth+ssbugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Javier Conti 2009-12-16 13:20:43 UTC
Application: kcmshell4 ()
KDE Platform Version: 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1)) "release 197"
Qt Version: 4.6.0
Operating System: Linux 2.6.31.5-0.1-default x86_64
Distribution: "openSUSE 11.2 (x86_64)"

-- Information about the crash:
As already documented by others, exiting the Global Shortcuts Editor leads to a Segfault. I'd like to just add that it happens also when launched stand-alone (i.e. not inside systemsettings). It often happens, not always though.

This time I launched it from a notification that an application (KNotes) registered new global shortcuts, giving me the option to launch kglobalaccel.

The crash can be reproduced some of the times.

 -- Backtrace:
Application: KDE Control Module (kcmshell4), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f6ffec69bc8 in QWidget::ensurePolished() const () from /usr/lib64/libQtGui.so.4
#6  0x00007f6ffec72f37 in QWidgetPrivate::activateChildLayoutsRecursively() () from /usr/lib64/libQtGui.so.4
#7  0x00007f6ffec72f5f in QWidgetPrivate::activateChildLayoutsRecursively() () from /usr/lib64/libQtGui.so.4
#8  0x00007f6ffec72f5f in QWidgetPrivate::activateChildLayoutsRecursively() () from /usr/lib64/libQtGui.so.4
#9  0x00007f6ffec72f5f in QWidgetPrivate::activateChildLayoutsRecursively() () from /usr/lib64/libQtGui.so.4
#10 0x00007f6ffec78598 in QWidgetPrivate::prepareToRender(QRegion const&, QFlags<QWidget::RenderFlag>) () from /usr/lib64/libQtGui.so.4
#11 0x00007f6ffec7d147 in QWidget::render(QPaintDevice*, QPoint const&, QRegion const&, QFlags<QWidget::RenderFlag>) () from /usr/lib64/libQtGui.so.4
#12 0x00007f6ff70d97fb in QPainter::drawRoundRect(QRectF const&, int, int) () from /usr/lib64/kde4/plugins/styles/oxygen.so
#13 0x00007f6ff70da074 in QPainter::drawRoundRect(QRectF const&, int, int) () from /usr/lib64/kde4/plugins/styles/oxygen.so
#14 0x00007f6ff70d7801 in QPainter::drawRoundRect(QRectF const&, int, int) () from /usr/lib64/kde4/plugins/styles/oxygen.so
#15 0x00007f6ff70d79ec in QPainter::drawRoundRect(QRectF const&, int, int) () from /usr/lib64/kde4/plugins/styles/oxygen.so
#16 0x00007f6fff86d2b3 in QMetaObject::activate (sender=0x888a80, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3294
#17 0x00007f6fff2b5ade in QStackedWidget::currentChanged(int) () from /usr/lib64/libQtGui.so.4
#18 0x00007f6fff2b5c4e in QStackedWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQtGui.so.4
#19 0x00007f6fff86d2b3 in QMetaObject::activate (sender=0x9b9170, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3294
#20 0x00007f6fff2ad071 in QStackedLayout::currentChanged(int) () from /usr/lib64/libQtGui.so.4
#21 0x00007f6ffec5def3 in QStackedLayout::takeAt(int) () from /usr/lib64/libQtGui.so.4
#22 0x00007f6ffec4e61f in ?? () from /usr/lib64/libQtGui.so.4
#23 0x00007f6ffec1eb8e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#24 0x00007f6ffec251ed in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#25 0x00007f70004a38f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#26 0x00007f6fff85a53c in QCoreApplication::notifyInternal (this=0x7fff444c71b0, receiver=0x888a80, event=0x7fff444c4a80) at kernel/qcoreapplication.cpp:704
#27 0x00007f6fff86e0fe in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#28 QObjectPrivate::setParent_helper (event=<value optimized out>, receiver=<value optimized out>) at kernel/qobject.cpp:2024
#29 0x00007f6fff870049 in QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:994
#30 0x00007f6ffec7af96 in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4
#31 0x00007f700043a96b in KShortcutsEditor::~KShortcutsEditor() () from /usr/lib64/libkdeui.so.5
#32 0x00007f6ff1fe64e8 in QDBusObjectPath::check() () at qdbusextratypes.cpp:48
#33 0x00007f6ff1fe7279 in QDBusObjectPath::check() () at qdbusextratypes.cpp:48
#34 0x00007f6fff868f7c in QObjectPrivate::deleteChildren (this=0x9967b0) at kernel/qobject.cpp:1998
#35 0x00007f6ffec7af0d in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4
#36 0x00007f6ff1fed37e in ?? () from /usr/lib64/kde4/kcm_keys.so
#37 0x00007f70008dc1a4 in KCModuleProxy::deleteClient() () from /usr/lib64/libkutils.so.4
#38 0x00007f70008d9719 in ?? () from /usr/lib64/libkutils.so.4
#39 0x00007f70008db6fd in KCMultiDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkutils.so.4
#40 0x00007f7000e72470 in QString::free(QString::Data*) () at tools/qstring.cpp:1101
#41 0x00007f6fff86d2b3 in QMetaObject::activate (sender=0x80ddb0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3294
#42 0x00007f6ffec74253 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#43 0x00007f6ffec1ebcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#44 0x00007f6ffec251ed in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#45 0x00007f70004a38f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#46 0x00007f6fff85a53c in QCoreApplication::notifyInternal (this=0x7fff444c71b0, receiver=0x80ddb0, event=0x7fff444c5560) at kernel/qcoreapplication.cpp:704
#47 0x00007f6ffec72b3a in QWidgetPrivate::hide_helper() () from /usr/lib64/libQtGui.so.4
#48 0x00007f6ffec7b5a0 in QWidget::setVisible(bool) () from /usr/lib64/libQtGui.so.4
#49 0x00007f6fff0e2cc0 in QDialog::setVisible(bool) () from /usr/lib64/libQtGui.so.4
#50 0x00007f6fff0e2004 in QDialog::done(int) () from /usr/lib64/libQtGui.so.4
#51 0x00007f70008db794 in KCMultiDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkutils.so.4
#52 0x00007f7000e72470 in QString::free(QString::Data*) () at tools/qstring.cpp:1101
#53 0x00007f6fff86d2b3 in QMetaObject::activate (sender=0x80ddb0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3294
#54 0x00007f7000415608 in KDialog::slotButtonClicked(int) () from /usr/lib64/libkdeui.so.5
#55 0x00007f7000417479 in KDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdeui.so.5
#56 0x00007f70004dcde0 in KPageDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdeui.so.5
#57 0x00007f70008db680 in KCMultiDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkutils.so.4
#58 0x00007f7000e72470 in QString::free(QString::Data*) () at tools/qstring.cpp:1101
#59 0x00007f6fff86d2b3 in QMetaObject::activate (sender=0x80e038, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3294
#60 0x00007f6fff87266e in QSignalMapper::mapped (this=0x0, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:101
#61 0x00007f6fff873882 in QSignalMapper::map (this=0x80e038, sender=0x82b900) at kernel/qsignalmapper.cpp:266
#62 0x00007f6fff873b00 in QSignalMapper::qt_metacall (this=0x80e038, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff444c5b90) at .moc/release-shared/moc_qsignalmapper.cpp:87
#63 0x00007f6fff86d2b3 in QMetaObject::activate (sender=0x82b900, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3294
#64 0x00007f6fff2b0d02 in QAbstractButton::clicked(bool) () from /usr/lib64/libQtGui.so.4
#65 0x00007f6ffefce77b in ?? () from /usr/lib64/libQtGui.so.4
#66 0x00007f6ffefcf63b in ?? () from /usr/lib64/libQtGui.so.4
#67 0x00007f6ffefcf8a5 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#68 0x00007f6ffec74239 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#69 0x00007f6ffec1ebcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#70 0x00007f6ffec25a51 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#71 0x00007f70004a38f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#72 0x00007f6fff85a53c in QCoreApplication::notifyInternal (this=0x7fff444c71b0, receiver=0x82b900, event=0x7fff444c6440) at kernel/qcoreapplication.cpp:704
#73 0x00007f6ffec24bc6 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#74 0x00007f6ffeca2b95 in ?? () from /usr/lib64/libQtGui.so.4
#75 0x00007f6ffeca18aa in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#76 0x00007f6ffeccbd62 in ?? () from /usr/lib64/libQtGui.so.4
#77 0x00007f6ffab30dde in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#78 0x00007f6ffab347a8 in ?? () from /usr/lib64/libglib-2.0.so.0
#79 0x00007f6ffab348d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#80 0x00007f6fff883b13 in QEventDispatcherGlib::processEvents (this=0x60af00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#81 0x00007f6ffeccb94e in ?? () from /usr/lib64/libQtGui.so.4
#82 0x00007f6fff858e52 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#83 0x00007f6fff85922c in QEventLoop::exec (this=0x7fff444c7090, flags=) at kernel/qeventloop.cpp:201
#84 0x00007f6fff0e216e in QDialog::exec() () from /usr/lib64/libQtGui.so.4
#85 0x00007f7000e74b68 in kdemain () from /usr/lib64/libkdeinit4_kcmshell4.so
#86 0x00007f7000b30a7d in __libc_start_main () from /lib64/libc.so.6
#87 0x0000000000400699 in _start ()

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

Possible duplicates by query: bug 218472, bug 217179, bug 216314, bug 216215.

Reported using DrKonqi
Comment 1 Christoph Feck 2009-12-16 15:22:43 UTC

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