Bug 78186 - gcc gives seg fault when compiling the file Prova.c
gcc gives seg fault when compiling the file Prova.c
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: gcc (Show other bugs)
7.3
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
www.speech.kth.se/~giampi/Prova.c
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-11-19 16:10 EST by Giampiero Salvi
Modified: 2007-04-18 12:48 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-11-20 03:57:23 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Giampiero Salvi 2002-11-19 16:10:19 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011019
Netscape6/6.2

Description of problem:
I run gcc Prova.c and get:
--
cc1: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
--

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.gcc Prova.c
	

Actual Results:  cc1: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.


Expected Results:  it should have compiled the program

Additional info:
Comment 1 Giampiero Salvi 2002-11-20 03:57:17 EST
It seems that the behaviour I got was due to temporal instability of the 
system. I tried to compile a "Hello world!" c program and I got the same 
result. When I rebooted the machine the problem was fixed.

I wander if the instability could have been caused by running the Prova.c 
program: in the beginning I could compile it an run it. After several small 
modifications (I recompiled it maybe 10-20 times) I started to get that 
problem.

Hope this helps. Giampiero
Comment 2 Jakub Jelinek 2002-11-20 04:09:04 EST
Then definitely it has nothing to do with gcc compiler.
It can be either most probably either hardware fault or kernel fault.

Note You need to log in before you can comment on or make changes to this bug.