[uClibc]obscure malloc bug with debugging enabled ?

Glenn bug1 at optushome.com.au
Thu Jul 19 01:23:41 UTC 2001


hmm, i changed the code and it segfaults elswhere, but still works under glibc.

Maybe im working it too hard.. here is the log from dmalloc when run succesfully with glibc (there are ~100kB of memmory leaks i need to fix up)

995503625: 348232: alloc calls: malloc 170901, calloc 8865, realloc 6440, free 162026
995503625: 348232: alloc calls: recalloc 0, memalign 0, valloc 0
995503625: 348232:  total memory allocated: 21725715 bytes (186206 pnts)
995503625: 348232:  max in use at one time: 365501 bytes (38572 pnts)
995503625: 348232: max alloced with 1 call: 17000 bytes
995503625: 348232: max alloc rounding loss: 1011587 bytes (73%)
995503625: 348232: max memory space wasted: 0 bytes (0%)
995503625: 348232: final user memory space: basic 49, divided 335, 1075987 bytes
995503625: 348232:  final admin overhead: basic 10, divided 316, 1335296 bytes (45%)
995503625: 348232:  final external space: 0 bytes (0 blocks


Glenn





More information about the uClibc mailing list