(xcb-related?) crash of the xserver when quiting matlab after running the matlab benchmark (fwd)

Klaas Gadeyne klaas.gadeyne@fmtc.be
Fri Feb 27 16:56:00 GMT 2009


This time with attachments.  Sorry about that :-(

Klaas

---------- Forwarded message ----------
Date: Fri, 27 Feb 2009 17:52:30 +0100 (CET)
From: Klaas Gadeyne <klaas.gadeyne@fmtc.be>
To: cygwin-xfree@cygwin.com
Subject: (xcb-related?) crash of the xserver when quiting matlab after running
     the matlab benchmark

Hi,

We were/are using Cygwin/X (xdmcp) to talk to a debian server running matlab. 
We had a (nicely and stable) working setup using xorg 6.8.2 from cygwin and 
connecting to the gdm of debian etch.

Recently, we upgraded the debian server to lenny (and opened Pandora's box it 
seems :)
As a consequence of the upgrade, the graphic rendering of matlab became 
terribly slow and we had crashes all over the place.  In finding the cause of 
this, we (a.o.) upgraded cygwin/x to the latest release.  It seems like we've 
finally identified one of the problems, being the fact that lenny's libx11 is 
linked with libxcb, which is causing the speed problems [1].

After fixing this, two problems remain:
- [minor] it seems like the -clipboard option is not working anymore (I noticed 
a note about "improving clipboard integration" on the todo list at 
x.cygwin.com)
- When running the matlab benchmark and quitting matlab afterwards, the Xserver 
crashes.  Log and (corrupted?) backtrace attached.

Both problems do not occur using the latest version of the XMing server.
Unfortunately, I'm unable to find a 6.8 version of the xorg xserver on the 
cygwin mirrors, so I can't verify if the crash also occurs with xorg 6.8.  I 
also didn't find a -dbg version of the xserver package.

Any ideas on how to debug this further, especially the crash (could it also be 
xcb related?)?

TIA,

Klaas Gadeyne

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=463159
-------------- next part --------------
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.5.3.0 (20090222)
Contact: cygwin-xfree@cygwin.com
XWin was started with the following command line:

/usr/bin/XWin :9 -notrayicon -clipboard -nowinkill -logverbose 2 
 -emulate3buttons -query pc00136.site04.wtcm.be 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 800
winInitializeDefaultScreens - Returning
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winPrefsLoadPreferences: /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
Screen 0 added at XINERAMA coordinate (0,0).
MIT-SHM extension disabled due to lack of kernel support
(II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(--) 3 mouse buttons found
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "00020409" (00020409) 
(--) Using preset keyboard for "English (USA, International)" (20409), type "4"
Could not init font path element /usr/share/fonts/OTF, removing from list!
winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp, waiting to start clipboard client until 4th call...
winProcQueryTree - Hello
winInitClipboard ()
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winProcQueryTree - winInitClipboard returned.
winClipboardProc - DISPLAY=127.0.0.1:9.0
AUDIT: Fri Feb 27 16:54:23 2009: 2884 XWin: client 4 rejected from IP 127.0.0.1
winProcEstablishConnection - ProcEstablishConnection failed, bailing.
winClipboardProc - Could not open display, try: 1, sleeping: 4
AUDIT: Fri Feb 27 16:54:27 2009: 2884 XWin: client 4 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 2, sleeping: 4
AUDIT: Fri Feb 27 16:54:31 2009: 2884 XWin: client 4 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 3, sleeping: 4
AUDIT: Fri Feb 27 16:54:35 2009: 2884 XWin: client 4 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 4, sleeping: 4
AUDIT: Fri Feb 27 16:54:39 2009: 2884 XWin: client 16 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 5, sleeping: 4
AUDIT: Fri Feb 27 16:54:43 2009: 2884 XWin: client 4 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 6, sleeping: 4
AUDIT: Fri Feb 27 16:54:47 2009: 2884 XWin: client 4 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 7, sleeping: 4
AUDIT: Fri Feb 27 16:54:51 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 8, sleeping: 4
AUDIT: Fri Feb 27 16:54:55 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 9, sleeping: 4
AUDIT: Fri Feb 27 16:54:59 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 10, sleeping: 4
AUDIT: Fri Feb 27 16:55:03 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 11, sleeping: 4
AUDIT: Fri Feb 27 16:55:07 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 12, sleeping: 4
AUDIT: Fri Feb 27 16:55:11 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 13, sleeping: 4
AUDIT: Fri Feb 27 16:55:15 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 14, sleeping: 4
AUDIT: Fri Feb 27 16:55:19 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 15, sleeping: 4
AUDIT: Fri Feb 27 16:55:23 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 16, sleeping: 4
AUDIT: Fri Feb 27 16:55:27 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 17, sleeping: 4
AUDIT: Fri Feb 27 16:55:31 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 18, sleeping: 4
AUDIT: Fri Feb 27 16:55:35 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 19, sleeping: 4
AUDIT: Fri Feb 27 16:55:39 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 20, sleeping: 4
AUDIT: Fri Feb 27 16:55:43 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 21, sleeping: 4
AUDIT: Fri Feb 27 16:55:47 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 22, sleeping: 4
AUDIT: Fri Feb 27 16:55:51 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 23, sleeping: 4
AUDIT: Fri Feb 27 16:55:55 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 24, sleeping: 4
AUDIT: Fri Feb 27 16:55:59 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 25, sleeping: 4
AUDIT: Fri Feb 27 16:56:03 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 26, sleeping: 4
AUDIT: Fri Feb 27 16:56:07 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 27, sleeping: 4
AUDIT: Fri Feb 27 16:56:11 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 28, sleeping: 4
AUDIT: Fri Feb 27 16:56:15 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 29, sleeping: 4
AUDIT: Fri Feb 27 16:56:19 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 30, sleeping: 4
AUDIT: Fri Feb 27 16:56:23 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 31, sleeping: 4
AUDIT: Fri Feb 27 16:56:27 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 32, sleeping: 4
AUDIT: Fri Feb 27 16:56:31 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 33, sleeping: 4
AUDIT: Fri Feb 27 16:56:35 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 34, sleeping: 4
AUDIT: Fri Feb 27 16:56:39 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 35, sleeping: 4
AUDIT: Fri Feb 27 16:56:43 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 36, sleeping: 4
AUDIT: Fri Feb 27 16:56:47 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 37, sleeping: 4
AUDIT: Fri Feb 27 16:56:51 2009: 2884 XWin: client 18 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 38, sleeping: 4
AUDIT: Fri Feb 27 16:56:55 2009: 2884 XWin: client 4 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 39, sleeping: 4
AUDIT: Fri Feb 27 16:56:59 2009: 2884 XWin: client 4 rejected from IP 127.0.0.1
winClipboardProc - Could not open display, try: 40, sleeping: 4
winClipboardProc - Failed opening the display, giving up
-------------- next part --------------
Exception: STATUS_ACCESS_VIOLATION at eip=00477726

eax=00A6F460 ebx=00A590B8 ecx=00FFFFFF edx=00FFFFFF esi=00A6F460 edi=00A72C24

ebp=0022CAE8 esp=0022CAD0 program=C:\cygwin\bin\XWin.exe, pid 2884, thread main

cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023

Stack trace:

Frame     Function  Args

0022CAE8  00477726  (00A6F460, 00000001, 0022CB08, 00475B11)

0022CAF8  004779BD  (00A6F460, 00A6F460, 0022CB18, 00476541)

0022CB08  00475B11  (00A6F460, 00A5DE78, 0022CB28, 00476588)

0022CB18  00476541  (00A6F460, 00000001, 0022CB88, 004F74E4)

0022CB28  00476588  (00A6F460, 00800458, 0022CB58, 0045861E)

0022CB88  004F74E4  (00A2F430, 0022CBA0, 00000000, 00000000)

0022CBB8  0050064F  (00A2F430, 00000014, 00000000, 02000022)

0022CC08  00501091  (008447E8, 00000002, 00000000, 004DCCC9)

0022CC58  004DD08B  (0000000A, 00840180, 00840090, 61002AF2)

0022CD98  610060D8  (00000000, 0022CDD0, 61005450, 0022CDD0)

61005450  61004416  (0000009C, A02404C7, E8611021, FFFFFF48)

2230050 [main] XWin 2884 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
2254991 [main] XWin 2884 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


More information about the Cygwin-xfree mailing list