Sparcstation problems with malloc (

Mehmed Ozkan ozkan at vuse.vanderbilt.edu
Sun Oct 15 08:28:17 AEST 1989


>We recently got two SPARCstation 1 workstations and found a problem
>building very long linked lists with "malloc".   The following program
>crashes our SPARCstations when n=200000

This is what happens if i run your program on our SPARCstation, which has
its own disk.

Mehmed Ozkan
Vanderbilt University.

ozkan at vuse.vanderbilt.edu

"sp.c" [New file] 41 lines, 781 characters 
<32>[try] % make sptest
cc    -sun4 -o sp sptest.c 
<33>[try] % sptest
Enter n :200000
sp: count = 0
sp: count = 1000
 .
 .
 .
sp: count = 193000
sp: count = 194000
sp: count = 195000
sp: count = 196000
sp: count = 197000
sp: count = 198000
sp: count = 199000



More information about the Comp.sys.sun mailing list