From: Martin Str|mberg Message-Id: <199807072033.WAA17494@sister.ludd.luth.se> Subject: Re: info core dumps To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) Date: Tue, 7 Jul 1998 22:33:32 +0200 (MET DST) Cc: djgpp-workers AT delorie DOT com (DJGPP-WORKERS) In-Reply-To: from Eli Zaretskii at "Jul 7, 98 02:16:22 pm" MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk Eli said: > How do you mean ``in my v2.02 tree''? Does it mean that it only crashes > for Info files which came with v2.02, but not those from v2.01? Ok. Let me explain. d:/djgpp is my v2.01 version, which AUTOEXEC.BAT sets up everything for when booting (DJGPP and PATH). In e:/djgpp.202 I have the v2.02 version, along with a .BAT file the sets up everything (DJGPP and PATH) to use that directory. When I want to compile with v2.02 I simply run that .BAT file, and everything is sunshine! Ok? > If it's from the latest txi312b.zip upload (info.exe size is 183296 bytes > and time stamp is 06-26-98 22:02), then I'm interested. Otherwise, > please try the latest binary. Hmm, the size is correct but not the date. Anyway I unzipped txi312b.zip again and it still core dumps: Page fault at eip=0001cb47, error=0004 eax=0010c000 ebx=00000006 ecx=00026125 edx=0000bf00 esi=0010c001 edi=0000001b ebp=000723d8 esp=0007238c program=E:\DJGPP.202\BIN\INFO.EXE cs: sel=00a7 base=10000000 limit=000affff ds: sel=00af base=10000000 limit=000affff es: sel=00af base=10000000 limit=000affff fs: sel=008f base=0000ab40 limit=0000ffff gs: sel=00bf base=00000000 limit=ffffffff ss: sel=00af base=10000000 limit=000affff App stack: [00072538..00032538] Exceptn stack: [00032490..00030550] Call frame traceback EIPs: 0x0001cb47 0x1cb47 0x0001cb7b 0x1cb7b 0x0001cbff 0x1cbff 0x0001cd30 0x1cd30 0x00013400 0x13400 0x000130f3 0x130f3 0x0000dcd7 0xdcd7 0x0000da49 0xda49 0x00008398 0x8398 0x00016f9e 0x16f9e The offending instruction seems to be "movb %gs:(%eax), %d". How can I see what the info is set for a certain segment in gdb? I mean "p $ds" shows me what %ds is set to, but not it's base and limit? Another question: "p *$eax" (or perhaps it was "p *($eax)") let me look at the contents at the address %eax points to, but what command lets me look at the contents at the address %gs:%eax? A question on the version number: why is it called txi312b.zip and not txi3012b.zip, as this would make it clearer, perhaps, that it is newer than txi309b.zip? Last, I tried to compile txi312s.zip myself to add debug information, it don't. Perhaps I've managed to miss-compile my libraries? Any advice? Here the end of the make: gcc -DINFODIR=\"/usr/local/info\" -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE _CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -O2 -c variables.c gcc -DINFODIR=\"/usr/local/info\" -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE _CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -O2 -c window.c gcc -g -O2 -o ginfo dir.o display.o doc.o dribble.o echo-area.o filesys.o foot notes.o gc.o indices.o info-utils.o info.o infodoc.o infomap.o m-x.o man.o nodem enu.o nodes.o search.o session.o signals.o terminal.o tilde.o variables.o window .o ../lib/libtxi.a ../intl/libintl.a e:/djgpp.202/lib/libc.a(conio.o)(.text+0x110):conio.c: multiple definition of `g ettext' ../intl/libintl.a(intl-compat.o):intl-compat.c:66: first defined here make.exe[2]: *** [ginfo] Error 1 make.exe[2]: Leaving directory `d:/tmp/info/gnu/texinfo3.12/info' make.exe[1]: *** [all-recursive] Error 1 make.exe[1]: Leaving directory `d:/tmp/info/gnu/texinfo3.12' make.exe: *** [all-recursive-am] Error 2 This Mortal Coil, Blood, MartinS