Bug 242626 - systemsetting's windows decoration module crashing [QGraphicsWidget::layout, Aurorae::AuroraeScene::addTab, KWin::DecorationModel::regeneratePreview]
Summary: systemsetting's windows decoration module crashing [QGraphicsWidget::layout, ...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 248079 248081 254015 261219 268497 287220 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-23 20:48 UTC by Marco Carrai
Modified: 2012-04-13 19:22 UTC (History)
15 users (show)

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


Attachments
Proposed patch (1.10 KB, patch)
2010-07-25 09:23 UTC, Martin Flöser
Details
New crash information added by DrKonqi (7.33 KB, text/plain)
2010-09-11 14:59 UTC, Mark Bielefeld
Details
New crash information added by DrKonqi (15.29 KB, text/plain)
2010-10-09 20:11 UTC, Mark Bielefeld
Details
New crash information added by DrKonqi (15.17 KB, text/plain)
2010-10-10 19:41 UTC, Mark Bielefeld
Details
New crash information added by DrKonqi (13.77 KB, text/plain)
2010-11-10 18:08 UTC, onegravenkiss
Details
New crash information added by DrKonqi (14.62 KB, text/plain)
2011-05-06 06:49 UTC, damthespam
Details
New crash information added by DrKonqi (14.34 KB, text/plain)
2011-06-02 13:21 UTC, disabled account
Details
New crash information added by DrKonqi (13.33 KB, text/plain)
2011-09-25 23:08 UTC, erez.odier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Carrai 2010-06-23 20:48:21 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.4.86 (KDE 4.4.86 (KDE 4.5 >= 20100616)) "release 3"
Qt Version: 4.6.3
Operating System: Linux 2.6.31.12-0.1-desktop i686
Distribution: "openSUSE 11.2 (i586)"

-- Information about the crash:
Step to reproduce: 
systemsettings -> workspace appearence -> window decoration
Scroll up and down the list. systemsetting should crash..

The crash can be reproduced every time.

-- Backtrace:
Application: Impostazioni di sistema (systemsettings), signal: Segmentation fault
[KCrash Handler]
#7  0xb71c1327 in QGraphicsWidget::layout (this=0x8caabf0) at graphicsview/qgraphicswidget.cpp:746
#8  0xa8d255e7 in Aurorae::AuroraeScene::addTab (this=0x8256d60, caption=...) at /usr/src/debug/kdebase-workspace-4.4.86svn1138650/kwin/clients/aurorae/src/lib/auroraescene.cpp:820
#9  0xa8d1d833 in KWin::DecorationModel::regeneratePreview (this=0x821c3e0, index=..., size=...)
    at /usr/src/debug/kdebase-workspace-4.4.86svn1138650/kwin/kcmkwin/kwindecoration/decorationmodel.cpp:339
#10 0xa8d0a44c in KWin::DecorationModel::qt_metacall (this=0x821c3e0, _c=InvokeMetaMethod, _id=24, _a=0xbfa57d84)
    at /usr/src/debug/kdebase-workspace-4.4.86svn1138650/build/kwin/kcmkwin/kwindecoration/moc_decorationmodel.cpp:73
#11 0xb655999d in QMetaObject::metacall (object=0x821c3e0, cl=ReadProperty, idx=24, argv=0xbfa57d84) at kernel/qmetaobject.cpp:237
#12 0xb6568bb0 in QMetaObject::activate (sender=0x821de00, m=0xa8d3bf6c, local_signal_index=0, argv=0xbfa57d84) at kernel/qobject.cpp:3287
#13 0xa8d090ed in KWin::DecorationDelegate::regeneratePreview (this=0x821de00, _t1=..., _t2=...)
    at /usr/src/debug/kdebase-workspace-4.4.86svn1138650/build/kwin/kcmkwin/kwindecoration/moc_decorationdelegate.cpp:85
#14 0xa8d1c110 in KWin::DecorationDelegate::paint (this=0x821de00, painter=0xbfa5806c, option=..., index=...)
    at /usr/src/debug/kdebase-workspace-4.4.86svn1138650/kwin/kcmkwin/kwindecoration/decorationdelegate.cpp:51
#15 0xb70b2103 in QListView::paintEvent (this=0x86d6f90, e=0x821de00) at itemviews/qlistview.cpp:1044
#16 0xb6b4ea3f in QWidget::event (this=0x86d6f90, event=0xbfa58874) at kernel/qwidget.cpp:8190
#17 0xb6f3a555 in QFrame::event (this=0x86d6f90, e=0xbfa58874) at widgets/qframe.cpp:557
#18 0xb6fd7541 in QAbstractScrollArea::viewportEvent (this=0x1, e=0x8da3750) at widgets/qabstractscrollarea.cpp:1036
#19 0xb7090e9c in QAbstractItemView::viewportEvent (this=0x86d6f90, event=0xbfa58874) at itemviews/qabstractitemview.cpp:1615
#20 0xb6fd9e36 in viewportEvent (event=<value optimized out>, this=<value optimized out>) at widgets/qabstractscrollarea_p.h:100
#21 QAbstractScrollAreaFilter::eventFilter (event=<value optimized out>, this=<value optimized out>) at widgets/qabstractscrollarea_p.h:116
#22 0xb655385e in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8086608, receiver=0x8783280, event=0xbfa58874) at kernel/qcoreapplication.cpp:841
#23 0xb6aee27d in QApplicationPrivate::notify_helper (this=0x8086608, receiver=0x8783280, e=0xbfa58874) at kernel/qapplication.cpp:4298
#24 0xb6af5178 in QApplication::notify (this=0x8783280, receiver=0x8783280, e=0xbfa58874) at kernel/qapplication.cpp:4267
#25 0xb761cf41 in KApplication::notify (this=0xbfa5bdfc, receiver=0x8783280, event=0xbfa58874) at /usr/src/debug/kdelibs-4.4.86svn1138650/kdeui/kernel/kapplication.cpp:302
#26 0xb655458e in QCoreApplication::notifyInternal (this=0xbfa5bdfc, receiver=0x8783280, event=0xbfa58874) at kernel/qcoreapplication.cpp:726
#27 0xb6b57dfc in sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:218
#28 QWidgetPrivate::drawWidget (event=<value optimized out>, receiver=<value optimized out>) at kernel/qwidget.cpp:5363
#29 0xb6b58b99 in QWidgetPrivate::paintSiblingsRecursive (this=0x1, pdev=0x81e3f74, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00)
    at kernel/qwidget.cpp:5476
#30 0xb6b589d7 in QWidgetPrivate::paintSiblingsRecursive (this=0x1, pdev=0x81e3f74, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00)
    at kernel/qwidget.cpp:5463
#31 0xb6b589d7 in QWidgetPrivate::paintSiblingsRecursive (this=0x1, pdev=0x81e3f74, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00)
    at kernel/qwidget.cpp:5463
#32 0xb6b589d7 in QWidgetPrivate::paintSiblingsRecursive (this=0x1, pdev=0x81e3f74, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00)
    at kernel/qwidget.cpp:5463
#33 0xb6b589d7 in QWidgetPrivate::paintSiblingsRecursive (this=0x1, pdev=0x81e3f74, siblings=..., index=5, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00)
    at kernel/qwidget.cpp:5463
#34 0xb6b589d7 in QWidgetPrivate::paintSiblingsRecursive (this=0x1, pdev=0x81e3f74, siblings=..., index=7, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00)
    at kernel/qwidget.cpp:5463
#35 0xb6b57b48 in QWidgetPrivate::drawWidget (this=0x86894a0, pdev=0x81e3f74, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00) at kernel/qwidget.cpp:5412
#36 0xb6b58b99 in QWidgetPrivate::paintSiblingsRecursive (this=0x1, pdev=0x81e3f74, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00)
    at kernel/qwidget.cpp:5476
#37 0xb6b57b48 in QWidgetPrivate::drawWidget (this=0x82564d8, pdev=0x81e3f74, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00) at kernel/qwidget.cpp:5412
#38 0xb6b58b99 in QWidgetPrivate::paintSiblingsRecursive (this=0x1, pdev=0x81e3f74, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00)
    at kernel/qwidget.cpp:5476
#39 0xb6b57b48 in QWidgetPrivate::drawWidget (this=0x868dbb8, pdev=0x81e3f74, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00) at kernel/qwidget.cpp:5412
#40 0xb6b58b99 in QWidgetPrivate::paintSiblingsRecursive (this=0x1, pdev=0x81e3f74, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00)
    at kernel/qwidget.cpp:5476
#41 0xb6b57b48 in QWidgetPrivate::drawWidget (this=0x84969b0, pdev=0x81e3f74, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00) at kernel/qwidget.cpp:5412
#42 0xb6b58b99 in QWidgetPrivate::paintSiblingsRecursive (this=0x1, pdev=0x81e3f74, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00)
    at kernel/qwidget.cpp:5476
#43 0xb6b57b48 in QWidgetPrivate::drawWidget (this=0x84f29e8, pdev=0x81e3f74, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00) at kernel/qwidget.cpp:5412
#44 0xb6b58b99 in QWidgetPrivate::paintSiblingsRecursive (this=0x1, pdev=0x81e3f74, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00)
    at kernel/qwidget.cpp:5476
#45 0xb6b57b48 in QWidgetPrivate::drawWidget (this=0x84bc2e0, pdev=0x81e3f74, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00) at kernel/qwidget.cpp:5412
#46 0xb6b58b99 in QWidgetPrivate::paintSiblingsRecursive (this=0x1, pdev=0x81e3f74, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00)
    at kernel/qwidget.cpp:5476
#47 0xb6b57b48 in QWidgetPrivate::drawWidget (this=0x828b100, pdev=0x81e3f74, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00) at kernel/qwidget.cpp:5412
#48 0xb6b58b99 in QWidgetPrivate::paintSiblingsRecursive (this=0x1, pdev=0x81e3f74, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00)
    at kernel/qwidget.cpp:5476
#49 0xb6b57b48 in QWidgetPrivate::drawWidget (this=0x828ac68, pdev=0x81e3f74, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00) at kernel/qwidget.cpp:5412
#50 0xb6b58b99 in QWidgetPrivate::paintSiblingsRecursive (this=0x1, pdev=0x81e3f74, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00)
    at kernel/qwidget.cpp:5476
#51 0xb6b57b48 in QWidgetPrivate::drawWidget (this=0x828a8b8, pdev=0x81e3f74, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00) at kernel/qwidget.cpp:5412
#52 0xb6b58b99 in QWidgetPrivate::paintSiblingsRecursive (this=0x1, pdev=0x81e3f74, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00)
    at kernel/qwidget.cpp:5476
#53 0xb6b57b48 in QWidgetPrivate::drawWidget (this=0x828a668, pdev=0x81e3f74, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00) at kernel/qwidget.cpp:5412
#54 0xb6b58b99 in QWidgetPrivate::paintSiblingsRecursive (this=0x1, pdev=0x81e3f74, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00)
    at kernel/qwidget.cpp:5476
#55 0xb6b57b48 in QWidgetPrivate::drawWidget (this=0x8178ea8, pdev=0x81e3f74, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00) at kernel/qwidget.cpp:5412
#56 0xb6b58b99 in QWidgetPrivate::paintSiblingsRecursive (this=0x1, pdev=0x81e3f74, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8236d00)
    at kernel/qwidget.cpp:5476
#57 0xb6b57b48 in QWidgetPrivate::drawWidget (this=0x8084b18, pdev=0x81e3f74, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x8236d00) at kernel/qwidget.cpp:5412
#58 0xb6d3a1d8 in QWidgetBackingStore::sync (this=0x8236d00) at painting/qbackingstore.cpp:1300
#59 0xb6b4819b in QWidgetPrivate::syncBackingStore (this=0x8084b18) at kernel/qwidget.cpp:1688
#60 0xb6b4f214 in QWidget::event (this=0x8176ce0, event=0x8db6cf8) at kernel/qwidget.cpp:8337
#61 0xb6f598f4 in QMainWindow::event (this=0x8176ce0, event=0x8db6cf8) at widgets/qmainwindow.cpp:1414
#62 0xb7714fb4 in KMainWindow::event (this=0x8176ce0, ev=0x8db6cf8) at /usr/src/debug/kdelibs-4.4.86svn1138650/kdeui/widgets/kmainwindow.cpp:1100
#63 0xb775e922 in KXmlGuiWindow::event (this=0x8176ce0, ev=0x8db6cf8) at /usr/src/debug/kdelibs-4.4.86svn1138650/kdeui/xmlgui/kxmlguiwindow.cpp:130
#64 0xb6aee2ac in QApplicationPrivate::notify_helper (this=0x8086608, receiver=0x8176ce0, e=0x8db6cf8) at kernel/qapplication.cpp:4302
#65 0xb6af5178 in QApplication::notify (this=0x8176ce0, receiver=0x8176ce0, e=0x8db6cf8) at kernel/qapplication.cpp:4267
#66 0xb761cf41 in KApplication::notify (this=0xbfa5bdfc, receiver=0x8176ce0, event=0x8db6cf8) at /usr/src/debug/kdelibs-4.4.86svn1138650/kdeui/kernel/kapplication.cpp:302
#67 0xb655458e in QCoreApplication::notifyInternal (this=0xbfa5bdfc, receiver=0x8176ce0, event=0x8db6cf8) at kernel/qcoreapplication.cpp:726
#68 0xb6558097 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#69 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1367
#70 0xb655821c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#71 0xb65816cd in sendPostedEvents () at kernel/qcoreapplication.h:220
#72 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#73 0xb5e654c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#74 0xb5e68d98 in ?? () from /usr/lib/libglib-2.0.so.0
#75 0xb5e68ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#76 0xb65811b1 in QEventDispatcherGlib::processEvents (this=0x8091418, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#77 0xb6baedfa in QGuiEventDispatcherGlib::processEvents (this=0x8091418, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#78 0xb6552bfd in QEventLoop::processEvents (this=0xbfa5bd54, flags=) at kernel/qeventloop.cpp:149
#79 0xb6553049 in QEventLoop::exec (this=0xbfa5bd54, flags=...) at kernel/qeventloop.cpp:201
#80 0xb65582f0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#81 0xb6aee354 in QApplication::exec () at kernel/qapplication.cpp:3581
#82 0x08057afe in main (argc=5, argv=0xbfa5bf34) at /usr/src/debug/kdebase-workspace-4.4.86svn1138650/systemsettings/app/main.cpp:49

