Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 115 - f2c gives segmentation fault when initializing
Summary: f2c gives segmentation fault when initializing
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: fort77
Version: 5.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1998-11-18 02:56 UTC by nolty_r
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-05-16 21:25:59 UTC

Attachments (Terms of Use)

Description nolty_r 1998-11-18 02:56:20 UTC
(I got this RPM from the contrib area, but the RPM info
lists `' as the packager).

I am attempting to use f2c (f2c-19970805-3) on RedHat 5.1.
So far all
my programs compile OK, but one of my executables is
faulting during initialization, before control transfers to
The call stack after the crash is:

#0 malloc_extend_top
#1 chunk_alloc
#2 __libc_malloc
#3 malloc_hook_ini
#4 __libc_malloc
#5 f_init
#6 main

Routines #0-4 are from a malloc.c file that was apparently
debug (file and line number information is printed in gdb)
but I don't
have the .c file on my system.

Does anyone have any idea what could cause this?  This is a
very large
FORTRAN program linked against lots of large FORTRAN
libraries, but I
also compiled and linked a different program with 90% the
same code,
which initialized OK.

In /usr/doc/f2c-19970805/README, it says that the malloc.c
with f2c may not work on some systems; does anyone know if
this rpm
was compiled to use f2c's malloc.c?  Could that be the

Incidentally, I had this program working using f2c with an
slackware installation a few years ago.


Comment 1 Jeff Johnson 1999-05-14 18:52:59 UTC
There's a newer patched and maintained f2c that's part of PowerTools.
See if that fixes your problem. Please reopen this bug if not.

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