Red Hat Bugzilla – Bug 115
f2c gives segmentation fault when initializing
Last modified: 2008-05-01 11:37:48 EDT
(I got this RPM from the contrib area, but the RPM info
lists `firstname.lastname@example.org' 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:
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
FORTRAN program linked against lots of large FORTRAN
libraries, but I
also compiled and linked a different program with 90% the
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
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.
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.