Bug 251017 - Application crash when using KWindowListMenu::slotCascadeWindows(). NVIDIA TwinView
Summary: Application crash when using KWindowListMenu::slotCascadeWindows(). NVIDIA Tw...
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-12 22:17 UTC by Hans-Rudi Denzler
Modified: 2010-10-09 21:19 UTC (History)
3 users (show)

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


Attachments
crash report (9.42 KB, text/plain)
2010-09-12 22:17 UTC, Hans-Rudi Denzler
Details
TwinView example with no effect and no crash (81.53 KB, image/jpeg)
2010-09-16 17:19 UTC, Hans-Rudi Denzler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Rudi Denzler 2010-09-12 22:17:00 UTC
Created attachment 51571 [details]
crash report

Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

Window List applet with NVIDIA TwinView (Monitor 1: 1280,0 1280,1024; Monitor 2: 0,0 1280,1024):
Neither the first command ("Fenster staffeln") nor the 2. command "Fenster anordnen" work as one would expect. Both commands worked correctly prior to KDE 4.5 (?) as far as I remember.

Reproducible: Always

Steps to Reproduce:
1. open firefox (0,0 1106,1024), top left, left monitor
2. open dolphin (35,0 1245,682), top right, left monitor
3. Use "Window List applet" and select the 2. command ("Fenster anordnen" in German).

Actual Results:  
dolphin moves for 1 sec to position (~10,~10) from (35,0) and crashes (disappears).
Comment 1 Pino Toscano 2010-09-13 08:56:03 UTC
Pasting the backtrace to ease searches:

