So, lesson for the day -- anytime you get a crash in malloc/realloc/free,
do this:
$ env LD_PRELOAD=/usr/lib/libefence.so whatever_crashed
## twiddle thumbs
Segmentation fault (core dumped)
$ gdb whatever_crashed core
> where
Now the gdb traceback will show exactly where the bad code broke the rules.
Usually. :-/
-- Matthias Urlichs | noris network GmbH | smurf@noris.de | ICQ: 20193661 The quote was selected randomly. Really. | http://www.noris.de/~smurf/-- Should crematoriums give discounts for burn victims?- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/