X-Spam-Check-By: sourceware.org Message-ID: <44D7D11E.50802@cygwin.com> Date: Mon, 07 Aug 2006 19:47:42 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060112 Fedora/1.5-1.fc4.remi Thunderbird/1.5 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: crashes with various programs References: <20060807233500 DOT GA5216 AT ingber DOT com> In-Reply-To: <20060807233500.GA5216@ingber.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Lester Ingber wrote: >> +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= >> Christopher Faylor >> Date: Mon, 7 Aug 2006 16:10:38 -0400 >> Subject: Re: crashes with various programs >> >> On Mon, Aug 07, 2006 at 12:49:56PM -0700, Lester Ingber wrote: >>> Since the latest round of updates with cygwin1.dll, I've been having >>> various programs crash regularly (daily, sometimes several times per day). >>> Lot of times my xterm windows just exit. Here is an example of a >>> non-X program, /usr/bin/pstree that regularly crashes: >>> >>> % pstree >>> Segmentation fault (core dumped) >>> >>> or >>> >>> % pstree -p -l >>> Exception: STATUS_ACCESS_VIOLATION at eip=610DD891 >>> eax=00000000 ebx=0022C3E8 ecx=FFFFFFFF edx=00000001 esi=00660AE8 edi=00000001 >>> ebp=0022C348 esp=0022C344 program=C:\cygwin\bin\pstree.exe, pid 5972, thread main >>> cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023 >>> Stack trace: >>> Frame Function Args >>> 0022C348 610DD891 (00000001, 0022C360, 00405563, 0022C3F0) >>> 0022C3D8 610E3F24 (00000001, 0040556D, 0022C850, 000009A8) >>> 0022CCE8 61092068 (00000003, 61169E2C, 00660090, 00000000) >>> 0022CD98 61006168 (00000000, 0022CDD0, 610054E0, 0022CDD0) >>> 610054E0 61004416 (0000009C, A02404C7, E8610FF1, FFFFFF48) >>> 22 [main] pstree 5972 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack) >>> Segmentation fault (core dumped) >> >> That stackdump doesn't make any sense given the 1.5.21 cygwin1.dll. >> I don't know if that is a clue or not but maybe adding >> >> error_start=c:/cygwin/bin/gdb.exe >> >> to your CYGWIN environment variable might help see where this is >> actually dying. To get symbolic information you'd also have to install >> cygwin1.dbg from the cygwin source tar ball into /bin. >> >> cgf >> >> Christopher: >> >> I followed your instructions and got: >> >> GNU gdb 6.5.50.20060706-cvs (cygwin-special) >> Copyright (C) 2006 Free Software Foundation, Inc. >> GDB is free software, covered by the GNU General Public License, and you are >> welcome to change it and/or distribute copies of it under certain conditions. >> Type "show copying" to see the conditions. >> There is absolutely no warranty for GDB. Type "show warranty" for details. >> This GDB was configured as "i686-pc-cygwin"...(no debugging symbols found) >> >> Attaching to program `/cygdrive/c/cygwin/bin/pstree.exe', process 2260 >> Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll >> Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll >> Loaded symbols for /usr/bin/cygwin1.dll >> Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll >> Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll >> Loaded symbols for /usr/bin/cygintl-3.dll >> Loaded symbols for /usr/bin/cygiconv-2.dll >> Loaded symbols for /usr/bin/cygncurses-8.dll >> [Switching to thread 2260.0x1030] >> (gdb) where >> #0 0x7c901231 in ntdll!DbgUiConnectToDbg () >> from /cygdrive/c/WINDOWS/system32/ntdll.dll >> #1 0x7c9507a8 in ntdll!KiIntSystemCall () >> from /cygdrive/c/WINDOWS/system32/ntdll.dll >> #2 0x00000005 in ?? () >> #3 0x00000004 in ?? () >> #4 0x00000001 in ?? () >> #5 0x4066ffd0 in ?? () >> #6 0x0002d788 in ?? () >> #7 0xffffffff in ?? () >> #8 0x7c90ee18 in strchr () from /cygdrive/c/WINDOWS/system32/ntdll.dll >> #9 0x7c9507c8 in ntdll!KiIntSystemCall () >> from /cygdrive/c/WINDOWS/system32/ntdll.dll >> #10 0x00000000 in ?? () >> (gdb) >> >> I do not see anything that helps, but perhaps you do? Actually, it looks like you missed installing cygwin1.dbg. There are no symbols here and without them, like you said, there's not much there of help. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/