public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Cygwin/X crashes when combined with ssh/nx tunneling and -multiwindow
@ 2013-06-15 12:07 Matt D.
  2013-06-15 23:38 ` Jon TURNEY
  0 siblings, 1 reply; 4+ messages in thread
From: Matt D. @ 2013-06-15 12:07 UTC (permalink / raw)
  To: cygwin-xfree

[-- Attachment #1: Type: text/plain, Size: 725 bytes --]

"Caught signal 11 (Segmentation fault). Server aborting"

So far I've only been able to duplicate this when tunneling Eclipse. I 
tried writing a simple java program that creates a JFrame window but 
could not replicate the crash with anything smaller (sorry!). The 
problem exists in the two versions I tried: Eclipse 3.6 and 4.2.

Although the error message pops up, Cygwin/X doesn't actually terminate 
until the error window that reports the segfault is closed. X continues 
to work if I ignore it, however all of the newly created windows do not 
have any titlebars or frame borders.

This problem does NOT occur when running with either a root window or 
with the '-rootless' option.

I've attached the XWin backtrace.

[-- Attachment #2: XWin.0.log --]
[-- Type: text/plain, Size: 68643 bytes --]

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.14.1.0
OS: CYGWIN_NT-6.1-WOW64 antec 1.7.20(0.266/5/3) 2013-06-07 11:11 i686
OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (WoW64)
Package: version 1.14.1-1 built 2013-05-07

XWin was started with the following command line:

X -multiwindow -clipboard -dpi 96 -displayfd 5 

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 1920 h 1080
winInitializeScreenDefaults - native DPI x 96 y 96
Trying to create socket for display number 0
[103147.814] Initializing built-in extension Generic Event Extension
[103147.814] Initializing built-in extension SHAPE
[103147.814] Initializing built-in extension MIT-SHM
[103147.814] Initializing built-in extension XInputExtension
[103147.814] Initializing built-in extension XTEST
[103147.814] Initializing built-in extension BIG-REQUESTS
[103147.814] Initializing built-in extension SYNC
[103147.814] Initializing built-in extension XKEYBOARD
[103147.814] Initializing built-in extension XC-MISC
[103147.814] Initializing built-in extension XINERAMA
[103147.814] Initializing built-in extension XFIXES
[103147.814] Initializing built-in extension XFree86-Bigfont
[103147.814] Initializing built-in extension RENDER
[103147.814] Initializing built-in extension RANDR
[103147.814] Initializing built-in extension COMPOSITE
[103147.814] Initializing built-in extension DAMAGE
[103147.814] Initializing built-in extension MIT-SCREEN-SAVER
[103147.814] Initializing built-in extension DOUBLE-BUFFER
[103147.814] Initializing built-in extension RECORD
[103147.814] Initializing built-in extension DPMS
[103147.814] Initializing built-in extension X-Resource
[103147.814] Initializing built-in extension GLX
[103147.814] (II) xorg.conf is not supported
[103147.814] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
[103147.814] LoadPreferences: /cygdrive/d/~/.XWinrc not found
[103147.814] LoadPreferences: Loading /etc/X11/system.XWinrc
[103147.814] LoadPreferences: Done parsing the configuration file...
[103147.861] winDetectSupportedEngines - DirectDraw installed, allowing ShadowDD
[103147.861] winDetectSupportedEngines - Windows NT, allowing PrimaryDD
[103147.861] winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
[103147.861] winDetectSupportedEngines - Returning, supported engines 0000001f
[103147.861] winSetEngine - Multi Window or Rootless => ShadowGDI
[103147.861] winScreenInit - Using Windows display depth of 32 bits per pixel
[103147.954] winAllocateFBShadowGDI - Creating DIB with width: 4480 height: 1080 depth: 32
[103147.954] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
[103147.954] winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
[103147.970] winInitMultiWindowWM - Calling pthread_mutex_lock ()
[103147.970] winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
[103147.970] MIT-SHM extension disabled due to lack of kernel support
[103147.985] XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
[103148.251] GL_VERSION:     4.3.0
[103148.251] GL_VENDOR:      NVIDIA Corporation
[103148.251] GL_RENDERER:    GeForce GTX 560 Ti/PCIe/SSE2
[103148.251] (II) AIGLX: enabled GLX_SGI_make_current_read
[103148.251] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[103148.251] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[103148.251] (II) AIGLX: enabled GLX_SGIX_pbuffer
[103148.251] (II) AIGLX: enabled GLX_ARB_multisample and GLX_SGIS_multisample
[103148.251] (II) 482 pixel formats reported by wglGetPixelFormatAttribivARB
[103148.266] (II) AIGLX: Set GLX version to 1.4
[103148.266] (II) 359 fbConfigs
[103148.266] (II) GLX: Initialized Win32 native WGL GL provider for screen 0
[103148.282] [dix] Could not init font path element /usr/share/fonts/TTF/, removing from list!
[103148.282] [dix] Could not init font path element /usr/share/fonts/OTF/, removing from list!
[103148.282] [dix] Could not init font path element /usr/share/fonts/Type1/, removing from list!
[103148.485] winPointerWarpCursor - Discarding first warp: 2240 540
[103148.485] (--) 8 mouse buttons found
[103148.485] (--) Setting autorepeat to delay=500, rate=31
[103148.485] (--) Windows keyboard layout: "00000409" (00000409) "US", type 4
[103148.485] (--) Found matching XKB configuration "English (USA)"
[103148.485] (--) Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[103148.485] Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[103148.485] winBlockHandler - pthread_mutex_unlock()
[103148.485] winInitMultiWindowWM - pthread_mutex_lock () returned.
[103148.485] winInitMultiWindowWM - pthread_mutex_unlock () returned.
[103148.485] winMultiWindowXMsgProc - pthread_mutex_lock () returned.
[103148.485] winInitMultiWindowWM - DISPLAY=:0.0
[103148.485] winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
[103148.500] winProcEstablishConnection - winInitClipboard returned.
[103148.500] winMultiWindowXMsgProc - DISPLAY=:0.0
[103148.500] winClipboardProc - DISPLAY=:0.0
[103148.500] winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.
[103148.500] winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display.
[103148.500] winClipboardProc - XOpenDisplay () returned and successfully opened the display.
[103191.463] OS has icon alpha channel support: yes
[103191.478] Fatal signal received in thread 0x80040090
[103191.478] (EE) Segmentation fault at address 0x0
[103191.603] (EE) Attempting backtrace on pid 79592
[103193.319] (EE) 
==================== GDB Backtrace ============

GNU gdb (GDB) 7.6.50.20130508-cvs (cygwin-special)
This GDB was configured as "i686-cygwin".

==================== Backtrace ================

Thread 18 (Thread 81076.0x1440c):
#0  0x77bf000d in ntdll!DbgB(EE) reakPoint ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#1  0x77c7f896 in ntdll!DbgUiRemoteBreakin ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#2  0x78dd37a9 in ?? ()
No symbol tabl(EE) e info available.
#3  0x00000000 in ?? ()
No symbol table info available.

Thread 17 (Thread 81076.0x1406c):
#0  0x77c01f26 in ntdll!ZwWaitForWorkViaWorkerFactory ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#1  0x77c0(EE) 1f26 in ntdll!ZwWaitForWorkViaWorkerFactory ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#2  0x77c33352 in ntdll!TpSetTimer ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#3  0x61005d(EE) 1d in _cygtls::call2(unsigned long (*)(void*, void*), void*, void*)@16 (this=<optimized out>, func=0x2, arg=0x927e28, 
    buf=0x61005ebb <_cygtls::call(unsigned long (*)(void*, void*), void*)+91>)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/cygtl(EE) s.cc:99
        res = <optimized out>
#4  0x0726ff88 in ?? ()
No symbol table info available.
#5  0x770c33aa in KERNEL32!BaseThreadInitThunk ()
   from /cygdrive/c/Windows/syswow64/kernel32.dll
No symbol table info available.
#6  0x77c19ef2 in ntdll!RtlIn(EE) itializeExceptionChain ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#7  0x77c19ec5 in ntdll!RtlInitializeExceptionChain ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#8  0x00000000 i(EE) n ?? ()
No symbol table info available.

Thread 16 (Thread 81076.0x142a0):
#0  0x77c01f26 in ntdll!ZwWaitForWorkViaWorkerFactory ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#1  0x77c01f26 in ntdll!ZwWaitForWorkViaWork(EE) erFactory ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#2  0x77c33352 in ntdll!TpSetTimer ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#3  0x61005d1d in _cygtls::call2(unsigned long(EE)  (*)(void*, void*), void*, void*)@16 (this=<optimized out>, func=0x2, arg=0x927e28, 
    buf=0x61005ebb <_cygtls::call(unsigned long (*)(void*, void*), void*)+91>)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/cygtls.cc:99
        res = <optimized o(EE) ut>
#4  0x0706ff88 in ?? ()
No symbol table info available.
#5  0x770c33aa in KERNEL32!BaseThreadInitThunk ()
   from /cygdrive/c/Windows/syswow64/kernel32.dll
No symbol table info available.
#6  0x77c19ef2 in ntdll!RtlInitializeExceptionChain ()
   from (EE) /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#7  0x77c19ec5 in ntdll!RtlInitializeExceptionChain ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#8  0x00000000 in ?? ()
No symbol table info avail(EE) able.

Thread 15 (Thread 81076.0x14324):
#0  0x77c01f26 in ntdll!ZwWaitForWorkViaWorkerFactory ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#1  0x77c01f26 in ntdll!ZwWaitForWorkViaWorkerFactory ()
   from /cygdrive/c/W(EE) indows/SysWOW64/ntdll.dll
No symbol table info available.
#2  0x77c33352 in ntdll!TpSetTimer ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#3  0x61005d1d in _cygtls::call2(unsigned long (*)(void*, void*), void*, void*)@(EE) 16 (this=<optimized out>, func=0x2, arg=0x928f28, 
    buf=0x61005ebb <_cygtls::call(unsigned long (*)(void*, void*), void*)+91>)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/cygtls.cc:99
        res = <optimized out>
#4  0x06e6ff88 in ?? ()
No sym(EE) bol table info available.
#5  0x770c33aa in KERNEL32!BaseThreadInitThunk ()
   from /cygdrive/c/Windows/syswow64/kernel32.dll
No symbol table info available.
#6  0x77c19ef2 in ntdll!RtlInitializeExceptionChain ()
   from /cygdrive/c/Windows/SysWOW64/ntdll(EE) .dll
No symbol table info available.
#7  0x77c19ec5 in ntdll!RtlInitializeExceptionChain ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#8  0x00000000 in ?? ()
No symbol table info available.

Thread 14 (Thread 81076.0x1(EE) 3408):
#0  0x77bff8e5 in ntdll!ZwReadFile ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#1  0x77bff8e5 in ntdll!ZwReadFile ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#2  0x76efdd54(EE)  in ReadFile () from /cygdrive/c/Windows/syswow64/KERNELBASE.dll
No symbol table info available.
#3  0x0000070c in ?? ()
No symbol table info available.
#4  0x00000000 in ?? ()
No symbol table info available.

Thread 13 (Thread 81076.0x13c8c):
#0  0x77c00(EE) 13d in ntdll!ZwWaitForMultipleObjects ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#1  0x77c0013d in ntdll!ZwWaitForMultipleObjects ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#2  (EE) 0x76f015e9 in WaitForMultipleObjectsEx ()
   from /cygdrive/c/Windows/syswow64/KERNELBASE.dll
No symbol table info available.
#3  0x00000002 in ?? ()
No symbol table info available.
#4  0x06a6abc8 in ?? ()
No symbol table info available.
#5  0x770c1a2c in(EE)  WaitForMultipleObjectsEx ()
   from /cygdrive/c/Windows/syswow64/kernel32.dll
No symbol table info available.
#6  0x770c4220 in WaitForMultipleObjects ()
   from /cygdrive/c/Windows/syswow64/kernel32.dll
No symbol table info available.
#7  0x610d297e in (EE) thread_socket (arg=0x805cdb08)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/select.cc:1351
        i = <optimized out>
        si = 0x805cdb08
        timeout = 2
        event = <optimized out>
        __PRETTY_FUNCTION__ = "DWORD thread_socket(vo(EE) id*)"
#8  0x61004a05 in cygthread::callfunc(bool)@8 (this=0x6118d910 <threads+144>, 
    issimplestub=<optimized out>)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/cygthread.cc:51
        pass_arg = 0x805cdb08
#9  0x61004f8f in cygthread::stub(void(EE) *)@4 (arg=0x6118d910 <threads+144>)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/cygthread.cc:93
        notify = <optimized out>
        info = 0x6118d910 <threads+144>
        __PRETTY_FUNCTION__ = "static DWORD cygthread::stub(void*)"
#10 0x6100(EE) 5d1d in _cygtls::call2(unsigned long (*)(void*, void*), void*, void*)@16 (this=<optimized out>, func=0x61004f40 <cygthread::stub(void*)@4>, 
    arg=0x6118d910 <threads+144>, 
    buf=0x61005ebb <_cygtls::call(unsigned long (*)(void*, void*), void*)+91>)
[103193.335] (EE)     at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/cygtls.cc:99
        res = <optimized out>
#11 0x06a6ff88 in ?? ()
No symbol table info available.
#12 0x770c33aa in KERNEL32!BaseThreadInitThunk ()
   from /cygdrive/c/Windows/syswow64/kernel32.dll
No s(EE) ymbol table info available.
#13 0x77c19ef2 in ntdll!RtlInitializeExceptionChain ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#14 0x77c19ec5 in ntdll!RtlInitializeExceptionChain ()
   from /cygdrive/c/Windows/SysWOW64/n(EE) tdll.dll
No symbol table info available.
#15 0x00000000 in ?? ()
No symbol table info available.

Thread 12 (Thread 81076.0x13e0c):
#0  0x77c0013d in ntdll!ZwWaitForMultipleObjects ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info ava(EE) ilable.
#1  0x77c0013d in ntdll!ZwWaitForMultipleObjects ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#2  0x76f015e9 in WaitForMultipleObjectsEx ()
   from /cygdrive/c/Windows/syswow64/KERNELBASE.dll
No symbol table in(EE) fo available.
#3  0x00000004 in ?? ()
No symbol table info available.
#4  0xffb8c740 in ?? ()
No symbol table info available.
#5  0x770c1a2c in WaitForMultipleObjectsEx ()
   from /cygdrive/c/Windows/syswow64/kernel32.dll
No symbol table info available.
#(EE) 6  0x75c3086a in USER32!PeekMessageW ()
   from /cygdrive/c/Windows/syswow64/USER32.dll
No symbol table info available.
#7  0x610d42c4 in select_stuff::wait (this=0xffb8ca48, readfds=0xffb8c9e0, 
    writefds=0xffb8c9c0, exceptfds=0xffb8c9a0, ms=429496729(EE) 5)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/select.cc:393
        s = 0xffb8c7fc
        m = 0
        __PRETTY_FUNCTION__ = "select_stuff::wait_states select_stuff::wait(_types_fd_set*, _types_fd_set*, _types_fd_set*, DWORD)"
        w4 = {0x4(EE) bc, 0x4b4, 0x4a4, 0x5d3774 <__func__.66224+2420>, 0x0, 0x0, 
          0xffffffff, 0x0, 0x0, 0xffb8c844, 
          0x77bffb81 <ntdll!ZwReleaseMutant+21>, 0xffb8fff0, 
          0x76f26ff0 <KERNELBASE!IsNLSDefinedString+1248>, 0x1ad470b4, 
          0xfff(EE) ffffe, 0x76f014d0 <WaitForSingleObjectEx+203>, 
          0x770c1194 <WaitForSingleObjectEx+67>, 0x164e0, 0xffffffff, 0x0, 
          0x1, 0xffb8c8c8, 0x770c1148 <WaitForSingleObject+18>, 0x2c, 0x2c, 
          0x2c, 0xffb8c938, 0x6111381c <dlcalloc@8+76>(EE) , 0x8037c848, 0x0, 
          0x2c, 0x0, 0x12, 0x12, 0x8037c848, 
          0x610d5bc8 <fhandler_windows::select_read(select_stuff*)+56>, 
          0x6127dcb4, 0xffb8ca48, 0xffb8c958, 0x61085a00 <free(void*)+48>, 
          0x12, 0x12, 0xffb8c978, 0x6102(EE) c779
     <dtable::select_read(int, select_stuff*)+105>, 0x6127dcb4, 0xffb8ca48, 
          0x0, 0x61003429 <operator new(unsigned int)+25>, 0x1, 0x2c, 
          0x8037c240, 
          0x610d2ad1 <socket_cleanup(select_record*, select_stuff*)+145>, 
    (EE)       0x8037c240, 0x8037c848, 0x12, 
          0x610d40f1 <select_stuff::test_and_set(int, _types_fd_set*, _types_fd_set*, _types_fd_set*)+305>, 0x61274c14, 0x12, 0xffb8ca48, 
          0x610d3f64 <select_stuff::~select_stuff()+20>, 0xffb8ca48, 
         (EE)  0xffb8ca48, 0xffb8cdc4, 0xffb8ca48}
        startfds = <optimized out>
        wait_ret = <optimized out>
        res = <optimized out>
#8  0x610d4b6f in select (maxfds=19, readfds=0xffb8cdc4, writefds=0xffb8cae0, 
    exceptfds=0xffb8cb00, ms=4294967295(EE) )
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/select.cc:186
        start_time = <optimized out>
        w = 0xffb8c9c0
        e = 0xffb8c9a0
        __PRETTY_FUNCTION__ = "int select(int, _types_fd_set*, _types_fd_set*, _types_fd_set*, DWORD)"
 (EE)        res = <optimized out>
        sel = {return_on_signal = false, always_ready = false, 
          windows_used = true, start = {fd = 1975676305, h = 0x0, fh = 0x1, 
            thread_errno = 0, windows_handle = false, read_ready = false, 
          (EE)   write_ready = false, except_ready = false, read_selected = 28, 
            write_selected = 202, except_selected = 184, 
            except_on_write = 255, startup = 0xffb8ca54, peek = 0xffb8cac8, 
            verify = 0x75c8a61e <VTagOutput+84>, clean(EE) up = 0x19e7a3fb, 
            next = 0x8037c848}, device_specific_pipe = 0x0, 
          device_specific_socket = 0x8037c240, device_specific_serial = 0x0, 
          device_specific_mailslot = 0x0}
        r = 0xffb8c9e0
#9  0x610d501f in cygwin_select ((EE) maxfds=19, readfds=0xffb8cdc4, writefds=0x0, 
    exceptfds=0x0, to=0x0)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/select.cc:122
        ms = <optimized out>
        __PRETTY_FUNCTION__ = "int cygwin_select(int, _types_fd_set*, _types_fd_set*, _(EE) types_fd_set*, timeval*)"
        res = <optimized out>
#10 0x610d9285 in _sigfe () from /usr/bin/cygwin1.dll
No symbol table info available.
#11 0x00000000 in ?? ()
No symbol table info available.

Thread 11 (Thread 81076.0x1414c):
#0  0x77c0013d in ntdl(EE) l!ZwWaitForMultipleObjects ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#1  0x77c0013d in ntdll!ZwWaitForMultipleObjects ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#2  0x76f015e9 (EE) in WaitForMultipleObjectsEx ()
   from /cygdrive/c/Windows/syswow64/KERNELBASE.dll
No symbol table info available.
#3  0x00000002 in ?? ()
No symbol table info available.
#4  0x0686abc8 in ?? ()
No symbol table info available.
#5  0x770c1a2c in WaitForMul(EE) tipleObjectsEx ()
   from /cygdrive/c/Windows/syswow64/kernel32.dll
No symbol table info available.
#6  0x770c4220 in WaitForMultipleObjects ()
   from /cygdrive/c/Windows/syswow64/kernel32.dll
No symbol table info available.
#7  0x610d297e in thread_sock(EE) et (arg=0x8037c240)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/select.cc:1351
        i = <optimized out>
        si = 0x8037c240
        timeout = 2
        event = <optimized out>
        __PRETTY_FUNCTION__ = "DWORD thread_socket(void*)"
#8  0(EE) x61004a05 in cygthread::callfunc(bool)@8 (this=0x6118d8e0 <threads+96>, 
    issimplestub=<optimized out>)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/cygthread.cc:51
        pass_arg = 0x8037c240
#9  0x61004f8f in cygthread::stub(void*)@4 (arg=0x(EE) 6118d8e0 <threads+96>)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/cygthread.cc:93
        notify = <optimized out>
        info = 0x6118d8e0 <threads+96>
        __PRETTY_FUNCTION__ = "static DWORD cygthread::stub(void*)"
#10 0x61005d1d in _cygtl(EE) s::call2(unsigned long (*)(void*, void*), void*, void*)@16 (this=<optimized out>, func=0x61004f40 <cygthread::stub(void*)@4>, 
    arg=0x6118d8e0 <threads+96>, 
    buf=0x61005ebb <_cygtls::call(unsigned long (*)(void*, void*), void*)+91>)
    at /usr/src(EE) /debug/cygwin-1.7.20-1/winsup/cygwin/cygtls.cc:99
        res = <optimized out>
#11 0x0686ff88 in ?? ()
No symbol table info available.
#12 0x770c33aa in KERNEL32!BaseThreadInitThunk ()
   from /cygdrive/c/Windows/syswow64/kernel32.dll
No symbol table inf(EE) o available.
#13 0x77c19ef2 in ntdll!RtlInitializeExceptionChain ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#14 0x77c19ec5 in ntdll!RtlInitializeExceptionChain ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No sym(EE) bol table info available.
#15 0x00000000 in ?? ()
No symbol table info available.

Thread 10 (Thread 81076.0x14288):
#0  0x77bff939 in ntdll!ZwRemoveIoCompletion ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#1  0x77bff(EE) 939 in ntdll!ZwRemoveIoCompletion ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#2  0x72cb635c in ?? () from /cygdrive/c/Windows/System32/mswsock.dll
No symbol table info available.
#3  0x61005d1d in _cygtls::call2(unsi(EE) gned long (*)(void*, void*), void*, void*)@16 (this=<optimized out>, func=0x31c1240, arg=0x9461a0, 
    buf=0x61005ebb <_cygtls::call(unsigned long (*)(void*, void*), void*)+91>)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/cygtls.cc:99
        res(EE)  = <optimized out>
#4  0x0666ff88 in ?? ()
No symbol table info available.
#5  0x770c33aa in KERNEL32!BaseThreadInitThunk ()
   from /cygdrive/c/Windows/syswow64/kernel32.dll
No symbol table info available.
#6  0x77c19ef2 in ntdll!RtlInitializeExceptionCh(EE) ain ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#7  0x77c19ec5 in ntdll!RtlInitializeExceptionChain ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#8  0x00000000 in ?? ()
No symbol t(EE) able info available.

Thread 9 (Thread 81076.0x143f8):
#0  0x77bffb81 in ntdll!ZwReleaseMutant ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#1  0x77bffb81 in ntdll!ZwReleaseMutant ()
   from /cygdrive/c/Windows/SysWOW6(EE) 4/ntdll.dll
No symbol table info available.
#2  0x76f00fa2 in ReleaseMutex ()
   from /cygdrive/c/Windows/syswow64/KERNELBASE.dll
No symbol table info available.
#3  0x6106283d in fhandler_socket::evaluate_events (this=0x6127d074, 
    event_mask=41, even(EE) ts=@0x646ac6c: 0, erase=false)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/fhandler_socket.cc:654
        ret = <optimized out>
        events_now = <optimized out>
        evts = {lNetworkEvents = 0, iErrorCode = {0, 0, 0, 0, 0, 0, 0, 0, 0, 
    (EE)         0}}
#4  0x610d249a in peek_socket (me=0x805cd2f8)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/select.cc:1317
        fh = <optimized out>
        evt_mask = <optimized out>
        ret = <optimized out>
        __PRETTY_FUNCTION__ = "int p(EE) eek_socket(select_record*, bool)"
#5  0x610d29e6 in thread_socket (arg=0x80320d78)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/select.cc:1347
        s = 0x805cd2f8
        si = 0x80320d78
        timeout = 4294967295
        event = <optimized ou(EE) t>
        __PRETTY_FUNCTION__ = "DWORD thread_socket(void*)"
#6  0x61004a05 in cygthread::callfunc(bool)@8 (this=0x6118d8b0 <threads+48>, 
    issimplestub=<optimized out>)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/cygthread.cc:51
        pass_(EE) arg = 0x80320d78
#7  0x61004f8f in cygthread::stub(void*)@4 (arg=0x6118d8b0 <threads+48>)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/cygthread.cc:93
        notify = <optimized out>
        info = 0x6118d8b0 <threads+48>
        __PRETTY_FUNCTION(EE) __ = "static DWORD cygthread::stub(void*)"
#8  0x61005d1d in _cygtls::call2(unsigned long (*)(void*, void*), void*, void*)@16 (this=<optimized out>, func=0x61004f40 <cygthread::stub(void*)@4>, 
    arg=0x6118d8b0 <threads+48>, 
    buf=0x61005ebb <_cygtls(EE) ::call(unsigned long (*)(void*, void*), void*)+91>)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/cygtls.cc:99
        res = <optimized out>
#9  0x0646ff88 in ?? ()
No symbol table info available.
#10 0x770c33aa in KERNEL32!BaseThreadInitThunk ()
  (EE)  from /cygdrive/c/Windows/syswow64/kernel32.dll
No symbol table info available.
#11 0x77c19ef2 in ntdll!RtlInitializeExceptionChain ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#12 0x77c19ec5 in ntdll!RtlInitializeExce(EE) ptionChain ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#13 0x00000000 in ?? ()
No symbol table info available.

Thread 8 (Thread 81076.0x3964):
#0  0x77bff8b1 in ntdll!ZwWaitForSingleObject ()
   from /cygdrive/c/Wind(EE) ows/SysWOW64/ntdll.dll
No symbol table info available.
#1  0x77bff8b1 in ntdll!ZwWaitForSingleObject ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#2  0x76f0149d in WaitForSingleObjectEx ()
   from /cygdrive/c/Windows/s(EE) yswow64/KERNELBASE.dll
No symbol table info available.
#3  0x00000404 in ?? ()
No symbol table info available.
#4  0x00000000 in ?? ()
No symbol table info available.

Thread 7 (Thread 81076.0x13cc8):
#0  0x77c0013d in ntdll!ZwWaitForMultipleObjects ()
  (EE)  from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#1  0x77c0013d in ntdll!ZwWaitForMultipleObjects ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#2  0x76f015e9 in WaitForMultipleObjectsEx ()
 (EE)   from /cygdrive/c/Windows/syswow64/KERNELBASE.dll
No symbol table info available.
#3  0x00000007 in ?? ()
No symbol table info available.
#4  0x04caabac in ?? ()
No symbol table info available.
#5  0x770c1a2c in WaitForMultipleObjectsEx ()
   from /cygdr(EE) ive/c/Windows/syswow64/kernel32.dll
No symbol table info available.
#6  0x75c3086a in USER32!PeekMessageW ()
   from /cygdrive/c/Windows/syswow64/USER32.dll
No symbol table info available.
#7  0x75c30b69 in USER32!MsgWaitForMultipleObjects ()
   from /cyg(EE) drive/c/Windows/syswow64/USER32.dll
No symbol table info available.
#8  0x57ccc83a in nvoglv32!DrvCopyContext ()
   from /cygdrive/c/Windows/system32/nvoglv32.DLL
No symbol table info available.
#9  0x61005d1d in _cygtls::call2(unsigned long (*)(void*, vo(EE) id*), void*, void*)@16 (this=<optimized out>, func=0x0, arg=0x0, 
    buf=0x61005ebb <_cygtls::call(unsigned long (*)(void*, void*), void*)+91>)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/cygtls.cc:99
        res = <optimized out>
#10 0x04caff88 (EE) in ?? ()
No symbol table info available.
#11 0x770c33aa in KERNEL32!BaseThreadInitThunk ()
   from /cygdrive/c/Windows/syswow64/kernel32.dll
No symbol table info available.
#12 0x77c19ef2 in ntdll!RtlInitializeExceptionChain ()
   from /cygdrive/c/Windows(EE) /SysWOW64/ntdll.dll
No symbol table info available.
#13 0x77c19ec5 in ntdll!RtlInitializeExceptionChain ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#14 0x00000000 in ?? ()
No symbol table info available.

Thread 6 (Th(EE) read 81076.0x1434c):
#0  0x77c0013d in ntdll!ZwWaitForMultipleObjects ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#1  0x77c0013d in ntdll!ZwWaitForMultipleObjects ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No s(EE) ymbol table info available.
#2  0x76f015e9 in WaitForMultipleObjectsEx ()
   from /cygdrive/c/Windows/syswow64/KERNELBASE.dll
No symbol table info available.
#3  0x00000003 in ?? ()
No symbol table info available.
#4  0xffcec448 in ?? ()
No symbol table i(EE) nfo available.
#5  0x770c1a2c in WaitForMultipleObjectsEx ()
   from /cygdrive/c/Windows/syswow64/kernel32.dll
No symbol table info available.
#6  0x770c4220 in WaitForMultipleObjects ()
   from /cygdrive/c/Windows/syswow64/kernel32.dll
No symbol table in(EE) fo available.
#7  0x610d4433 in select_stuff::wait (this=0xffcec718, readfds=0xffcec6b0, 
    writefds=0xffcec690, exceptfds=0xffcec670, ms=4294967295)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/select.cc:385
        s = 0x0
        m = 3
       (EE)  __PRETTY_FUNCTION__ = "select_stuff::wait_states select_stuff::wait(_types_fd_set*, _types_fd_set*, _types_fd_set*, DWORD)"
        w4 = {0x370, 0x36c, 0x564, 0x0, 0x0, 0x0, 0x72ce6858, 0x31c0ec8, 0x0, 
          0xffcec514, 0x0, 0xffcefff0, 
          0(EE) x76f26ff0 <KERNELBASE!IsNLSDefinedString+1248>, 0x1ad470b4, 
          0xfffffffe, 0x76f014d0 <WaitForSingleObjectEx+203>, 
          0x770c1194 <WaitForSingleObjectEx+67>, 0x40001c, 0xffcec9a8, 
          0x596836 <LogVMessageVerb+54>, 0xffcec64c, 0xffce(EE) c598, 
          0x77bffb81 <ntdll!ZwReleaseMutant+21>, 0x2c, 0x2c, 0x2c, 
          0xffcec608, 0x6111381c <dlcalloc@8+76>, 0x805cd388, 0x0, 0x2c, 
          0x72cb42a3, 0xd, 0xd, 0x805cd388, 
          0x61085c01 <calloc(size_t, size_t)+129>, 0xffcec600(EE) , 0x0, 0x0, 0x0, 
          0xd, 0x61274c14, 0xffcec648, 
          0x6102c779 <dtable::select_read(int, select_stuff*)+105>, 
          0x6127de3c, 0xffcec718, 0x0, 
          0x61003429 <operator new(unsigned int)+25>, 0x1, 0x2c, 0x0, 
          0x6127d(EE) e3c, 0x0, 0x805cd388, 0xd, 
          0x610d40f1 <select_stuff::test_and_set(int, _types_fd_set*, _types_fd_set*, _types_fd_set*)+305>, 0x61274c14, 0xd, 0xffcec718, 0x1, 0x0, 
          0xffcec5d8, 0xffcec840, 0xffcec718}
        startfds = <optimized out(EE) >
        wait_ret = <optimized out>
        res = <optimized out>
#8  0x610d4b6f in select (maxfds=14, readfds=0xffcec840, writefds=0xffcec820, 
    exceptfds=0xffcec800, ms=4294967295)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/select.cc:186
  (EE)       start_time = <optimized out>
        w = 0xffcec690
        e = 0xffcec670
        __PRETTY_FUNCTION__ = "int select(int, _types_fd_set*, _types_fd_set*, _types_fd_set*, DWORD)"
        res = <optimized out>
        sel = {return_on_signal = false, (EE) always_ready = false, 
          windows_used = false, start = {fd = 0, h = 0x0, fh = 0x0, 
            thread_errno = 4096, windows_handle = false, read_ready = false, 
            write_ready = false, except_ready = false, read_selected = false, 
      (EE)       write_selected = false, except_selected = false, 
            except_on_write = false, startup = 0x0, peek = 0xffcec848, 
            verify = 0x803210b0, cleanup = 0x0, next = 0x805cd388}, 
          device_specific_pipe = 0x0, device_specific_sock(EE) et = 0x805cdb08, 
          device_specific_serial = 0x0, device_specific_mailslot = 0x0}
        r = 0xffcec6b0
#9  0x610d501f in cygwin_select (maxfds=14, readfds=0xffcec840, 
    writefds=0xffcec820, exceptfds=0xffcec800, to=0x0)
    at /usr/src/debug/(EE) cygwin-1.7.20-1/winsup/cygwin/select.cc:122
        ms = <optimized out>
        __PRETTY_FUNCTION__ = "int cygwin_select(int, _types_fd_set*, _types_fd_set*, _types_fd_set*, timeval*)"
        res = <optimized out>
#10 0x610b5b37 in poll (fds=0xffcec918,(EE)  nfds=1, timeout=-1)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/poll.cc:85
        invalid_fds = <optimized out>
        read_fds = 0xffcec840
        write_fds = 0xffcec820
        tv = {tv_sec = 0, tv_usec = -1000}
        ret = <optimized out>(EE) 
        max_fd = <optimized out>
        except_fds = 0xffcec800
        fds_size = <optimized out>
#11 0x610d9285 in _sigfe () from /usr/bin/cygwin1.dll
No symbol table info available.
#12 0xffffffff in ?? ()
No symbol table info available.
#13 0x002b00(EE) 2b in ?? ()
No symbol table info available.
#14 0x6e9c2e0a in xcb_wait_for_event (c=0x803210a0) at xcb_in.c:526
        ret = 0x803210a0
#15 0x6c362ca7 in cygX11-6!_XReadEvents () from /usr/bin/cygX11-6.dll
No symbol table info available.
#16 0x6c353358 i(EE) n cygX11-6!XNextEvent () from /usr/bin/cygX11-6.dll
No symbol table info available.
#17 0x0041e025 in winMultiWindowXMsgProc (pArg=0x800463a8)
    at /usr/src/debug/xorg-server-1.14.1-1/hw/xwin/winmultiwindowwm.c:1154
        __cleanup_handler = {function(EE)  = 0x41d260 <winMultiWindowThreadExit>, 
          arg = 0x0, next = 0x0}
        msg = {dwID = 0, msg = 1034, iWindow = 10485914, hwndWindow = 0x0, 
          iX = 0, iY = 0, iWidth = 0, iHeight = 0}
        pProcArg = 0x800463a8
        pszDisplay = ":0(EE) .0", '\000' <repeats 60 times>, "\370\312\316\377\\\023\ba\000\000\000\000\003\000\037\000\274\312\316\377\001", '\000' <repeats 47 times>, "\030", '\000' <repeats 31 times>, "p\003", '\000' <repeats 18 times>, "\001\000\000\000\000\000\000\000(\315\316\3(EE) 77\376\023\ba"...
        iRetries = <optimized out>
        event = {type = 28, xany = {type = 28, serial = 85, send_event = 0, 
            display = 0x802dd370, window = 10485914}, xkey = {type = 28, 
            serial = 85, send_event = 0, display = (EE) 0x802dd370, 
            window = 10485914, root = 35, subwindow = 103191510, time = 0, 
            x = 0, y = 0, x_root = 417, y_root = -2141407688, 
            state = 2153559608, keycode = 0, same_screen = 0}, xbutton = {
            type = 28, seria(EE) l = 85, send_event = 0, display = 0x802dd370, 
            window = 10485914, root = 35, subwindow = 103191510, time = 0, 
            x = 0, y = 0, x_root = 417, y_root = -2141407688, 
            state = 2153559608, button = 0, same_screen = 0}, xmotion(EE)  = {
            type = 28, serial = 85, send_event = 0, display = 0x802dd370, 
            window = 10485914, root = 35, subwindow = 103191510, time = 0, 
            x = 0, y = 0, x_root = 417, y_root = -2141407688, 
            state = 2153559608, is_h(EE) int = 0 '\000', same_screen = 0}, 
          xcrossing = {type = 28, serial = 85, send_event = 0, 
            display = 0x802dd370, window = 10485914, root = 35, 
            subwindow = 103191510, time = 0, x = 0, y = 0, x_root = 417, 
            y_roo(EE) t = -2141407688, mode = -2141407688, detail = 0, 
            same_screen = 0, focus = -2141409288, state = 1}, xfocus = {
            type = 28, serial = 85, send_event = 0, display = 0x802dd370, 
            window = 10485914, mode = 35, detail = 103191(EE) 510}, xexpose = {
            type = 28, serial = 85, send_event = 0, display = 0x802dd370, 
            window = 10485914, x = 35, y = 103191510, width = 0, height = 0, 
            count = 0}, xgraphicsexpose = {type = 28, serial = 85, 
            send(EE) _event = 0, display = 0x802dd370, drawable = 10485914, 
            x = 35, y = 103191510, width = 0, height = 0, count = 0, 
            major_code = 417, minor_code = -2141407688}, xnoexpose = {
            type = 28, serial = 85, send_event = 0, displa(EE) y = 0x802dd370, 
            drawable = 10485914, major_code = 35, minor_code = 103191510}, 
          xvisibility = {type = 28, serial = 85, send_event = 0, 
            display = 0x802dd370, window = 10485914, state = 35}, 
          xcreatewindow = {ty(EE) pe = 28, serial = 85, send_event = 0, 
            display = 0x802dd370, parent = 10485914, window = 35, 
            x = 103191510, y = 0, width = 0, height = 0, border_width = 417, 
            override_redirect = -2141407688}, xdestroywindow = {type = (EE) 28, 
            serial = 85, send_event = 0, display = 0x802dd370, 
            event = 10485914, window = 35}, xunmap = {type = 28, serial = 85, 
            send_event = 0, display = 0x802dd370, event = 10485914, 
            window = 35, from_configur(EE) e = 103191510}, xmap = {type = 28, 
            serial = 85, send_event = 0, display = 0x802dd370, 
            event = 10485914, window = 35, override_redirect = 103191510}, 
          xmaprequest = {type = 28, serial = 85, send_event = 0, 
            d(EE) isplay = 0x802dd370, parent = 10485914, window = 35}, 
          xreparent = {type = 28, serial = 85, send_event = 0, 
            display = 0x802dd370, event = 10485914, window = 35, 
            parent = 103191510, x = 0, y = 0, override_redirect = 0}, (EE) 
          xconfigure = {type = 28, serial = 85, send_event = 0, 
            display = 0x802dd370, event = 10485914, window = 35, 
            x = 103191510, y = 0, width = 0, height = 0, border_width = 417, 
            above = 2153559608, override_redi(EE) rect = -2141407688}, xgravity = {
            type = 28, serial = 85, send_event = 0, display = 0x802dd370, 
            event = 10485914, window = 35, x = 103191510, y = 0}, 
          xresizerequest = {type = 28, serial = 85, send_event = 0, 
          (EE)   display = 0x802dd370, window = 10485914, width = 35, 
            height = 103191510}, xconfigurerequest = {type = 28, serial = 85, 
            send_event = 0, display = 0x802dd370, parent = 10485914, 
            window = 35, x = 103191510, y = 0, wid(EE) th = 0, height = 0, 
            border_width = 417, above = 2153559608, detail = -2141407688, 
            value_mask = 0}, xcirculate = {type = 28, serial = 85, 
            send_event = 0, display = 0x802dd370, event = 10485914, 
            window = 3(EE) 5, place = 103191510}, xcirculaterequest = {type = 28, 
            serial = 85, send_event = 0, display = 0x802dd370, 
            parent = 10485914, window = 35, place = 103191510}, xproperty = {
            type = 28, serial = 85, send_event = 0, displ(EE) ay = 0x802dd370, 
            window = 10485914, atom = 35, time = 103191510, state = 0}, 
          xselectionclear = {type = 28, serial = 85, send_event = 0, 
            display = 0x802dd370, window = 10485914, selection = 35, 
            time = 10319(EE) 1510}, xselectionrequest = {type = 28, serial = 85, 
            send_event = 0, display = 0x802dd370, owner = 10485914, 
            requestor = 35, selection = 103191510, target = 0, property = 0, 
            time = 0}, xselection = {type = 28, serial (EE) = 85, send_event = 0, 
            display = 0x802dd370, requestor = 10485914, selection = 35, 
            target = 103191510, property = 0, time = 0}, xcolormap = {
            type = 28, serial = 85, send_event = 0, display = 0x802dd370, 
            w(EE) indow = 10485914, colormap = 35, new = 103191510, state = 0}, 
          xclient = {type = 28, serial = 85, send_event = 0, 
            display = 0x802dd370, window = 10485914, message_type = 35, 
            format = 103191510, data = {
              b (EE) = '\000' <repeats 12 times>, "\241\001\000\000\070\266\\\200", s = {0, 0, 0, 0, 0, 0, 417, 0, -18888, -32676}, l = {0, 0, 0, 417, 
                -2141407688}}}, xmapping = {type = 28, serial = 85, 
            send_event = 0, display = 0x802dd370, windo(EE) w = 10485914, 
            request = 35, first_keycode = 103191510, count = 0}, xerror = {
            type = 28, display = 0x55, resourceid = 0, serial = 2150486896, 
            error_code = 154 '\232', request_code = 0 '\000', 
            minor_code =(EE)  160 '\240'}, xkeymap = {type = 28, serial = 85, 
            send_event = 0, display = 0x802dd370, window = 10485914, 
            key_vector = "#\000\000\000֓&\006", '\000' <repeats 12 times>, "\241\001\000\000\070\266\\\200\070\266\\\200"}, xgeneric =(EE)  {type = 28, 
            serial = 85, send_event = 0, display = 0x802dd370, 
            extension = 10485914, evtype = 35}, xcookie = {type = 28, 
            serial = 85, send_event = 0, display = 0x802dd370, 
            extension = 10485914, evtype =(EE)  35, cookie = 103191510, 
            data = 0x0}, pad = {28, 85, 0, -2144480400, 10485914, 35, 
            103191510, 0, 0, 0, 417, -2141407688, -2141407688, 0, 0, 
            -2141409288, 1, 1628251568, 1628251216, 1628249488, 0, 
            -2141407(EE) 728, 369, -2141407640}}
        atmWmName = 39
        atmWmHints = 35
        atmWmChange = 234
        atmNetWmIcon = 235
        atmWindowState = 236
        atmMotifWmHints = 237
        atmWindowType = 238
        atmNormalHints = 40
        iReturn (EE) = <optimized out>
        xis = <optimized out>
#18 0x610ffe1a in pthread::thread_init_wrapper(void*)@4 (arg=0x8003f740)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/thread.cc:1947
        thread = 0x8003f740
        __PRETTY_FUNCTION__ = "static D(EE) WORD pthread::thread_init_wrapper(void*)"
        ret = <optimized out>
#19 0x6108974c in thread_wrapper (arg=0x0)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/miscfuncs.cc:600
        dealloc_addr = <optimized out>
        count = <optimized out>
[103193.335] (EE)         wrapper_arg = {func = 0x0, arg = 0x0, stackaddr = 0x0, 
          stackbase = 0x0, stacklimit = 0x0}
        old_start = 0x610d9285 <_sigbe>
#20 0x00000000 in ?? ()
No symbol table info available.

Thread 5 (Thread 81076.0x14330):
#0  0x77c0013d i(EE) n ntdll!ZwWaitForMultipleObjects ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#1  0x77c0013d in ntdll!ZwWaitForMultipleObjects ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#2  0x76f(EE) 015e9 in WaitForMultipleObjectsEx ()
   from /cygdrive/c/Windows/syswow64/KERNELBASE.dll
No symbol table info available.
#3  0x00000003 in ?? ()
No symbol table info available.
#4  0xffdebc7c in ?? ()
No symbol table info available.
#5  0x770c1a2c in Wait(EE) ForMultipleObjectsEx ()
   from /cygdrive/c/Windows/syswow64/kernel32.dll
No symbol table info available.
#6  0x770c4220 in WaitForMultipleObjects ()
   from /cygdrive/c/Windows/syswow64/kernel32.dll
No symbol table info available.
#7  0x61005ff0 in cygwa(EE) it(void*, _LARGE_INTEGER*, unsigned int)@12 (
    object=<optimized out>, timeout=0x0, mask=5)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/cygwait.cc:74
        wait_objects = {0x6ec, 0x364, 0x35c, 0x0}
        thread = 0x80040090
        res = <o(EE) ptimized out>
        num = 3
        sig_n = 1
        cancel_n = <optimized out>
        timeout_n = 259
#8  0x6103a325 in cygwait (mask=5, howlong=4294967295, h=<optimized out>)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/cygwait.h:47
        p(EE) li_howlong = 0x0
#9  cygwait (howlong=4294967295, h=<optimized out>)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/cygwait.h:53
No locals.
#10 fhandler_base_overlapped::wait_overlapped(bool, bool, unsigned long*, bool, unsigned long)@24 (this=0x6127(EE) f2ec, inres=<optimized out>, writing=false, 
    bytes=0xffdebe50, nonblocking=false, len=0)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/fhandler.cc:1900
        wfres = 1630008044
        h = <optimized out>
        wores = <optimized out>
      (EE)   res = fhandler_base_overlapped::overlapped_unknown
        err = <optimized out>
        __PRETTY_FUNCTION__ = "fhandler_base_overlapped::wait_return fhandler_base_overlapped::wait_overlapped(bool, bool, DWORD*, bool, DWORD)"
#11 0x6103a702 in fhandler_(EE) base_overlapped::raw_read(void*, unsigned int&)@12
    (this=0x6127f2ec, ptr=0xffdec048, len=@0xffdec000: 255)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/fhandler.cc:1993
        res = <optimized out>
        nbytes = <optimized out>
        keep(EE) _looping = <optimized out>
#12 0x6103790e in fhandler_base::read(void*, unsigned int&)@12 (
    this=0x6127f2ec, in_ptr=0xffdec048, len=@0xffdec000: 255)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/fhandler.cc:737
        copied_chars = <optimized(EE)  out>
        dst = <optimized out>
        end = <optimized out>
        __PRETTY_FUNCTION__ = "virtual void fhandler_base::read(void*, size_t&)"
        ptr = 0xffdec048 "\n", '=' <repeats 20 times>, " GDB Backtrace ", '=' <repeats 12 times>, "\n\nGNU g(EE) db (GDB) 7.6.50.20130508-cvs (cygwin-special)\nThis GDB was configured as \"i686-cygwin\".\n\n", '=' <repeats 20 times>, " Backtrace ", '=' <repeats 16 times>, "\n\nThread "...
        src = <optimized out>
#13 0x610edb52 in read (fd=20, ptr=0xffdec048, l(EE) en=255)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/syscalls.cc:1147
        efault = {sebastian = {_clemente = 0x0, _context = {-2179292, 
              -2179000, -2147221361, 0, 20, 255, -2178724, -2179356, 
              1628363397, 5439531, 28(EE) 18091, -2162704, 1768, 1630008564, 
              -2178724, 1627608602, 1768, 1630008564, 1630008564, 1627627247, 
              1627389952, -2179248, -2178944, 0, 1629983116, 1630008564, 0, 
              1627403420, 1630008564, 1630008652, 1630008652, 1(EE) 628071152, 
              1530553712, 6107442, 1530553712, 6107186, 2009314347, 21, 
              1630008564, 1628936792, 1630008556, 1630008564, 0, -2179000, 
              81980, 0, -2179076, 5862872, 5, -1, 6249095, -2179028}, 
            _errno = 14(EE) , _c_cnt = 0, _w_cnt = 0}}
        res = 255
        __PRETTY_FUNCTION__ = "_ssize_t read(int, void*, size_t)"
#14 0x610d9285 in _sigfe () from /usr/bin/cygwin1.dll
No symbol table info available.
#15 0x000000ff in ?? ()
No symbol table info available.
#1(EE) 6 0x61106a93 in pthread_mutex_unlock (mutex=0x5f6d83 <Xtransports+195>)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/thread.cc:3166
No locals.
#17 0x005a19b2 in OsSigHandler (signo=11, sip=0xffdec1d0, unused=0x0)
    at /usr/src/debug/xorg-server-1(EE) .14.1-1/os/osinit.c:145
No locals.
#18 0x610325fe in _cygtls::call_signal_handler()@4 (this=0xffdece64)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/exceptions.cc:1440
        thissig = 11
        thissi = {si_signo = 11, si_code = 23, si_pid = 795(EE) 92, si_uid = 1000, 
          si_errno = 0, {__pad = {0 <repeats 31 times>, 4292789384}, 
            _si_commune = {_si_code = 0, _si_read_handle = 0x0, 
              _si_write_handle = 0x0, _si_process_handle = 0x0, {_si_fd = 0, 
                _si_pi(EE) pe_fhandler = 0x0, _si_str = 0x0}}, {{si_sigval = {
                  sival_int = 0, sival_ptr = 0x0}, si_value = {sival_int = 0, 
                  sival_ptr = 0x0}}, {si_tid = 0, si_overrun = 0}}, {
              si_status = 0, si_utime = 0, si_stime = (EE) 0}, si_addr = 0x0, {
              __pad2 = {0 <repeats 31 times>}, si_cyg = 0xffdec488}}}
        thisfunc = 0x5a1930 <OsSigHandler>
        this_oldmask = 11
        this_errno = -1
        this_sa_flags = 2
        __PRETTY_FUNCTION__ = "int _cygtls::c(EE) all_signal_handler()"
#19 0x610df288 in sig_send(_pinfo*, siginfo_t&, _cygtls*)@12 (
    p=<optimized out>, si=..., tls=0xffdec2d4)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/sigproc.cc:693
        pack = {si = {si_signo = 11, si_code = 23, si_pi(EE) d = 79592, 
            si_uid = 1000, si_errno = 0, {__pad = {0 <repeats 31 times>, 
                4292789384}, _si_commune = {_si_code = 0, 
                _si_read_handle = 0x0, _si_write_handle = 0x0, 
                _si_process_handle = 0x0, {_si(EE) _fd = 0, 
                  _si_pipe_fhandler = 0x0, _si_str = 0x0}}, {{si_sigval = {
                    sival_int = 0, sival_ptr = 0x0}, si_value = {
                    sival_int = 0, sival_ptr = 0x0}}, {si_tid = 0, 
                  si_overrun = 0}},(EE)  {si_status = 0, si_utime = 0, 
                si_stime = 0}, si_addr = 0x0, {__pad2 = {
                  0 <repeats 31 times>}, si_cyg = 0xffdec488}}}, pid = 79592, 
          sigtls = 0xffdece64, mask = 0xffded85c, {wakeup = 0x0, 
            thread_h(EE) andle = 0x0, next = 0x0}}
        __PRETTY_FUNCTION__ = "int sig_send(_pinfo*, siginfo_t&, _cygtls*)"
        packsize = <optimized out>
        sendsig = 0x98
        nb = 164
        rc = 0
        its_me = <optimized out>
        communing = false
    (EE)     wait_for_completion = <optimized out>
        pending = <optimized out>
        leader = 0xffdec2d4 "\v"
#20 0x61031426 in exception::handle (e=0xffdec598, frame=0xffdefff0, 
    in=0xffdec5e8)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/excep(EE) tions.cc:759
        me = @0xffdece64: {locals = {grp_pos = 0, dl_error = 0, 
            dl_buffer = '\000' <repeats 255 times>, res = {pw_name = 0x0, 
              pw_passwd = 0x0, pw_uid = 0, pw_gid = 0, pw_comment = 0x0, 
              pw_gecos = 0x0(EE) , pw_dir = 0x0, pw_shell = 0x0}, 
            pass = '\000' <repeats 127 times>, pw_pos = 0, mntbuf = {
              mnt_fsname = 0x0, mnt_dir = 0x0, mnt_type = 0x0, 
              mnt_opts = 0x0, mnt_freq = 0, mnt_passno = 0}, iteration = 0, 
          (EE)   available_drives = 0, mnt_type = '\000' <repeats 79 times>, 
            mnt_opts = '\000' <repeats 79 times>, 
            mnt_fsname = '\000' <repeats 259 times>, 
            mnt_dir = '\000' <repeats 259 times>, select = {sockevt = 0x49c, 
         (EE)      max_w4 = 64, ser_num = 0x802d5f50, w4 = 0x802d6058}, 
            strerror_buf = '\000' <repeats 25 times>, 
            strerror_r_buf = '\000' <repeats 25 times>, 
            timezone_buf = '\000' <repeats 19 times>, 
            signamebuf = "Seg(EE) mentation fault\000\000\000\000\000\000\000\000\000\000", ntoa_buf = 0x0, hostent_buf = 0x0, protoent_buf = 0x0, 
            servent_buf = 0x0, 
            unknown_thread_name = '\000' <repeats 29 times>, 
            setmode_file = 0, setmode_mode = 0,(EE)  cw_timer = 0x0, pathbufs = {
              c_cnt = 0, w_cnt = 0, c_buf = {0x8028fa28 "/dev/kmsg", 
                0x80297a30 "D:\\~\\Bin\\Cygwin\\usr\\share\\pixmaps", 
                0x802afa40 "\\Device\\MailSlot\\cygwin\\dev\\kmsg", 
               (EE)  0x802c7a50 "D:\\~", 
                0x80372a58 "D:\\~\\Bin\\Cygwin\\bin\\cygXcursor-1.dll", 0x0, 
                0x0, 0x0, 0x0, 0x0}, w_buf = {
                0x8029fa38 L"\\Device\\MailSlot\\cygwin\\dev\\kmsg18d3ac736265856f", 0x802b7a48 L"\\??\\D:\\(EE) ~\\Bin\\Cygwin\\usr\\share\\pixmaps", 
                0x803809d0 L"\\??\\D:\\~\\Bin\\Cygwin\\lib", 0x0, 0x0, 0x0, 
                0x0, 0x0, 0x0, 0x0}}, ttybuf = '\000' <repeats 31 times>}, {
            local_clib = {_errno = 2, _stdin = 0x6118ab30 <ree(EE) nt_data+752>, 
              _stdout = 0x6118aba0 <reent_data+864>, 
              _stderr = 0x6118ac10 <reent_data+976>, _inc = 0, 
              _emergency = '\000' <repeats 24 times>, _current_category = 0, 
              _current_locale = 0x611a3a80 <(EE) cygthread::stub(void*)::__PRETTY_FUNCTION__+64> "C", __sdidinit = -1, __cleanup = 0x6113a970 <_cleanup_r>, 
              _result = 0x800463f0, _result_k = 0, _p5s = 0x0, 
              _freelist = 0x8003f7d0, _cvtlen = 0, _cvtbuf = 0x0, _new = {
        (EE)         _reent = {_unused_rand = 0, _strtok_last = 0x0, 
                  _asctime_buf = '\000' <repeats 25 times>, _localtime_buf = {
                    __tm_sec = 0, __tm_min = 0, __tm_hour = 0, __tm_mday = 0, 
                    __tm_mon = 0, __tm_y(EE) ear = 0, __tm_wday = 0, 
                    __tm_yday = 0, __tm_isdst = 0}, _gamma_signgam = 0, 
                  _rand_next = 1, _r48 = {_seed = {13070, 43981, 4660}, 
                    _mult = {58989, 57068, 5}, _add = 11}, _mblen_state = {
        (EE)             __count = 0, __value = {__wch = 0, 
                      __wchb = "\000\000\000"}}, _mbtowc_state = {
                    __count = 0, __value = {__wch = 0, 
                      __wchb = "\000\000\000"}}, _wctomb_state = {
                 (EE)    __count = 0, __value = {__wch = 0, 
                      __wchb = "\000\000\000"}}, 
                  _l64a_buf = "\000\000\000\000\000\000\000", 
                  _signal_buf = '\000' <repeats 23 times>, _getdate_err = 0, 
                  _mbrlen(EE) _state = {__count = 0, __value = {__wch = 0, 
                      __wchb = "\000\000\000"}}, _mbrtowc_state = {
                    __count = 0, __value = {__wch = 0, 
                      __wchb = "\000\000\000"}}, _mbsrtowcs_state = {
               (EE)      __count = 0, __value = {__wch = 0, 
                      __wchb = "\000\000\000"}}, _wcrtomb_state = {
                    __count = 0, __value = {__wch = 0, 
                      __wchb = "\000\000\000"}}, _wcsrtombs_state = {
                    (EE) __count = 0, __value = {__wch = 0, 
                      __wchb = "\000\000\000"}}, _h_errno = 0}, _unused = {
                  _nextf = {0x0 <repeats 20 times>, 
                    0x1 <Address 0x1 out of bounds>, 0x0, 
                    0xabcd330e (EE) <Address 0xabcd330e out of bounds>, 
                    0xe66d1234 <Address 0xe66d1234 out of bounds>, 
                    0x5deec <Address 0x5deec out of bounds>, 
                    0xb <Address 0xb out of bounds>, 0x0, 0x0, 0x0, 0x0}, 
             (EE)      _nmalloc = {0 <repeats 30 times>}}}, _atexit = 0x0, 
              _atexit0 = {_next = 0x0, _ind = 0, _fns = {
                  0x0 <repeats 32 times>}, _on_exit_args = {_fnargs = {
                    0x0 <repeats 32 times>}, _dso_handle = {
      (EE)               0x0 <repeats 32 times>}, _fntypes = 0, _is_cxa = 0}}, 
              _sig_func = 0x0, __sglue = {_next = 0x0, _niobs = 3, 
                _iobs = 0x6118ab30 <reent_data+752>}, __sf = {{_p = 0x0, 
                  _r = 0, _w = 0, _flags = 0(EE) , _file = 0, _bf = {_base = 0x0, 
                    _size = 0}, _lbfsize = 0, _data = 0x0, _cookie = 0x0, 
                  _read = 0x0, _write = 0x0, _seek = 0x0, _close = 0x0, 
                  _ub = {_base = 0x0, _size = 0}, _up = 0x0, _ur = 0, 
  (EE)                 _ubuf = "\000\000", _nbuf = "", _lb = {_base = 0x0, 
                    _size = 0}, _blksize = 0, _flags2 = 0, _offset = 0, 
                  _seek64 = 0x0, _lock = 0x0, _mbstate = {__count = 0, 
                    __value = {__wch = 0,(EE)  __wchb = "\000\000\000"}}}, {
                  _p = 0x0, _r = 0, _w = 0, _flags = 0, _file = 0, _bf = {
                    _base = 0x0, _size = 0}, _lbfsize = 0, _data = 0x0, 
                  _cookie = 0x0, _read = 0x0, _write = 0x0, _seek = 0x0, 
  (EE)                 _close = 0x0, _ub = {_base = 0x0, _size = 0}, _up = 0x0, 
                  _ur = 0, _ubuf = "\000\000", _nbuf = "", _lb = {
                    _base = 0x0, _size = 0}, _blksize = 0, _flags2 = 0, 
                  _offset = 0, _seek64 = (EE) 0x0, _lock = 0x0, _mbstate = {
                    __count = 0, __value = {__wch = 0, 
                      __wchb = "\000\000\000"}}}, {_p = 0x0, _r = 0, _w = 0, 
                  _flags = 0, _file = 0, _bf = {_base = 0x0, _size = 0}, 
                (EE)   _lbfsize = 0, _data = 0x0, _cookie = 0x0, _read = 0x0, 
                  _write = 0x0, _seek = 0x0, _close = 0x0, _ub = {
                    _base = 0x0, _size = 0}, _up = 0x0, _ur = 0, 
                  _ubuf = "\000\000", _nbuf = "", _lb = {_base =(EE)  0x0, 
                    _size = 0}, _blksize = 0, _flags2 = 0, _offset = 0, 
                  _seek64 = 0x0, _lock = 0x0, _mbstate = {__count = 0, 
                    __value = {__wch = 0, __wchb = "\000\000\000"}}}}}, 
            __dontuse = "\002\(EE) 000\000\000\060\253\030a\240\253\030a\020\254\030a", '\000' <repeats 36 times>, "\200:\032a\377\377\377\377p\251\023a\360c\004\200\000\000\000\000\000\000\000\000\320\367\003\200", '\000' <repeats 88 times>, "\001\000\000\000\000\000\000\000\016\063Í«4\02(EE) 2m\346\354\336\005\000\v", '\000' <repeats 551 times>...}, func = 0x5a1930 <OsSigHandler>, saved_errno = -1, 
          sa_flags = 2, oldmask = 0, deltamask = 1024, 
          errno_addr = 0xffded404, sigmask = 1024, sigwait_mask = 0, 
          sigwait_i(EE) nfo = 0x0, signal_arrived = 0x364, 
          will_wait_for_signal = true, thread_context = {cr2 = 0, dr0 = 0, 
            dr1 = 0, dr2 = 0, dr3 = 0, dr6 = 0, dr7 = 0, fpstate = {cw = 0, 
              sw = 0, tag = 0, ipoff = 0, cssel = 0, dataoff = 0, (EE) 
              datasel = 0, _st = {{significand = {0, 0, 0, 0}, exponent = 0}, 
                {significand = {0, 0, 0, 0}, exponent = 0}, {significand = {
                    0, 0, 0, 0}, exponent = 0}, {significand = {0, 0, 0, 0}, 
                  ex(EE) ponent = 0}, {significand = {0, 0, 0, 0}, exponent = 0}, {
                  significand = {0, 0, 0, 0}, exponent = 0}, {significand = {
                    0, 0, 0, 0}, exponent = 0}, {significand = {0, 0, 0, 0}, 
                  exponent = 0}}, nxst =(EE)  0}, gs = 0, fs = 0, es = 0, ds = 0, 
            edi = 0, esi = 0, ebx = 0, edx = 0, ecx = 0, eax = 0, ebp = 0, 
            eip = 0, cs = 0, eflags = 0, esp = 0, ss = 0, 
            _internal = 0 '\000', oldmask = 0}, thread_id = 82736, 
          info(EE) data = {si_signo = 11, si_code = 23, si_pid = 79592, 
            si_uid = 1000, si_errno = 0, {__pad = {0 <repeats 31 times>, 
                4292789384}, _si_commune = {_si_code = 0, 
                _si_read_handle = 0x0, _si_write_handle = 0x0, 
    (EE)             _si_process_handle = 0x0, {_si_fd = 0, 
                  _si_pipe_fhandler = 0x0, _si_str = 0x0}}, {{si_sigval = {
                    sival_int = 0, sival_ptr = 0x0}, si_value = {
                    sival_int = 0, sival_ptr = 0x0}}, {si_tid(EE)  = 0, 
                  si_overrun = 0}}, {si_status = 0, si_utime = 0, 
                si_stime = 0}, si_addr = 0x0, {__pad2 = {
                  0 <repeats 31 times>}, si_cyg = 0xffdec488}}}, 
          tid = 0x80040090, _ctinfo = 0x0, andreas = 0xff(EE) debf20, wq = {
            pid = 0, options = 0, status = 0, ev = 0x0, rusage = 0x0, 
            next = 0x0, thread_ev = 0x0}, sig = 0, incyg = 1, spinning = 0, 
          stacklock = 0, stackptr = 0xffdeda1c, stack = {5890284, 1847070344, 
            0(EE)  <repeats 254 times>}, initialized = 3345159999}
        si = {si_signo = 11, si_code = 23, si_pid = 0, si_uid = 0, 
          si_errno = 0, {__pad = {0 <repeats 31 times>, 4292789384}, 
            _si_commune = {_si_code = 0, _si_read_handle = 0x0, 
   (EE)            _si_write_handle = 0x0, _si_process_handle = 0x0, {_si_fd = 0, 
                _si_pipe_fhandler = 0x0, _si_str = 0x0}}, {{si_sigval = {
                  sival_int = 0, sival_ptr = 0x0}, si_value = {sival_int = 0, 
                  sival_ptr(EE)  = 0x0}}, {si_tid = 0, si_overrun = 0}}, {
              si_status = 0, si_utime = 0, si_stime = 0}, si_addr = 0x0, {
              __pad2 = {0 <repeats 31 times>}, si_cyg = 0xffdec488}}}
        __PRETTY_FUNCTION__ = "static int exception::handle(EXCEPTI(EE) ON_RECORD*, exception_list*, CONTEXT*, void*)"
        debugging = false
        framep = <optimized out>
        exc = {framep = 0xffdec69c, ctx = 0xffdec5e8, e = 0xffdec598}
#21 0x77c3b459 in ntdll!LdrRemoveLoadAsDataTable ()
   from /cygdrive/c/Windows(EE) /SysWOW64/ntdll.dll
No symbol table info available.
#22 0xffdec598 in ?? ()
No symbol table info available.
#23 0x77c3b42b in ntdll!LdrRemoveLoadAsDataTable ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#24 0xffdec598 i(EE) n ?? ()
No symbol table info available.
#25 0x77bf0133 in ntdll!KiUserExceptionDispatcher ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#26 0x00dec598 in ?? ()
No symbol table info available.
#27 0x0042c0fd in NetWMToWi(EE) nIconAlpha (icon=0xff8d0030)
    at /usr/src/debug/xorg-server-1.14.1-1/hw/xwin/wmutil/icon_convert.c:264
        hdc = <optimized out>
        ii = {fIcon = 1, xHotspot = 0, yHotspot = 0, hbmMask = 0x0, 
          hbmColor = 0x0}
        bmh = {bV4Size =(EE)  108, bV4Width = -1, bV4Height = 1, bV4Planes = 1, 
          bV4BitCount = 32, bV4V4Compression = 3, bV4SizeImage = 0, 
          bV4XPelsPerMeter = 0, bV4YPelsPerMeter = 0, bV4ClrUsed = 0, 
          bV4ClrImportant = 0, bV4RedMask = 16711680, bV4GreenM(EE) ask = 65280, 
          bV4BlueMask = 255, bV4AlphaMask = 4278190080, bV4CSType = 0, 
          bV4Endpoints = {ciexyzRed = {ciexyzX = 0, ciexyzY = 0, 
              ciexyzZ = 0}, ciexyzGreen = {ciexyzX = 0, ciexyzY = 0, 
              ciexyzZ = 0}, ciexy(EE) zBlue = {ciexyzX = 0, ciexyzY = 0, 
              ciexyzZ = 0}}, bV4GammaRed = 0, bV4GammaGreen = 0, 
          bV4GammaBlue = 0}
        width = <optimized out>
        height = 0
        pixels = 0xff8d0038
        result = <optimized out>
        DIB_p(EE) ixels = 0x0
#28 NetWMToWinIcon (bpp=<optimized out>, icon=0xff8d0030)
    at /usr/src/debug/xorg-server-1.14.1-1/hw/xwin/wmutil/icon_convert.c:358
        hasIconAlphaChannel = true
        versionChecked = true
#29 0x0042c687 in winXIconToHICON (conn=0x8(EE) 02d0cf8, id=10485914, iconSize=32)
    at /usr/src/debug/xorg-server-1.14.1-1/hw/xwin/wmutil/icon_convert.c:438
        mask = <optimized out>
        image = 0x0
        imageMask = <optimized out>
        dst = <optimized out>
        src = <optimized o(EE) ut>
        planes = 1
        bpp = 32
        i = <optimized out>
        biggest_size = <optimized out>
        hDC = <optimized out>
        ii = {fIcon = -1812266357, xHotspot = 2150436088, 
          yHotspot = 10485914, hbmMask = 0x1a19be, hbmColor(EE)  = 0x20}
        hints = {flags = 11, input = 2150436088, initial_state = -2176016, 
          icon_pixmap = 1975673360, icon_window = 1710526, icon_x = 1024, 
          icon_y = -2175960, icon_mask = 1975680452, 
          window_group = 1975680403}
    (EE)     hIcon = 0x0
        biggest_icon = <optimized out>
        _XA_NET_WM_ICON = 235
        generation = 1
        icon = <optimized out>
        icon_data = <optimized out>
        size = <optimized out>
        cookie = <optimized out>
        reply = (EE) 0xff890008
#30 0x004085ff in winUpdateIcon (hWnd=0x1a19be, pDisplay=0x8028efd8, 
    id=10485914, hIconNew=0x0)
    at /usr/src/debug/xorg-server-1.14.1-1/hw/xwin/winmultiwindowicons.c:71
        conn = 0x802d0cf8
        hIcon = <optimized out>
        h(EE) IconSmall = 0x0
        hIconOld = <optimized out>
#31 0x0041d987 in UpdateIcon (iWindow=10485914, pWMInfo=<optimized out>)
    at /usr/src/debug/xorg-server-1.14.1-1/hw/xwin/winmultiwindowwm.c:666
        hWnd = 0x1a19be
        hIconNew = <optimized out(EE) >
        attr = {x = 2014, y = 389, width = 452, height = 302, 
          border_width = 0, depth = 24, visual = 0x802dc4e0, root = 534, 
          class = 1, bit_gravity = 1, win_gravity = 1, backing_store = 0, 
          backing_planes = 4294967295, ba(EE) cking_pixel = 0, save_under = 0, 
          colormap = 10485886, map_installed = 0, map_state = 2, 
          all_event_masks = 6537343, your_event_mask = 0, 
          do_not_propagate_mask = 0, override_redirect = 0, 
          screen = 0x802dc430}
#32 (EE) 0x0041f3b9 in winMultiWindowWMProc (pArg=0x80046368)
    at /usr/src/debug/xorg-server-1.14.1-1/hw/xwin/winmultiwindowwm.c:928
        pNode = 0x8031fab0
        __cleanup_handler = {function = 0x41d260 <winMultiWindowThreadExit>, 
          arg = 0x0, ne(EE) xt = 0x0}
        pProcArg = 0x80046368
        pWMInfo = 0x80046378
#33 0x610ffe1a in pthread::thread_init_wrapper(void*)@4 (arg=0x80040090)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/thread.cc:1947
        thread = 0x80040090
        __PRETTY_F(EE) UNCTION__ = "static DWORD pthread::thread_init_wrapper(void*)"
        ret = <optimized out>
#34 0x6108974c in thread_wrapper (arg=0x0)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/miscfuncs.cc:600
        dealloc_addr = <optimized out>
        cou(EE) nt = <optimized out>
        wrapper_arg = {func = 0x0, arg = 0x0, stackaddr = 0x0, 
          stackbase = 0x0, stacklimit = 0x0}
        old_start = 0x610d9285 <_sigbe>
#35 0x00000000 in ?? ()
No symbol table info available.

Thread 4 (Thread 81076.0x139(EE) 64):
#0  0x75c278d7 in USER32!DispatchMessageW ()
   from /cygdrive/c/Windows/syswow64/USER32.dll
No symbol table info available.
#1  0x00407ccc in winMsgWindowThreadProc (arg=0x0)
    at /usr/src/debug/xorg-server-1.14.1-1/hw/xwin/winmsgwindow.c:152
    (EE)     msg = {hwnd = 0x2e18a0, message = 799, wParam = 1, lParam = 0, 
          time = 103147892, pt = {x = 754, y = 48}}
        hwndMsg = 0xffefcdc0
#2  0x610ffe1a in pthread::thread_init_wrapper(void*)@4 (arg=0x8003f460)
    at /usr/src/debug/cygwin-1.7.(EE) 20-1/winsup/cygwin/thread.cc:1947
        thread = 0x8003f460
        __PRETTY_FUNCTION__ = "static DWORD pthread::thread_init_wrapper(void*)"
        ret = <optimized out>
#3  0x6108974c in thread_wrapper (arg=0x0)
    at /usr/src/debug/cygwin-1.7.20-1/w(EE) insup/cygwin/miscfuncs.cc:600
        dealloc_addr = <optimized out>
        count = <optimized out>
        wrapper_arg = {func = 0x0, arg = 0x0, stackaddr = 0x0, 
          stackbase = 0x0, stacklimit = 0x0}
        old_start = 0x0
#4  0x00000000 in ?? (EE) ()
No symbol table info available.

Thread 3 (Thread 81076.0x140d0):
#0  0x77c0013d in ntdll!ZwWaitForMultipleObjects ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#1  0x77c0013d in ntdll!ZwWaitForMultipleObjects ()
   (EE) from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#2  0x77c32f51 in ntdll!RtlMoveMemory ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#3  0x00000001 in ?? ()
No symbol table info available.
#4 (EE)  0x00000001 in ?? ()
No symbol table info available.
#5  0x00000000 in ?? ()
No symbol table info available.

Thread 2 (Thread 81076.0x10cc4):
#0  0x77bff8e5 in ntdll!ZwReadFile ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info availa(EE) ble.
#1  0x77bff8e5 in ntdll!ZwReadFile ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#2  0x76efdd54 in ReadFile () from /cygdrive/c/Windows/syswow64/KERNELBASE.dll
No symbol table info available.
#3  0x00000094 in ?? ((EE) )
No symbol table info available.
#4  0x00000000 in ?? ()
No symbol table info available.

Thread 1 (Thread 81076.0x136f0):
#0  0x77c0013d in ntdll!ZwWaitForMultipleObjects ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
[103193.335] (EE) #1  0x77c0013d in ntdll!ZwWaitForMultipleObjects ()
   from /cygdrive/c/Windows/SysWOW64/ntdll.dll
No symbol table info available.
#2  0x76f015e9 in WaitForMultipleObjectsEx ()
   from /cygdrive/c/Windows/syswow64/KERNELBASE.dll
No symbol table info avail(EE) able.
#3  0x00000004 in ?? ()
No symbol table info available.
#4  0x0028a610 in ?? ()
No symbol table info available.
#5  0x770c1a2c in WaitForMultipleObjectsEx ()
   from /cygdrive/c/Windows/syswow64/kernel32.dll
No symbol table info available.
#6  0x75c(EE) 3086a in USER32!PeekMessageW ()
   from /cygdrive/c/Windows/syswow64/USER32.dll
No symbol table info available.
#7  0x610d42c4 in select_stuff::wait (this=0x28a978, readfds=0x28a8f0, 
    writefds=0x28a8b0, exceptfds=0x28a870, ms=556897)
    at /usr/src/d(EE) ebug/cygwin-1.7.20-1/winsup/cygwin/select.cc:393
        s = 0x28a6cc
        m = 0
        __PRETTY_FUNCTION__ = "select_stuff::wait_states select_stuff::wait(_types_fd_set*, _types_fd_set*, _types_fd_set*, DWORD)"
        w4 = {0x388, 0x170, 0x440, 0x72(EE) cb44f4, 0x650, 0x288, 0x0, 0x0, 
          0x28a790, 0x1201f, 0x28a778, 0x10, 0x0, 0x72cb457d, 0x6c02e037, 
          0x31c1378, 0x28a904, 0x204a000, 0x28a984, 0x1, 0x0, 0x0, 
          0x770c1148 <WaitForSingleObject+18>, 0x2c, 0x2c, 0x2c, 0x28a808, 
   (EE)        0x6111381c <dlcalloc@8+76>, 0x80320d48, 0x0, 0x2c, 0x0, 0x13, 0x13, 
          0x80320d48, 0x61085c01 <calloc(size_t, size_t)+129>, 0x612768a4, 
          0x1ee1027b, 0xfffffffe, 0x72cb457d, 0x13, 0x61274c14, 0x28a848, 
          0x6102c779 <dtable(EE) ::select_read(int, select_stuff*)+105>, 
          0x6127ed0c, 0x28a978, 0x0, 
          0x61003429 <operator new(unsigned int)+25>, 0x1, 0x2c, 0x6c02ef3f, 
          0x0, 0x66ade8, 0x80320d48, 0x13, 
          0x610d40f1 <select_stuff::test_and_set(int, (EE) _types_fd_set*, _types_fd_set*, _types_fd_set*)+305>, 0x61274c14, 0x13, 0x28a978, 0x654, 0x6127ed0c, 
          0x24, 0x6161c0 <LastSelectMask>, 0x28a978}
        startfds = <optimized out>
        wait_ret = <optimized out>
        res = <optimized out>
[103193.335] (EE) #8  0x610d4b6f in select (maxfds=255, readfds=0x6161c0 <LastSelectMask>, 
    writefds=0x28aa10, exceptfds=0x28aa50, ms=556897)
    at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/select.cc:186
        start_time = <optimized out>
        w = 0x28a8b0
   (EE)      e = 0x28a870
        __PRETTY_FUNCTION__ = "int select(int, _types_fd_set*, _types_fd_set*, _types_fd_set*, DWORD)"
        res = <optimized out>
        sel = {return_on_signal = false, always_ready = false, 
          windows_used = true, start = {(EE) fd = 2664768, h = 0x28a9d0, 
            fh = 0x20, thread_errno = -2144509016, windows_handle = 32, 
            read_ready = false, write_ready = false, except_ready = false, 
            read_selected = 56, write_selected = false, 
            except_s(EE) elected = false, except_on_write = 128, startup = 0x0, 
            peek = 0x0, verify = 0x13, cleanup = 0x1, next = 0x80320d48}, 
          device_specific_pipe = 0x0, device_specific_socket = 0x80320d78, 
          device_specific_serial = 0x0, device_s(EE) pecific_mailslot = 0x0}
        r = 0x28a8f0
#9  0x610d501f in cygwin_select (maxfds=255, 
    readfds=0x6161c0 <LastSelectMask>, writefds=0x0, exceptfds=0x0, 
    to=0x28ab74) at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/select.cc:122
        ms = <op(EE) timized out>
        __PRETTY_FUNCTION__ = "int cygwin_select(int, _types_fd_set*, _types_fd_set*, _types_fd_set*, timeval*)"
        res = <optimized out>
#10 0x610d9285 in _sigfe () from /usr/bin/cygwin1.dll
No symbol table info available.
#11 0x0000000(EE) 0 in ?? ()
No symbol table info available.

==================== Backtrace End ============

[103193.335] Fatal server error: Caught signal 11 (Segmentation fault). Server aborting
[103193.335] Server terminated with error (1). Closing log file.


[-- Attachment #3: Type: text/plain, Size: 223 bytes --]

--
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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cygwin/X crashes when combined with ssh/nx tunneling and -multiwindow
  2013-06-15 12:07 Cygwin/X crashes when combined with ssh/nx tunneling and -multiwindow Matt D.
@ 2013-06-15 23:38 ` Jon TURNEY
  2013-06-16 21:48   ` Matt D.
  0 siblings, 1 reply; 4+ messages in thread
From: Jon TURNEY @ 2013-06-15 23:38 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: matt

On 15/06/2013 13:06, Matt D. wrote:
> "Caught signal 11 (Segmentation fault). Server aborting"
> 
> So far I've only been able to duplicate this when tunneling Eclipse. I
> tried writing a simple java program that creates a JFrame window but could
> not replicate the crash with anything smaller (sorry!). The problem exists
> in the two versions I tried: Eclipse 3.6 and 4.2.

I'm afraid your diagnosis is a bit speculative.

>From the backtrace, it looks like the crash is occurring due to a failure when
converting the X11 icon to a Windows icon, and then not checking properly for
that failure.

I've applied a fix to address the immediate problem of not checking for the
failure, and I've uploaded a snapshot at [1]. Perhaps you could try that and
see if it fixes the issue for you?  If it does, I would also be interested to
know how the icon for the window which was causing this issue appears.

[1] ftp://cygwin.com/pub/cygwinx/XWin.20130615-git-9a3cc6b8d6f94f74.exe.bz2

> Although the error message pops up, Cygwin/X doesn't actually terminate
> until the error window that reports the segfault is closed. X continues to
> work if I ignore it, however all of the newly created windows do not have
> any titlebars or frame borders.

This is because the crash is occurring in the window manager thread, not the
server thread.

> This problem does NOT occur when running with either a root window or with the '-rootless' option.
> 
> I've attached the XWin backtrace. 

Thank you, this was very useful.

> #27 0x0042c0fd in NetWMToWinIconAlpha (icon=0xff8d0030)
>     at /usr/src/debug/xorg-server-1.14.1-1/hw/xwin/wmutil/icon_convert.c:264
>         hdc = <optimized out>
>         ii = {fIcon = 1, xHotspot = 0, yHotspot = 0, hbmMask = 0x0, 
>           hbmColor = 0x0}
>         bmh = {bV4Size = 108, bV4Width = -1, bV4Height = 1, bV4Planes = 1, 
>           bV4BitCount = 32, bV4V4Compression = 3, bV4SizeImage = 0, 
>           bV4XPelsPerMeter = 0, bV4YPelsPerMeter = 0, bV4ClrUsed = 0, 
>           bV4ClrImportant = 0, bV4RedMask = 16711680, bV4GreenMask = 65280, 
>           bV4BlueMask = 255, bV4AlphaMask = 4278190080, bV4CSType = 0, 
>           bV4Endpoints = {ciexyzRed = {ciexyzX = 0, ciexyzY = 0, 
>               ciexyzZ = 0}, ciexyzGreen = {ciexyzX = 0, ciexyzY = 0, 
>               ciexyzZ = 0}, ciexyzBlue = {ciexyzX = 0, ciexyzY = 0, 
>               ciexyzZ = 0}}, bV4GammaRed = 0, bV4GammaGreen = 0, 
>           bV4GammaBlue = 0}
>         width = <optimized out>
>         height = 0
>         pixels = 0xff8d0038
>         result = <optimized out>
>         DIB_pixels = 0x0

Hmm... this seems to indicate that icon was of size -1x-1, which doesn't seem
right...

> #28 NetWMToWinIcon (bpp=<optimized out>, icon=0xff8d0030)
>     at /usr/src/debug/xorg-server-1.14.1-1/hw/xwin/wmutil/icon_convert.c:358
>         hasIconAlphaChannel = true
>         versionChecked = true
> #29 0x0042c687 in winXIconToHICON (conn=0x802d0cf8, id=10485914, iconSize=32)
>     at /usr/src/debug/xorg-server-1.14.1-1/hw/xwin/wmutil/icon_convert.c:438
>         mask = <optimized out>
>         image = 0x0
>         imageMask = <optimized out>
>         dst = <optimized out>
>         src = <optimized out>
>         planes = 1
>         bpp = 32
>         i = <optimized out>
>         biggest_size = <optimized out>
>         hDC = <optimized out>
>         ii = {fIcon = -1812266357, xHotspot = 2150436088, 
>           yHotspot = 10485914, hbmMask = 0x1a19be, hbmColor = 0x20}
>         hints = {flags = 11, input = 2150436088, initial_state = -2176016, 
>           icon_pixmap = 1975673360, icon_window = 1710526, icon_x = 1024, 
>           icon_y = -2175960, icon_mask = 1975680452, 
>           window_group = 1975680403}
>         hIcon = 0x0
>         biggest_icon = <optimized out>
>         _XA_NET_WM_ICON = 235
>         generation = 1
>         icon = <optimized out>
>         icon_data = <optimized out>
>         size = <optimized out>
>         cookie = <optimized out>
>         reply = 0xff890008
> #30 0x004085ff in winUpdateIcon (hWnd=0x1a19be, pDisplay=0x8028efd8, 
>     id=10485914, hIconNew=0x0)
>     at /usr/src/debug/xorg-server-1.14.1-1/hw/xwin/winmultiwindowicons.c:71
>         conn = 0x802d0cf8
>         hIcon = <optimized out>
>         hIconSmall = 0x0
>         hIconOld = <optimized out>
> #31 0x0041d987 in UpdateIcon (iWindow=10485914, pWMInfo=<optimized out>)
>     at /usr/src/debug/xorg-server-1.14.1-1/hw/xwin/winmultiwindowwm.c:666
>         hWnd = 0x1a19be
>         hIconNew = <optimized out>
>         attr = {x = 2014, y = 389, width = 452, height = 302, 
>           border_width = 0, depth = 24, visual = 0x802dc4e0, root = 534, 
>           class = 1, bit_gravity = 1, win_gravity = 1, backing_store = 0, 
>           backing_planes = 4294967295, backing_pixel = 0, save_under = 0, 
>           colormap = 10485886, map_installed = 0, map_state = 2, 
>           all_event_masks = 6537343, your_event_mask = 0, 
>           do_not_propagate_mask = 0, override_redirect = 0, 
>           screen = 0x802dc430}
> #32 0x0041f3b9 in winMultiWindowWMProc (pArg=0x80046368)
>     at /usr/src/debug/xorg-server-1.14.1-1/hw/xwin/winmultiwindowwm.c:928
>         pNode = 0x8031fab0
>         __cleanup_handler = {function = 0x41d260 <winMultiWindowThreadExit>, 
>           arg = 0x0, next = 0x0}
>         pProcArg = 0x80046368
>         pWMInfo = 0x80046378
> #33 0x610ffe1a in pthread::thread_init_wrapper(void*)@4 (arg=0x80040090)
>     at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/thread.cc:1947
>         thread = 0x80040090
>         __PRETTY_FUNCTION__ = "static DWORD pthread::thread_init_wrapper(void*)"
>         ret = <optimized out>
> #34 0x6108974c in thread_wrapper (arg=0x0)
>     at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/miscfuncs.cc:600
>         dealloc_addr = <optimized out>
>         count = <optimized out>
>         wrapper_arg = {func = 0x0, arg = 0x0, stackaddr = 0x0, 
>           stackbase = 0x0, stacklimit = 0x0}
>         old_start = 0x610d9285 <_sigbe>


-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
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/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cygwin/X crashes when combined with ssh/nx tunneling and -multiwindow
  2013-06-15 23:38 ` Jon TURNEY
