Message-Id: <9810010956.AA25787@axe.bre.da> Subject: RHGDB crashes -> Bug report To: djgpp AT delorie DOT com Date: Thu, 01 Oct 1998 11:56:54 METDST From: Jens Bischoff X-Mailer: Elm [revision: 212.2] This is a bug report for RHGDB Version 1.4.6 (Sep 21 1998 23:16:28) I am running DR-DOS 6.0 Important environment variables: PATH=C:\DOS;C:\PMM;C:\DIENST;C:\BIN;d:\lang\gcc\bin DJGPP=d:/lang/gcc/djgpp.env DJDIR=d:/lang/gcc LFN=n INFOPATH=d:/lang/gcc/info LOCALEDIR= LANGUAGE= SHELL= COMSPEC=C:\DOS\COMMAND.COM DJSYSFLAGS= Here is the output from a sample compilation and link for C executing: echo "int main(){return 0;}" | redir -eo gcc -Xlinker -v -Wa,-v -v -o /dev/null -x c - Reading specs from d:/lang/gcc/lib\specs gcc version 2.7.2.3.f.1 d:/lang/gcc/bin\cpp.exe -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__DJGPP_MINOR__=1 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=1 - F:/TEMP/RHaaaaaa\ccbaaaaa GNU CPP version 2.7.2 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: d:/lang/gcc/include /usr/local/include /usr/local/go32/include /usr/local/lib/gcc-lib/go32/2.7.2/include /usr/include End of search list. d:/lang/gcc/bin\cc1.exe F:/TEMP/RHaaaaaa\ccbaaaaa -quiet -dumpbase -.c -version -o F:/TEMP/RHaaaaaa\cccaaaaa GNU C version 2.7.2 (80386, BSD syntax) compiled by GNU C version 2.7.2. d:/lang/gcc/bin\as.exe -v -o F:/TEMP/RHaaaaaa\ccdaaaaa F:/TEMP/RHaaaaaa\cccaaaaa GNU assembler version 2.8.1 (i386-pc-msdosdjgpp) d:/lang/gcc/bin\ld.exe -o /dev/null d:/lang/gcc/lib\crt0.o -Ld:/lang/gcc/lib -v F:/TEMP/RHaaaaaa\ccdaaaaa -lgcc -lc -lgcc GNU ld version 2.8.1 (with BFD 2.8.1) End of the sample Here is the output from a sample compilation and link for C++ executing: echo "int main(){return 0;}" | redir -eo gcc -Xlinker -v -Wa,-v -v -o /dev/null -x c++ - Reading specs from d:/lang/gcc/lib\specs gcc version 2.7.2.3.f.1 d:/lang/gcc/bin\cpp.exe -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=7 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__DJGPP_MINOR__=1 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=1 - F:/TEMP/RHaaaaaa\ccbaaaaa GNU CPP version 2.7.2 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: d:/lang/gcc/lang/cxx d:/lang/gcc/include /usr/local/lib/g++-include /usr/local/include /usr/local/go32/include /usr/local/lib/gcc-lib/go32/2.7.2/include /usr/include End of search list. d:/lang/gcc/bin\cc1plus.exe F:/TEMP/RHaaaaaa\ccbaaaaa -quiet -dumpbase -.cc -version -o F:/TEMP/RHaaaaaa\cccaaaaa GNU C++ version 2.7.2 (80386, BSD syntax) compiled by GNU C version 2.7.2. d:/lang/gcc/bin\as.exe -v -o F:/TEMP/RHaaaaaa\ccdaaaaa F:/TEMP/RHaaaaaa\cccaaaaa GNU assembler version 2.8.1 (i386-pc-msdosdjgpp) d:/lang/gcc/bin\ld.exe -o /dev/null d:/lang/gcc/lib\crt0.o -Ld:/lang/gcc/lib -v F:/TEMP/RHaaaaaa\ccdaaaaa -lgcc -lc -lgcc GNU ld version 2.8.1 (with BFD 2.8.1) End of the sample My problem is the following: ============================ The standalone debugger RHGDB crashes right after starting it: (but debugging in RHIDE works well): Exiting due to signal SIGSEGV Page fault at eip=000c677c, error=0004 eax=00000064 ebx=00000000 ecx=00000000 edx=0011c648 esi=0017c9c0 edi=000e0664 ebp=0017904c esp=0017904c program=D:\LANG\GCC\BIN\RHGDB.EXE cs: sel=00e7 base=10060000 limit=001affff ds: sel=00ef base=10060000 limit=001affff es: sel=00ef base=10060000 limit=001affff fs: sel=00cf base=00029250 limit=0000ffff gs: sel=00ff base=00000000 limit=0010ffff ss: sel=00ef base=10060000 limit=001affff App stack: [001790c0..001390c0] Exceptn stack: [00139018..001370d8] Call frame traceback EIPs: 0x000c677c 0x000bfb97 0x000bf9f0 0x00006788 0x000079f4 0x000d7fe5 0x000c6225 -- | | | Jens Bischoff | Daimler-Benz Aerospace Airbus | | ---- +-----------------+---------------------------------+ | | | Aerodynamic Data Department (EFD) | | Dasa Airbus | Huenefeldstrasse 1-5 D-28199 Bremen (Germany) |