From: Nicholas N. <nj...@ca...> - 2003-04-30 20:29:46
|
On Wed, 30 Apr 2003, Xiang Yan wrote: > 1. there is a malloc(24) (// any constant) crashs the app outside > valgrind, in valgrind however, it's just fine :( . any more clues on > this? It's possible your program corrupts some state used by the normal malloc(), but a different malloc() (such as Valgrind's) doesn't get corrupted. If you can find a different malloc() implementation and link with that (even dynamically with the LD_PRELOAD variable -- see the 'ld.so' man page for details) you might get a different result to the normal malloc(), which would confirm (I think?) this hypothesis. N |