Reported using DrKonqi
Comment 1 Marco Carrai 2010-06-29 19:31:14 UTC
Still happens on RC1
Comment 2 alpha1beta 2010-07-25 04:22:44 UTC
I can confirm this bug. Its a guaranteed crash. Really needs to get fixed.
Comment 3 Hugo Pereira Da Costa 2010-07-25 04:42:00 UTC
seems Aurorae related. Martin ? Any clue ? 
I can't reproduce here.
Could it be cause to an ill-formed aurorae theme ?
Comment 4 alpha1beta 2010-07-25 05:24:41 UTC
@Hugo Could be, I had Kde4-winwindeco-aurorae installed, but It was not in use when It crashed. I was using Bespin.
Comment 5 Hugo Pereira Da Costa 2010-07-25 05:29:46 UTC
I meant: ill formed in the sense that it makes the _preview_ crash (which seems to be the case here). This disregarding whether it is actually used or not. (hope it makes sense).
Comment 6 Martin Flöser 2010-07-25 08:18:57 UTC
> seems Aurorae related. Martin ? Any clue ?
No not yet
> I can't reproduce here.
Me neither, but I get the same crash in AuroraeDesigner, though the source 
code there is not up to date.
> Could it be cause to an ill-formed aurorae theme ?
Possibly, but it would not explain why I get it in AuroraeDesigner and not in 
the kcm.
Comment 7 Martin Flöser 2010-07-25 08:48:11 UTC
> I meant: ill formed in the sense that it makes the
> _preview_ crash (which seems to be the case here). This disregarding
> whether it is actually used or not. (hope it makes sense).
Yes, exactly that seems to be the case. I just was able to untrigger the crash 
in AuroraeDesigner by testing m_theme->isValid(). Let's see that should give a 
hint on how to fix that crash
Comment 8 Martin Flöser 2010-07-25 09:03:38 UTC
By adding some debug statements, I found:
* Theme  "radial"  is not valid - skipping
* Theme  "win7-deco"  is not valid - skipping

But I still have no idea why those themes work for me in systemsettings
Comment 9 Martin Flöser 2010-07-25 09:23:54 UTC
Created attachment 49475 [details]
Proposed patch

Could anyone experiencing this crash test this patch? I am still unable to reproduce the crash in systemsettings, but from the fix I wrote for AuroraeDesigner I am pretty sure that this patch will work. Nevertheless I would like to have it tested one week before release tagging.
Comment 10 Marco Carrai 2010-07-26 20:36:40 UTC
Can't test, not using sources:( Still happens on 4.4.93..
Comment 11 Martin Flöser 2010-07-26 23:13:03 UTC
> Can't test, not using sources:( Still happens on 4.4.93..
And if nobody is
able to test the patch, it will also happen in 4.5.0 as I won't ship an
untested patch a few days before release tagging.

Up to now, I would
recommend to remove some themes form ~/.kde[4]+/share/apps/aurorae/themes -
the crash is most likely caused by one of them. If you are able to identify
the theme causing the crash, please name it here.
Comment 12 Christoph Feck 2010-08-17 00:04:53 UTC
*** Bug 248081 has been marked as a duplicate of this bug. ***
Comment 13 Mark Bielefeld 2010-09-11 14:59:08 UTC
Created attachment 51543 [details]
New crash information added by DrKonqi

systemsettings (1.0) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

System settings -> Workspace Appearance -> Decorations
Scrolled.  
Crashed.

-- Backtrace (Reduced):
#6  0x00007f8b6f7a5624 in QGraphicsWidget::layout (this=0x1cbbd40) at graphicsview/qgraphicswidget.cpp:768
#7  0x00007f8b5a343aa9 in Aurorae::AuroraeScene::addTab (this=0x1aae150, caption=<value optimized out>) at ../../../../kwin/clients/aurorae/src/lib/auroraescene.cpp:820
#8  0x00007f8b5a33c6dd in KWin::DecorationModel::regeneratePreview (this=0x1aacd20, index=<value optimized out>, size=<value optimized out>)
    at ../../../../kwin/kcmkwin/kwindecoration/decorationmodel.cpp:339
#9  0x00007f8b5a32b910 in KWin::DecorationModel::qt_metacall (this=0x1aacd20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffe41ea80) at moc_decorationmodel.cpp:73
[...]
#11 0x00007f8b5a32b0e7 in KWin::DecorationDelegate::regeneratePreview (this=0x1cbbd40, _t1=<value optimized out>, _t2=<value optimized out>) at moc_decorationdelegate.cpp:85
Comment 14 Mark Bielefeld 2010-10-09 20:11:51 UTC
Created attachment 52375 [details]
New crash information added by DrKonqi

systemsettings (1.0) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

System Settings--> Window Decorations

Scrolling Up or Down with either the scrollbar or cursor keys results in crash.

Kubuntu 10.10 KDE 4.5.1

