From: jrubin AT BIX DOT com Date: Thu, 18 Jul 1996 23:27:46 -0400 (EDT) Subject: info.exe crash To: eliz AT is DOT elta DOT co DOT il, djgpp AT delorie DOT com, sandman AT clio DOT rice DOT edu Message-id: <9607182327.memo.81325@BIX.com> MIME-version: 1.0 Content-type: TEXT/PLAIN Content-transfer-encoding: 8BIT Hi Charles and Eli Z (sorry about using eliza before). Here is all the information about the problem with info.exe that I can think of. I'll be happy to do any tests you want on my configuration, but for now I will avoid the problem by *not* using info right after booting. Maybe something similiar will happen on someone else's machine and you'll have mmore information to go on. Good Luck Josh Rubin jrubin AT bix DOT com Problem: The command 'info' with no args crashes if performed immediately after booting. I can not make it happen if other programs that use dpmi are run first. Urgency: Not urgent. I can avoid it by not using INFO first. Symptoms: Exiting due to signal SIGSEGV General Protection Fault [ Exiting due to signal SIGSEGV Page fault at eip=0 ... ] ... The section in [...] repeats forever with decreasing ESP and EBP. Repeatable: Yes - all the way down to register contents. Here are the details with a minimal configuration and all the useful info I can think of. I deleted all djgpp version 1.xx software from disk. Downloaded ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2/txi360b.zip Unpacked with cd djgpp pkunzip -d txi360b * Note to Eli: This copy of info.exe is identical to what I had. * You were wrong about the image size. * Check your version. Maybe something didn't get into the distribution. Attached: config.sys autoexec.bat djgpp.env output of 'go32-v2' output of 'pkunzip -v txi360b info.exe' output of 'set' output of 'mem/debug' output of 'type manifest\*.ver' screen dump (manually recorded) Hardware: 40 Mhz 80386 DX, no '387 4 Meg memory, 64K cache Ami Bios 6/6/92 Verified that CMOS and the boot block have not been changed. 'scandisk' finds no probems. go32-v2 > go.txt ---- go32/v2 version 2.0 built Jan 23 1996 22:03:02 Usage: go32 coff-image [args] Rename this to go32.exe only if you need a go32 that can run v2 binaries as well as v1 binaries (old makefiles). Put ahead of the old go32 in your PATH. DPMI memory available: 3256 Kb DPMI swap space available: 131040 Kb ---- pkunzip -v txi360b info.exe --- PKUNZIP (R) FAST! Extract Utility Version 2.04g 02-01-93 Copr. 1989-1993 PKWARE Inc. All Rights Reserved. Shareware Version PKUNZIP Reg. U.S. Pat. and Tm. Off. þ 80386 CPU detected. þ XMS version 3.00 detected. Searching ZIP: TXI360B.ZIP Length Method Size Ratio Date Time CRC-32 Attr Name ------ ------ ----- ----- ---- ---- -------- ---- ---- 155648 DeflatX 86817 45% 02-22-96 03:51 fee40e79 --w- bin/info.exe ------ ------ --- ------- 155648 86817 45% 1 --- c:\config.sys ----- SWITCHES=/F BUFFERS=15 SHELL=C:\DOS62\COMMAND.COM C:\DOS62\ /p DEVICE=C:\DOS62\HIMEM.SYS BUFFERS=35 FILES=30 LASTDRIVE=E FCBS=4,0 ----- c:\autoexec.bat ----- set TEMP=C:\TEMP set TMP=C:\TEMP path C:\DOS62;C:\SHARE;C:\DJGPP\BIN;C:\BORLAND; prompt $p$g :: Initialize DGGPP (v2.00) c:\djgpp\bin\setdjgpp c:\djgpp c:/djgpp ----- set > env.txt ----- COMSPEC=C:\DOS62\COMMAND.COM TEMP=C:\TEMP TMP=C:\TEMP PATH=C:\DOS62;C:\SHARE;C:\DJGPP\BIN;C:\BORLAND; PROMPT=$p$g DJGPP=c:/djgpp/djgpp.env ----- type manifest\*.ver ---- djdev200 Development Kit and Runtime gcc272b GNU GCC 2.7.2 for DJGPP V2 grep20b GNU grep 2.0 for DJGPP V2 bnu252b GNU binutils 2.5.2 for DJGPP V2 csdpmi2b CWSDPMI binary distribution (release 2) <------- csdpmi2s CWSDPMI source distribution (release 2) djtst200 Test Programs mak373b GNU Make 3.73 for DJGPP V2 find41b GNU findutils 4.1 for DJGPP V2 gdb412b GNU Debugger 4.12 for DJGPP V2 sed118b GNU sed 1.18 for DJGPP V2 djlsr200 Base Library Sources dif271b GNU diff 2.7.1 for DJGPP V2 txi360b GNU texinfo 3.6 for DJGPP V2 <-------- ----- c:\djgpp\djgpp.env - unchanged from distribution ----- #= Don't edit this line unless you move djgpp.env outside #= of the djgpp installation directory. If you do move #= it, set DJDIR to the directory you installed DJGPP in. #= DJDIR=%:/>DJGPP% +USER=dosuser +TMPDIR=%DJDIR%/tmp +EMU387=%DJDIR%/bin/emu387.dxe +LFN=n [bison] BISON_HAIRY=%DJDIR%/lib/bison.hai BISON_SIMPLE=%DJDIR%/lib/bison.sim [cpp] CPLUS_INCLUDE_PATH=%/>;CPLUS_INCLUDE_PATH%%DJDIR%/lang/cxx;%DJDIR%/include;%DJDIR%/contrib/grx20/include C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/contrib/grx20/include OBJCPLUS_INCLUDE_PATH=%/>;OBJCPLUS_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc OBJC_INCLUDE_PATH=%/>;OBJC_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc [gcc] COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib;%DJDIR%/contrib/grx20/lib [info] INFOPATH=%/>;INFOPATH%%DJDIR%/info ---- mem/debug > mem.txt ------------- Conventional Memory Detail: Segment Total Name Type ------- ---------------- ----------- -------- 00000 1,039 (1K) Interrupt Vector 00040 271 (0K) ROM Communication Area 00050 527 (1K) DOS Communication Area 00070 2,656 (3K) IO System Data CON System Device Driver AUX System Device Driver PRN System Device Driver CLOCK$ System Device Driver A: - C: System Device Driver COM1 System Device Driver LPT1 System Device Driver LPT2 System Device Driver LPT3 System Device Driver COM2 System Device Driver COM3 System Device Driver COM4 System Device Driver 00116 42,816 (42K) MSDOS System Data 00B8A 26,560 (26K) IO System Data 3,776 (4K) XMSXXXX0 Installed Device=HIMEM 1,488 (1K) FILES=30 256 (0K) FCBS=4 18,624 (18K) BUFFERS=35 448 (0K) LASTDRIVE=E 1,856 (2K) STACKS=9,128 01206 4,720 (5K) COMMAND Program 0132D 80 (0K) MSDOS -- Free -- 01332 272 (0K) COMMAND Environment 01343 176 (0K) MEM Environment 0134E 88,992 (87K) MEM Program 02908 487,296 (476K) MSDOS -- Free -- Memory Summary: Type of Memory Total = Used + Free ---------------- ---------- ---------- ---------- Conventional 655,360 78,992 576,368 Upper 0 0 0 Reserved 0 0 0 Extended (XMS) 3,538,944 65,536 3,473,408 ---------------- ---------- ---------- ---------- Total memory 4,194,304 144,528 4,049,776 Total under 1 MB 655,360 78,992 576,368 Memory accessible using Int 15h 3,538,944 (3456K) Largest executable program size 576,272 (563K) Largest free upper memory block 0 (0K) The high memory area is available. XMS version 3.00; driver version 3.16 ------------- ... I recorded this manually ... C:>info Exiting due to signal SIGSEGV General Protection Fault at eip=0001ad76 eax=300 ebx=80000 ecx=70372 edx=7031a esi=70370 edi=79994 ebp=6b5fc esp=69d04 cs=00a7 ds=00af es=00af fs=008f gs=00bf ss=00af Call frame traceback EIPs: 0x0001ad76 Exiting due to signal SIGSEGV Page fault at eip=0, error=0004 eax=0 ebx=6c000 ecx=0 edx=0 esi=17ad0 edi=17ae9 ebp=69c54 esp=69c48 cs=00a7 ds=00af es=00af fs=008f gs=00bf ss=00af Call frame traceback EIPs: 0x00000000 0x00017f44 0x00018098 0x00018121 0x00000300 Exiting due to signal SIGSEGV Page fault at eip=0, error=0004 ....