delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/07/23:44:15

X-Spam-Check-By: sourceware.org
Date: Mon, 7 Aug 2006 20:43:55 -0700
From: Lester Ingber <ingber AT ingber DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: crashes with various programs
Message-ID: <20060808034355.GA4732@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:

As I replied to Larry in a previous posting in this thread:
% ls -l /bin/cygwin1.dbg 
-rwxrwxrwx 1 ingber None 9753672 Aug  2 20:50 /bin/cygwin1.dbg*
I followed your instructions:  I downloaded the latest src from snapshots
and simply placed this file under /bin/.  I got out of cygwin and got back
in again (several times) -- e.g., when "out" I mean there are no cygwin
processes under CNTL-ALD-F, etc..  Is there something else I should do?

Also in my .tcshrc file I have 
setenv CYGWIN "error_start=c:/cygwin/bin/gdb.exe"
Clearly this must work to some extent as I am getting DOS-gdb popups
instead of crash files.  Is there something else I should do?

Here is the output you requested:

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 4588
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 4588.0x1c0]
(gdb) thread 1
[Switching to thread 1 (thread 4588.0x15d8)]#0  0x7c90eb94 in ntdll!LdrAccessRes
ource () 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) info threads
  3 thread 4588.0x1c0  0x7c901231 in ntdll!DbgUiConnectToDbg ()
   from /cygdrive/c/WINDOWS/system32/ntdll.dll
  2 thread 4588.0x10e4  0x7c90eb94 in ntdll!LdrAccessResource ()
   from /cygdrive/c/WINDOWS/system32/ntdll.dll
* 1 thread 4588.0x15d8  0x7c90eb94 in ntdll!LdrAccessResource ()
   from /cygdrive/c/WINDOWS/system32/ntdll.dll
(gdb)

Lester

      +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

Sorry.  That is still a nonsensical back trace and it still seems as
though you don't have cygwin1.dbg installed.  I still don't understand
why gdb is even in this state, either.

What does "info threads" show?

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