-- Backtrace (Reduced):
#6  0x00007eff5e05e6b4 in QGraphicsWidget::layout (this=0x1b16850) at graphicsview/qgraphicswidget.cpp:768
#7  0x00007eff4627e569 in Aurorae::AuroraeScene::addTab (this=0x2586d90, caption=<value optimized out>) at ../../../../kwin/clients/aurorae/src/lib/auroraescene.cpp:820
#8  0x00007eff462771a1 in KWin::DecorationModel::regeneratePreview (this=0x25abfe0, index=<value optimized out>, size=<value optimized out>) at ../../../../kwin/kcmkwin/kwindecoration/decorationmodel.cpp:339
#9  0x00007eff462663d0 in KWin::DecorationModel::qt_metacall (this=0x25abfe0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff87a586f0) at moc_decorationmodel.cpp:73
[...]
#11 0x00007eff46265ba7 in KWin::DecorationDelegate::regeneratePreview (this=0x1b16850, _t1=<value optimized out>, _t2=<value optimized out>) at moc_decorationdelegate.cpp:85
Comment 15 Mark Bielefeld 2010-10-10 19:41:07 UTC
Created attachment 52395 [details]
New crash information added by DrKonqi

systemsettings (1.0) on KDE Platform 4.5.2 (KDE 4.5.2) using Qt 4.7.0

kde 4.5.2
Window Decorations
Scrolling to bthe 16th or 17th item

-- Backtrace (Reduced):
#6  0x00007f09497706b4 in QGraphicsWidget::layout (this=0x3923d10) at graphicsview/qgraphicswidget.cpp:768
#7  0x00007f09185bf729 in Aurorae::AuroraeScene::addTab (this=0x4d89270, caption=<value optimized out>) at ../../../../kwin/clients/aurorae/src/lib/auroraescene.cpp:820
#8  0x00007f09185b5201 in KWin::DecorationModel::regeneratePreview (this=0x296c3a0, index=<value optimized out>, size=<value optimized out>) at ../../../../kwin/kcmkwin/kwindecoration/decorationmodel.cpp:339
#9  0x00007f09185a3d60 in KWin::DecorationModel::qt_metacall (this=0x296c3a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff35ac3860) at moc_decorationmodel.cpp:73
[...]
#11 0x00007f09185a3bb7 in KWin::DecorationDelegate::regeneratePreview (this=0x3923d10, _t1=<value optimized out>, _t2=<value optimized out>) at moc_decorationdelegate.cpp:85
Comment 16 Martin Flöser 2010-10-10 19:45:25 UTC
The bug has an attached patch, but it needs to be verified that it fixes the problem. Unfortunately as written above I am unable to reproduce.
Comment 17 Thomas Lübking 2010-10-13 18:17:09 UTC
*** Bug 254015 has been marked as a duplicate of this bug. ***
Comment 18 onegravenkiss 2010-11-10 18:08:24 UTC
Created attachment 53301 [details]
New crash information added by DrKonqi

systemsettings (1.0) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

Trying to cahnge my workspace appearance when the app crashed. I did nothing more then try to change my workspace appearance.

-- Backtrace (Reduced):
#6  0x00007f3fe9d106b4 in QGraphicsWidget::layout (this=0x254f3e0) at graphicsview/qgraphicswidget.cpp:768
#7  0x00007f3fd4148569 in Aurorae::AuroraeScene::addTab (this=0x24aea80, caption=<value optimized out>) at ../../../../kwin/clients/aurorae/src/lib/auroraescene.cpp:820
#8  0x00007f3fd41411a1 in KWin::DecorationModel::regeneratePreview (this=0x24adc00, index=<value optimized out>, size=<value optimized out>) at ../../../../kwin/kcmkwin/kwindecoration/decorationmodel.cpp:339
#9  0x00007f3fd41303d0 in KWin::DecorationModel::qt_metacall (this=0x24adc00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff70992c70) at moc_decorationmodel.cpp:73
[...]
#11 0x00007f3fd412fba7 in KWin::DecorationDelegate::regeneratePreview (this=0x254f3e0, _t1=<value optimized out>, _t2=<value optimized out>) at moc_decorationdelegate.cpp:85
Comment 19 Martin Flöser 2010-11-22 20:18:16 UTC
*** Bug 248079 has been marked as a duplicate of this bug. ***
Comment 20 Dario Andres 2010-12-25 14:26:51 UTC
*** Bug 261219 has been marked as a duplicate of this bug. ***
Comment 21 Martin Flöser 2011-03-14 20:13:39 UTC
*** Bug 268497 has been marked as a duplicate of this bug. ***
Comment 22 Marcin Baczyński 2011-03-19 18:57:48 UTC
I've just stumbled upon a crash with similar backtrace, but seemingly unrelated to systemsettings as kwin crashes when starting firefox. I'm using kwin 4.6.1 and qt 4.7.2.

Program received signal SIGSEGV, Segmentation fault.
QGraphicsWidget::layout (this=0x0) at graphicsview/qgraphicswidget.cpp:786
786     graphicsview/qgraphicswidget.cpp: Nie ma takiego pliku ani katalogu.
        in graphicsview/qgraphicswidget.cpp