@ 2013-06-16 21:48   ` Matt D.
  2013-06-19  0:05     ` Jon TURNEY
  0 siblings, 1 reply; 4+ messages in thread
From: Matt D. @ 2013-06-16 21:48 UTC (permalink / raw)
  To: cygwin-xfree

   > I've applied a fix to address the immediate problem of not checking
   > for the failure, and I've uploaded a snapshot at [1]. Perhaps you
   > could try that and see if it fixes the issue for you?

Yes, this solves the crash problem (thank you!).

   > I would also be interested to know how the icon for the window which
   > was causing this issue appears.

I've attached some screenshots of the taskbar and titlebar icons for 
Eclipse 4.2 using your XWin.exe build running with an without nx.

The titlebar icon does NOT appear when running Eclipse with vanilla X. 
The taskbar icon also uses full colors; I do not know if it's a 
different icon or if nx is using some kind of compression.

The second set of images (eclipse-4_2-nx_2 and eclipse-4_2-nonx_2) 
indicate the time of crash. When Eclipse starts up is displays a splash 
image which initially does not have an icon in its titlebar. Notably, a 
window border only appears when running Eclipse with nx. Despite not 
having a border, the icon is still relevant because it is the same one 
used to display in the taskbar.

The crash occurs when the icon is being loaded onto the splash window. 
To reiterate, the window is NOT created with this icon. It is loaded 
sometime later while Eclipse is initializing.

   > Hmm... this seems to indicate that icon was of size -1x-1, which
   > doesn't seem right...

Perhaps it has to do with the icon being applied after the window has 
already been created?

   > From the backtrace, it looks like the crash is occurring due to a
   > failure when converting the X11 icon to a Windows icon, and then not
   > checking properly for that failure.

It looked to me like the crash was occurring at line 264 of 
icon_convert.c; a memcpy to DIB_pixels which I believe was 
uninitialized. Regardless, the memcpy is one without verifying 
DIB_pixels or checking the return value of CreateBitmap.

This is what I has planned to look into.. if I ever get XWin.exe to compile.


(I can't seem to send images to the mailing list, so here they are)

These images illustrate the small titlebar icon and its accompanying 
taskbar icon:
http://codespunk.com/files/upload/eclipse-4_2-nonx.png
http://codespunk.com/files/upload/eclipse-4_2-nx.png

These images show the splash image and the visible border when using nx:
http://codespunk.com/files/upload/eclipse-4_2-nonx_2.png
http://codespunk.com/files/upload/eclipse-4_2-nx_2.png


On 2:59 PM, Jon TURNEY wrote:
> On 15/06/2013 13:06, Matt D. wrote:
>> "Caught signal 11 (Segmentation fault). Server aborting"
>>
>> So far I've only been able to duplicate this when tunneling Eclipse. I
>> tried writing a simple java program that creates a JFrame window but could
>> not replicate the crash with anything smaller (sorry!). The problem exists
>> in the two versions I tried: Eclipse 3.6 and 4.2.
>
> I'm afraid your diagnosis is a bit speculative.
>
>> From the backtrace, it looks like the crash is occurring due to a failure when
> converting the X11 icon to a Windows icon, and then not checking properly for
> that failure.
>
> I've applied a fix to address the immediate problem of not checking for the
> failure, and I've uploaded a snapshot at [1]. Perhaps you could try that and
> see if it fixes the issue for you?  If it does, I would also be interested to
> know how the icon for the window which was causing this issue appears.
>
> [1] ftp://cygwin.com/pub/cygwinx/XWin.20130615-git-9a3cc6b8d6f94f74.exe.bz2
>
>> Although the error message pops up, Cygwin/X doesn't actually terminate
>> until the error window that reports the segfault is closed. X continues to
>> work if I ignore it, however all of the newly created windows do not have
>> any titlebars or frame borders.
>
> This is because the crash is occurring in the window manager thread, not the
> server thread.
>
>> This problem does NOT occur when running with either a root window or with the '-rootless' option.
>>
>> I've attached the XWin backtrace.
>
> Thank you, this was very useful.
>
>> #27 0x0042c0fd in NetWMToWinIconAlpha (icon=0xff8d0030)
>>      at /usr/src/debug/xorg-server-1.14.1-1/hw/xwin/wmutil/icon_convert.c:264
>>          hdc =<optimized out>
>>          ii = {fIcon = 1, xHotspot = 0, yHotspot = 0, hbmMask = 0x0,
>>            hbmColor = 0x0}
>>          bmh = {bV4Size = 108, bV4Width = -1, bV4Height = 1, bV4Planes = 1,
>>            bV4BitCount = 32, bV4V4Compression = 3, bV4SizeImage = 0,
>>            bV4XPelsPerMeter = 0, bV4YPelsPerMeter = 0, bV4ClrUsed = 0,
>>            bV4ClrImportant = 0, bV4RedMask = 16711680, bV4GreenMask = 65280,
>>            bV4BlueMask = 255, bV4AlphaMask = 4278190080, bV4CSType = 0,
>>            bV4Endpoints = {ciexyzRed = {ciexyzX = 0, ciexyzY = 0,
>>                ciexyzZ = 0}, ciexyzGreen = {ciexyzX = 0, ciexyzY = 0,
>>                ciexyzZ = 0}, ciexyzBlue = {ciexyzX = 0, ciexyzY = 0,
>>                ciexyzZ = 0}}, bV4GammaRed = 0, bV4GammaGreen = 0,
>>            bV4GammaBlue = 0}
>>          width =<optimized out>
>>          height = 0
>>          pixels = 0xff8d0038
>>          result =<optimized out>
>>          DIB_pixels = 0x0
>
> Hmm... this seems to indicate that icon was of size -1x-1, which doesn't seem
> right...
>
>> #28 NetWMToWinIcon (bpp=<optimized out>, icon=0xff8d0030)
>>      at /usr/src/debug/xorg-server-1.14.1-1/hw/xwin/wmutil/icon_convert.c:358
>>          hasIconAlphaChannel = true
>>          versionChecked = true
>> #29 0x0042c687 in winXIconToHICON (conn=0x802d0cf8, id=10485914, iconSize=32)
>>      at /usr/src/debug/xorg-server-1.14.1-1/hw/xwin/wmutil/icon_convert.c:438
>>          mask =<optimized out>
>>          image = 0x0
>>          imageMask =<optimized out>
>>          dst =<optimized out>
>>          src =<optimized out>
>>          planes = 1
>>          bpp = 32
>>          i =<optimized out>
>>          biggest_size =<optimized out>
>>          hDC =<optimized out>
>>          ii = {fIcon = -1812266357, xHotspot = 2150436088,
>>            yHotspot = 10485914, hbmMask = 0x1a19be, hbmColor = 0x20}
>>          hints = {flags = 11, input = 2150436088, initial_state = -2176016,
>>            icon_pixmap = 1975673360, icon_window = 1710526, icon_x = 1024,
>>            icon_y = -2175960, icon_mask = 1975680452,
>>            window_group = 1975680403}
>>          hIcon = 0x0
>>          biggest_icon =<optimized out>
>>          _XA_NET_WM_ICON = 235
>>          generation = 1
>>          icon =<optimized out>
>>          icon_data =<optimized out>
>>          size =<optimized out>
>>          cookie =<optimized out>
>>          reply = 0xff890008
>> #30 0x004085ff in winUpdateIcon (hWnd=0x1a19be, pDisplay=0x8028efd8,
>>      id=10485914, hIconNew=0x0)
>>      at /usr/src/debug/xorg-server-1.14.1-1/hw/xwin/winmultiwindowicons.c:71
>>          conn = 0x802d0cf8
>>          hIcon =<optimized out>
>>          hIconSmall = 0x0
>>          hIconOld =<optimized out>
>> #31 0x0041d987 in UpdateIcon (iWindow=10485914, pWMInfo=<optimized out>)
>>      at /usr/src/debug/xorg-server-1.14.1-1/hw/xwin/winmultiwindowwm.c:666
>>          hWnd = 0x1a19be
>>          hIconNew =<optimized out>
>>          attr = {x = 2014, y = 389, width = 452, height = 302,
>>            border_width = 0, depth = 24, visual = 0x802dc4e0, root = 534,
>>            class = 1, bit_gravity = 1, win_gravity = 1, backing_store = 0,
>>            backing_planes = 4294967295, backing_pixel = 0, save_under = 0,
>>            colormap = 10485886, map_installed = 0, map_state = 2,
>>            all_event_masks = 6537343, your_event_mask = 0,
>>            do_not_propagate_mask = 0, override_redirect = 0,
>>            screen = 0x802dc430}
>> #32 0x0041f3b9 in winMultiWindowWMProc (pArg=0x80046368)
>>      at /usr/src/debug/xorg-server-1.14.1-1/hw/xwin/winmultiwindowwm.c:928
>>          pNode = 0x8031fab0
>>          __cleanup_handler = {function = 0x41d260<winMultiWindowThreadExit>,
>>            arg = 0x0, next = 0x0}
>>          pProcArg = 0x80046368
>>          pWMInfo = 0x80046378
>> #33 0x610ffe1a in pthread::thread_init_wrapper(void*)@4 (arg=0x80040090)
>>      at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/thread.cc:1947
>>          thread = 0x80040090
>>          __PRETTY_FUNCTION__ = "static DWORD pthread::thread_init_wrapper(void*)"
>>          ret =<optimized out>
>> #34 0x6108974c in thread_wrapper (arg=0x0)
>>      at /usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/miscfuncs.cc:600
>>          dealloc_addr =<optimized out>
>>          count =<optimized out>
>>          wrapper_arg = {func = 0x0, arg = 0x0, stackaddr = 0x0,
>>            stackbase = 0x0, stacklimit = 0x0}
>>          old_start = 0x610d9285<_sigbe>
>
>



--
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/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cygwin/X crashes when combined with ssh/nx tunneling and -multiwindow
  2013-06-16 21:48   ` Matt D.
@ 2013-06-19  0:05     ` Jon TURNEY
  0 siblings, 0 replies; 4+ messages in thread
From: Jon TURNEY @ 2013-06-19  0:05 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: matt

[-- Attachment #1: Type: text/plain, Size: 2678 bytes --]

On 16/06/2013 22:48, Matt D. wrote:
>   > I've applied a fix to address the immediate problem of not checking
>   > for the failure, and I've uploaded a snapshot at [1]. Perhaps you
>   > could try that and see if it fixes the issue for you?
> 
> Yes, this solves the crash problem (thank you!).
> 
>   > I would also be interested to know how the icon for the window which
>   > was causing this issue appears.
> 
> I've attached some screenshots of the taskbar and titlebar icons for Eclipse
> 4.2 using your XWin.exe build running with an without nx.
> 
> The titlebar icon does NOT appear when running Eclipse with vanilla X. The
> taskbar icon also uses full colors; I do not know if it's a different icon or
> if nx is using some kind of compression.
> 
> The second set of images (eclipse-4_2-nx_2 and eclipse-4_2-nonx_2) indicate
> the time of crash. When Eclipse starts up is displays a splash image which
> initially does not have an icon in its titlebar. Notably, a window border only
> appears when running Eclipse with nx. Despite not having a border, the icon is
> still relevant because it is the same one used to display in the taskbar.
> 
> The crash occurs when the icon is being loaded onto the splash window. To
> reiterate, the window is NOT created with this icon. It is loaded sometime
> later while Eclipse is initializing.

Ah.  I was hoping you could use xprop to examine the _NET_WM_ICON property of
the window, but if it's a transient state that may not be practical.

I would guess that the difference in appearance between the nx and non-nx
cases is due to nx not transporting some window appearance hints.

>   > Hmm... this seems to indicate that icon was of size -1x-1, which
>   > doesn't seem right...
> 
> Perhaps it has to do with the icon being applied after the window has already
> been created?
> 
>   > From the backtrace, it looks like the crash is occurring due to a
>   > failure when converting the X11 icon to a Windows icon, and then not
>   > checking properly for that failure.
> 
> It looked to me like the crash was occurring at line 264 of icon_convert.c; a
> memcpy to DIB_pixels which I believe was uninitialized. Regardless, the memcpy
> is one without verifying DIB_pixels or checking the return value of CreateBitmap.
> 
> This is what I has planned to look into.. if I ever get XWin.exe to compile.

I did a bit more testing and managed to craft some malformed _NET_WM_ICON
properties which could crash the multiwindow mode WM in different ways (small
test case attached), so I've added another patch to do more validation of
_NET_WM_ICON data before it is used.


-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

[-- Attachment #2: test-invalid-net-wm-icon.c --]
[-- Type: text/plain, Size: 1509 bytes --]

/* gcc test-invalid-net-wm-icon.c -o test-invalid-net-wm-icon -lX11 */

#include <stdlib.h>
#include <stdio.h>
#include <assert.h>

#include <X11/Xlib.h>

Display *d;
Window w;
Atom net_wm_icon;
Atom cardinal;

void test(unsigned int *buffer, unsigned int buffer_length)
{
  int length = buffer_length/sizeof(unsigned int);
  XChangeProperty(d, w, net_wm_icon, cardinal, 32,
                  PropModeReplace, (const unsigned char*) buffer, length);

  XFlush(d);
  sleep(1);
}

int main(int argc, char **argv)
{
    /* Invalid _NET_WM_ICON icons */
    d = XOpenDisplay(0);
    int s = DefaultScreen(d);
    net_wm_icon = XInternAtom(d, "_NET_WM_ICON", False);
    cardinal = XInternAtom(d, "CARDINAL", False);
    XEvent e;
    w = XCreateWindow(d, RootWindow(d, s), 0, 0, 200, 200, 0,
                      CopyFromParent, InputOutput, CopyFromParent, 0, 0);

    XMapWindow(d, w);
    XFlush(d);
    sleep(1);

    // sizes are just absurd
    unsigned int buffer[] = {-1, -1, 0xFFFFFFFF, 0xFFFFFFFF};
    test(buffer, sizeof(buffer));

    // property should be 256K, but is only 64K
    int propsize = 0x10000;
    unsigned int *buffer2 = malloc(propsize);
    buffer2[0] = 512;
    buffer2[1] = 512;
    test(buffer2, propsize);

    // property is absurdly large, but still not enough for icon
    propsize = 0x100000;
    unsigned int *buffer3 = malloc(propsize);
    assert(buffer3);
    buffer2[0] = 0x3000;
    buffer2[1] = 0x3000;
    test(buffer3, propsize);

    while(1) XNextEvent(d, &e);
}


[-- Attachment #3: Type: text/plain, Size: 223 bytes --]

--
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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-06-19  0:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-15 12:07 Cygwin/X crashes when combined with ssh/nx tunneling and -multiwindow Matt D.
2013-06-15 23:38 ` Jon TURNEY
2013-06-16 21:48   ` Matt D.
2013-06-19  0:05     ` Jon TURNEY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).