Bug 79353 - fortran program crashes with segmentation error
fortran program crashes with segmentation error
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: gcc (Show other bugs)
7.3
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-12-10 12:36 EST by Michael macNeil
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: 2004-10-03 06:52:29 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
fortran source code (31.01 KB, text/plain)
2002-12-10 12:39 EST, Michael macNeil
no flags Details
fortran subroutines (115.47 KB, text/plain)
2002-12-10 12:40 EST, Michael macNeil
no flags Details
input data file (159.53 KB, text/plain)
2002-12-10 12:42 EST, Michael macNeil
no flags Details

  None (edit)
Description Michael macNeil 2002-12-10 12:36:54 EST
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 12:39:31 EST
Created attachment 88245 [details]
fortran source code
Comment 2 Michael macNeil 2002-12-10 12:40:53 EST
Created attachment 88246 [details]
fortran subroutines
Comment 3 Michael macNeil 2002-12-10 12:42:11 EST
Created attachment 88247 [details]
input data file
Comment 4 Richard Henderson 2004-10-03 06:52:29 EDT
Program runs to completion with gcc 3.2.3.

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