(gdb) bt
#0  QGraphicsWidget::layout (this=0x0) at graphicsview/qgraphicswidget.cpp:786
#1  0x00007fffe20963e0 in Aurorae::AuroraeScene::addTab (this=0x9ac2b0, 
    data=<value optimized out>)
    at /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1/kwin/clients/aurorae/src/lib/auroraescene.cpp:844
#2  0x00007fffe209653c in Aurorae::AuroraeScene::addTab (this=0x9ac2b0, 
    caption=<value optimized out>)
    at /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1/kwin/clients/aurorae/src/lib/auroraescene.cpp:830
#3  0x00007fffe208db54 in Aurorae::AuroraeClient::checkTabs (this=0xa7f2d0, 
    force=<value optimized out>)
    at /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1/kwin/clients/aurorae/src/aurorae.cpp:431
#4  0x00007ffff7aba4ca in KWin::Client::setCaption (this=0xc0b140, _s=<value optimized out>, 
    force=<value optimized out>)
    at /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1/kwin/client.cpp:1819
#5  0x00007ffff7aba701 in KWin::Client::fetchName (this=0xc0b140)
    at /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1/kwin/client.cpp:1757
#6  0x00007ffff7aee950 in KWin::Client::windowEvent (this=0xc0b140, e=0x7fffffffd7b0)
    at /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1/kwin/events.cpp:604
#7  0x00007ffff7aeeac8 in KWin::Workspace::workspaceEvent (this=0x7fffdc0f4c20, 
    e=0x7fffffffd7b0)
    at /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1/kwin/events.cpp:309
#8  0x00007ffff7acbce1 in KWin::Application::x11EventFilter (this=0x7fffffffda30, 
    e=0x7fffffffd7b0) at /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1/kwin/main.cpp:367
#9  0x00007ffff2b7d015 in qt_x11EventFilter (ev=0x7fffffffd7b0)
    at kernel/qapplication_x11.cpp:435
#10 0x00007ffff2b8bf1f in QApplication::x11ProcessEvent (this=<value optimized out>, 
    event=0x7fffffffd7b0) at kernel/qapplication_x11.cpp:3299
#11 0x00007ffff2bb5a81 in QEventDispatcherX11::processEvents (this=0x60de20, flags=...)
    at kernel/qeventdispatcher_x11.cpp:132
#12 0x00007ffff3a21df2 in QEventLoop::processEvents (this=<value optimized out>, flags=...)
    at kernel/qeventloop.cpp:149
#13 0x00007ffff3a22074 in QEventLoop::exec (this=0x7fffffffd930, flags=...)
    at kernel/qeventloop.cpp:201
#14 0x00007ffff3a275db in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#15 0x00007ffff7acd2d6 in kdemain (argc=<value optimized out>, argv=0x7fffffffe038)
    at /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1/kwin/main.cpp:542
#16 0x00007ffff76e1ebd in __libc_start_main () from /lib64/libc.so.6
#17 0x00000000004006c9 in _start ()