Application: Dolphin (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#7  0xb658a2a5 in QX11PaintEngine::drawPixmap (this=0xb6cbcff4, r=..., px=..., _sr=...) at painting/qpaintengine_x11.cpp:1919
#8  0xb64bf04d in QPaintEngine::drawImage (this=0x8258598, r=..., image=..., sr=..., flags=) at painting/qpaintengine.cpp:624
#9  0xb65884a5 in QX11PaintEngine::drawImage (this=0x8258598, r=..., image=..., sr=..., flags=...) at painting/qpaintengine_x11.cpp:1893
#10 0xb64d6730 in QPainterPrivate::draw_helper (this=0x834a9e8, originalPath=..., op=StrokeAndFillDraw) at painting/qpainter.cpp:484
#11 0xb64dc041 in QPainter::drawPath (this=0xbfcaa67c, path=...) at painting/qpainter.cpp:3370
#12 0xb64de38a in QPainter::drawRoundedRect (this=0xbfcaa67c, rect=..., xRadius=2, yRadius=2, mode=AbsoluteSize) at painting/qpainter.cpp:4150
#13 0xb2288ecf in Oxygen::Style::renderScrollBarHandle (this=0x80b4998, p=0xbfcaa67c, r=..., pal=..., orientation=Vertical, hover=false, opacity=-1)
    at /usr/src/debug/kdebase-workspace-4.5.1/kstyles/oxygen/oxygenstyle.cpp:5423
#14 0xb228a26d in renderScrollBarHandle (hover=<value optimized out>, orientation=<value optimized out>, pal=<value optimized out>, r=<value optimized out>, p=<value optimized out>, 
    this=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.5.1/kstyles/oxygen/oxygenstyle.h:284
#15 Oxygen::Style::drawScrollBarPrimitive (hover=<value optimized out>, orientation=<value optimized out>, pal=<value optimized out>, r=<value optimized out>, p=<value optimized out>, 
    this=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.5.1/kstyles/oxygen/oxygenstyle.cpp:2134
#16 0xb2251c76 in Oxygen::Style::drawKStylePrimitive (this=0x80b4998, widgetType=WT_ScrollBar, primitive=8, opt=0xbfca9c04, r=..., palette=..., flags=..., p=0xbfcaa67c, widget=0x8205050, kOpt=0x0)
    at /usr/src/debug/kdebase-workspace-4.5.1/kstyles/oxygen/oxygenstyle.cpp:1137
#17 0xb75653f8 in KStyle::drawControl (this=0x80b4998, element=CE_ScrollBarSlider, option=0xbfca9c04, p=0xbfcaa67c, widget=0x8205050) at /usr/src/debug/kdelibs-4.5.1/kdeui/kernel/kstyle.cpp:2266
#18 0xb227d8b9 in Oxygen::Style::drawControl (this=0x80b4998, element=CE_ScrollBarSlider, option=0xbfca9c04, p=0xbfcaa67c, widget=0x8205050)
    at /usr/src/debug/kdebase-workspace-4.5.1/kstyles/oxygen/oxygenstyle.cpp:1015
#19 0xb66c01fe in QCommonStyle::drawComplexControl (this=0x80b4998, cc=CC_ScrollBar, opt=0xbfcaa614, p=0xbfcaa67c, widget=0x8205050) at styles/qcommonstyle.cpp:3236
#20 0xb751580f in KStyle::drawComplexControl (this=0x80b4998, cc=CC_ScrollBar, opt=0xbfcaa614, p=0xbfcaa67c, w=0x8205050) at /usr/src/debug/kdelibs-4.5.1/kdeui/kernel/kstyle.cpp:3597
#21 0xb2244aac in Oxygen::Style::drawComplexControl (this=0x80b4998, control=CC_ScrollBar, option=0xbfcaa614, painter=0xbfcaa67c, widget=0x8205050)
    at /usr/src/debug/kdebase-workspace-4.5.1/kstyles/oxygen/oxygenstyle.cpp:308
#22 0xb68247f0 in QScrollBar::paintEvent (this=0x8205050) at widgets/qscrollbar.cpp:565
#23 0xb63b85cf in QWidget::event (this=0x8205050, event=0xbfcaac64) at kernel/qwidget.cpp:8190
#24 0xb6776e83 in QAbstractSlider::event (this=0x8205050, e=0xbfcaac64) at widgets/qabstractslider.cpp:930
#25 0xb68251d9 in QScrollBar::event (this=0x8205050, event=0xbfcaac64) at widgets/qscrollbar.cpp:545
#26 0xb6357e3c in QApplicationPrivate::notify_helper (this=0x80b0dd0, receiver=0x8205050, e=0xbfcaac64) at kernel/qapplication.cpp:4302
#27 0xb635ed08 in QApplication::notify (this=0x8205050, receiver=0x8205050, e=0xbfcaac64) at kernel/qapplication.cpp:4267
#28 0xb74dd1b1 in KApplication::notify (this=0xbfcad510, receiver=0x8205050, event=0xbfcaac64) at /usr/src/debug/kdelibs-4.5.1/kdeui/kernel/kapplication.cpp:310
#29 0xb6e4971e in QCoreApplication::notifyInternal (this=0xbfcad510, receiver=0x8205050, event=0xbfcaac64) at kernel/qcoreapplication.cpp:726
#30 0xb63c198c in sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:218
#31 QWidgetPrivate::drawWidget (event=<value optimized out>, receiver=<value optimized out>) at kernel/qwidget.cpp:5363
#32 0xb63c2729 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x8203c6c, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8257090)
    at kernel/qwidget.cpp:5476
#33 0xb63c16d8 in QWidgetPrivate::drawWidget (this=0x819a2e8, pdev=0x8203c6c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8257090) at kernel/qwidget.cpp:5412
#34 0xb63c2729 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x8203c6c, siblings=..., index=16, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8257090)
    at kernel/qwidget.cpp:5476
#35 0xb63c16d8 in QWidgetPrivate::drawWidget (this=0x8239bf0, pdev=0x8203c6c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8257090) at kernel/qwidget.cpp:5412
#36 0xb63c2729 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x8203c6c, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8257090)
    at kernel/qwidget.cpp:5476
#37 0xb63c16d8 in QWidgetPrivate::drawWidget (this=0x81de9b0, pdev=0x8203c6c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8257090) at kernel/qwidget.cpp:5412
#38 0xb63c2729 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x8203c6c, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8257090)
    at kernel/qwidget.cpp:5476
#39 0xb63c2567 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x8203c6c, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8257090)
    at kernel/qwidget.cpp:5463
#40 0xb63c16d8 in QWidgetPrivate::drawWidget (this=0x81c3888, pdev=0x8203c6c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8257090) at kernel/qwidget.cpp:5412
#41 0xb63c2729 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x8203c6c, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8257090)
    at kernel/qwidget.cpp:5476
#42 0xb63c16d8 in QWidgetPrivate::drawWidget (this=0x8177f08, pdev=0x8203c6c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8257090) at kernel/qwidget.cpp:5412
#43 0xb63c2729 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x8203c6c, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8257090)
    at kernel/qwidget.cpp:5476
#44 0xb63c16d8 in QWidgetPrivate::drawWidget (this=0x8274f20, pdev=0x8203c6c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8257090) at kernel/qwidget.cpp:5412
#45 0xb63c2729 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x8203c6c, siblings=..., index=10, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8257090)
    at kernel/qwidget.cpp:5476
#46 0xb63c2567 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x8203c6c, siblings=..., index=11, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8257090)
    at kernel/qwidget.cpp:5463
#47 0xb63c2567 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x8203c6c, siblings=..., index=12, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8257090)
    at kernel/qwidget.cpp:5463
#48 0xb63c2567 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x8203c6c, siblings=..., index=18, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8257090)
    at kernel/qwidget.cpp:5463
#49 0xb63c2567 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x8203c6c, siblings=..., index=32, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8257090)
    at kernel/qwidget.cpp:5463
#50 0xb63c2567 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x8203c6c, siblings=..., index=33, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8257090)
    at kernel/qwidget.cpp:5463
#51 0xb63c16d8 in QWidgetPrivate::drawWidget (this=0x81661e8, pdev=0x8203c6c, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x8257090) at kernel/qwidget.cpp:5412
#52 0xb65a4218 in QWidgetBackingStore::sync (this=0x8257090) at painting/qbackingstore.cpp:1300
#53 0xb63b1d2b in QWidgetPrivate::syncBackingStore (this=0x81661e8) at kernel/qwidget.cpp:1688
#54 0xb63dfd98 in QETWidget::translateConfigEvent (this=0x815a788, event=0xbfcacb90) at kernel/qapplication_x11.cpp:5268
#55 0xb63eb2ac in QApplication::x11ProcessEvent (this=0xbfcad510, event=0xbfcad1ac) at kernel/qapplication_x11.cpp:3418
#56 0xb64190e8 in x11EventSourceDispatch (s=0x80b48a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#57 0xb5bbf4c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#58 0xb5bc2d98 in ?? () from /usr/lib/libglib-2.0.so.0
#59 0xb5bc2ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#60 0xb6e76381 in QEventDispatcherGlib::processEvents (this=0x80b1330, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#61 0xb6418c3a in QGuiEventDispatcherGlib::processEvents (this=0x80b1330, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#62 0xb6e47d8d in QEventLoop::processEvents (this=0xbfcad464, flags=) at kernel/qeventloop.cpp:149
#63 0xb6e481d9 in QEventLoop::exec (this=0xbfcad464, flags=...) at kernel/qeventloop.cpp:201
#64 0xb6e4d480 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#65 0xb6357ee4 in QApplication::exec () at kernel/qapplication.cpp:3581
#66 0xb2610129 in kdemain (argc=5, argv=0x8096830) at /usr/src/debug/kdebase-4.5.1/apps/dolphin/src/main.cpp:98
#67 0x0804eda7 in _start ()
Comment 2 Hans-Rudi Denzler 2010-09-13 12:03:05 UTC
It's not a dolphin product bug. Other example:
Steps to Reproduce:
1. open kwrite (0,0 739,535), top left, left monitor
2. open system settings (230,342 1016,682), bottom right, left monitor
3. Use "Window List applet" and select the second command ("Cascade Windows")

Actual Results:
The window "system settings" moves for 1 sec to position (~10,~10) from (230,342) and crashes (disappears).

Please pay attention to the misleading German translation!
"Unclutter" means "anordnen" in German.
"Cascade" means "staffeln" in German.
If I want to "Cascade" the windows I use the second command ".. anordnen".
Comment 3 Mark 2010-09-15 23:28:10 UTC
Could you try and reproduce this bug with a style other then oxygen? (please do post the backtrace if it crashes. If not then it's probably a oxygen bug)
Comment 4 Hans-Rudi Denzler 2010-09-16 12:27:52 UTC
1. open gvim (0,0 588,449), top left, left monitor
2. open kwrite (393,342 853,682), bottom right, left monitor
3. Use "Window List applet" and select the second command ("Cascade Windows")

Actual Results:
The window "kwrite" moves for 1 sec to position (~10,~10) from
(393,342) and crashes (disappears).

kwrite-20100916-121959.kcrash with the next style Plastik:
Application: KWrite (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#7  0xb65712a5 in QX11PaintEngine::drawPixmap (this=0xb6ca3ff4, r=..., px=..., _sr=...) at painting/qpaintengine_x11.cpp:1919
#8  0xb64a604d in QPaintEngine::drawImage (this=0x8357bf8, r=..., image=..., sr=..., flags=) at painting/qpaintengine.cpp:624
#9  0xb656f4a5 in QX11PaintEngine::drawImage (this=0x8357bf8, r=..., image=..., sr=..., flags=...) at painting/qpaintengine_x11.cpp:1893
#10 0xb64bd730 in QPainterPrivate::draw_helper (this=0x83f0a08, originalPath=..., op=StrokeAndFillDraw) at painting/qpainter.cpp:484
#11 0xb64c3041 in QPainter::drawPath (this=0xbffd08ec, path=...) at painting/qpainter.cpp:3370
#12 0xb64c538a in QPainter::drawRoundedRect (this=0xbffd08ec, rect=..., xRadius=2, yRadius=2, mode=AbsoluteSize) at painting/qpainter.cpp:4150
#13 0xb249aecf in Oxygen::Style::renderScrollBarHandle (this=0x80dfda8, p=0xbffd08ec, r=..., pal=..., orientation=Vertical, hover=false, opacity=-1)
    at /usr/src/debug/kdebase-workspace-4.5.1/kstyles/oxygen/oxygenstyle.cpp:5423
#14 0xb249c26d in renderScrollBarHandle (hover=<value optimized out>, orientation=<value optimized out>, pal=<value optimized out>, r=<value optimized out>, p=<value optimized out>, 
    this=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.5.1/kstyles/oxygen/oxygenstyle.h:284
#15 Oxygen::Style::drawScrollBarPrimitive (hover=<value optimized out>, orientation=<value optimized out>, pal=<value optimized out>, r=<value optimized out>, p=<value optimized out>, 
    this=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.5.1/kstyles/oxygen/oxygenstyle.cpp:2134
#16 0xb2463c76 in Oxygen::Style::drawKStylePrimitive (this=0x80dfda8, widgetType=WT_ScrollBar, primitive=8, opt=0xbffcfe74, r=..., palette=..., flags=..., p=0xbffd08ec, widget=0x8201f48, kOpt=0x0)
    at /usr/src/debug/kdebase-workspace-4.5.1/kstyles/oxygen/oxygenstyle.cpp:1137
#17 0xb754c3f8 in KStyle::drawControl (this=0x80dfda8, element=CE_ScrollBarSlider, option=0xbffcfe74, p=0xbffd08ec, widget=0x8201f48) at /usr/src/debug/kdelibs-4.5.1/kdeui/kernel/kstyle.cpp:2266
#18 0xb248f8b9 in Oxygen::Style::drawControl (this=0x80dfda8, element=CE_ScrollBarSlider, option=0xbffcfe74, p=0xbffd08ec, widget=0x8201f48)
    at /usr/src/debug/kdebase-workspace-4.5.1/kstyles/oxygen/oxygenstyle.cpp:1015
#19 0xb66a71fe in QCommonStyle::drawComplexControl (this=0x80dfda8, cc=CC_ScrollBar, opt=0xbffd0884, p=0xbffd08ec, widget=0x8201f48) at styles/qcommonstyle.cpp:3236
#20 0xb74fc80f in KStyle::drawComplexControl (this=0x80dfda8, cc=CC_ScrollBar, opt=0xbffd0884, p=0xbffd08ec, w=0x8201f48) at /usr/src/debug/kdelibs-4.5.1/kdeui/kernel/kstyle.cpp:3597
#21 0xb2456aac in Oxygen::Style::drawComplexControl (this=0x80dfda8, control=CC_ScrollBar, option=0xbffd0884, painter=0xbffd08ec, widget=0x8201f48)
    at /usr/src/debug/kdebase-workspace-4.5.1/kstyles/oxygen/oxygenstyle.cpp:308
#22 0xb680b7f0 in QScrollBar::paintEvent (this=0x8201f48) at widgets/qscrollbar.cpp:565
#23 0xafe1f59f in KateScrollBar::paintEvent (this=0x8201f48, e=0xbffd0fc4) at /usr/src/debug/kdelibs-4.5.1/kate/view/kateviewhelpers.cpp:119
#24 0xb639f5cf in QWidget::event (this=0x8201f48, event=0xbffd0fc4) at kernel/qwidget.cpp:8190
#25 0xb675de83 in QAbstractSlider::event (this=0x8201f48, e=0xbffd0fc4) at widgets/qabstractslider.cpp:930
#26 0xb680c1d9 in QScrollBar::event (this=0x8201f48, event=0xbffd0fc4) at widgets/qscrollbar.cpp:545
#27 0xb633ee3c in QApplicationPrivate::notify_helper (this=0x80ab8b8, receiver=0x8201f48, e=0xbffd0fc4) at kernel/qapplication.cpp:4302
#28 0xb6345d08 in QApplication::notify (this=0x8201f48, receiver=0x8201f48, e=0xbffd0fc4) at kernel/qapplication.cpp:4267
#29 0xb74c41b1 in KApplication::notify (this=0xbffd2a54, receiver=0x8201f48, event=0xbffd0fc4) at /usr/src/debug/kdelibs-4.5.1/kdeui/kernel/kapplication.cpp:310
#30 0xb6e3071e in QCoreApplication::notifyInternal (this=0xbffd2a54, receiver=0x8201f48, event=0xbffd0fc4) at kernel/qcoreapplication.cpp:726
#31 0xb63a898c in sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:218
#32 QWidgetPrivate::drawWidget (event=<value optimized out>, receiver=<value optimized out>) at kernel/qwidget.cpp:5363
#33 0xb63a9729 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x8262b7c, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8278bc8)
    at kernel/qwidget.cpp:5476
#34 0xb63a9567 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x8262b7c, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8278bc8)
    at kernel/qwidget.cpp:5463
#35 0xb63a9567 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x8262b7c, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8278bc8)
    at kernel/qwidget.cpp:5463
#36 0xb63a9567 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x8262b7c, siblings=..., index=8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8278bc8)
    at kernel/qwidget.cpp:5463
#37 0xb63a86d8 in QWidgetPrivate::drawWidget (this=0x8201b18, pdev=0x8262b7c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8278bc8) at kernel/qwidget.cpp:5412
#38 0xb63a9729 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x8262b7c, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8278bc8)
    at kernel/qwidget.cpp:5476
#39 0xb63a9567 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x8262b7c, siblings=..., index=10, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8278bc8)
    at kernel/qwidget.cpp:5463
#40 0xb63a9567 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x8262b7c, siblings=..., index=12, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8278bc8)
    at kernel/qwidget.cpp:5463
#41 0xb63a9567 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x8262b7c, siblings=..., index=19, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8278bc8)
    at kernel/qwidget.cpp:5463
#42 0xb63a86d8 in QWidgetPrivate::drawWidget (this=0x81f7e88, pdev=0x8262b7c, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x8278bc8) at kernel/qwidget.cpp:5412
#43 0xb658b218 in QWidgetBackingStore::sync (this=0x8278bc8) at painting/qbackingstore.cpp:1300
#44 0xb6398d2b in QWidgetPrivate::syncBackingStore (this=0x81f7e88) at kernel/qwidget.cpp:1688
#45 0xb63c6d98 in QETWidget::translateConfigEvent (this=0x816f018, event=0xbffd20e0) at kernel/qapplication_x11.cpp:5268
#46 0xb63d22ac in QApplication::x11ProcessEvent (this=0xbffd2a54, event=0xbffd26fc) at kernel/qapplication_x11.cpp:3418
#47 0xb64000e8 in x11EventSourceDispatch (s=0x80ae8a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#48 0xb5ba64c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#49 0xb5ba9d98 in ?? () from /usr/lib/libglib-2.0.so.0
#50 0xb5ba9ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#51 0xb6e5d381 in QEventDispatcherGlib::processEvents (this=0x805bc80, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#52 0xb63ffc3a in QGuiEventDispatcherGlib::processEvents (this=0x805bc80, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0xb6e2ed8d in QEventLoop::processEvents (this=0xbffd29b4, flags=) at kernel/qeventloop.cpp:149
#54 0xb6e2f1d9 in QEventLoop::exec (this=0xbffd29b4, flags=...) at kernel/qeventloop.cpp:201
#55 0xb6e34480 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#56 0xb633eee4 in QApplication::exec () at kernel/qapplication.cpp:3581
#57 0xb5591387 in kdemain (argc=1, argv=0x8096628) at /usr/src/debug/kdebase-4.5.1/apps/kwrite/kwritemain.cpp:677
#58 0x0804eda7 in _start ()
Comment 5 Hans-Rudi Denzler 2010-09-16 12:59:03 UTC
again Oxygen:
1. open kwrite (0,0 853,682), top left, left monitor
2. open kwrite (392,342 853,682), bottom right, left monitor
3. Use "Window List applet" and select the second command ("Cascade Windows")
no crash, does nothing

move bottom right window to bottom left position:
1. kwrite (0,0 853,682), top left, left monitor
2. kwrite (0,342 853,682), bottom left, left monitor
3. Use "Window List applet" and select the second command ("Cascade Windows")
no crash, does nothing
4. Use "Window List applet" and select the "first" command ("Unclutter Windows")

Actual Results:
The window "kwrite" moves for 1 sec to position (~427,~0) from
(0,0) and crashes (disappears).

kwrite-20100916-124303.kcrash:
Application: KWrite (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#7  0xb65712a5 in QX11PaintEngine::drawPixmap (this=0xb6ca3ff4, r=..., px=..., _sr=...) at painting/qpaintengine_x11.cpp:1919
#8  0xb64a604d in QPaintEngine::drawImage (this=0x84aa9b8, r=..., image=..., sr=..., flags=) at painting/qpaintengine.cpp:624
#9  0xb656f4a5 in QX11PaintEngine::drawImage (this=0x84aa9b8, r=..., image=..., sr=..., flags=...) at painting/qpaintengine_x11.cpp:1893
#10 0xb64bd730 in QPainterPrivate::draw_helper (this=0x84a77c8, originalPath=..., op=StrokeAndFillDraw) at painting/qpainter.cpp:484
#11 0xb64c3041 in QPainter::drawPath (this=0xbffd08ec, path=...) at painting/qpainter.cpp:3370
#12 0xb64c538a in QPainter::drawRoundedRect (this=0xbffd08ec, rect=..., xRadius=2, yRadius=2, mode=AbsoluteSize) at painting/qpainter.cpp:4150
#13 0xb249aecf in Oxygen::Style::renderScrollBarHandle (this=0x80d6548, p=0xbffd08ec, r=..., pal=..., orientation=Vertical, hover=false, opacity=-1)
    at /usr/src/debug/kdebase-workspace-4.5.1/kstyles/oxygen/oxygenstyle.cpp:5423
#14 0xb249c26d in renderScrollBarHandle (hover=<value optimized out>, orientation=<value optimized out>, pal=<value optimized out>, r=<value optimized out>, p=<value optimized out>, 
    this=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.5.1/kstyles/oxygen/oxygenstyle.h:284
#15 Oxygen::Style::drawScrollBarPrimitive (hover=<value optimized out>, orientation=<value optimized out>, pal=<value optimized out>, r=<value optimized out>, p=<value optimized out>, 
    this=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.5.1/kstyles/oxygen/oxygenstyle.cpp:2134
#16 0xb2463c76 in Oxygen::Style::drawKStylePrimitive (this=0x80d6548, widgetType=WT_ScrollBar, primitive=8, opt=0xbffcfe74, r=..., palette=..., flags=..., p=0xbffd08ec, widget=0x8203fd0, kOpt=0x0)
    at /usr/src/debug/kdebase-workspace-4.5.1/kstyles/oxygen/oxygenstyle.cpp:1137
#17 0xb754c3f8 in KStyle::drawControl (this=0x80d6548, element=CE_ScrollBarSlider, option=0xbffcfe74, p=0xbffd08ec, widget=0x8203fd0) at /usr/src/debug/kdelibs-4.5.1/kdeui/kernel/kstyle.cpp:2266
#18 0xb248f8b9 in Oxygen::Style::drawControl (this=0x80d6548, element=CE_ScrollBarSlider, option=0xbffcfe74, p=0xbffd08ec, widget=0x8203fd0)
    at /usr/src/debug/kdebase-workspace-4.5.1/kstyles/oxygen/oxygenstyle.cpp:1015
#19 0xb66a71fe in QCommonStyle::drawComplexControl (this=0x80d6548, cc=CC_ScrollBar, opt=0xbffd0884, p=0xbffd08ec, widget=0x8203fd0) at styles/qcommonstyle.cpp:3236
#20 0xb74fc80f in KStyle::drawComplexControl (this=0x80d6548, cc=CC_ScrollBar, opt=0xbffd0884, p=0xbffd08ec, w=0x8203fd0) at /usr/src/debug/kdelibs-4.5.1/kdeui/kernel/kstyle.cpp:3597
#21 0xb2456aac in Oxygen::Style::drawComplexControl (this=0x80d6548, control=CC_ScrollBar, option=0xbffd0884, painter=0xbffd08ec, widget=0x8203fd0)
    at /usr/src/debug/kdebase-workspace-4.5.1/kstyles/oxygen/oxygenstyle.cpp:308
#22 0xb680b7f0 in QScrollBar::paintEvent (this=0x8203fd0) at widgets/qscrollbar.cpp:565
#23 0xafe1f59f in KateScrollBar::paintEvent (this=0x8203fd0, e=0xbffd0fc4) at /usr/src/debug/kdelibs-4.5.1/kate/view/kateviewhelpers.cpp:119
#24 0xb639f5cf in QWidget::event (this=0x8203fd0, event=0xbffd0fc4) at kernel/qwidget.cpp:8190
#25 0xb675de83 in QAbstractSlider::event (this=0x8203fd0, e=0xbffd0fc4) at widgets/qabstractslider.cpp:930
#26 0xb680c1d9 in QScrollBar::event (this=0x8203fd0, event=0xbffd0fc4) at widgets/qscrollbar.cpp:545
#27 0xb633ee3c in QApplicationPrivate::notify_helper (this=0x80ab9c8, receiver=0x8203fd0, e=0xbffd0fc4) at kernel/qapplication.cpp:4302
#28 0xb6345d08 in QApplication::notify (this=0x8203fd0, receiver=0x8203fd0, e=0xbffd0fc4) at kernel/qapplication.cpp:4267
#29 0xb74c41b1 in KApplication::notify (this=0xbffd2a54, receiver=0x8203fd0, event=0xbffd0fc4) at /usr/src/debug/kdelibs-4.5.1/kdeui/kernel/kapplication.cpp:310
#30 0xb6e3071e in QCoreApplication::notifyInternal (this=0xbffd2a54, receiver=0x8203fd0, event=0xbffd0fc4) at kernel/qcoreapplication.cpp:726
#31 0xb63a898c in sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:218
#32 QWidgetPrivate::drawWidget (event=<value optimized out>, receiver=<value optimized out>) at kernel/qwidget.cpp:5363
#33 0xb63a9729 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x822bd1c, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8248618)
    at kernel/qwidget.cpp:5476
#34 0xb63a9567 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x822bd1c, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8248618)
    at kernel/qwidget.cpp:5463
#35 0xb63a9567 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x822bd1c, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8248618)
    at kernel/qwidget.cpp:5463
#36 0xb63a9567 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x822bd1c, siblings=..., index=8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8248618)
    at kernel/qwidget.cpp:5463
#37 0xb63a86d8 in QWidgetPrivate::drawWidget (this=0x8201ba8, pdev=0x822bd1c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8248618) at kernel/qwidget.cpp:5412
#38 0xb63a9729 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x822bd1c, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8248618)
    at kernel/qwidget.cpp:5476
#39 0xb63a9567 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x822bd1c, siblings=..., index=10, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8248618)
    at kernel/qwidget.cpp:5463
#40 0xb63a9567 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x822bd1c, siblings=..., index=12, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8248618)
    at kernel/qwidget.cpp:5463
#41 0xb63a9567 in QWidgetPrivate::paintSiblingsRecursive (this=0x0, pdev=0x822bd1c, siblings=..., index=19, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8248618)
    at kernel/qwidget.cpp:5463
#42 0xb63a86d8 in QWidgetPrivate::drawWidget (this=0x81f9748, pdev=0x822bd1c, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x8248618) at kernel/qwidget.cpp:5412
#43 0xb658b218 in QWidgetBackingStore::sync (this=0x8248618) at painting/qbackingstore.cpp:1300
#44 0xb6398d2b in QWidgetPrivate::syncBackingStore (this=0x81f9748) at kernel/qwidget.cpp:1688
#45 0xb63c6d98 in QETWidget::translateConfigEvent (this=0x816edd0, event=0xbffd20e0) at kernel/qapplication_x11.cpp:5268
#46 0xb63d22ac in QApplication::x11ProcessEvent (this=0xbffd2a54, event=0xbffd26fc) at kernel/qapplication_x11.cpp:3418
#47 0xb64000e8 in x11EventSourceDispatch (s=0x80ae9a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#48 0xb5ba64c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#49 0xb5ba9d98 in ?? () from /usr/lib/libglib-2.0.so.0
#50 0xb5ba9ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#51 0xb6e5d381 in QEventDispatcherGlib::processEvents (this=0x805bc80, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#52 0xb63ffc3a in QGuiEventDispatcherGlib::processEvents (this=0x805bc80, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0xb6e2ed8d in QEventLoop::processEvents (this=0xbffd29b4, flags=) at kernel/qeventloop.cpp:149
#54 0xb6e2f1d9 in QEventLoop::exec (this=0xbffd29b4, flags=...) at kernel/qeventloop.cpp:201
#55 0xb6e34480 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#56 0xb633eee4 in QApplication::exec () at kernel/qapplication.cpp:3581
#57 0xb5591387 in kdemain (argc=1, argv=0x8096978) at /usr/src/debug/kdebase-4.5.1/apps/kwrite/kwritemain.cpp:677
#58 0x0804eda7 in _start ()
Comment 6 Mark 2010-09-16 15:42:58 UTC
I can't reproduce any of your cases (on trunk that is).
The only difference i have is i'm on a single monitor setup and you seem to have more then one (since you mention left monitor all the time).

So, that either means it's fixed in trunk (?) or it's an issue that only appears with multiple monitors. (or i'm testing it wrong)
Comment 7 Hans-Rudi Denzler 2010-09-16 17:19:21 UTC
Created attachment 51724 [details]
TwinView example with no effect and no crash

Yes, it's a TwinView issue. Neither the command "Unclutter Windows" nor "Cascade Windows" of plasmoid windowlist do anything. In the upper left corner for a very short moment a repositioning is shown and instantly aborted. In this case no crash happens.