Bug 177513

Summary: kde 4.2 beta compiz plasma crash
Product: [Unmaintained] plasma4 Reporter: Syd <theleadingcompetitor>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: aseigo
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Syd 2008-12-11 18:50:16 UTC
Version:            (using Devel)
Installed from:    Compiled sources

This bug is for KDE 4.2 Beta 1 (though it also occurs in 4.1.3 and older versions of 4.x)

Backtrace:
----------------------------------------------------
Application: Plasma Workspace (plasma), signal SIGABRT
[Current thread is 0 (LWP 30722)]

Thread 3 (Thread 0xa8f01b90 (LWP 30730)):
#0  0xb7fcd430 in __kernel_vsyscall ()
#1  0xb5808075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb641a9ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb66056f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb796e532 in ?? () from /usr/lib/libQtNetwork.so.4
#5  0xb66046ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb580450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb640c7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa86c8b90 (LWP 30733)):
#0  0xb7fcd430 in __kernel_vsyscall ()
#1  0xb5808075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb641a9ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb66056f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xa9039c52 in RenderThread::run (this=0x8e69bdc) at /build/buildd/kdebase-workspace-4.1.80/plasma/wallpapers/image/renderthread.cpp:90
#5  0xb66046ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb580450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb640c7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb4628a00 (LWP 30722)):
[KCrash Handler]
#6  0xb7fcd430 in __kernel_vsyscall ()
#7  0xb6356880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb6358248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb65fc795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb65fc872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb65fc8cc in qt_assert_x () from /usr/lib/libQtCore.so.4
#12 0xa926afa3 in Pager::paintInterface (this=0x8d00860, painter=0xbfccd864, option=0xbfccd424, contentsRect=@0xbfccd240) at /usr/include/qt4/QtCore/qlist.h:395
#13 0xb7e00b0c in Plasma::Applet::paint () from /usr/lib/libplasma.so.3
#14 0xb6f5e7a4 in ?? () from /usr/lib/libQtGui.so.4
#15 0xb6f6220d in ?? () from /usr/lib/libQtGui.so.4
#16 0xb6f62681 in QGraphicsScene::drawItems () from /usr/lib/libQtGui.so.4
#17 0xb6f7602c in QGraphicsView::drawItems () from /usr/lib/libQtGui.so.4
#18 0xb6f7f6fc in QGraphicsView::paintEvent () from /usr/lib/libQtGui.so.4
#19 0xb7f688ac in PanelView::paintEvent (this=0x9087158, event=0xbfccea4c) at /build/buildd/kdebase-workspace-4.1.80/plasma/shells/desktop/panelview.cpp:1031
#20 0xb6a2174b in QWidget::event () from /usr/lib/libQtGui.so.4
#21 0xb6d58fd3 in QFrame::event () from /usr/lib/libQtGui.so.4
#22 0xb6def7df in QAbstractScrollArea::viewportEvent () from /usr/lib/libQtGui.so.4
#23 0xb6f7cd0f in QGraphicsView::viewportEvent () from /usr/lib/libQtGui.so.4
#24 0xb6df1d85 in ?? () from /usr/lib/libQtGui.so.4
#25 0xb66f404a in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#26 0xb69c98ca in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#27 0xb69d17fa in QApplication::notify () from /usr/lib/libQtGui.so.4
#28 0xb7746c6d in KApplication::notify (this=0x8b72630, receiver=0x90883d0, event=0xbfccea4c) at /build/buildd/kde4libs-4.1.80/kdeui/kernel/kapplication.cpp:307
#29 0xb66f4e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#30 0xb6a2a3de in ?? () from /usr/lib/libQtGui.so.4
#31 0xb6a20110 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#32 0xb6a208b2 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#33 0xb6a1fd88 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#34 0xb6b8ffae in ?? () from /usr/lib/libQtGui.so.4
#35 0xb6b904a7 in ?? () from /usr/lib/libQtGui.so.4
#36 0xb6a21576 in QWidget::event () from /usr/lib/libQtGui.so.4
#37 0xb6d58fd3 in QFrame::event () from /usr/lib/libQtGui.so.4
#38 0xb6df02ad in QAbstractScrollArea::event () from /usr/lib/libQtGui.so.4
#39 0xb6f76734 in QGraphicsView::event () from /usr/lib/libQtGui.so.4
#40 0xb7f68353 in PanelView::event (this=0x9087158, event=0x917d158) at /build/buildd/kdebase-workspace-4.1.80/plasma/shells/desktop/panelview.cpp:1053
#41 0xb69c98ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#42 0xb69d17fa in QApplication::notify () from /usr/lib/libQtGui.so.4
#43 0xb7746c6d in KApplication::notify (this=0x8b72630, receiver=0x9087158, event=0x917d158) at /build/buildd/kde4libs-4.1.80/kdeui/kernel/kapplication.cpp:307
#44 0xb66f4e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#45 0xb66f5ae5 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#46 0xb66f5cdd in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#47 0xb671f82f in ?? () from /usr/lib/libQtCore.so.4
#48 0xb56496f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#49 0xb564cda3 in ?? () from /usr/lib/libglib-2.0.so.0
#50 0xb564cf61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#51 0xb671f478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#52 0xb6a63ea5 in ?? () from /usr/lib/libQtGui.so.4
#53 0xb66f352a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#54 0xb66f36ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#55 0xb66f5da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#56 0xb69c9767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#57 0xb7f60981 in kdemain (argc=1, argv=0xbfccf7e4) at /build/buildd/kdebase-workspace-4.1.80/plasma/shells/desktop/main.cpp:58
#58 0x08048712 in main (argc=) at /build/buildd/kdebase-workspace-4.1.80/obj-i486-linux-gnu/plasma/shells/desktop/plasma_qgv_dummy.cpp:3


How to Reproduce:
----------------------------------------------------
 - Use Compiz-Switch to turn compiz off -> Now using Kwin.
 - Use Compiz-Switch again to turn compiz back on -> Now only 1 desktop appears in the Pager Widget.
 - Switch desktops with Desktop Wall and the screen goes black for a moment, and plasma crashes.
Comment 1 Aaron J. Seigo 2008-12-11 20:07:11 UTC
SVN commit 895783 by aseigo:

* check the size of m_rects before accessing it
* instantly trigger a recalc of the window geometries when the number of desktops change

i hope this is the last of this particular bug. please update and check.

CCBUG:177513
CCBUG:177479


 M  +4 -6      pager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=895783