Segment violation from malloc (what does it mean?)

Gary L Dare gld at cunixd.cc.columbia.edu
Thu Jan 10 08:23:15 AEST 1991


polar at top.cis.syr.edu (Polar Humenn) writes:
|fredc at umrisca.isc.umr.edu writes:
|>
|>(dbxtool) Running: sym_edit 
|>signal SEGV (no mapping at the fault address) in malloc at 0xec52864
|>malloc+0xe4:		movl	a5@(0xd4),a0
|
|>If so, is it a hardware or un-fixable software limit, or can I get 
|>the compiler to give me a larger heap to work with?
|
|Get a larger swap space.  If your admistrator has extra space he may
|arrange a "swapfile" for you.  However, I'm not really sure if this
|is possible on a diskless client.  

Also, a few strategically free() operations might be in order to clear off
your heap.  Otherwise, stuff you've declared for one-shot use will stick
around after you've exited your routine.

Gary L. Dare
 gld at cunixD.cc.columbia.EDU



More information about the Comp.sys.sun mailing list