Bug 267730

Summary: Systemsettings crash [@ Oxygen::TransitionWidget::grabWidget]
Product: [Plasma] Oxygen Reporter: Bob K <metamorfozis>
Component: styleAssignee: Hugo Pereira Da Costa <hugo.pereira.da.costa>
Status: RESOLVED FIXED    
Severity: crash CC: hugo.pereira.da.costa
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bob K 2011-03-05 17:45:19 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-27-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
Open systemsettings
First roll down Shortcuts and gestures
Click Global keyboard shortcuts
Then Standard keyboard shortcuts

In this direction, for me, 3-4 times i tried, always crashed. (With other options it isn't.

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb277bb70 (LWP 7560)):
#0  0x00c0e15f in ?? () from /lib/libc.so.6
#1  0x00bf937c in select () from /lib/libc.so.6
#2  0x03f00872 in qt_safe_select (nfds=13, fdread=0x93a2270, fdwrite=0x93a2484, fdexcept=0x93a2698, orig_timeout=0x0) at kernel/qcore_unix.cpp:82
#3  0x03f05329 in QEventDispatcherUNIX::select (this=0x937d780, nfds=13, readfds=0x93a2270, writefds=0x93a2484, exceptfds=0x93a2698, timeout=0x0) at kernel/qeventdispatcher_unix.cpp:632
#4  0x03f05eac in QEventDispatcherUNIXPrivate::doSelect (this=0x93a2178, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:219
#5  0x03f06c25 in QEventDispatcherUNIX::processEvents (this=0x937d780, flags=...) at kernel/qeventdispatcher_unix.cpp:919
#6  0x03ed3609 in QEventLoop::processEvents (this=0xb277b290, flags=) at kernel/qeventloop.cpp:149
#7  0x03ed3a8a in QEventLoop::exec (this=0xb277b290, flags=...) at kernel/qeventloop.cpp:201
#8  0x03dcfb7e in QThread::exec (this=0x901b1c0) at thread/qthread.cpp:490
#9  0x03eb235b in QInotifyFileSystemWatcherEngine::run (this=0x901b1c0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x03dd2df9 in QThreadPrivate::start (arg=0x901b1c0) at thread/qthread_unix.cpp:266
#11 0x00dd7cc9 in start_thread () from /lib/libpthread.so.0
#12 0x00c0069e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7768710 (LWP 7559)):
[KCrash Handler]
#7  QWidget::ensurePolished (this=0x93a8530) at kernel/qwidget.cpp:9526
#8  0x0103df24 in QWidgetPrivate::activateChildLayoutsRecursively (this=0x90565f0) at kernel/qwidget.cpp:7282
#9  0x0103df4e in QWidgetPrivate::activateChildLayoutsRecursively (this=0x90562d0) at kernel/qwidget.cpp:7295
#10 0x0103df4e in QWidgetPrivate::activateChildLayoutsRecursively (this=0x9055da0) at kernel/qwidget.cpp:7295
#11 0x0103df4e in QWidgetPrivate::activateChildLayoutsRecursively (this=0x92a3518) at kernel/qwidget.cpp:7295
#12 0x0103df4e in QWidgetPrivate::activateChildLayoutsRecursively (this=0x9055c30) at kernel/qwidget.cpp:7295
#13 0x0103df4e in QWidgetPrivate::activateChildLayoutsRecursively (this=0x902bfc0) at kernel/qwidget.cpp:7295
#14 0x0103df4e in QWidgetPrivate::activateChildLayoutsRecursively (this=0x9023098) at kernel/qwidget.cpp:7295
#15 0x01042865 in QWidgetPrivate::prepareToRender (this=0x97bf0d0, region=..., renderFlags=...) at kernel/qwidget.cpp:5226
#16 0x01046fd4 in QWidgetPrivate::render (this=0x97bf0d0, target=0xbfa071c4, targetOffset=..., sourceRegion=..., renderFlags=..., readyToRender=false) at kernel/qwidget.cpp:5489
#17 0x0104724c in QWidget::render (this=0x97beed8, target=0xbfa071c4, targetOffset=..., sourceRegion=..., renderFlags=...) at kernel/qwidget.cpp:5019
#18 0x01dd538d in Oxygen::TransitionWidget::grabWidget (this=0x9668258, pixmap=..., widget=0x97beed8, rect=...) at ../../../kstyles/oxygen/transitions/oxygentransitionwidget.cpp:258
#19 0x01dd54d5 in Oxygen::TransitionWidget::grab (this=0x9668258, widget=0x97beed8, rect=...) at ../../../kstyles/oxygen/transitions/oxygentransitionwidget.cpp:93
#20 0x01dd290a in Oxygen::StackedWidgetData::initializeAnimation (this=0x95ae828) at ../../../kstyles/oxygen/transitions/oxygenstackedwidgetdata.cpp:79
#21 0x01dd26b0 in Oxygen::StackedWidgetData::animate (this=0x95ae828) at ../../../kstyles/oxygen/transitions/oxygenstackedwidgetdata.cpp:101
#22 0x01dd2d53 in Oxygen::StackedWidgetData::qt_metacall (this=0x95ae828, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfa07398) at ./oxygenstackedwidgetdata.moc:79
#23 0x03eda8ca in QMetaObject::metacall (object=0x95ae828, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbfa07398) at kernel/qmetaobject.cpp:237
#24 0x03eed6ad in QMetaObject::activate (sender=0x9628dd8, m=0x1974538, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#25 0x017551d3 in QStackedWidget::currentChanged (this=0x9628dd8, _t1=0) at .moc/release-shared/moc_qstackedwidget.cpp:131
#26 0x0175535f in QStackedWidget::qt_metacall (this=0x9628dd8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfa074b8) at .moc/release-shared/moc_qstackedwidget.cpp:88
#27 0x03eda8ca in QMetaObject::metacall (object=0x9628dd8, cl=QMetaObject::InvokeMetaMethod, idx=27, argv=0xbfa074b8) at kernel/qmetaobject.cpp:237
#28 0x03eed6ad in QMetaObject::activate (sender=0x958aae0, m=0x1970d98, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3280
#29 0x01749b13 in QStackedLayout::currentChanged (this=0x958aae0, _t1=0) at .moc/release-shared/moc_qstackedlayout.cpp:147
#30 0x01026a45 in QStackedLayout::setCurrentIndex (this=0x958aae0, index=0) at kernel/qstackedlayout.cpp:340
#31 0x010272d1 in QStackedLayout::takeAt (this=0x958aae0, index=0) at kernel/qstackedlayout.cpp:265
#32 0x01016757 in removeWidgetRecursively (li=<value optimized out>, w=<value optimized out>) at kernel/qlayout.cpp:661
#33 0x00fe0fa6 in QApplicationPrivate::notify_helper (this=0x8f58970, receiver=0x9628dd8, e=0xbfa0799c) at kernel/qapplication.cpp:4387
#34 0x00fe70e9 in QApplication::notify (this=0xbfa0925c, receiver=0x9628dd8, e=0xbfa0799c) at kernel/qapplication.cpp:4361
#35 0x006a47da in KApplication::notify (this=0xbfa0925c, receiver=0x9628dd8, event=0xbfa0799c) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x03ed4b3b in QCoreApplication::notifyInternal (this=0xbfa0925c, receiver=0x9628dd8, event=0xbfa0799c) at kernel/qcoreapplication.cpp:732
#37 0x03ee8e09 in sendEvent (this=0x9705550, o=0x0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#38 QObjectPrivate::setParent_helper (this=0x9705550, o=0x0) at kernel/qobject.cpp:1983
#39 0x03eeef61 in QObject::~QObject (this=0x936bfb0, __in_chrg=<value optimized out>) at kernel/qobject.cpp:953
#40 0x010449c6 in QWidget::~QWidget (this=0x936bfb0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1609
#41 0x0060c08f in KShortcutsEditor::~KShortcutsEditor (this=0x936bfb0, __in_chrg=<value optimized out>) at ../../kdeui/dialogs/kshortcutseditor.cpp:77
#42 0x01eeb9cf in ComponentData::~ComponentData (this=0x976a330, __in_chrg=<value optimized out>) at ../../../kcontrol/keys/kglobalshortcutseditor.cpp:97
#43 0x01eec79d in qDeleteAll<QHash<QString, ComponentData*>::const_iterator> (this=0x96232b0, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:322
#44 qDeleteAll<QHash<QString, ComponentData*> > (this=0x96232b0, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:330
#45 KGlobalShortcutsEditor::~KGlobalShortcutsEditor (this=0x96232b0, __in_chrg=<value optimized out>) at ../../../kcontrol/keys/kglobalshortcutseditor.cpp:189
#46 0x03ee7816 in QObjectPrivate::deleteChildren (this=0x9623180) at kernel/qobject.cpp:1957
#47 0x010448fc in QWidget::~QWidget (this=0x9626600, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1589
#48 0x007663cb in KCModule::~KCModule (this=0x9626600, __in_chrg=<value optimized out>) at ../../kdeui/widgets/kcmodule.cpp:199
#49 0x01ef31f2 in GlobalShortcutsModule::~GlobalShortcutsModule (this=0x9626600, __in_chrg=<value optimized out>) at ../../../kcontrol/keys/globalshortcuts.cpp:54
#50 0x00e92cac in KCModuleProxy::deleteClient (this=0x95c5cf8) at ../../kutils/kcmoduleproxy.cpp:219
#51 0x00e94ac5 in KCModuleProxy::~KCModuleProxy (this=0x95c5cf8, __in_chrg=<value optimized out>) at ../../kutils/kcmoduleproxy.cpp:210
#52 0x03ee7816 in QObjectPrivate::deleteChildren (this=0x9668830) at kernel/qobject.cpp:1957
#53 0x01043cbc in QWidget::~QWidget (this=0x94a2ee8, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1589
#54 0x03ee7816 in QObjectPrivate::deleteChildren (this=0x9668678) at kernel/qobject.cpp:1957
#55 0x010448fc in QWidget::~QWidget (this=0x93a8530, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1589
#56 0x01460a61 in QFrame::~QFrame (this=0x93a8530, __in_chrg=<value optimized out>) at widgets/qframe.cpp:242
#57 0x014ff854 in QAbstractScrollArea::~QAbstractScrollArea (this=0x93a8530, __in_chrg=<value optimized out>) at widgets/qabstractscrollarea.cpp:526
#58 0x01504095 in QScrollArea::~QScrollArea (this=0x93a8530, __in_chrg=<value optimized out>) at widgets/qscrollarea.cpp:176
#59 0x006e6974 in ~Private (this=0x9653128, __in_chrg=<value optimized out>) at ../../kdeui/paged/kpagewidgetmodel.cpp:40
#60 KPageWidgetItem::~KPageWidgetItem (this=0x9653128, __in_chrg=<value optimized out>) at ../../kdeui/paged/kpagewidgetmodel.cpp:84
#61 0x006e5835 in PageItem::~PageItem (this=0x95c1800, __in_chrg=<value optimized out>) at ../../kdeui/paged/kpagewidgetmodel.cpp:174
#62 0x006e63ac in KPageWidgetModel::removePage (this=0x920b920, item=0x9653128) at ../../kdeui/paged/kpagewidgetmodel.cpp:513
#63 0x006e41ae in KPageWidget::removePage (this=0x9055be8, item=0x9653128) at ../../kdeui/paged/kpagewidget.cpp:113
#64 0x00cabb88 in ModuleView::closeModules (this=0x9055bc8) at ../../../systemsettings/core/ModuleView.cpp:298
#65 0x036b5b8e in ClassicMode::changeModule (this=0x91db488, activeModule=...) at ../../../systemsettings/classic/ClassicMode.cpp:159
#66 0x036b7dcd in ClassicMode::qt_metacall (this=0x91db488, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbfa08118) at ./ClassicMode.moc:93
#67 0x03eda8ca in QMetaObject::metacall (object=0x91db488, cl=QMetaObject::InvokeMetaMethod, idx=14, argv=0xbfa08118) at kernel/qmetaobject.cpp:237
#68 0x03eed6ad in QMetaObject::activate (sender=0x9227af0, m=0x196bd64, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3280
#69 0x015a9133 in QAbstractItemView::clicked (this=0x9227af0, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:331
#70 0x015b94c7 in QAbstractItemView::mouseReleaseEvent (this=0x9227af0, event=0xbfa08b60) at itemviews/qabstractitemview.cpp:1789
#71 0x0160108c in QTreeView::mouseReleaseEvent (this=0x9227af0, event=0xbfa08b60) at itemviews/qtreeview.cpp:1828
#72 0x0103ee08 in QWidget::event (this=0x9227af0, event=0xbfa08b60) at kernel/qwidget.cpp:8187
#73 0x01460763 in QFrame::event (this=0x9227af0, e=0xbfa08b60) at widgets/qframe.cpp:557
#74 0x014fda82 in QAbstractScrollArea::viewportEvent (this=0x0, e=0x9248900) at widgets/qabstractscrollarea.cpp:1043
#75 0x015ba0f7 in QAbstractItemView::viewportEvent (this=0x9227af0, event=0xbfa08b60) at itemviews/qabstractitemview.cpp:1619
#76 0x015fc883 in QTreeView::viewportEvent (this=0x9227af0, event=0xbfa08b60) at itemviews/qtreeview.cpp:1256
#77 0x015004d5 in viewportEvent (this=0x9243d88, o=0x914eff8, e=0xbfa08b60) at widgets/qabstractscrollarea_p.h:100
#78 QAbstractScrollAreaFilter::eventFilter (this=0x9243d88, o=0x914eff8, e=0xbfa08b60) at widgets/qabstractscrollarea_p.h:116
#79 0x03ed429a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8f58970, receiver=0x914eff8, event=0xbfa08b60) at kernel/qcoreapplication.cpp:847
#80 0x00fe0fb9 in QApplicationPrivate::notify_helper (this=0x8f58970, receiver=0x914eff8, e=0xbfa08b60) at kernel/qapplication.cpp:4392
#81 0x00fe7c2e in QApplication::notify (this=0xbfa0925c, receiver=0x914eff8, e=0xbfa08b60) at kernel/qapplication.cpp:3959
#82 0x006a47da in KApplication::notify (this=0xbfa0925c, receiver=0x914eff8, event=0xbfa08b60) at ../../kdeui/kernel/kapplication.cpp:311
#83 0x03ed4b3b in QCoreApplication::notifyInternal (this=0xbfa0925c, receiver=0x914eff8, event=0xbfa08b60) at kernel/qcoreapplication.cpp:732
#84 0x00fe6094 in sendEvent (receiver=0x914eff8, event=0xbfa08b60, alienWidget=0x914eff8, nativeWidget=0x9195760, buttonDown=0x197b3c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#85 QApplicationPrivate::sendMouseEvent (receiver=0x914eff8, event=0xbfa08b60, alienWidget=0x914eff8, nativeWidget=0x9195760, buttonDown=0x197b3c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058
#86 0x01074d10 in QETWidget::translateMouseEvent (this=0x9195760, event=0xbfa0907c) at kernel/qapplication_x11.cpp:4403
#87 0x01074151 in QApplication::x11ProcessEvent (this=0xbfa0925c, event=0xbfa0907c) at kernel/qapplication_x11.cpp:3414
#88 0x010a3fc7 in QEventDispatcherX11::processEvents (this=0x8f379d0, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#89 0x03ed3609 in QEventLoop::processEvents (this=0xbfa091b4, flags=) at kernel/qeventloop.cpp:149
#90 0x03ed3a8a in QEventLoop::exec (this=0xbfa091b4, flags=...) at kernel/qeventloop.cpp:201
#91 0x03ed800f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#92 0x00fdfe07 in QApplication::exec () at kernel/qapplication.cpp:3672
#93 0x0805736e in main (argc=5, argv=0xbfa093a4) at ../../../systemsettings/app/main.cpp:49

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

Possible duplicates by query: bug 237253, bug 233308, bug 231547, bug 231410, bug 230710.

Reported using DrKonqi
Comment 1 Hugo Pereira Da Costa 2011-04-14 11:49:08 UTC
yes definitly oxygen's fault.

Triggered apparently by the Tab transition.
Could you try disable it (in systemsettings->applications appearance->Style->configure) and verify the crash is gone ?

Now why exactly it crashes is unclear to me. Likely some issue when trying to render the tab "offline" in order to make the smooth transition.
Comment 2 Bob K 2013-11-05 12:18:12 UTC
I can't reproduce it from now... Thanks!