Bug 79353

Summary: fortran program crashes with segmentation error
Product: [Retired] Red Hat Linux Reporter: Michael macNeil <mike>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-03 10:52:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
fortran source code
none
fortran subroutines
none
input data file none

Description Michael macNeil 2002-12-10 17:36:54 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Description of problem:
in executing a fortran program compiled using g77 to call gcc i consistently get
a segmentation error when executing the program.  The problem documented further
in Red Hat Support incident 219599.  

Comiling sequence is:
g77 -c -O mtgssub.f
g77 -O mtgsnrm.f mtgssub.o

The source code and data file are attached.

Inputs to program are:
0
22000000
0
test_ped
1
3
1
2
3
0


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


How reproducible:
Always

Steps to Reproduce:
1.see description
2.
3.
	

Actual Results:  program process some records from input data file and then
crashes with a segmentation error

Expected Results:  program should end normally with new data files created for
subsequent use.

Additional info:

Comment 1 Michael macNeil 2002-12-10 17:39:31 UTC
Created attachment 88245 [details]
fortran source code

Comment 2 Michael macNeil 2002-12-10 17:40:53 UTC
Created attachment 88246 [details]
fortran subroutines

Comment 3 Michael macNeil 2002-12-10 17:42:11 UTC
Created attachment 88247 [details]
input data file

Comment 4 Richard Henderson 2004-10-03 10:52:29 UTC
Program runs to completion with gcc 3.2.3.