Mail Archives: cygwin/2006/08/07/20:12:36
I don't think so:
% ls -l /bin/cygwin1.dbg
-rwxrwxrwx 1 ingber None 9753672 Aug 2 20:50 /bin/cygwin1.dbg*
A DOS window pops up when the crash occurs, and I just cut and pasted the
info.
Lester
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
Date: Mon, 07 Aug 2006 19:47:42 -0400
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.
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
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?
Thanks.
Lester
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
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
--
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/
- Raw text -