From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6289 invoked by alias); 22 May 2012 19:19:14 -0000 Received: (qmail 6277 invoked by uid 22791); 22 May 2012 19:19:12 -0000 X-SWARE-Spam-Status: No, hits=4.2 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KAM_STOCKTIP,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ob0-f171.google.com (HELO mail-ob0-f171.google.com) (209.85.214.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 22 May 2012 19:18:57 +0000 Received: by obfk16 with SMTP id k16so12805049obf.2 for ; Tue, 22 May 2012 12:18:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.147.74 with SMTP id ti10mr23797239obb.35.1337714336796; Tue, 22 May 2012 12:18:56 -0700 (PDT) Received: by 10.182.19.195 with HTTP; Tue, 22 May 2012 12:18:56 -0700 (PDT) Date: Tue, 22 May 2012 19:19:00 -0000 Message-ID: Subject: Trying to find a solution for segmentation fault crashes in the most recent x server provided by setup.exe From: "Larry W. Virden" To: cygwin-xfree@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2012-05/txt/msg00039.txt.bz2 So, after several hours more of investigation, I discovered that while gdb was installed on my machine, it was not installed on the machine where we were testing. I installed it there, but the crash still occurs. The backtrace produced is quite huge - and less useful because X didn't have any of the debugging symbols in it. here is a bit of what we are seeing. We start up the X server. It is configured to use xauth. We start up a mintty session and an xterm session. We ssh from these windows to our SPARC Solaris 9 work machines. We start up, in each window, an in-house written binary application which makes use of the Tk C libraries. If we run just 1 mintty, or just 1 xterm, that works. If we run one of each (which the developers do due to various features, etc. they wish to leverage), we often - not always - get an error of the following nature. GNU gdb (GDB) 7.3.50.20111026-cvs (cygwin-special) This GDB was configured as "i686-cygwin". =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Backtrace =3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Thread 25 (Thread 5368.0x1704): #0 0x775e000d in ntdll!LdrFindResource_U () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #1 0x7766f896 in ntdll!RtlQueryTimeZoneInformation () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #2 0x70d9aec6 in ?? () No symbol table info available. : and so on : Thread 24 (Thread 5368.0x1b24): #0 0x775ef8b1 in ntdll!RtlUpdateClonedSRWLock () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #1 0x775ef8b1 in ntdll!RtlUpdateClonedSRWLock () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #2 0x762f0a91 in WaitForSingleObjectEx () from /cygdrive/c/Windows/syswow64/KERNELBASE.dll No symbol table info available. #3 0x000007a4 in ?? () No symbol table info available. : and so on : Thread 23 (Thread 5368.0x1590): #0 0x775efd71 in ntdll!RtlFindSetBits () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #1 0x762f31bb in SleepEx () from /cygdrive/c/Windows/syswow64/KERNELBASE.d= ll No symbol table info available. #2 0x00000000 in ?? () No symbol table info available. Thread 22 (Thread 5368.0x1a20): #0 0x775f013d in ntdll!RtlEnableEarlyCriticalSectionEventCreation () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #1 0x775f013d in ntdll!RtlEnableEarlyCriticalSectionEventCreation () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #2 0x762f0bdd in WaitForMultipleObjectsEx () from /cygdrive/c/Windows/syswow64/KERNELBASE.dll : and so on : Thread 21 (Thread 5368.0x18f4): #0 0x775ef8e5 in ntdll!RtlUpdateClonedSRWLock () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #1 0x775ef8e5 in ntdll!RtlUpdateClonedSRWLock () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #2 0x762ed348 in ReadFile () from /cygdrive/c/Windows/syswow64/KERNELBASE.= dll No symbol table info available. #3 0x00000794 in ?? () : and so on : many more threads and finally : Thread 1 (Thread 5368.0x1bec): #0 0x775f013d in ntdll!RtlEnableEarlyCriticalSectionEventCreation () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #1 0x775f013d in ntdll!RtlEnableEarlyCriticalSectionEventCreation () from /cygdrive/c/Windows/SysWOW64/ntdll.dll No symbol table info available. #2 0x762f0bdd in WaitForMultipleObjectsEx () from /cygdrive/c/Windows/syswow64/KERNELBASE.dll No symbol table info available. #3 0x00000003 in ?? () No symbol table info available. : and so on : Backtrace stopped: previous frame inner to this frame (corrupt stack?) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Backtrace End = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [ 3569.256] Segmentation fault at address 0x65682e91 [ 3569.256] Fatal server error: [ 3569.256] Caught signal 11 (Segmentation fault). Server aborting [ 3569.256] [ 3569.256] Server terminated with error (1). Closing log file. Note that in several of the skipped portions above there were lines such as Backtrace stopped: Not enough registers or memory available to unwind furth= er The log file is 45K, so I didn't include it completely until I hear back that someone would find it useful -- Tcl - The glue of a new generation.=A0=A0 http://wiki.tcl.tk/ Larry W. Virden http://www.facebook.com/lvirden/ Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -- 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/