Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!swrinde!cs.utexas.edu!rice!sun-spots-request From: ozkan@vuse.vanderbilt.edu (Mehmed Ozkan) Newsgroups: comp.sys.sun Subject: Re: Sparcstation problems with malloc ( Keywords: Miscellaneous Message-ID: <2281@brazos.Rice.edu> Date: 14 Oct 89 22:28:17 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 29 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 167, message 4 of 17 >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@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