Version: (using Devel) Compiler: gcc 4.3.0 OS: Linux Installed from: Compiled sources after a recent build, kwin now crashes on startup. here's a log of the startup: kwin(26603) KWin::Extensions::init: Extensions: shape: 0x "11" composite: 0x "4" render: 0x "a" fixes: 0x "40" kwin(26603) KWin::CompositingPrefs::detect: glx version is 1 . 2 kwin(26603) KWin::CompositingPrefs::detectDriverAndVersion: GL vendor is "DRI R300 Project" kwin(26603) KWin::CompositingPrefs::detectDriverAndVersion: GL renderer is "Mesa DRI R300 20060815 x86/MMX/SSE2 NO-TCL" kwin(26603) KWin::CompositingPrefs::detectDriverAndVersion: GL version is "1.3 Mesa 7.1 rc1" kwin(26603) KWin::CompositingPrefs::detectDriverAndVersion: XGL: no kwin(26603) KWin::CompositingPrefs::detectDriverAndVersion: Detected driver "radeon" , version "20060815" kwin(26603) KDecorationPlugins::loadPlugin: kwin : path "/data/kde/lib/kde4/kwin3_oxygen.so" for "kwin3_oxygen" kwin(26603) KWin::Extensions::init: Extensions: shape: 0x "11" composite: 0x "4" render: 0x "a" fixes: 0x "40" kwin(26603) KWin::Workspace::setupCompositing: Compositing is turned off in options kwin(26603) KWin::Toplevel::screen: Invalid screen: Center QPoint(49,49) , screen -1 kwin(26603) KWin::Toplevel::screen: Invalid screen: Center QPoint(49,49) , screen -1 kwin(26603) KWin::Toplevel::screen: Invalid screen: Center QPoint(49,49) , screen -1 kwin(26603) KWin::Client::readUserTimeMapTimestamp: User timestamp, initial: 60832715 kwin(26603) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 60832715 kwin(26603) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 46137345 ;WMCLASS: "konsole" : "qt-subapplication" ;Caption: "config : bash" ' : 60832715 kwin(26603) KWin::Workspace::updateClientArea: screens: 0 desktops: 4 ASSERT failure in QVector<T>::operator[]: "index out of range", file /usr/local/include/QtCore/qvector.h, line 321 Application::crashHandler() called with signal 6; recent crashes: 1 KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kwin path = <unknown> pid = 26603 sock_file=/home/winterz/.kde/socket-jiffy/kdeinit4__0 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x320001d kwin(26614) KWin::Extensions::init: Extensions: shape: 0x "11" composite: 0x "4" render: 0x "a" fixes: 0x "40" kwin(26614) KWin::CompositingPrefs::detect: glx version is 1 . 2 kwin(26614) KWin::CompositingPrefs::detectDriverAndVersion: GL vendor is "DRI R300 Project" kwin(26614) KWin::CompositingPrefs::detectDriverAndVersion: GL renderer is "Mesa DRI R300 20060815 x86/MMX/SSE2 NO-TCL" kwin(26614) KWin::CompositingPrefs::detectDriverAndVersion: GL version is "1.3 Mesa 7.1 rc1" kwin(26614) KWin::CompositingPrefs::detectDriverAndVersion: XGL: no kwin(26614) KWin::CompositingPrefs::detectDriverAndVersion: Detected driver "radeon" , version "20060815" kwin(26614) KDecorationPlugins::loadPlugin: kwin : path "/data/kde/lib/kde4/kwin3_oxygen.so" for "kwin3_oxygen" kwin(26614) KWin::Extensions::init: Extensions: shape: 0x "11" composite: 0x "4" render: 0x "a" fixes: 0x "40" kwin(26614) KWin::Workspace::setupCompositing: Compositing is turned off in options kwin(26614) KWin::Toplevel::screen: Invalid screen: Center QPoint(49,49) , screen -1 kwin(26614) KWin::Toplevel::screen: Invalid screen: Center QPoint(49,49) , screen -1 kwin(26614) KWin::Toplevel::screen: Invalid screen: Center QPoint(49,49) , screen -1 kwin(26614) KWin::Client::readUserTimeMapTimestamp: User timestamp, initial: 60832715 kwin(26614) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 60832715 kwin(26614) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 46137345 ;WMCLASS: "konsole" : "qt-subapplication" ;Caption: "config : kwin" ' : 60832715 kwin(26614) KWin::Workspace::updateClientArea: screens: 0 desktops: 4 ASSERT failure in QVector<T>::operator[]: "index out of range", file /usr/local/include/QtCore/qvector.h, line 321 Application::crashHandler() called with signal 6; recent crashes: 2 KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kwin path = <unknown> pid = 26614 sock_file=/home/winterz/.kde/socket-jiffy/kdeinit4__0 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x140001d kwin(26620) KWin::Application::Application: Too many crashes recently, disabling compositing kwin(26620) KWin::Extensions::init: Extensions: shape: 0x "11" composite: 0x "4" render: 0x "a" fixes: 0x "40" kwin(26620) KWin::CompositingPrefs::detect: glx version is 1 . 2 kwin(26620) KWin::CompositingPrefs::detectDriverAndVersion: GL vendor is "DRI R300 Project" kwin(26620) KWin::CompositingPrefs::detectDriverAndVersion: GL renderer is "Mesa DRI R300 20060815 x86/MMX/SSE2 NO-TCL" kwin(26620) KWin::CompositingPrefs::detectDriverAndVersion: GL version is "1.3 Mesa 7.1 rc1" kwin(26620) KWin::CompositingPrefs::detectDriverAndVersion: XGL: no kwin(26620) KWin::CompositingPrefs::detectDriverAndVersion: Detected driver "radeon" , version "20060815" kwin(26620) KDecorationPlugins::loadPlugin: kwin : path "/data/kde/lib/kde4/kwin3_oxygen.so" for "kwin3_oxygen" kwin(26620) KWin::Extensions::init: Extensions: shape: 0x "11" composite: 0x "4" render: 0x "a" fixes: 0x "40" kwin(26620) KWin::Workspace::setupCompositing: Compositing is turned off in options kwin(26620) KWin::Toplevel::screen: Invalid screen: Center QPoint(49,49) , screen -1 kwin(26620) KWin::Toplevel::screen: Invalid screen: Center QPoint(49,49) , screen -1 kwin(26620) KWin::Toplevel::screen: Invalid screen: Center QPoint(49,49) , screen -1 kwin(26620) KWin::Client::readUserTimeMapTimestamp: User timestamp, initial: 60832715 kwin(26620) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 60832715 kwin(26620) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 46137345 ;WMCLASS: "konsole" : "qt-subapplication" ;Caption: "config : kwin" ' : 60832715 kwin(26620) KWin::Workspace::updateClientArea: screens: 0 desktops: 4 ASSERT failure in QVector<T>::operator[]: "index out of range", file /usr/local/include/QtCore/qvector.h, line 321 Application::crashHandler() called with signal 6; recent crashes: 3 KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kwin path = <unknown> pid = 26620 sock_file=/home/winterz/.kde/socket-jiffy/kdeinit4__0 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x140001d kwin(26639) KWin::Application::Application: Too many crashes recently, disabling kwin(26639) KWin::Extensions::init: Extensions: shape: 0x "11" composite: 0x "4"es: 0x "40" kwin(26639) KWin::CompositingPrefs::detect: glx version is 1 . 2 kwin(26639) KWin::CompositingPrefs::detectDriverAndVersion: GL vendor is "DRI R30 kwin(26639) KWin::CompositingPrefs::detectDriverAndVersion: GL renderer is "Mesa /MMX/SSE2 NO-TCL" kwin(26639) KWin::CompositingPrefs::detectDriverAndVersion: GL version is "1.3 Me kwin(26639) KWin::CompositingPrefs::detectDriverAndVersion: XGL: no kwin(26639) KWin::CompositingPrefs::detectDriverAndVersion: Detected driver "rade15" kwin(26639) KDecorationPlugins::loadPlugin: kwin : path "/data/kde/lib/kde4/kwinwin3_oxygen" kwin(26639) KWin::Extensions::init: Extensions: shape: 0x "11" composite: 0x "4"es: 0x "40" kwin(26639) KWin::Workspace::setupCompositing: Compositing is turned off in optio kwin(26639) KWin::Toplevel::screen: Invalid screen: Center QPoint(49,49) , screen kwin(26639) KWin::Toplevel::screen: Invalid screen: Center QPoint(49,49) , screen kwin(26639) KWin::Toplevel::screen: Invalid screen: Center QPoint(49,49) , screen kwin(26639) KWin::Client::readUserTimeMapTimestamp: User timestamp, initial: 6083 kwin(26639) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 60832715 kwin(26639) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 4nsole" : "qt-subapplication" ;Caption: "config : kwin" ' : 60832715 kwin(26639) KWin::Workspace::updateClientArea: screens: 0 desktops: 4 ASSERT failure in QVector<T>::operator[]: "index out of range", file /usr/local/i.h, line 321 Application::crashHandler() called with signal 6; recent crashes: 4 KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kwin path = <unknown> pid = 26639 sock_file=/home/winterz/.kde/socket-jiffy/kdeinit4__0 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x140001d kwin(26644) KWin::Application::Application: Starting "metacity" and exiting Window manager warning: Invalid WM_TRANSIENT_FOR window 0x4400003 specified for 0. Window manager warning: Invalid WM_TRANSIENT_FOR window 0x2800004 specified for 0.
Can you post the backtrace?
Created attachment 29762 [details] backtrace
Pasted backtrace from comment 2: Application: KWin (kwin), signal SIGABRT [Current thread is 1 (Thread 0xb801a700 (LWP 9560))] Thread 1 (Thread 0xb801a700 (LWP 9560)): [KCrash Handler] #6 0x00110416 in __kernel_vsyscall () #7 0x05333660 in raise () from /lib/libc.so.6 #8 0x05335028 in abort () from /lib/libc.so.6 #9 0x061d129b in qt_message_output (msgType=QtFatalMsg, buf=0xbfe4c060 "ASSERT failure in QVector<T>::operator[]: \"index out of range\", file /usr/local/include/QtCore/qvector.h, line 321") at global/qglobal.cpp:2102 #10 0x061d12ff in qFatal (msg=0x631d2dc "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qglobal.cpp:2303 #11 0x061d1344 in qt_assert_x (where=0x1c4428 "QVector<T>::operator[]", what=0x1c43e1 "index out of range", file=0x1c4404 "/usr/local/include/QtCore/qvector.h", line=321) at global/qglobal.cpp:1880 #12 0x0018cebd in QVector<QRect>::operator[] (this=0x959c7b4, i=-1) at /usr/local/include/QtCore/qvector.h:321 #13 0x00180d79 in KWin::Workspace::clientArea (this=0x94ab670, opt=KWin::MaximizeArea, screen=-1, desktop=1) at /data/kde/trunk/KDE/kdebase-workspace/kwin/geometry.cpp:235 #14 0x0018104d in KWin::Workspace::clientArea (this=0x94ab670, opt=KWin::MaximizeArea, p=@0xbfe4e158, desktop=1) at /data/kde/trunk/KDE/kdebase-workspace/kwin/geometry.cpp:279 #15 0x001839ac in KWin::Workspace::clientArea (this=0x94ab670, opt=KWin::MaximizeArea, c=0x95c9168) at /data/kde/trunk/KDE/kdebase-workspace/kwin/geometry.cpp:284 #16 0x00186b7e in KWin::Client::changeMaximize (this=0x95c9168, vertical=false, horizontal=false, adjust=true) at /data/kde/trunk/KDE/kdebase-workspace/kwin/geometry.cpp:2043 #17 0x0018970f in KWin::Client::checkWorkspacePosition (this=0x95c9168) at /data/kde/trunk/KDE/kdebase-workspace/kwin/geometry.cpp:1020 #18 0x0018be5d in KWin::Workspace::updateClientArea (this=0x94ab670, force=false) at /data/kde/trunk/KDE/kdebase-workspace/kwin/geometry.cpp:206 #19 0x0018bf5f in KWin::Workspace::updateClientArea (this=0x94ab670) at /data/kde/trunk/KDE/kdebase-workspace/kwin/geometry.cpp:216 #20 0x0012f26b in KWin::Workspace::addClient (this=0x94ab670, c=0x95c9168) at /data/kde/trunk/KDE/kdebase-workspace/kwin/workspace.cpp:559 #21 0x0012f57e in KWin::Workspace::createClient (this=0x94ab670, w=46137345, is_mapped=true) at /data/kde/trunk/KDE/kdebase-workspace/kwin/workspace.cpp:509 #22 0x00131296 in KWin::Workspace::init (this=0x94ab670) at /data/kde/trunk/KDE/kdebase-workspace/kwin/workspace.cpp:398 #23 0x00131fbd in Workspace (this=0x94ab670, restore=false) at /data/kde/trunk/KDE/kdebase-workspace/kwin/workspace.cpp:222 #24 0x0014d165 in Application (this=0xbfe4ee54) at /data/kde/trunk/KDE/kdebase-workspace/kwin/main.cpp:322 #25 0x0014dd42 in kdemain (argc=3, argv=0xbfe4f024) at /data/kde/trunk/KDE/kdebase-workspace/kwin/main.cpp:499 #26 0x08048766 in main (argc=) at /data/kde/trunk/KDE/kdebase-workspace/build-gcc/kwin/kwin_dummy.cpp:3
The backtrace looks like the one in bug 177006
FYI, I removed my installdir and all my CMakeCache.txt files. And rebuilt. Now kwin seems to be working ok. So I don't know what happened.
*** This bug has been marked as a duplicate of bug 177006 ***
Can you please describe to me your screen layout. Apparent the point (49,49) is not on any visible screen.
From xdpyinfo: screen #0: dimensions: 1680x1050 pixels (473x296 millimeters) resolution: 90x90 dots per inch depths (7): 24, 1, 4, 8, 15, 16, 32 root window id: 0x7d depth of root window: 24 planes number of colormaps: minimum 1, maximum 1 default colormap: 0x20 default number of colormap cells: 256 preallocated pixels: black 0, white 16777215 options: backing-store NO, save-unders NO At the time all I had running was konsole with _NET_WM_ICON_GEOMETRY(CARDINAL) = 614, 1018, 244, 34 not even plasma was running. is this useful info? let me know how else I can help. -Allen
BTW, the crash happened again. So I logged out and back in again and then No Crash! This seems to be a lower level issue someplace, because I also see failed QRectf() conversions when Plasma runs. Plasma doesn't crash, it just doesn't render anything. So I haven't a clue.
Can you attach your xorg.conf? Does it crash only once on startup or multiple times? Does it work fine if you manually type "kwin --replace &" into the terminal?
Aha! Thanks for the hint. My x11.org didn't have a Modes line in the Display Subsection. I wonder how the X server knew to use the 1680x1050 mode for me then? Weird. I'll write back if the crash reappears now that I have a Modes line.