[SunHELP] Problem in malloc

Dale Ghent sunhelp at sunhelp.org
Fri Jun 29 09:19:15 CDT 2001


On Fri, 29 Jun 2001 munkumar at hss.hns.com wrote:

| I have run the code on SunOS 5.6 with purify. I do get some UMRs (Uninitialized
| Memory Read) but no array bound overwrite or any other memory leaks.
| Without any such problem  I get a MAF( Memory Allocation Failure ) in the
| purify. This problem can occur at any place in the code when malloc is
| attempted.
| Can anybody please point out what could be the possible problem ? I am almost
| certain that the problem will be somewhere in my code but if there is no
| leak reported in Purify what else could be the possible reason. Or if in a
| rarest of rare chances is there a problem in libc implementation of SunOS5.6
| libraries.

First, compile your program with debugging symbols. That stack trsce is
rather uninformative without it.

/dale




More information about the SunHELP mailing list