Bus error DURING call to malloc()

Kevin Kuehl krk at cs.purdue.EDU
Wed Jun 13 06:43:45 AEST 1990


In article <789 at ki.UUCP> dwatts at ki.UUCP (Dan Watts) writes:
>in other places in the code and try to find the _bad_ code by seeing which
>ones work, and which ones die (note to free() the malloc()'d mem just

Another thing you can do (if you are fortunate enough to have access
to a Sun4) is to use the `malloc_debug(2)' on a Sun4.  This is one of
the greatest tools I have ever used.   On every call to malloc, it
checks the heap and verifies that it is not corrupted.  If it is
corrupted, the program dumps core so you can find it.

This would be great to have under Irix, don't you think?  Whatd'ya say
at SGI?  I would really appreciate this feature.

Kevin
krk at cs.purdue.edu
..!{decwrl,ucbvax,gatech}!purdue!krk



More information about the Comp.sys.sgi mailing list