There may be something wrong on X side as well, as I get the following errors from kwin just before crash:
kwin(20311) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 5755061
kwin(20311) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 27263069 ;WMCLASS: "firefox" : "navigator" ;Caption: "Mozilla Firefox" ' : 5755061
kwin(20311) KWin::Workspace::allowClientActivation: Activation: No client active, allowing
kwin(20311) KWin::x11ErrorHandler: kwin: X Error ( "error: BadAlloc [11], request: X_CreatePixmap[53], resource: 0x15a" ) 
kwin(20311) KWin::x11ErrorHandler: kwin: X Error ( "error: BadDrawable [9], request: RenderCreatePicture[RENDER+4], resource: 0x12000be" ) 
kwin(20311) KWin::x11ErrorHandler: kwin: X Error ( "error: BadAlloc [11], request: X_CreatePixmap[53], resource: 0x15a" ) 
kwin(20311) KWin::x11ErrorHandler: kwin: X Error ( "error: BadDrawable [9], request: RenderCreatePicture[RENDER+4], resource: 0x12000c0" ) 
kwin(20311) KWin::x11ErrorHandler: kwin: X Error ( "error: BadAlloc [11], request: X_CreatePixmap[53], resource: 0x15a" ) 
kwin(20311) KWin::x11ErrorHandler: kwin: X Error ( "error: BadDrawable [9], request: RenderCreatePicture[RENDER+4], resource: 0x12000ca" ) 
kwin(20311) KWin::x11ErrorHandler: kwin: X Error ( "error: RenderBadPicture [RENDER+1], request: RenderFreePicture[RENDER+7], resource: 0x12000ca" ) 
kwin(20311) KWin::x11ErrorHandler: kwin: X Error ( "error: BadPixmap [4], request: X_FreePixmap[54], resource: 0x12000be" ) 
kwin(20311) KWin::x11ErrorHandler: kwin: X Error ( "error: RenderBadPicture [RENDER+1], request: RenderComposite[RENDER+8], resource: 0x12000be" ) 
kwin(20311) KWin::x11ErrorHandler: kwin: X Error ( "error: BadAlloc [11], request: X_CreatePixmap[53], resource: 0x15a" ) 
kwin(20311) KWin::x11ErrorHandler: kwin: X Error ( "error: BadDrawable [9], request: RenderCreatePicture[RENDER+4], resource: 0x12000cc" ) 
kwin(20311) KWin::x11ErrorHandler: kwin: X Error ( "error: RenderBadPicture [RENDER+1], request: RenderFreePicture[RENDER+7], resource: 0x12000cc" ) 
kwin(20311) KWin::x11ErrorHandler: kwin: X Error ( "error: BadPixmap [4], request: X_FreePixmap[54], resource: 0x12000c0" ) 
kwin(20311) KWin::x11ErrorHandler: kwin: X Error ( "error: RenderBadPicture [RENDER+1], request: RenderComposite[RENDER+8], resource: 0x12000c0" ) 
kwin(20311) KWin::x11ErrorHandler: kwin: X Error ( "error: BadAlloc [11], request: X_ConfigureWindow[12]" ) 
kwin(20311) KWin::x11ErrorHandler: kwin: X Error ( "error: RenderBadPicture [RENDER+1], request: RenderComposite[RENDER+8], resource: 0x1200094" ) 
kwin(20311) KWin::x11ErrorHandler: kwin: X Error ( "error: RenderBadPicture [RENDER+1], request: RenderComposite[RENDER+8], resource: 0x1200094" ) 
kwin(20311) KWin::x11ErrorHandler: kwin: X Error ( "error: BadAlloc [11], request: X_ConfigureWindow[12]" ) 
kwin(20311) KWin::Workspace::updateClientArea: screens:  1 desktops:  4
kwin(20311) KWin::Workspace::updateClientArea: Done.
kwin(20311) KWin::Workspace::createTile: Now tiling  "Mozilla Firefox"
kwin(20311) KWin::Toplevel::createWindowPixmap: Creating window pixmap failed:  'ID: 27263069 ;WMCLASS: "firefox" : "navigator" ;Caption: "Mozilla Firefox" '
kwin(20311) KWin::Workspace::allowFullClientRaising: Raising: Belongs to active application
kwin(20311) KWin::Workspace::allowClientActivation: Activation: Belongs to active application
kwin(20311) KWin::Toplevel::createWindowPixmap: Creating window pixmap failed:  'ID: 27263069 ;WMCLASS: "firefox" : "navigator" ;Caption: "Mozilla Firefox" '
kwin(20311) KWin::Toplevel::createWindowPixmap: Creating window pixmap failed:  'ID: 27263069 ;WMCLASS: "firefox" : "navigator" ;Caption: "Mozilla Firefox" '
kwin(20311) KWin::Toplevel::createWindowPixmap: Creating window pixmap failed:  'ID: 27263069 ;WMCLASS: "firefox" : "navigator" ;Caption: "Mozilla Firefox" '

and in xorg.log I get
[  9186.732] [mi] EQ overflowing. The server is probably stuck in an infinite loop.
[  9186.733] 
Backtrace:
[  9186.767] 0: /usr/bin/X (xorg_backtrace+0x28) [0x49f1a8]
[  9186.767] 1: /usr/bin/X (mieqEnqueue+0x1c3) [0x49e723]
[  9186.767] 2: /usr/bin/X (xf86PostMotionEventP+0xc2) [0x47b3a2]
[  9186.767] 3: /usr/lib64/xorg/modules/input/evdev_drv.so (0x7f4a169b2000+0x4886) [0x7f4a169b6886]
[  9186.767] 4: /usr/bin/X (0x400000+0x69698) [0x469698]
[  9186.767] 5: /usr/bin/X (0x400000+0x1150c6) [0x5150c6]
[  9186.767] 6: /lib64/libpthread.so.0 (0x7f4a1c53a000+0xfee0) [0x7f4a1c549ee0]
[  9186.767] 7: /usr/lib64/libpixman-1.so.0 (0x7f4a1c2ca000+0xfce4) [0x7f4a1c2d9ce4]
[  9186.767] 8: /usr/lib64/libpixman-1.so.0 (0x7f4a1c2ca000+0x4757c) [0x7f4a1c31157c]
[  9186.775] 9: /usr/lib64/libpixman-1.so.0 (0x7f4a1c2ca000+0x32c56) [0x7f4a1c2fcc56]
[  9186.775] 10: /usr/lib64/libpixman-1.so.0 (pixman_image_composite32+0x52a) [0x7f4a1c2fe38a]
[  9186.775] 11: /usr/lib64/xorg/modules/libwfb.so (wfbComposite+0x1dc) [0x7f4a1702607c]
[  9186.775] 12: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7f4a17457000+0x3e3702) [0x7f4a1783a702]
[  9186.775] 13: /usr/bin/X (0x400000+0xd449c) [0x4d449c]
[  9186.775] 14: /usr/bin/X (0x400000+0xcd2c1) [0x4cd2c1]
[  9186.776] 15: /usr/bin/X (0x400000+0x2d1a9) [0x42d1a9]
[  9186.776] 16: /usr/bin/X (0x400000+0x216ad) [0x4216ad]
[  9186.776] 17: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7f4a1b469ebd]
[  9186.776] 18: /usr/bin/X (0x400000+0x21209) [0x421209]

