delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/08/10:24:16

X-Spam-Check-By: sourceware.org
Date: Tue, 8 Aug 2006 07:23:50 -0700
From: Lester Ingber <ingber AT ingber DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: crashes with various programs
Message-ID: <20060808142350.GA3196@ingber.com>
Mime-Version: 1.0
User-Agent: Mutt/1.5.10i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Christopher:

I have CYGWIN set for error_start=c:/cygwin/bin/gdb.exe in my WINDOWS
(vs bash/tcsh) environment.  Soon after starting a session my test on
pstree again crashed.  Here is the DOS window info:

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 2112
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
Loaded symbols for /cygdrive/c/WINDOWS/system32/apphelp.dll
[Switching to thread 2112.0x9dc]
(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  0x00000000 in ?? ()
(gdb) thread 1
[Switching to thread 1 (thread 2112.0x1a0)]#0  0x610dd891 in strlen ()
   from /usr/bin/cygwin1.dll
(gdb) bt
#0  0x610dd891 in strlen () from /usr/bin/cygwin1.dll
#1  0x610e3f24 in sscanf () from /usr/bin/cygwin1.dll
#2  0x61092068 in _sigfe () from /usr/bin/cygwin1.dll
#3  0x0022c850 in ?? ()
#4  0x0000085c in ?? ()
#5  0x00000000 in ?? ()
(gdb)

I did this again:


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 3036
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 3036.0xca8]
(gdb) info threads
* 3 thread 3036.0xca8  0x7c901231 in ntdll!DbgUiConnectToDbg ()
   from /cygdrive/c/WINDOWS/system32/ntdll.dll
  2 thread 3036.0x91c  0x7c90eb94 in ntdll!LdrAccessResource ()
   from /cygdrive/c/WINDOWS/system32/ntdll.dll
  1 thread 3036.0x194  0x7c90eb94 in ntdll!LdrAccessResource ()
   from /cygdrive/c/WINDOWS/system32/ntdll.dll
(gdb) thread 1
[Switching to thread 1 (thread 3036.0x194)]#0  0x7c90eb94 in ntdll!LdrAccessReso
urce () from /cygdrive/c/WINDOWS/system32/ntdll.dll
(gdb) bt
#0  0x7c90eb94 in ntdll!LdrAccessResource ()
   from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x7c90e21f in ntdll!ZwQueryVirtualMemory ()
   from /cygdrive/c/WINDOWS/system32/ntdll.dll
#2  0x7c937b93 in ntdll!RtlUpcaseUnicodeChar ()
   from /cygdrive/c/WINDOWS/system32/ntdll.dll
#3  0xffffffff in ?? ()
#4  0x61018910 in sigpacket::process () from /usr/bin/cygwin1.dll
#5  0x7c93783a in ntdll!LdrFindCreateProcessManifest ()
   from /cygdrive/c/WINDOWS/system32/ntdll.dll
#6  0x61018910 in sigpacket::process () from /usr/bin/cygwin1.dll
#7  0x7c90eafa in ntdll!LdrDisableThreadCalloutsForDll ()
   from /cygdrive/c/WINDOWS/system32/ntdll.dll
#8  0x00000000 in ?? ()
(gdb) thread 2
[Switching to thread 2 (thread 3036.0x91c)]#0  0x7c90eb94 in ntdll!LdrAccessReso
urce () from /cygdrive/c/WINDOWS/system32/ntdll.dll
(gdb) bt
#0  0x7c90eb94 in ntdll!LdrAccessResource ()
   from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x7c90e288 in ntdll!ZwReadFile ()
   from /cygdrive/c/WINDOWS/system32/ntdll.dll
#2  0x7c801875 in ReadFile () from /cygdrive/c/WINDOWS/system32/kernel32.dll
#3  0x0000074c in ?? ()
#4  0x00000000 in ?? ()
(gdb) thread 3
[Switching to thread 3 (thread 3036.0xca8)]#0  0x7c901231 in ntdll!DbgUiConnectT
oDbg () from /cygdrive/c/WINDOWS/system32/ntdll.dll
(gdb) bt
#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  0x00000000 in ?? ()
(gdb)

Typing "continue" just hangs.

Lester


--
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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019