gdb 20000610 crashes
Andre Bleau
andre.bleau@courriel.polymtl.ca
Thu Jun 22 11:48:00 GMT 2000
When the program run in the last version of gdb generates an exception gdb
itself crashes. Example:
/* Bogus C example to show gdb crashing */
#include <stdio.h>
int main()
{
char* null = NULL;
printf("null[0]=%c\n", null[0]);
return 0;
}
compiled with: gcc -g crash.c -o crash
Running the program in gdb crashes gdb itself when the printf line is executed:
* Source Display *:gdb.exe - Application Error
The instruction at "0x77f8aa57"referenced memory at "0x00000034". The
memory could not be "read".
gdb --version shows:
GNU gdb 4.17.gnat.3.12p
This is with the latest cygwin release under Windows 2000. Output from
cygcheck -s gdb:
Found: C:\cygwin\bin\gdb.exe
Found: c:\GNAT\BIN\gdb.exe
C:\cygwin\bin\gdb.exe
C:\cygwin\bin\cygitcl30.dll
C:\cygwin\bin\cygtcl80.dll
C:\cygwin\bin\cygwin1.dll
C:\WINNT\System32\KERNEL32.dll
C:\WINNT\System32\NTDLL.DLL
C:\WINNT\System32\USER32.dll
C:\WINNT\System32\GDI32.DLL
C:\cygwin\bin\cygitk30.dll
C:\cygwin\bin\cygtk80.dll
C:\WINNT\System32\COMDLG32.DLL
C:\WINNT\System32\SHLWAPI.DLL
C:\WINNT\System32\ADVAPI32.DLL
C:\WINNT\System32\RPCRT4.DLL
C:\WINNT\System32\COMCTL32.DLL
C:\WINNT\System32\SHELL32.DLL
C:\WINNT\System32\MSVCRT.DLL
C:\cygwin\bin\tix4180.dll
Cygnus Win95/NT Configuration Diagnostics
Current System Time: Thu Jun 22 14:27:41 2000
WinNT Ver 5.0 build 2195
Path: /usr/bin
/usr/local/bin
/usr/bin
/c/GNAT/BIN
/c/WINNT/SYSTEM32
/c/WINNT
/c/WINNT/SYSTEM32/WBEM
SysDir: C:\WINNT\System32
WinDir: C:\WINNT
MAKE_MODE = `unix'
PWD = `/d/Software/src'
Use `-r' to scan registry
a: fd N/A N/A
c: hd NTFS 4094Mb 76% CP CS UN PA FC System
d: hd NTFS 5679Mb 13% CP CS UN PA FC Data
e: cd N/A N/A
z: net NTFS 13515Mb 5% CP CS UN PA FC
C:\cygwin\bin /usr/bin user binmode
C:\cygwin\lib /usr/lib user binmode
C:\cygwin / user binmode
d:\temp /tmp system binmode
c: /c user textmode
d: /d user textmode
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: c:\GNAT\BIN\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: c:\GNAT\BIN\gdb.exe
Found: C:\cygwin\bin\ld.exe
Found: c:\GNAT\BIN\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: c:\GNAT\BIN\make.exe
Found: C:\cygwin\bin\sh.exe
83k 2000/06/11 C:\cygwin\bin\cygitcl30.dll
35k 2000/06/11 C:\cygwin\bin\cygitk30.dll
402k 2000/06/11 C:\cygwin\bin\cygtcl80.dll
474k 1999/09/14 C:\cygwin\bin\cygtcl80_20000415.dll
5k 2000/06/11 C:\cygwin\bin\cygtclpip80.dll
10k 2000/06/11 C:\cygwin\bin\cygtclreg80.dll
639k 2000/06/11 C:\cygwin\bin\cygtk80.dll
575k 2000/06/07 C:\cygwin\bin\cygwin1.dll
83k 2000/06/11 C:\cygwin\bin\cygitcl30.dll
35k 2000/06/11 C:\cygwin\bin\cygitk30.dll
402k 2000/06/11 C:\cygwin\bin\cygtcl80.dll
474k 1999/09/14 C:\cygwin\bin\cygtcl80_20000415.dll
5k 2000/06/11 C:\cygwin\bin\cygtclpip80.dll
10k 2000/06/11 C:\cygwin\bin\cygtclreg80.dll
639k 2000/06/11 C:\cygwin\bin\cygtk80.dll
575k 2000/06/07 C:\cygwin\bin\cygwin1.dll
Use -h to see help about each section
André Bleau, ing., analyste
bleau@courriel.polymtl.ca
Département de génie électrique et Electric Engineering and
de génie informatique Computer Engineering department
ÃÂcole Polytechnique de Montréal Montreal Polytechnic School
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list