Bug 147960 - crashes when opening multiple gvimdiff windows
Summary: crashes when opening multiple gvimdiff windows
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 3.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-17 22:28 UTC by Craig Files
Modified: 2007-07-25 17:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Files 2007-07-17 22:28:13 UTC
Version:           3.0 (using KDE KDE 3.5.7)
Installed from:    Compiled From Sources
Compiler:          gcc x86_64-redhat-linux/3.4.6 64 bit
OS:                Linux

So far, only happens when opening multiple gvimdiff windows...  (not gvim windows).
And it happens every time I restart X and open two gvimdiff windows.  

backtrace:

(no debugging symbols found)
Using host libthread_db library "/lib64/tls/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 182919552544 (LWP 17979)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5  0x0000003d9b6af316 in QPixmap::convertToImage ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#6  0x0000002a965008ab in KWin::icon ()
   from /usr/local/kde-64/lib64/libkdecore.so.4
#7  0x0000002a972ef57d in KWinInternal::Client::getIcons ()
   from /usr/local/kde-64/lib64/libkdeinit_kwin.so
#8  0x0000002a97307724 in KWinInternal::Client::manage ()
   from /usr/local/kde-64/lib64/libkdeinit_kwin.so
#9  0x0000002a9730e106 in KWinInternal::Workspace::createClient ()
   from /usr/local/kde-64/lib64/libkdeinit_kwin.so
#10 0x0000002a9730eb4b in KWinInternal::Workspace::workspaceEvent ()
   from /usr/local/kde-64/lib64/libkdeinit_kwin.so
#11 0x0000002a9730ec63 in KWinInternal::Application::x11EventFilter ()
   from /usr/local/kde-64/lib64/libkdeinit_kwin.so
#12 0x0000003d9b68b661 in qt_set_x11_event_filter ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#13 0x0000003d9b6974a6 in QApplication::x11ProcessEvent ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#14 0x0000003d9b6a87fb in QEventLoop::processEvents ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#15 0x0000003d9b7061e5 in QEventLoop::enterLoop ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#16 0x0000003d9b706142 in QEventLoop::exec ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#17 0x0000002a9731030d in kdemain ()
   from /usr/local/kde-64/lib64/libkdeinit_kwin.so
#18 0x0000000000407dfa in launch ()
#19 0x00000000004086f6 in handle_launcher_request ()
#20 0x0000000000408cb5 in handle_requests ()
#21 0x000000000040956d in main ()
Comment 1 Lubos Lunak 2007-07-18 12:11:25 UTC
I cannot reproduce. Please attach 'xprop' out for the affected window(s). See the section "Handling the case when KWin crashes:" in http://websvn.kde.org/*checkout*/trunk/KDE/kdebase/workspace/kwin/HACKING if you have problems with focus after the crash.
Comment 2 Craig Files 2007-07-18 16:17:43 UTC
xprop of the gvimdiff window after kwin crashes (Also attached is the tail of .xsession_errors)

WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x0
_NET_WM_STATE(ATOM) = 
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE
_KDE_NET_WM_FRAME_STRUT(CARDINAL) = 4, 4, 20, 8
_NET_FRAME_EXTENTS(CARDINAL) = 4, 4, 20, 8
_NET_WM_DESKTOP(CARDINAL) = 0
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Normal State.
		window id # of group leader: 0x2a00001
XdndAware(ATOM) = ARC
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0
Vim(STRING) = "7.1"
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
WM_WINDOW_ROLE(STRING) = "vim-30125-374036577-1184767406"
_KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 30245
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 44040199
WM_CLIENT_LEADER(WINDOW): window id # 0x2a00001
_NET_WM_PID(CARDINAL) = 30125
WM_LOCALE_NAME(STRING) = "C"
WM_CLIENT_MACHINE(STRING) = "sneffels"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		program specified minimum size: 104 by 62
		program specified resize increment: 7 by 15
		program specified base size: 20 by 32
		window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "gvimdiff", "Gvimdiff"
WM_ICON_NAME(STRING) = "[No Name] - GVIMDIFF"
_NET_WM_ICON_NAME(UTF8_STRING) = 0x5b, 0x4e, 0x6f, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x5d, 0x20, 0x2d, 0x20, 0x47, 0x56, 0x49, 0x4d, 0x44, 0x49, 0x46, 0x46
WM_NAME(STRING) = "[No Name] - GVIMDIFF"
_NET_WM_NAME(UTF8_STRING) = 0x5b, 0x4e, 0x6f, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x5d, 0x20, 0x2d, 0x20, 0x47, 0x56, 0x49, 0x4d, 0x44, 0x49, 0x46, 0x46
kalarm: Daemon::updateRegisteredStatus() -> 3



.xsession-errors
In file kernel/qpixmap_x11.cpp, line 632: Out of memory
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kwin path = <unknown> pid = 30408
DCOP: unregister 'kwin'
kdeinit: Got EXEC_NEW 'drkonqi' from socket.
Could not load library! Trying exec....
kdeinit: PID 1259 terminated.
DCOP: register 'anonymous-1260' -> number of clients is now 20
DCOP:  'anonymous-1260' now known as 'drkonqi-1260'
DCOP: unregister 'drkonqi-1260'
kdeinit: PID 30408 terminated.
Comment 3 Craig Files 2007-07-25 17:44:52 UTC
I recompiled (with konstruct) with different 64 bit options and fixed problems with the packages in konstruct/libs.  -- I am no longer getting the crashes.