From: bdarnell AT vnet DOT net (Ben Darnell) Newsgroups: comp.os.msdos.djgpp Subject: RHIDE Bug Report [long] Date: Wed, 05 Feb 1997 00:24:32 GMT Organization: Vnet Internet Access, Inc. Lines: 178 Message-ID: <32f7d324.2616070@news.vnet.net> NNTP-Posting-Host: vts-char6-s29.vnet.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I posted about this bug a couple of weeks ago, but no one knew the solution. I have collected all the information I can think of (rhide's bug report command, the output of mem/c and set, the contents of autoexec.bat and config.sys, and the stack dump printed when it crashes) The crash always occurs when I press a key, but other than that, it seems to be random. Sometimes I get two Invalid TSS errors, as in the traceback at the end of this message, sometimes only one, and sometimes one TSS and one Page Fault. FWIW, the system that causes this error is a 486/66 with 16 megs RAM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This is a bug report for RHIDE Version 1.1 (Jan 20 1997 01:01:06) I am running MS-DOS 6.20 Important environment variables: PATH=c:\djgpp\bin;Z:.;Y:.;X:.;P:\;F:\WINDOWS;C:\WINDOWS;C:\DOS;C:\WP60;C:\;C:\NWCLIENT;C:\ALDUS;C:\PM4;C:\DOS;C:\GMOUSE;C: DJGPP=c:\djgpp\djgpp.env LFN=n Here is the output from a sample compilation and link for C Reading specs from c:/djgpp/lib\specs gcc version 2.7.2.1 c:/djgpp/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 - c:/djgpp/tmp/RHmaaaaa\ccbaaaaa GNU CPP version 2.7.2.1 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: c:/djgpp/include c:/djgpp/contrib/grx20/include /usr/local/include /usr/local/go32/include /usr/local/lib/gcc-lib/go32/2.7.2.1/include /usr/include End of search list. c:/djgpp/bin\cc1.exe c:/djgpp/tmp/RHmaaaaa\ccbaaaaa -quiet -dumpbase -.c -version -o c:/djgpp/tmp/RHmaaaaa\cccaaaaa GNU C version 2.7.2.1 (80386, BSD syntax) compiled by GNU C version 2.7.2.1. c:/djgpp/bin\as.exe -o c:/djgpp/tmp/RHmaaaaa\ccdaaaaa c:/djgpp/tmp/RHmaaaaa\cccaaaaa c:/djgpp/bin\ld.exe -o /dev/null c:/djgpp/lib\crt0.o -Lc:/djgpp/lib c:/djgpp/tmp/RHmaaaaa\ccdaaaaa -Tdjgpp.djl -lgcc -lc -lgcc c:/djgpp/bin\stubify.exe -v /dev/null Warning: input file is not COFF or stubbed COFF .exe: No such file or directory (ENOENT) stubify for djgpp V2.X executables, Copyright (C) 1995 DJ Delorie End of the sample Here is the output from a sample compilation and link for C++ Reading specs from c:/djgpp/lib\specs gcc version 2.7.2.1 c:/djgpp/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 - c:/djgpp/tmp/RHmaaaaa\ccbaaaaa GNU CPP version 2.7.2.1 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: c:/djgpp/lang/cxx c:/djgpp/include c:/djgpp/contrib/grx20/include /usr/local/lib/g++-include /usr/local/include /usr/local/go32/include /usr/local/lib/gcc-lib/go32/2.7.2.1/include /usr/include End of search list. cc1plus c:/djgpp/tmp/RHmaaaaa\ccbaaaaa -quiet -dumpbase -.cc -version -o c:/djgpp/tmp/RHmaaaaa\cccaaaaa gcc.exe: installation problem, cannot exec `cc1plus': No such file or directory (ENOENT) End of the sample ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Output of mem/c: ================ Modules using memory below 1 MB: Name Total = Conventional + Upper Memory -------- ---------------- ---------------- ---------------- MSDOS 25,581 (25K) 25,581 (25K) 0 (0K) HIMEM 1,168 (1K) 1,168 (1K) 0 (0K) EMM386 3,120 (3K) 3,120 (3K) 0 (0K) NAVTSR 8,176 (8K) 8,176 (8K) 0 (0K) COMMAND 4,992 (5K) 4,992 (5K) 0 (0K) DOSKEY 4,144 (4K) 4,144 (4K) 0 (0K) SETVER 624 (1K) 0 (0K) 624 (1K) SMARTDRV 29,024 (28K) 0 (0K) 29,024 (28K) GMOUSE 17,056 (17K) 0 (0K) 17,056 (17K) LSL 5,008 (5K) 0 (0K) 5,008 (5K) NE2000 5,152 (5K) 0 (0K) 5,152 (5K) IPXODI 16,320 (16K) 0 (0K) 16,320 (16K) NETX 48,688 (48K) 0 (0K) 48,688 (48K) Free 642,592 (628K) 605,888 (592K) 36,704 (36K) Memory Summary: Type of Memory Total = Used + Free ---------------- ---------- ---------- ---------- Conventional 653,312 47,424 605,888 Upper 158,576 121,872 36,704 Reserved 0 0 0 Extended (XMS) 15,570,064 2,335,888 13,234,176 ---------------- ---------- ---------- ---------- Total memory 16,381,952 2,505,184 13,876,768 Total under 1 MB 811,888 169,296 642,592 Largest executable program size 605,712 (592K) Largest free upper memory block 32,128 (31K) MS-DOS is resident in the high memory area. Contents of AUTOEXEC.BAT: ========================= @ECHO OFF C:\NAV\NAV C:\ C:\DOS\SMARTDRV.EXE /X PROMPT $p$g PATH P:\;f:\windows;C:\WINDOWS;C:\DOS;C:\WP60;C:\;C:\NWCLIENT;C:\ALDUS;C:\PM4;%PATH%;C:\GMOUSE;C:\NAV lh C:\GMOUSE\GMOUSE.COM SET TEMP=C:\DOS cd\nwclient call startnet Contents of CONFIG.SYS: ======================= SWITCHES=/F DEVICE=C:\DOS\HIMEM.SYS DEVICE=C:\DOS\EMM386.EXE NOEMS DOS=HIGH,UMB FILES=75 BUFFERS=15,0 rem LASTDRIVE=Z DEVICEHIGH=C:\DOS\SETVER.EXE STACKS=9,256 DEVICE = C:\NAV\NAVTSR.EXE Traceback: ========== Invalid TSS at eip=0; flags=2 eax=0000011f ebx=00000000 ecx=00000030 edx=00000000 esi=0001b97a edi=0014dd5c ebp=00000000 esp=0000369c cs=0 ds=38 es=ef fs=0 gs=0 ss=20 error=0000 Invalid TSS at eip=3ff0; flags=2 eax=0000011f ebx=00000000 ecx=00000030 edx=00000000 esi=0001b97a edi=0014dd5c ebp=00000000 esp=0000214e cs=2b ds=38 es=ef fs=0 gs=0 ss=33 error=00ec Contents of environment: ======================== COMSPEC=C:\COMMAND.COM PROMPT=$p$g TEMP=C:\DOS NWLANGUAGE=ENGLISH PATH=c:\djgpp\bin;Z:.;Y:.;X:.;P:\;F:\WINDOWS;C:\WINDOWS;C:\DOS;C:\WP60;C:\;C:\NWCLIENT;C:\ALDUS;C:\PM4;C:\DOS;C:\GMOUSE;C: DJGPP=c:\djgpp\djgpp.env DIRCMD=/ogn/p __ __ /> /_ /| / /\ /| /> /| / /_ / / /> /_ / |/ /_/ /-| / \ / |/ /_ /_ /_ http://users.vnet.net/bdarnell bdarnell AT vnet DOT net