Bug 174245

Summary: kwin crashed when trying to add a display with nvidia-settings
Product: [Plasma] kwin Reporter: SlashDevDsp <slashdevdsp>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: gpothier
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description SlashDevDsp 2008-11-04 13:44:04 UTC
Version:            (using Devel)
Compiler:          g++ 4.1.3 
OS:                Linux
Installed from:    Compiled sources

kwin crashed when adding/extending to dual monitor with nvidia-settings. attached bt:

Application: KWin (kwin), signal SIGABRT
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[New Thread -1248491808 (LWP 6023)]
[Current thread is 0 (process 6023)]

Thread 1 (Thread -1248491808 (LWP 6023)):
[KCrash Handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb69f4875 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb69f6201 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb6c9afb5 in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbfd51d3c "ASSERT failure in QVector<T>::operator[]: \"index out of range\", file /home/kde-devel/kdesvn/build/qt-copy/include/QtCore/../../../../qt-copy/src/corelib/tools/qvector.h, line 321") at /home/kde-devel/kdesvn/qt-copy/src/corelib/global/qglobal.cpp:2102
#10 0xb6c9b068 in qFatal (msg=0xb6dc5488 "ASSERT failure in %s: \"%s\", file %s, line %d") at /home/kde-devel/kdesvn/qt-copy/src/corelib/global/qglobal.cpp:2303
#11 0xb6c9b0cc in qt_assert_x (where=0xb7f2f368 "QVector<T>::operator[]", what=0xb7f2f355 "index out of range", 
    file=0xb7f2f858 "/home/kde-devel/kdesvn/build/qt-copy/include/QtCore/../../../../qt-copy/src/corelib/tools/qvector.h", line=321)
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/global/qglobal.cpp:1880
#12 0xb7eeed70 in KWin::Workspace::clientArea (this=0x8106510, opt=KWin::ScreenArea, screen=1, desktop=1)
    at /home/kde-devel/kdesvn/build/qt-copy/include/QtCore/../../../../qt-copy/src/corelib/tools/qvector.h:321
#13 0xb7eeef96 in KWin::Workspace::clientArea (this=0x8106510, opt=KWin::ScreenArea, p=@0xbfd53e28, desktop=-1) at /home/kde-devel/kdesvn/kdebase/workspace/kwin/geometry.cpp:283
#14 0xb7eef02b in KWin::Workspace::clientArea (this=0x8106510, opt=KWin::ScreenArea, c=0x843d738) at /home/kde-devel/kdesvn/kdebase/workspace/kwin/geometry.cpp:288
#15 0xb7eef9ef in KWin::Client::adjustedClientArea (this=0x843d738, desktopArea=@0xbfd54044, area=@0xbfd54044) at /home/kde-devel/kdesvn/kdebase/workspace/kwin/geometry.cpp:870
#16 0xb7ef9bbd in KWin::Workspace::updateClientArea (this=0x8106510, force=false) at /home/kde-devel/kdesvn/kdebase/workspace/kwin/geometry.cpp:115
#17 0xb7efafb9 in KWin::Workspace::updateClientArea (this=0x8106510) at /home/kde-devel/kdesvn/kdebase/workspace/kwin/geometry.cpp:216
#18 0xb7efb914 in KWin::Workspace::desktopResized (this=0x8106510) at /home/kde-devel/kdesvn/kdebase/workspace/kwin/geometry.cpp:63
#19 0xb7e9bb29 in KWin::Workspace::qt_metacall (this=0x8106510, _c=QMetaObject::InvokeMetaMethod, _id=132, _a=0xbfd5420c) at /home/kde-devel/kdesvn/build/kdebase/workspace/kwin/workspace.moc:431
#20 0xb6d8b83a in QMetaObject::activate (sender=0x806a600, from_signal_index=<value optimized out>, to_signal_index=27, argv=<value optimized out>)
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3028
#21 0xb6d8bd82 in QMetaObject::activate (sender=0x806a600, m=0xb7bbf364, local_signal_index=0, argv=0xbfd5420c) at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3101
#22 0xb7af3f13 in QDesktopWidget::resized (this=0x806a600, _t1=0) at .moc/release-shared/moc_qdesktopwidget.cpp:79
#23 0xb75ed2a7 in QApplication::x11ProcessEvent (this=0xbfd54874, event=0xbfd54548) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:3000
#24 0xb76135a4 in x11EventSourceDispatch (s=0x8065d60, callback=0, user_data=0x0) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:142
#25 0xb672d11c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb673055f in ?? () from /usr/lib/libglib-2.0.so.0
#27 0x08065058 in ?? ()
#28 0x00000000 in ?? ()
Comment 1 Guillaume Pothier 2008-11-04 14:52:11 UTC
Looks like it's the same as bug #173017
Comment 2 SlashDevDsp 2008-11-05 01:51:31 UTC
It is an assert failure for vector indexing being out of range, and i don't thing it is the same as the other bug you mention here: http://bugs.kde.org/show_bug.cgi?id=173017
Comment 3 Guillaume Pothier 2008-11-05 13:43:20 UTC
The other bug is also an index out of range in KWin::Workspace::clientArea, it's just that for some reason the message was "optimized out" (check the backtraces).
Comment 4 lucas 2008-11-18 05:38:15 UTC

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