* malloc/calloc problem on OSF1 v3.0?
@ 1995-03-02 21:14 Andrew Gillies
0 siblings, 0 replies; only message in thread
From: Andrew Gillies @ 1995-03-02 21:14 UTC (permalink / raw)
To: tru64-unix-managers
Hi
A few months back I installed OSF1 v3.0 on a DEC alpha 3000/500S
(complete installation from OSF1 v1.3A). Everything seems to be
running fine, however, one of the C programs often used here,
(compiled with cc) produces a segmentation fault at the line:
tau = (double *) malloc(lm*sizeof(double));
lm is too small to be hitting a memory limit (& still shouldn't cause
a segmentation fault at this line). The DEC has 380Mb.
The program calls calloc and malloc many times, and there seems no
reason why this particular line should cause a problem (this program
uses only the standard C and math libraries)?
The program works fine on an identical DEC that is still running OSF1
v1.3A, and runs fine on the SUN sparcs.
If I compile it with the "-non_shared" option on the OSF1 v1.3A
machine, then copy it to the DEC running OSF1 v3.0 - it works fine
then also (but not without the -non_shared).
We have a few "off the shelf" DECs pre-installed with OSF1 v3.0, and
it fails to work on them as well.
Is this a known problem with OSF1 v3.0 and are there any fixes?
Any help, or pointers would be most appreciated.
Thanks,
Andrew
--------------------
System Administration e-mail operator@cns.ed.ac.uk
Centre for Neural Systems (CNS) anaru@cns.ed.ac.uk
Centre for Cognitive Science
2 Buccleuch Place, phone 031 650 4422
Edinburgh EH8 9LW fax 031 650 6626
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-03-02 21:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-03-02 21:14 malloc/calloc problem on OSF1 v3.0? Andrew Gillies
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox