IRAM-FA-004439+admin-local@IRAM-FA-004439 ~ $ gdb --args /usr/bin/XWin -multiwindow GNU gdb (GDB) 7.8 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-cygwin". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/bin/XWin...Reading symbols from /usr/lib/debug//usr/bi n/XWin.exe.dbg...Can't read data for section '.debug_frame' in file '/usr/lib/de bug/usr/bin/XWin.exe.dbg' (gdb) handle SIGSYS nostop Signal Stop Print Pass to program Description SIGSYS No Yes Yes Bad system call (gdb) r Starting program: /usr/bin/XWin -multiwindow [New Thread 5852.0xc88] [New Thread 5852.0x1a0c] [New Thread 5852.0xcec] [New Thread 5852.0x1548] [New Thread 5852.0x50c] [New Thread 5852.0x4e0] [Thread 5852.0x4e0 exited with code 1] [Thread 5852.0x1a0c exited with code 1] [Thread 5852.0x50c exited with code 1] [Thread 5852.0xcec exited with code 1] [Inferior 1 (process 5852) exited with code 01] (gdb) bt full No stack. (gdb) q IRAM-FA-004439+admin-local@IRAM-FA-004439 ~ $ cat /var/log/xwin/XWin.0.log Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 1.17.1.0 OS: CYGWIN_NT-6.1-WOW IRAM-FA-004439 1.7.35(0.287/5/3) 2015-03-04 12:07 i686 OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (WoW64) Package: version 1.17.1-2 built 2015-02-23 XWin was started with the following command line: /usr/bin/XWin -multiwindow ddxProcessArgument - Initializing default screens winInitializeScreenDefaults - primary monitor w 1920 h 1200 winInitializeScreenDefaults - native DPI x 96 y 96 _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed _XSERVTransMakeAllCOTSServerListeners: server already running (EE) Fatal server error: (EE) Cannot establish any listening sockets - Make sure an X server isn't alread y running(EE) [ 17451.691] (EE) Server terminated with error (1). Closing log file.