Date: Tue, 1 Dec 1998 14:07:54 +0100 From: Hans-Bernhard Broeker Message-Id: <199812011307.OAA22601@acp3bf.physik.rwth-aachen.de> To: djgpp AT delorie DOT com Subject: Re: Seems to be installed OK but I get weird behaviour Newsgroups: comp.os.msdos.djgpp Organization: RWTH Aachen, III. physikalisches Institut B X-Newsreader: TIN [version 1.2 PL2] Reply-To: djgpp AT delorie DOT com [I would have written this in private Email, but there seems to be no usable EMail address]. In article <73r4ti$33e10 AT kirk DOT tinet DOT ie> you wrote: > G:\>gcc > Exiting due to signal SIGSEGV > General Protection Fault at eip=3D000157ea > eax=3Dffffffe0 ebx=3D000653d8 ecx=3D00065284 edx=3Dffffffe0 = > esi=3D0006dd48 edi=3D00000002 > ebp=3D3d697661 esp=3D000653c0 = > program=3D*.gif=3D01;34:*.bmp=3D01;34:*.ppm=3D01;34:*.tga=3D01;3 > 4:*.xbm=3D01;34:*.xpm=3D01;34:*.tif=3D01;34:*.mpg=3D01;37:*.avi=3D01;37:*= > .gl=3D01;37:*.dl=3D01 > ;37:*~=3D08:*.bak=3D08: > /lib/gcc-lib/djgpp/2.81/specs > cs: sel=3D00af base=3D82e13000 limit=3D0006ffff > ds: sel=3D00b7 base=3D82e13000 limit=3D0006ffff > es: sel=3D00b7 base=3D82e13000 limit=3D0006ffff > fs: sel=3D0087 base=3D0000cf80 limit=3D0000ffff > gs: sel=3D00c7 base=3D00000000 limit=3D0010ffff > ss: sel=3D00b7 base=3D82e13000 limit=3D0006ffff > App stack: [000656d0..000256d0] Exceptn stack: [000255b0..00023670] > Call frame traceback EIPs: > 0x000157ea Is there any chance you have a virus in your system? I ask because, from this display, it seems as if the executable code of 'gcc.exe' had become corrupted during execution. The text after 'program=' is complete garbage, in fact it's part of the content of the 'DJGPP.ENV' file, which is normally read during the startup phase of any DJGPP-compiled program, like gcc.exe is. Other things to check: 1) Does this happen even for 'gcc -v' 2) The place where you got that DJGPP installation from. 3) And, obviously: get an up-to-date virus scanner and be sure to run it correctly (from a 'clean boot'). To the original poster: If neither of these helps, please contact me personally. Over time, I've got quite good at detecting 'unknown' viruses detected by crashes of DJGPP programs. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.