The server is X.org server 1.9.5 on linux 2.6.38. Everything compiled with gcc 4.5.2.
Comment 23 Marcin Baczyński 2011-03-19 20:53:31 UTC
Hm. Removing ~/.kde4 and restarting KDE helped...
Comment 24 damthespam 2011-05-06 06:49:33 UTC
Created attachment 59680 [details]
New crash information added by DrKonqi

systemsettings (1.0) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:
System Settings->Workspace Appearance and Behavior->Workspace Appearance->Window Decorations
Scroll up and down through list.   I have the Ghost updated for Aurora installed.  Window Decorations crashes when I search for ghost.

-- Backtrace (Reduced):
#6  QGraphicsWidget::layout (this=0x293f940) at graphicsview/qgraphicswidget.cpp:784
#7  0x00007f1de312adc8 in Aurorae::AuroraeScene::addTab (this=0x2951d40, data=<value optimized out>) at ../../../../kwin/clients/aurorae/src/lib/auroraescene.cpp:844
#8  0x00007f1de312af1b in Aurorae::AuroraeScene::addTab (this=0x2951d40, caption=<value optimized out>) at ../../../../kwin/clients/aurorae/src/lib/auroraescene.cpp:830
#9  0x00007f1de311f051 in KWin::DecorationModel::regeneratePreview (this=0x19300a0, index=..., size=...) at ../../../../kwin/kcmkwin/kwindecoration/decorationmodel.cpp:339
#10 0x00007f1de310fd20 in KWin::DecorationModel::qt_metacall (this=0x19300a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff524dea10) at moc_decorationmodel.cpp:73
Comment 25 disabled account 2011-06-02 13:21:02 UTC
Created attachment 60552 [details]
New crash information added by DrKonqi

systemsettings (1.0) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:

I uninstalled a kdeartwork package because it came with air-oxygen, which I already had installed, during uninstalling I changed the decoration from said air-oxygen to the already installed air-oxygen, system settings crashed.

-- Backtrace (Reduced):
#6  QGraphicsWidget::layout (this=0x1f21260) at graphicsview/qgraphicswidget.cpp:784
#7  0x00007f03d4b2adc8 in Aurorae::AuroraeScene::addTab (this=0x1d221c0, data=<value optimized out>) at ../../../../kwin/clients/aurorae/src/lib/auroraescene.cpp:844
#8  0x00007f03d4b2af1b in Aurorae::AuroraeScene::addTab (this=0x1d221c0, caption=<value optimized out>) at ../../../../kwin/clients/aurorae/src/lib/auroraescene.cpp:830
#9  0x00007f03d4b1f051 in KWin::DecorationModel::regeneratePreview (this=0x1d20460, index=..., size=...) at ../../../../kwin/kcmkwin/kwindecoration/decorationmodel.cpp:339
#10 0x00007f03d4b0fd20 in KWin::DecorationModel::qt_metacall (this=0x1d20460, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4b8a24a0) at moc_decorationmodel.cpp:73
Comment 26 erez.odier 2011-09-25 23:08:39 UTC
Created attachment 63959 [details]
New crash information added by DrKonqi

systemsettings (1.0) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:

system settings > workspace appearance -> window decorations , scroll up

-- Backtrace (Reduced):
#6  QGraphicsWidget::layout (this=0xe858a0) at graphicsview/qgraphicswidget.cpp:784
#7  0x00007f418f30ddc8 in Aurorae::AuroraeScene::addTab (this=0xdf47c0, data=<value optimized out>) at ../../../../kwin/clients/aurorae/src/lib/auroraescene.cpp:844
#8  0x00007f418f30df1b in Aurorae::AuroraeScene::addTab (this=0xdf47c0, caption=<value optimized out>) at ../../../../kwin/clients/aurorae/src/lib/auroraescene.cpp:830
#9  0x00007f418f302051 in KWin::DecorationModel::regeneratePreview (this=0xdf0b90, index=..., size=...) at ../../../../kwin/kcmkwin/kwindecoration/decorationmodel.cpp:339
#10 0x00007f418f2f2d20 in KWin::DecorationModel::qt_metacall (this=0xdf0b90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe4bdcd20) at moc_decorationmodel.cpp:73
Comment 27 Christoph Feck 2011-11-24 13:15:15 UTC
*** Bug 287220 has been marked as a duplicate of this bug. ***
Comment 28 Martin Flöser 2012-04-06 20:13:23 UTC
Fixed latest in 4.9 as Aurorae got rewitten based on QML
Comment 29 Martin Flöser 2012-04-13 19:22:52 UTC
Bulk change: move all KWin kcm bugs to product kwin