[BusyBox] debugging with dmalloc

Larry Doolittle ldoolitt at recycle.lbl.gov
Thu Mar 22 17:15:11 UTC 2001


Glenn (and all lurkers) -

> is dmalloc supposed to create a logfile if the app segfaults ?

No.

OTOH, many segfaults really represent an ordinary libc free() call
doing something stupid (but fast) when fed an invalid pointer.
dmalloc will catch those, report the real error, and exit after
writing the logfile.  That doesn't help you if you have a memory
corruption error.  Consider Electric Fence to aid in tracking down
those errors.

     - Larry Doolittle   <LRDoolittle at lbl.gov>





More information about the busybox mailing list