delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/28/00:02:05

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <000e01bfe0b5$03789600$5f90718c@cm.nctu.edu.tw>
From: "Topas" <yrwang AT cc DOT nctu DOT edu DOT tw>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: gdb-20000610 and binutils-20000625
Date: Wed, 28 Jun 2000 11:57:27 +0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600

------=_NextPart_000_0007_01BFE0F8.07B9EDC0
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

I update the binutils-20000625 today. An internal GDB error is detected =
when I debug a program.

% gcc -O -g -o t1.exe t1.c -mno-cygwin
%gdb t1.exe

GDB.EXE.stackdump :

     64 [sig] GDB 1019 handle_exceptions: Exception: =
STATUS_ACCESS_VIOLATION
Exception: STATUS_ACCESS_VIOLATION at eip=3D61009DCE
eax=3D00000000 ebx=3D00000008 ecx=3DCBDA0000 edx=3D816508EC =
esi=3D0E72FE80 edi=3D00000000
ebp=3D0E72FE68 esp=3D0E72FE50 program=3DC:\CYGWIN\BIN\GDB.EXE
cs=3D017F ds=3D0187 es=3D0187 fs=3D1B47 gs=3D0000 ss=3D0187
Stack trace:
Frame     Function  Args
0E72FE68  6100A1FD  (00000000, 6100A181, 8165F6C8, BFF7B60C)
0E72FE98  6100A1FD  (00000000, 00000000, 0E72FEC0, BFF7B828)
0E72FEE8  6100B8E6  (00000006, 00000006, 00000000, 000001F4)
0E72FF48  610407D8  (00000000, 0000FFFF, 0E72FF98, 61003448)
0E72FF98  6100344E  (6108438C, 8165F6C8, 00000008, 81648218)
0E72FFCC  BFF890A6  (61003420, 6108438C, 00000008, 00000000)
2264650 [sig] GDB 1019 handle_exceptions: Exception: =
STATUS_ACCESS_VIOLATION
2318790 [sig] GDB 1019 handle_exceptions: Error while dumping state =
(probably corrupted stack)

It's working fine when I using old binutils or without using -mno-cygwin =
option.

-------------------------------------------------------------------------=
--
The following is my system information
%uname -s=20
CYGWIN_98-4.10 CMSL30 1.1.3s(0.22/3/2) 2000-06-25 23:55 i586 unknown

% cygcheck=20
Cygnus Win95/NT Configuration Diagnostics
Current System Time: Wed Jun 28 11:35:54 2000

Win9X Ver 4.10 build 67766446  A=20

Path:   .
        /USR/LOCAL/BIN/
        /usr/bin
        /usr1/TI/C6000/EVM6X/BIN
        /usr1/TI/C6000/CGTOOLS/BIN
        /usr1/TI/BIN
        /usr1/TI/C6000/DSK/BIN
        /cygdrive/c/WINDOWS
        /cygdrive/c/WINDOWS
        /cygdrive/c/WINDOWS/COMMAND
        /cygdrive/c/THINKPAD
        /cygdrive/c/PROGRA~1/ULTRAE~1

SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS

CYGWIN =3D `notty nontsec'
HOME =3D `/home'
MAKE_MODE =3D `UNIX'
PWD =3D `/home'

