Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!rice!sun-spots-request From: bglenden@mandrill.cv.nrao.edu (Brian Glendenning) Newsgroups: comp.sys.sun Subject: Fortran shared libraries bug? Keywords: Miscellaneous Message-ID: <1990Aug13.235526.26104@rice.edu> Date: 13 Aug 90 01:33:23 GMT Sender: sun-spots-request@rice.edu Organization: Sun-Spots Lines: 16 Approved: Sun-Spots@rice.edu Originator: spots@titan.rice.edu X-Sun-Spots-Digest: Volume 9, Issue 304, message 1 We have a large package of programs that we have recently converted to use shared libraries. The programs are mostly coded in Fortran with some low-level C routines. Recently after some innoccuous changes, we noticed that on Sun 3s under SunOS 4.0.3 the programs start crashing with a segmentation violation. A dbx traceback showed the program doing what it should do, and then at a subroutine call it veers off into etext. Linking the program with the static version of the libraries makes the problem go away, so we presume that it's a bug with the shared library support. Has anyone seen this before? Is there a workaround besides linking statically? Is it fixed in 4.1? Brian Glendenning - National Radio Astronomy Observatory bglenden@nrao.edu bglenden@nrao.bitnet (804) 296-0286