delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/16/20:29:33

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20011017002822.67872.qmail@web12407.mail.yahoo.com>
Date: Tue, 16 Oct 2001 17:28:22 -0700 (PDT)
From: Justin the Almighty <dopefish_justin AT yahoo DOT com>
Subject: GCC reproducible crash
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

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 AT yahoo DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019