Use `-r' to scan registry

a:  fd           N/A    N/A                   =20
c:  hd  FAT     2044Mb  62% CP    UN           WINDOWS
d:  hd  FAT32   3669Mb  26% CP    UN           WORK
e:  cd           N/A    N/A                   =20
m:  net NTFS    2086Mb  94% CP CS UN PA FC    =20
p:  net NTFS    2000Mb  84% CP CS UN PA FC    =20
q:  net NTFS    1921Mb  92% CP CS UN PA FC    =20
x:  net NTFS    2445Mb  96% CP CS UN PA FC    =20
c:\cygwin\bin  /usr/bin  user    binmode
c:\cygwin\lib  /usr/lib  user    binmode
c:\cygwin  /        user    binmode
d:    /usr1    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:\WINDOWS\COMMAND\find.exe
Found: c:\cygwin\bin\gcc.exe
Found: c:\cygwin\bin\gdb.exe
Found: c:\cygwin\bin\ld.exe
Found: c:\cygwin\bin\ls.exe
Found: c:\cygwin\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
    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
  610k 2000/06/26 c:\cygwin\bin\cygwin1.dll
  575k 2000/06/07 c:\cygwin\bin\cygwin1-1.1.2.dll
Use -h to see help about each section









------=_NextPart_000_0007_01BFE0F8.07B9EDC0
Content-Type: text/html;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dbig5" http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3013.2600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>I update the binutils-20000625 today. An internal =
GDB error is=20
detected when I debug a program.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>% gcc -O -g -o t1.exe t1.c -mno-cygwin</FONT></DIV>
<DIV><FONT size=3D2>%gdb t1.exe</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>GDB.EXE.stackdump :</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp;&nbsp; 64 [sig] GDB 1019 =
handle_exceptions:=20
Exception: STATUS_ACCESS_VIOLATION<BR>Exception: STATUS_ACCESS_VIOLATION =
at=20
eip=3D61009DCE<BR>eax=3D00000000 ebx=3D00000008 ecx=3DCBDA0000 =
edx=3D816508EC esi=3D0E72FE80=20
edi=3D00000000<BR>ebp=3D0E72FE68 esp=3D0E72FE50=20
program=3DC:\CYGWIN\BIN\GDB.EXE<BR>cs=3D017F ds=3D0187 es=3D0187 =
fs=3D1B47 gs=3D0000=20
ss=3D0187<BR>Stack trace:<BR>Frame&nbsp;&nbsp;&nbsp;&nbsp; =
Function&nbsp;=20
Args<BR>0E72FE68&nbsp; 6100A1FD&nbsp; (00000000, 6100A181, 8165F6C8,=20
BFF7B60C)<BR>0E72FE98&nbsp; 6100A1FD&nbsp; (00000000, 00000000, =
0E72FEC0,=20
BFF7B828)<BR>0E72FEE8&nbsp; 6100B8E6&nbsp; (00000006, 00000006, =
00000000,=20
000001F4)<BR>0E72FF48&nbsp; 610407D8&nbsp; (00000000, 0000FFFF, =
0E72FF98,=20
61003448)<BR>0E72FF98&nbsp; 6100344E&nbsp; (6108438C, 8165F6C8, =
00000008,=20
81648218)<BR>0E72FFCC&nbsp; BFF890A6&nbsp; (61003420, 6108438C, =
00000008,=20
00000000)<BR>2264650 [sig] GDB 1019 handle_exceptions: Exception:=20
STATUS_ACCESS_VIOLATION<BR>2318790 [sig] GDB 1019 handle_exceptions: =
Error while=20
dumping state (probably corrupted stack)</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>It's working fine when I using old binutils or =
without using=20
-mno-cygwin option.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT=20
size=3D2>----------------------------------------------------------------=
-----------</FONT></DIV>
<DIV><FONT size=3D2>The following is my system information</FONT></DIV>
<DIV><FONT size=3D2>%uname -s</FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>CYGWIN_98-4.10 CMSL30 1.1.3s(0.22/3/2) 2000-06-25 =
23:55 i586=20
unknown</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>% cygcheck <BR>Cygnus Win95/NT Configuration=20
Diagnostics<BR>Current System Time: Wed Jun 28 11:35:54 =
2000</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Win9X Ver 4.10 build 67766446&nbsp; A </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Path:&nbsp;&nbsp;=20
.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/USR/LOCAL/BIN/<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/bin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr1/TI/C6000/EVM6X/BIN<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr1/TI/C6000/CGTOOLS/BIN<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =

/usr1/TI/BIN<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr1/TI/C6000/DSK/BIN<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/cygdrive/c/WINDOWS<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/cygdrive/c/WINDOWS</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/cygdrive/c/WINDOWS/COMMAND<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
=20
/cygdrive/c/THINKPAD<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/cygdrive/c/PROGRA~1/ULTRAE~1</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>SysDir: C:\WINDOWS\SYSTEM<BR>WinDir: =
C:\WINDOWS</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>CYGWIN =3D `notty nontsec'<BR>HOME =3D =
`/home'<BR>MAKE_MODE =3D=20
`UNIX'<BR>PWD =3D `/home'</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Use `-r' to scan registry</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>a:&nbsp;=20
fd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
N/A&nbsp;&nbsp;&nbsp;=20
N/A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
<BR>c:&nbsp; hd&nbsp; FAT&nbsp;&nbsp;&nbsp;&nbsp; 2044Mb&nbsp; 62%=20
CP&nbsp;&nbsp;&nbsp;=20
UN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
WINDOWS<BR>d:&nbsp; hd&nbsp; FAT32&nbsp;&nbsp; 3669Mb&nbsp; 26%=20
CP&nbsp;&nbsp;&nbsp;=20
UN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
WORK<BR>e:&nbsp;=20
cd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
N/A&nbsp;&nbsp;&nbsp;=20
N/A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
<BR>m:&nbsp; net NTFS&nbsp;&nbsp;&nbsp; 2086Mb&nbsp; 94% CP CS UN PA=20
FC&nbsp;&nbsp;&nbsp;&nbsp; <BR>p:&nbsp; net NTFS&nbsp;&nbsp;&nbsp; =
2000Mb&nbsp;=20
84% CP CS UN PA FC&nbsp;&nbsp;&nbsp;&nbsp; <BR>q:&nbsp; net=20
NTFS&nbsp;&nbsp;&nbsp; 1921Mb&nbsp; 92% CP CS UN PA =
FC&nbsp;&nbsp;&nbsp;&nbsp;=20
<BR>x:&nbsp; net NTFS&nbsp;&nbsp;&nbsp; 2445Mb&nbsp; 96% CP CS UN PA=20
FC&nbsp;&nbsp;&nbsp;&nbsp; </FONT></DIV>
<DIV><FONT size=3D2>c:\cygwin\bin&nbsp; /usr/bin&nbsp; =
user&nbsp;&nbsp;&nbsp;=20
binmode<BR>c:\cygwin\lib&nbsp; /usr/lib&nbsp; user&nbsp;&nbsp;&nbsp;=20
binmode<BR>c:\cygwin&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
user&nbsp;&nbsp;&nbsp; binmode<BR>d:&nbsp;&nbsp;&nbsp; =
/usr1&nbsp;&nbsp;&nbsp;=20
user&nbsp;&nbsp;&nbsp; textmode</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Found: c:\cygwin\bin\bash.exe<BR>Found:=20
c:\cygwin\bin\cat.exe<BR>Found: c:\cygwin\bin\cpp.exe<BR>Found:=20
c:\cygwin\bin\find.exe<BR>Found: c:\WINDOWS\COMMAND\find.exe<BR>Found:=20
c:\cygwin\bin\gcc.exe<BR>Found: c:\cygwin\bin\gdb.exe<BR>Found:=20
c:\cygwin\bin\ld.exe<BR>Found: c:\cygwin\bin\ls.exe<BR>Found:=20
c:\cygwin\bin\make.exe<BR>Found: c:\cygwin\bin\sh.exe</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp; 83k 2000/06/11=20
c:\cygwin\bin\cygitcl30.dll<BR>&nbsp;&nbsp; 35k 2000/06/11=20
c:\cygwin\bin\cygitk30.dll<BR>&nbsp; 402k 2000/06/11=20
c:\cygwin\bin\cygtcl80.dll<BR>&nbsp;&nbsp;&nbsp; 5k 2000/06/11=20
c:\cygwin\bin\cygtclpip80.dll<BR>&nbsp;&nbsp; 10k 2000/06/11=20
c:\cygwin\bin\cygtclreg80.dll<BR>&nbsp; 639k 2000/06/11=20
c:\cygwin\bin\cygtk80.dll<BR>&nbsp; 610k 2000/06/26=20
c:\cygwin\bin\cygwin1.dll<BR>&nbsp; 575k 2000/06/07=20
c:\cygwin\bin\cygwin1-1.1.2.dll</FONT></DIV>
<DIV><FONT size=3D2>Use -h to see help about each =
section<BR><BR></DIV></FONT>
<DIV><FONT size=3D2><BR><BR>&nbsp;</DIV></FONT>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2><BR>&nbsp;</DIV></FONT></BODY></HTML>

------=_NextPart_000_0007_01BFE0F8.07B9EDC0--

- Raw text -


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