public inbox for cygwin-xfree@sourceware.org help / color / mirror / Atom feed
* -nolisten tcp -multiwindow combination crashes in XWin startup @ 2011-10-30 18:06 Dave A 2011-10-31 19:22 ` Jon TURNEY 0 siblings, 1 reply; 5+ messages in thread From: Dave A @ 2011-10-30 18:06 UTC (permalink / raw) To: cygwin-xfree Upon upgrading to version 1.11.1-1 built 2011-10-05, I found my usual startup of X no longer succeeds. It appears it's a combination of -nolisten tcp and -multiwindow that leads to the problem. Either used alone seems to work ok, the two together yield the crash. _> xinit -- /bin/X :0 -nolisten tcp -multiwindow xinit: giving up xinit: unable to connect to X server: Connection refused xinit: server error _> XWin --version Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 1.11.1.0 OS: Windows XP Service Pack 3 [Windows NT 5.1 build 2600] (Win32) Package: version 1.11.1-1 built 2011-10-05 _> cat XWin.exe.stackdump Exception: STATUS_ACCESS_VIOLATION at eip=6BF50FB4 eax=00000000 ebx=21C27000 ecx=00000000 edx=0067024C esi=6BF53000 edi=00000000 ebp=0022649C esp=00226484 program=C:\cygwin\bin\XWin.exe, pid 2564, thread main cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023 Stack trace: Frame Function Args 0022649C 6BF50FB4 (6BF53000, 6BF51060, 0000001C, 6124549C) 002264BC 6BF410D0 (00001000, 00000020, 612434B4, 610209D0) 0022652C 610203EA (6BF40000, 00000000, 00000001, 00352198) 0022654C 7C90118A (6BF51A10, 6BF40000, 00000000, 00000001) 002265D0 7C9224CA (214E0000, 6117B720, 00000001, 00000000) 002266C4 7C81CAAE (00000001, 77E8F3B0, FFFFFFFF, 00226758) 002266D8 7C81CB26 (00000001, 00226700, 00000000, 00000000) 00226758 6109D683 (6117EC60, 00008000, 00000000, 61180977) 00227788 61004F2B (611A7FAC, 61248C0C, 214E0000, 215B0000) End of stack trace -- 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] 5+ messages in thread
* Re: -nolisten tcp -multiwindow combination crashes in XWin startup 2011-10-30 18:06 -nolisten tcp -multiwindow combination crashes in XWin startup Dave A @ 2011-10-31 19:22 ` Jon TURNEY [not found] ` <1320088071.46008.YahooMailNeo@web114420.mail.gq1.yahoo.com> 0 siblings, 1 reply; 5+ messages in thread From: Jon TURNEY @ 2011-10-31 19:22 UTC (permalink / raw) To: cygwin-xfree; +Cc: temp131 On 30/10/2011 06:06, Dave A wrote: > Upon upgrading to version 1.11.1-1 built 2011-10-05, I found my usual startup of X no longer succeeds. > > It appears it's a combination of -nolisten tcp and -multiwindow that leads to the problem. Either used alone > seems to work ok, the two together yield the crash. Thanks very much for reporting this problem. Unfortunately, I can't reproduce it, and the stacktrace is not as helpful as it might be as the crash is occurring in a dll, but the stacktrace doesn't record which dll loaded at what address... Following the instructions at [1] to use gdb to get a backtrace for the X server when it crashes would be of great help. [1] http://x.cygwin.com/devel/backtrace.html -- 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] 5+ messages in thread
[parent not found: <1320088071.46008.YahooMailNeo@web114420.mail.gq1.yahoo.com>]
* Re: -nolisten tcp -multiwindow combination crashes in XWin startup [not found] ` <1320088071.46008.YahooMailNeo@web114420.mail.gq1.yahoo.com> @ 2011-10-31 20:42 ` Dave [not found] ` <4EAFF999.7010301@dronecode.org.uk> 0 siblings, 1 reply; 5+ messages in thread From: Dave @ 2011-10-31 20:42 UTC (permalink / raw) To: cygwin-xfree Sadly this one wants to play a little hard to get... I have tried this on two somewhat similar machines - 5 years difference in hardware, but both XP Pro up-to-date on Microsoft Update, and both running the cygwin versions present on mirror.mcs.anl.gov as of this weekend - both were upgraded, then after both were, I checked that there were no further upgrades posted in between. The two differ regarding which packages are present, but for those present, they'd seem to be at the same versions. One shows this problem quite consistently, the other doesn't show it at all. It's the newer one, which has a good amount of memory to spare and is usually the more reliable these days, that is showing the problem. I can recreate the problem at will on the one that shows it by starting XWin at the command line directly, under xinit, or under startxwin. But if I try to start XWin under gdb, I don't see the problem; see below. (The page you pointed me to suggests attaching gdb after startup, but that doesn't seem reasonable in this case.) I notice in the output from starting XWin at the command line there's the line 3 [main] XWin 4520 fork: child 5408 - died waiting for dll loading, errno 11 I didn't see this output or captured in /var/log/xwin/XWin.0.log when I ran via xinit or startxwin. I don't know if that line got generated but lost in output redirections, or if this way of starting X is maybe seeing yet a different problem. This line seems similar to that reported by Denis Beauchemin, Wed, 19 Oct 2011 14:17:54 +0000. Any suggestions re how else to get the backtrace you desire, or any other info that might be helpful? --- The below were run within a shell within Emacs running on an X server other than :0. The behavior looks the same as when running in a Windows CMD shell, except here the XWin output seems to be printing locally rather than going to XWin.0.log. The "@@@@@@@"s are hand-edited whiteouts. The note below about Zonealarm is "interesting". No Zonealarm, tho do have McAfee's firewall enabled. The run under gdb seemed to startup ok; I closed up X after a little while via "Exit..." on the taskbar icon. _> XWin -multiwindow -nolisten tcp Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 1.11.1.0 OS: Windows XP Service Pack 3 [Windows NT 5.1 build 2600] (Win32) Package: version 1.11.1-1 built 2011-10-05 XWin was started with the following command line: XWin -multiwindow -nolisten tcp (--) Windows reports only 2 mouse buttons, defaulting to -emulate3buttons (II) xorg.conf is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information LoadPreferences: /home/@@@@@@@/.XWinrc not found LoadPreferences: Loading /etc/X11/system.XWinrc LoadPreferences: Done parsing the configuration file... winDetectSupportedEngines - DirectDraw installed, allowing ShadowDD winDetectSupportedEngines - Windows NT, allowing PrimaryDD winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL winDetectSupportedEngines - Returning, supported engines 0000001f winTaskbarInit - Could not get SHGetPropertyStoreForWindow address winSetEngine - Multi Window or Rootless => ShadowGDI winScreenInit - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 800 depth: 32 winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32 winInitMultiWindowWM - Calling pthread_mutex_lock () winMultiWindowXMsgProc - Calling pthread_mutex_lock () Screen 0 added at virtual desktop coordinate (0,0). (II) AIGLX: Loaded and initialized swrast (II) GLX: Initialized DRISWRAST GL provider for screen 0 [dix] Could not init font path element /usr/share/fonts/TTF/, removing from list! [dix] Could not init font path element /usr/share/fonts/OTF/, removing from list! [dix] Could not init font path element /usr/share/fonts/Type1/, removing from list! 3 [main] XWin 4520 fork: child 5408 - died waiting for dll loading, errno 11 _> gdb XWin GNU gdb (GDB) 7.3.50.20110821-cvs (cygwin-special) Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 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-cygwin". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /bin/XWin...(no debugging symbols found)...done. (gdb) run -multiwindow -nolisten tcp Starting program: /bin/XWin -multiwindow -nolisten tcp [New Thread 3616.0x1318] [New Thread 3616.0x1310] [New Thread 3616.0xbf4] [New Thread 3616.0x9a0] [New Thread 3616.0x14e0] [New Thread 3616.0x460] [New Thread 3616.0x1334] [New Thread 3616.0x1070] [New Thread 3616.0xf00] [New Thread 3616.0x14cc] [New Thread 3616.0x3f8] [Inferior 1 (process 3616) exited normally] (gdb) quit _> cygcheck -s Cygwin Configuration Diagnostics Current System Time: Mon Oct 31 11:40:39 2011 Windows XP Professional Ver 5.1 Build 2600 Service Pack 3 Path: C:\cygwin\home\@@@@@@@\bin_@@@@@@@ C:\@@@@@@@\@@@@@@@\bin_cygwin_i386 C:\@@@@@@@\@@@@@@@\bin_common C:\cygwin\usr\local\bin C:\cygwin\bin C:\PROGFI~1\ORADB1~1.2\product\112~1.0\dbhome_1\bin C:\PROGRA~1\WI8DE7~1\Tools C:\PROGRA~1\COMMON~1\MICROS~1\WINDOW~1 C:\PROGRA~1\COMMON~1\MICROS~1\WINDOW~1 C:\Perl\site\bin C:\Perl\bin C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\System32\Wbem C:\PROGRA~1\Intel\WiFi\bin C:\PROGRA~1\COMMON~1\Lenovo C:\PROGRA~1\COMMON~1\ROXIOS~1\10.0\DLLSHA~1 C:\PROGRA~1\COMMON~1\ROXIOS~1\DLLSHA~1 C:\PROGRA~1\COMMON~1\ROXIOS~1\DLLSHA~1 C:\PROGRA~1\COMMON~1\ROXIOS~1\10.0\DLLSHA~1 C:\PROGRA~1\MI6841~1\90\Tools\binn C:\PROGRA~1\GNU\GnuPG\pub C:\WINDOWS\system32\WINDOW~1\v1.0 C:\PROGRA~1\SUPPOR~1 C:\PROGRA~1\QUICKT~1\QTSystem Output from C:\cygwin\bin\id.exe UID: 1008(@@@@@@@) GID: 1014(@@@@@@@) 1014(@@@@@@@) 544(Administrators) 545(Users) 1020(ora_dba) 1021(ORA_OPER) 513(None) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS PWD = '/home/@@@@@@@' MAKE_MODE = 'unix' USER = '@@@@@@@' HOME = '/home/@@@@@@@' CYGWIN = 'winsymlinks' Use '-r' to scan registry obcaseinsensitive set to 1 Cygwin installations found in the registry: System: Key: c5e39b7a9d22bafb Path: C:\cygwin c: hd NTFS 233855Mb 91% CP CS UN PA FC C [@@@@@@@] d: cd N/A N/A C:\cygwin / system binary,auto C:\cygwin\bin /usr/bin system binary,auto C:\cygwin\lib /usr/lib system binary,auto cygdrive prefix /cygdrive user binary,auto Found: C:\cygwin\bin\awk -> C:\cygwin\bin\gawk.exe Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cp.exe Found: C:\cygwin\bin\cpp.exe -> C:\cygwin\etc\alternatives\cpp -> C:\cygwin\bin\cpp-3.exe Not Found: crontab Found: C:\cygwin\bin\find.exe Found: C:\WINDOWS\system32\find.exe Found: C:\cygwin\bin\gcc.exe -> C:\cygwin\etc\alternatives\gcc -> C:\cygwin\bin\gcc-3.exe Found: C:\cygwin\bin\gdb.exe Found: C:\cygwin\bin\grep.exe Found: C:\cygwin\bin\kill.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: C:\cygwin\bin\mv.exe Found: C:\cygwin\bin\patch.exe Found: C:\cygwin\bin\perl.exe Found: C:\Perl\bin\perl.exe Found: C:\cygwin\bin\rm.exe Found: C:\cygwin\bin\sed.exe Found: C:\cygwin\bin\ssh.exe Found: C:\cygwin\bin\sh.exe Found: C:\cygwin\bin\tar.exe Found: C:\cygwin\bin\test.exe Not Found: vi Not Found: vim 118k 2011/09/10 C:\cygwin\bin\cygapr-1-0.dll 87k 2011/09/10 C:\cygwin\bin\cygaprutil-1-0.dll 93k 2010/06/15 C:\cygwin\bin\cygatk-1.0-0.dll 15k 2009/12/27 C:\cygwin\bin\cygattr-1.dll 95k 2010/06/24 C:\cygwin\bin\cygblkid-1.dll 62k 2011/05/21 C:\cygwin\bin\cygbz2-1.dll 678k 2010/12/29 C:\cygwin\bin\cygcairo-2.dll 20k 2010/12/29 C:\cygwin\bin\cygcairo-gobject-2.dll 98k 2010/12/29 C:\cygwin\bin\cygcairo-script-interpreter-2.dll 8k 2011/10/16 C:\cygwin\bin\cygcharset-1.dll 9k 2011/01/07 C:\cygwin\bin\cygcom_err-2.dll 189k 2009/03/17 C:\cygwin\bin\cygcroco-0.6-3.dll 7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll 1147k 2011/03/16 C:\cygwin\bin\cygcrypto-0.9.8.dll 284k 2010/06/01 C:\cygwin\bin\cygcurl-4.dll 703k 2007/12/17 C:\cygwin\bin\cygdb-4.2.dll 943k 2007/12/17 C:\cygwin\bin\cygdb-4.5.dll 219k 2011/10/03 C:\cygwin\bin\cygdbus-1-3.dll 1036k 2007/12/17 C:\cygwin\bin\cygdb_cxx-4.2.dll 1296k 2007/12/17 C:\cygwin\bin\cygdb_cxx-4.5.dll 20k 2011/01/07 C:\cygwin\bin\cyge2p-2.dll 511k 2010/06/17 C:\cygwin\bin\cygedit-0.dll 57k 2010/12/06 C:\cygwin\bin\cygevtlog-0.dll 118k 2008/05/09 C:\cygwin\bin\cygexpat-1.dll 139k 2011/01/07 C:\cygwin\bin\cygext2fs-2.dll 29k 2010/05/12 C:\cygwin\bin\cygfam-0.dll 21k 2011/10/26 C:\cygwin\bin\cygffi-4.dll 176k 2010/01/29 C:\cygwin\bin\cygfontconfig-1.dll 20k 2010/10/31 C:\cygwin\bin\cygfontenc-1.dll 43k 2010/01/02 C:\cygwin\bin\cygform-10.dll 40k 2009/03/01 C:\cygwin\bin\cygform-8.dll 43k 2009/11/20 C:\cygwin\bin\cygform-9.dll 47k 2010/01/02 C:\cygwin\bin\cygformw-10.dll 500k 2011/10/19 C:\cygwin\bin\cygfreetype-6.dll 79k 2011/10/26 C:\cygwin\bin\cyggcc_s-1.dll 449k 2011/05/20 C:\cygwin\bin\cyggcrypt-11.dll 19k 2009/02/26 C:\cygwin\bin\cyggdbm-4.dll 8k 2009/02/26 C:\cygwin\bin\cyggdbm_compat-4.dll 546k 2010/06/15 C:\cygwin\bin\cyggdk-x11-2.0-0.dll 94k 2010/06/15 C:\cygwin\bin\cyggdk_pixbuf-2.0-0.dll 29k 2009/03/23 C:\cygwin\bin\cyggif-4.dll 552k 2010/06/15 C:\cygwin\bin\cyggio-2.0-0.dll 377k 2011/07/20 C:\cygwin\bin\cygGL-1.dll 764k 2010/06/15 C:\cygwin\bin\cygglib-2.0-0.dll 141k 2009/03/30 C:\cygwin\bin\cygglitz-1.dll 21k 2009/03/30 C:\cygwin\bin\cygglitz-glx-1.dll 14k 2010/06/15 C:\cygwin\bin\cyggmodule-2.0-0.dll 317k 2011/07/31 C:\cygwin\bin\cyggmp-3.dll 233k 2010/06/15 C:\cygwin\bin\cyggobject-2.0-0.dll 14k 2011/05/20 C:\cygwin\bin\cyggpg-error-0.dll 191k 2010/05/12 C:\cygwin\bin\cyggsf-1-114.dll 17k 2010/06/15 C:\cygwin\bin\cyggthread-2.0-0.dll 3659k 2010/06/15 C:\cygwin\bin\cyggtk-x11-2.0-0.dll 24k 2009/06/23 C:\cygwin\bin\cyghistory6.dll 25k 2011/01/26 C:\cygwin\bin\cyghistory7.dll 337k 2007/09/16 C:\cygwin\bin\cyghttpd2core.dll 74k 2010/10/31 C:\cygwin\bin\cygICE-6.dll 358k 2011/04/29 C:\cygwin\bin\cygicons-0.dll 985k 2011/10/16 C:\cygwin\bin\cygiconv-2.dll 193k 2010/05/16 C:\cygwin\bin\cygidn-11.dll 37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll 31k 2005/11/20 C:\cygwin\bin\cygintl-3.dll 35k 2011/10/16 C:\cygwin\bin\cygintl-8.dll 246k 2010/05/20 C:\cygwin\bin\cygjasper-1.dll 47k 2009/12/23 C:\cygwin\bin\cygjbig-2.dll 125k 2009/08/08 C:\cygwin\bin\cygjpeg-62.dll 193k 2009/08/08 C:\cygwin\bin\cygjpeg-7.dll 200k 2010/08/09 C:\cygwin\bin\cygjpeg-8.dll 39k 2008/09/07 C:\cygwin\bin\cyglber-2-3-0.dll 189k 2008/09/07 C:\cygwin\bin\cygldap-2-3-0.dll 201k 2008/09/07 C:\cygwin\bin\cygldap_r-2-3-0.dll 5k 2011/03/29 C:\cygwin\bin\cyglsa.dll 9k 2011/03/29 C:\cygwin\bin\cyglsa64.dll 125k 2010/04/09 C:\cygwin\bin\cyglzma-1.dll 123k 2011/05/19 C:\cygwin\bin\cyglzma-5.dll 103k 2011/02/03 C:\cygwin\bin\cygmagic-1.dll 25k 2010/01/02 C:\cygwin\bin\cygmenu-10.dll 21k 2009/03/01 C:\cygwin\bin\cygmenu-8.dll 25k 2009/11/20 C:\cygwin\bin\cygmenu-9.dll 25k 2010/01/02 C:\cygwin\bin\cygmenuw-10.dll 24k 2008/10/30 C:\cygwin\bin\cygminires.dll 213k 2011/07/31 C:\cygwin\bin\cygmp-3.dll 63k 2010/01/02 C:\cygwin\bin\cygncurses++-10.dll 66k 2009/03/01 C:\cygwin\bin\cygncurses++-8.dll 63k 2009/11/20 C:\cygwin\bin\cygncurses++-9.dll 63k 2010/01/02 C:\cygwin\bin\cygncurses++w-10.dll 195k 2010/01/02 C:\cygwin\bin\cygncurses-10.dll 237k 2009/03/01 C:\cygwin\bin\cygncurses-8.dll 198k 2009/11/20 C:\cygwin\bin\cygncurses-9.dll 244k 2010/01/02 C:\cygwin\bin\cygncursesw-10.dll 13k 2010/01/02 C:\cygwin\bin\cygpanel-10.dll 11k 2009/03/01 C:\cygwin\bin\cygpanel-8.dll 13k 2009/11/20 C:\cygwin\bin\cygpanel-9.dll 13k 2010/01/02 C:\cygwin\bin\cygpanelw-10.dll 235k 2010/06/28 C:\cygwin\bin\cygpango-1.0-0.dll 38k 2010/06/28 C:\cygwin\bin\cygpangocairo-1.0-0.dll 131k 2010/06/28 C:\cygwin\bin\cygpangoft2-1.0-0.dll 40k 2010/06/28 C:\cygwin\bin\cygpangox-1.0-0.dll 26k 2010/06/28 C:\cygwin\bin\cygpangoxft-1.0-0.dll 257k 2011/09/27 C:\cygwin\bin\cygpcre-0.dll 8k 2011/09/27 C:\cygwin\bin\cygpcreposix-0.dll 1627k 2010/08/29 C:\cygwin\bin\cygperl5_10.dll 428k 2011/08/22 C:\cygwin\bin\cygpixman-1-0.dll 249k 2011/07/28 C:\cygwin\bin\cygpng12.dll 129k 2011/07/28 C:\cygwin\bin\cygpng14-14.dll 22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll 103k 2009/01/07 C:\cygwin\bin\cygpq.dll 155k 2009/06/23 C:\cygwin\bin\cygreadline6.dll 164k 2011/01/26 C:\cygwin\bin\cygreadline7.dll 185k 2010/06/15 C:\cygwin\bin\cygrsvg-2-2.dll 761k 2008/09/30 C:\cygwin\bin\cygruby18.dll 84k 2010/07/02 C:\cygwin\bin\cygsasl2-2.dll 8k 2011/05/05 C:\cygwin\bin\cygsigsegv-2.dll 25k 2010/10/31 C:\cygwin\bin\cygSM-6.dll 1613k 2010/12/01 C:\cygwin\bin\cygsqlite3-0.dll 17k 2011/01/07 C:\cygwin\bin\cygss-2.dll 122k 2010/11/03 C:\cygwin\bin\cygssh2-1.dll 263k 2011/03/16 C:\cygwin\bin\cygssl-0.9.8.dll 8k 2011/10/26 C:\cygwin\bin\cygssp-0.dll 780k 2011/10/26 C:\cygwin\bin\cygstdc++-6.dll 330k 2010/12/09 C:\cygwin\bin\cygsyslog-ng-0.dll 48k 2010/01/02 C:\cygwin\bin\cygtic-10.dll 48k 2009/11/20 C:\cygwin\bin\cygtic-9.dll 48k 2010/01/02 C:\cygwin\bin\cygticw-10.dll 347k 2011/04/08 C:\cygwin\bin\cygtiff-5.dll 9k 2011/04/08 C:\cygwin\bin\cygtiffxx-5.dll 41k 2011/08/16 C:\cygwin\bin\cygusb0.dll 137k 2009/11/16 C:\cygwin\bin\cygustr-1.dll 16k 2010/06/24 C:\cygwin\bin\cyguuid-1.dll 28k 2010/03/28 C:\cygwin\bin\cygwrap-0.dll 1045k 2011/08/22 C:\cygwin\bin\cygX11-6.dll 6k 2011/08/22 C:\cygwin\bin\cygX11-xcb-1.dll 11k 2010/08/03 C:\cygwin\bin\cygXau-6.dll 337k 2011/02/04 C:\cygwin\bin\cygXaw-7.dll 254k 2010/05/18 C:\cygwin\bin\cygXaw3d-7.dll 75k 2010/12/21 C:\cygwin\bin\cygxcb-1.dll 51k 2010/12/21 C:\cygwin\bin\cygxcb-glx-0.dll 22k 2010/12/21 C:\cygwin\bin\cygxcb-render-0.dll 11k 2011/05/23 C:\cygwin\bin\cygxcb-render-util-0.dll 8k 2010/12/21 C:\cygwin\bin\cygxcb-shm-0.dll 10k 2010/11/01 C:\cygwin\bin\cygXcomposite-1.dll 30k 2011/08/22 C:\cygwin\bin\cygXcursor-1.dll 11k 2010/08/03 C:\cygwin\bin\cygXdamage-1.dll 17k 2010/10/31 C:\cygwin\bin\cygXdmcp-6.dll 52k 2011/05/23 C:\cygwin\bin\cygXext-6.dll 17k 2011/03/17 C:\cygwin\bin\cygXfixes-3.dll 66k 2010/11/01 C:\cygwin\bin\cygXft-2.dll 46k 2011/06/07 C:\cygwin\bin\cygXi-6.dll 8k 2010/11/01 C:\cygwin\bin\cygXinerama-1.dll 119k 2010/11/01 C:\cygwin\bin\cygxkbfile-1.dll 1071k 2011/06/07 C:\cygwin\bin\cygxml2-2.dll 75k 2010/11/01 C:\cygwin\bin\cygXmu-6.dll 11k 2010/11/01 C:\cygwin\bin\cygXmuu-1.dll 53k 2010/11/01 C:\cygwin\bin\cygXpm-4.dll 25k 2011/08/22 C:\cygwin\bin\cygXrandr-2.dll 32k 2010/08/03 C:\cygwin\bin\cygXrender-1.dll 278k 2011/06/07 C:\cygwin\bin\cygXt-6.dll 76k 2010/08/01 C:\cygwin\bin\cygz.dll 2604k 2011/03/29 C:\cygwin\bin\cygwin1.dll Cygwin DLL version info: DLL version: 1.7.9 DLL epoch: 19 DLL old termios: 5 DLL malloc env: 28 Cygwin conv: 181 API major: 0 API minor: 237 Shared data: 5 DLL identifier: cygwin1 Mount registry: 3 Cygwin registry name: Cygwin Program options name: Program Options Installations name: Installations Cygdrive default prefix: Build date: Shared id: cygwin1S5 Potential app conflicts: ZoneAlarm Personal Firewall. Service : cygserver Display name : CYGWIN cygserver Current State : Running Controls Accepted : Stop Command : /usr/sbin/cygserver Service : sshd Display name : CYGWIN sshd Current State : Stopped Command : /usr/sbin/sshd -D Service : syslog-ng Display name : CYGWIN syslog-ng Current State : Running Controls Accepted : Stop Command : /usr/sbin/syslog-ng -F --fd-limit 256 Service : xinetd Display name : CYGWIN xinetd Current State : Stopped Command : /usr/sbin/xinetd.exe Cygwin Package Information Package Version Status _update-info-dir 00992-1 OK alternatives 1.3.30c-10 OK apache2 2.2.6-1 OK base-cygwin 3.0-1 OK base-files 4.0-6 OK base-passwd 3.1-2 OK bash 4.1.10-4 OK binutils 2.22.51-1 OK bzip2 1.0.6-2 OK coreutils 8.14-1 OK corkscrew 2.0-1 OK cpio 2.11-1 OK crypt 1.1-1 OK csih 0.9.4-1 OK curl 7.20.1-1 OK cygrunsrv 1.34-1 OK cygutils 1.4.6-1 OK cygwin 1.7.9-1 OK cygwin-doc 1.7-1 OK cygwin-x-doc 1.1.1-1 OK dash 0.5.6.1-2 OK ddrescue 1.12-1 OK diffutils 2.9-1 OK dos2unix 5.3.1-1 OK e2fsprogs 1.41.14-1 OK editrights 1.01-2 OK emacs 23.3-3 OK emacs-X11 23.3-3 OK expat 2.0.1-1 OK file 5.05-1 OK findutils 4.5.9-2 OK font-adobe-dpi75 1.0.2-1 OK font-alias 1.0.3-1 OK font-encodings 1.0.4-1 OK font-misc-misc 1.1.1-1 OK fontconfig 2.8.0-1 OK gamin 0.1.10-11 OK gawk 4.0.0-1 OK gcc-ada 3.4.4-999 OK gcc-core 3.4.4-999 OK gcc-g++ 3.4.4-999 OK gcc-mingw-ada 20050522-3 OK gcc-mingw-core 20050522-3 OK gcc-mingw-g++ 20050522-3 OK gdb 7.3.50-2 OK gettext 0.18.1.1-2 OK glib2 2.20.4-1 OK gnome-icon-theme 2.30.3-1 OK gnupg 1.4.9-2 OK grep 2.6.3-1 OK groff 1.20.1-2 OK gzip 1.4-1 OK hicolor-icon-theme 0.12-1 OK inetutils 1.7-2 OK ipc-utils 1.0-1 OK less 444-1 OK libapr1 1.4.5-1 OK libaprutil1 1.3.12-1 OK libatk1.0_0 1.30.0-1 OK libattr1 2.4.43-1 OK libblkid1 2.17.2-1 OK libbz2_1 1.0.6-2 OK libcairo2 1.10.2-1 OK libcharset1 1.14-2 OK libcom_err2 1.41.14-1 OK libcroco0.6_3 0.6.2-10 OK libcurl4 7.20.1-1 OK libdb4.2 4.2.52.5-2 OK libdb4.5 4.5.20.2-2 OK libdbus1_3 1.4.16-1 OK libe2p2 1.41.14-1 OK libedit0 20090923-1 OK libevtlog0 0.2.12-1 OK libexpat1 2.0.1-1 OK libexpat1-devel 2.0.1-1 OK libext2fs2 1.41.14-1 OK libfam0 0.1.10-11 OK libffi4 4.5.3-3 OK libfontconfig1 2.8.0-1 OK libfontenc1 1.1.0-1 OK libfreetype6 2.4.7-1 OK libgcc1 4.5.3-3 OK libgcrypt11 1.4.6-1 OK libgdbm4 1.8.3-20 OK libgdk_pixbuf2.0_0 2.20.1-1 OK libgif4 4.1.6-10 OK libGL1 7.10.3-1 OK libglib2.0_0 2.24.1-1 OK libglitz1 0.5.6-10 OK libgmp3 4.3.2-1 OK libgpg-error0 1.10-1 OK libgsf1_114 1.14.18-1 OK libgtk2.0_0 2.20.1-1 OK libICE6 1.0.7-1 OK libiconv 1.14-2 OK libiconv2 1.14-2 OK libidn11 1.18-1 OK libintl2 0.12.1-3 OK libintl3 0.14.5-1 OK libintl8 0.18.1.1-2 OK libjasper1 1.900.1-11 OK libjbig2 2.0-11 OK libjpeg62 6b-21 OK libjpeg7 7-10 OK libjpeg8 8b-1 OK liblzma1 4.999.9beta-11 OK liblzma5 5.0.2_20110517-1 OK libncurses10 5.7-18 OK libncurses8 5.5-10 OK libncurses9 5.7-16 OK libncursesw10 5.7-18 OK libopenldap2_3_0 2.3.43-1 OK libopenssl098 0.9.8r-2 OK libpango1.0_0 1.28.1-1 OK libpcre0 8.13-1 OK libpixman1_0 0.22.2-1 OK libpng12 1.2.46-1 OK libpng14 1.4.8-1 OK libpopt0 1.6.4-4 OK libpq5 8.2.11-1 OK libreadline6 5.2.14-12 OK libreadline7 6.1.2-2 OK librsvg2_2 2.26.3-1 OK libsasl2 2.1.23-1 OK libsigsegv2 2.10-1 OK libSM6 1.2.0-1 OK libsqlite3_0 3.7.3-1 OK libss2 1.41.14-1 OK libssh2_1 1.2.7-1 OK libssp0 4.5.3-3 OK libstdc++6 4.5.3-3 OK libtiff5 3.9.4-1 OK libusb-win32 1.2.5.0-1 OK libustr1 1.0.4-11 OK libuuid1 2.17.2-1 OK libwrap0 7.6-21 OK libX11-xcb1 1.4.4-1 OK libX11_6 1.4.4-1 OK libXau6 1.0.6-1 OK libXaw3d7 1.5D-10 OK libXaw7 1.0.9-1 OK libxcb-glx0 1.7-2 OK libxcb-render-util0 0.3.8-1 OK libxcb-render0 1.7-2 OK libxcb-shm0 1.7-2 OK libxcb1 1.7-2 OK libXcomposite1 0.4.3-1 OK libXcursor1 1.1.12-1 OK libXdamage1 1.1.3-1 OK libXdmcp6 1.1.0-1 OK libXext6 1.3.0-1 OK libXfixes3 5.0-1 OK libXft2 2.2.0-1 OK libXi6 1.4.3-1 OK libXinerama1 1.1.1-1 OK libxkbfile1 1.0.7-1 OK libxml2 2.7.8-2 OK libXmu6 1.1.0-1 OK libXmuu1 1.1.0-1 OK libXpm4 3.5.9-1 OK libXrandr2 1.3.2-1 OK libXrender1 0.9.6-1 OK libXt6 1.1.1-1 OK login 1.10-10 OK luit 1.1.0-1 OK make 3.81-2 OK man 1.6f-1 OK mingw-runtime 3.20-1 OK mingw-w32api 3.17-2 OK minires 1.02-1 OK mkfontdir 1.0.6-1 OK mkfontscale 1.0.9-1 OK netcat 1.10-2 OK openssh 5.9p1-1 OK openssl 0.9.8r-2 OK patch 2.5.8-9 OK perl 5.10.1-5 OK python 2.6.5-2 OK readpst 0.5.3-1 OK rebase 4.0.1-1 OK rsync 3.0.9-1 OK ruby 1.8.7-p72-2 OK run 1.1.13-1 OK run2 0.4.0-1 OK sed 4.2.1-1 OK shared-mime-info 0.90-1 OK sharutils 4.10-2 OK smartmontools 5.42-1 OK syslog-ng 3.2.1-1 OK tar 1.25-1 OK tcltk 20080420-1 OK tcsh 6.17.00.1-1 OK termcap 5.7_20091114-14 OK terminfo 5.7_20091114-14 OK terminfo0 5.5_20061104-12 OK texinfo 4.13-4 OK tzcode 2010j-1 OK unison2.40 2.40.61-2 OK unzip 6.0-10 OK util-linux 2.17.2-1 OK w32api 3.17-2 OK which 2.20-2 OK whois 5.0.11-1 OK xauth 1.0.6-1 OK xcursor-themes 1.0.3-1 OK xemacs-emacs-common 21.4.22-1 OK xhost 1.0.4-1 OK xinetd 2.3.14-1 OK xinit 1.3.1-1 OK xkbcomp 1.2.3-1 OK xkeyboard-config 2.4.1-1 OK xmodmap 1.0.5-1 OK xorg-server 1.11.1-1 OK xrdb 1.0.9-1 OK xterm 276-1 OK xz 5.0.2_20110517-1 OK zip 3.0-11 OK zlib 1.2.5-1 OK zlib-devel 1.2.5-1 OK zlib0 1.2.5-1 OK Use -h to see help about each section _> ----- Original Message ----- From: Jon TURNEY Sent: Monday, October 31, 2011 7:45 AM Subject: Re: -nolisten tcp -multiwindow combination crashes in XWin startup On 30/10/2011 06:06, Dave A wrote: > Upon upgrading to version 1.11.1-1 built 2011-10-05, I found my usual startup of X no longer succeeds. > > It appears it's a combination of -nolisten tcp and -multiwindow that leads to the problem. Either used alone > seems to work ok, the two together yield the crash. Thanks very much for reporting this problem. Unfortunately, I can't reproduce it, and the stacktrace is not as helpful as it might be as the crash is occurring in a dll, but the stacktrace doesn't record which dll loaded at what address... Following the instructions at [1] to use gdb to get a backtrace for the X server when it crashes would be of great help. [1] http://x.cygwin.com/devel/backtrace.html -- 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] 5+ messages in thread
[parent not found: <4EAFF999.7010301@dronecode.org.uk>]
* Re: -nolisten tcp -multiwindow combination crashes in XWin startup [not found] ` <4EAFF999.7010301@dronecode.org.uk> @ 2011-11-01 21:50 ` Dave 2011-11-01 22:34 ` Charles Wilson 0 siblings, 1 reply; 5+ messages in thread From: Dave @ 2011-11-01 21:50 UTC (permalink / raw) To: cygwin-xfree, cygwin Jon: Thanks for the pointers to the fork() problem faqs. That and a bit of googling led me to give rebaseall a try, and that appears to have cured my issue. (For others, instructions can be found at http://www.heikkitoivonen.net/blog/2008/11/26/cygwin-upgrades-and-rebaseall/ .) Suggestion, perhaps more to the main cygwin team: Since this issue is cygwin specific and is a bit obscure (I've been using cygwin for a good many years, but this is the first time I've recognized I had issues from this), it'd be nice if users didn't have to learn about this the hard way. Could running rebaseall perhaps be automated as part of setup.com? ----- Original Message ----- From: Jon TURNEY Sent: Tuesday, November 1, 2011 6:52 AM Subject: Re: -nolisten tcp -multiwindow combination crashes in XWin startup On 31/10/2011 19:22, Dave wrote: > Sadly this one wants to play a little hard to get... > > I have tried this on two somewhat similar machines - 5 years difference in hardware, but both XP Pro up-to-date on Microsoft Update, and both running the cygwin versions present on mirror.mcs.anl.gov as of this weekend - both were upgraded, then after both were, I checked that there were no further upgrades posted in between. The two differ regarding which packages are present, but for those present, they'd seem to be at the same versions. > > One shows this problem quite consistently, the other doesn't show it at all. It's the newer one, which has a good amount of memory to spare and is usually the more reliable these days, that is showing the problem. > > I can recreate the problem at will on the one that shows it by starting XWin at the command line directly, under xinit, or under startxwin. But if I try to start XWin under gdb, I don't see the problem; see below. (The page you pointed me to suggests attaching gdb after startup, but that doesn't seem reasonable in this case.) > > I notice in the output from starting XWin at the command line there's the line > 3 [main] XWin 4520 fork: child 5408 - died waiting for dll loading, errno 11 > I didn't see this output or captured in /var/log/xwin/XWin.0.log when I ran via xinit or startxwin. I don't know if that line got generated but lost in output redirections, or if this way of starting X is maybe seeing yet a different problem. This line seems similar to that reported by Denis Beauchemin, Wed, 19 Oct 2011 14:17:54 +0000. Yes, this line is output directly by the cygwin DLL, so you won't see it in XWin.0.log This output is typical of some other software causing cygwin problems with fork emulation, see [1] and [2] in the FAQ. > Any suggestions re how else to get the backtrace you desire, or any other info that might be helpful? You may be able to get something useful using the JIT debugger, by setting the error_start token in the CYGWIN env var, prior to invoking the command which crashes, e.g. CYGWIN="error_start=C:\cygwin\bin\dumper" CYGWIN="error_start=C:\cygwin\bin\gdb" > The below were run within a shell within Emacs running on an X server other than :0. The behavior looks the same as when running in a Windows CMD shell, except here the XWin output seems to be printing locally rather than going to XWin.0.log. The "@@@@@@@"s are hand-edited whiteouts. > > The note below about Zonealarm is "interesting". No Zonealarm, tho do have McAfee's firewall enabled. Apparently cygcheck detects ZoneAlarm by looking for the registry key "SYSTEM\\CurrentControlSet\\Services\\vsdatant", or the file "%windir%\\System32\\vsdatant.sys". > The run under gdb seemed to startup ok; I closed up X after a little while via "Exit..." on the taskbar icon. [1] http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-fork-failures [2] http://cygwin.com/faq-nochunks.html#faq.using.bloda -- 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] 5+ messages in thread
* Re: -nolisten tcp -multiwindow combination crashes in XWin startup 2011-11-01 21:50 ` Dave @ 2011-11-01 22:34 ` Charles Wilson 0 siblings, 0 replies; 5+ messages in thread From: Charles Wilson @ 2011-11-01 22:34 UTC (permalink / raw) To: cygwin-xfree, cygwin On 11/1/2011 5:50 PM, Dave wrote: > Suggestion, perhaps more to the main cygwin team: Since this issue is cygwin specific and is a bit obscure (I've > been using cygwin for a good many years, but this is the first time I've recognized I had issues from this), it'd be nice > if users didn't have to learn about this the hard way. Could running rebaseall perhaps be automated as part of setup.com? Rebase recently (4.0) gained the ability to use a database of already-rebased DLLs, thanks to Corinna's efforts. I think part of the purpose was to enable this setup-triggered behavior. IF setup always ran rebase(all), then with the old rebase, (a) it would appear to hang for a long time every time you tried to install anything, while rebaseall was running, and (b) you'd always have to kill ALL cygwin processes and services, even just to install some simple utility. With rebase-4.0, those drawbacks won't occur (unless you have to rebase, say, cygintl-8.dll for some reason). But, since rebase-4.0 was just released, I think we're letting it simmer on low heat for a while, before "forcing" everybody to use it during every setup.exe instance. It'd be a real shame if rebase-4.0 had some undiscovered bug...and EVERYBODY got bit with it at once due to a new "feature" of setup.exe! -- Chuck -- 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] 5+ messages in thread
end of thread, other threads:[~2011-11-01 22:34 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-10-30 18:06 -nolisten tcp -multiwindow combination crashes in XWin startup Dave A 2011-10-31 19:22 ` Jon TURNEY [not found] ` <1320088071.46008.YahooMailNeo@web114420.mail.gq1.yahoo.com> 2011-10-31 20:42 ` Dave [not found] ` <4EAFF999.7010301@dronecode.org.uk> 2011-11-01 21:50 ` Dave 2011-11-01 22:34 ` Charles Wilson
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).