mallocfail icon indicating copy to clipboard operation
mallocfail copied to clipboard

Direct linking

Open tbeu opened this issue 7 years ago • 3 comments

Is there an description to directly link to mallocfail instead of the preload hook?

tbeu avatar Nov 01 '18 21:11 tbeu

No, I'm not sure whether that is practical. To do that you'd have to replace all of libc wouldn't you?

ralight avatar Nov 01 '18 22:11 ralight

Issue is, that I constantly fail to run mallocfail pre-hooked executables through Travis CI. See https://travis-ci.org/tbeu/matio/builds and check branch mallocfail.

tbeu avatar Nov 02 '18 16:11 tbeu

Looking at this one: https://travis-ci.org/tbeu/matio/jobs/448055273

It seems as though it's working as expected, printing out the stack traces when it fails them, there are errors codes returned by your code when memory allocations fail and even a crash.

What else would you expect to see?

ralight avatar Nov 02 '18 22:11 ralight