GCC reproducible crash

Justin the Almighty dopefish_justin@yahoo.com
Tue Oct 16 17:29:00 GMT 2001


Cygwin GCC crashes reproducibly for me whenever I try to use it. I'm
using Win98SE and the gcc-2.95.3-5 package. It occurs with both the
cygwin-1.3.3-2 release DLL and the cygwin1-20011016 snapshot DLL.

I can reproduce it with any file, including a hello.c file with the
following contents:

#include <stdio.h>

main()
{
  printf ("Hello World!\n");
}

Typing "gcc -c -g -O2 -o hello.o hello.c" gives the following output:

Assembler messages:
Error: Can't open /cygdrive/d/TMP/ccnvIUuP.s for reading.
/cygdrive/d/TMP/ccnvIUuP.s: No such file or directory (ENOENT)

(The file is indeed present (attributes -rw-r--r-- in Cygwin, archive
in Windows) and can be opened with Notepad or Cygwin head)

I get a Windows crash dialog with the following text:

GCC caused an invalid page fault in
module KERNEL32.DLL at 0167:bff7d762.
Registers:
EAX=c8123f40 CS=0167 EIP=bff7d762 EFLGS=00010202
EBX=834ef540 SS=016f ESP=0254e094 EBP=0254e0dc
ECX=bff7d75b DS=016f ESI=00000001 FS=567f
EDX=bffc9490 ES=016f EDI=00000000 GS=0000
Bytes at CS:EIP:
8b 0f 3b ce 76 10 8d 47 10 83 38 00 74 28 83 c0 
Stack dump:
0254e0dc 83505460 00000001 00000000 bff8dd46 834ef540 00000004 0254edcc
00000000 c84aaf90 0254e0ec 6105ffff 00009c40 00000000 000000b4 00000000


Judging by the error message, I think the problem has something to do
with the fact that my temporary folder is on D:\TMP (as specified by
the TEMP environment variable) instead of the usual location of
C:\WINDOWS\TEMP. This is a serious issue as gcc is rendered completely
unusable for me.

-Justin

=====
--
      __ ____ ___  __ __
     |  |    |   \|  |  |  "If it ain't broke, you're not trying!"--Red Green
     |  |  __|    |  | _|
   __|  |__  |  | |   /_   ICQ: 76824935
  |  |  |    |    |  |  |  dopefish_justin@yahoo.com
  |______________/___|__|  http://dopefishjustin.tripod.com/

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list