"Theodore Y. Ts'o" <tytso@mit.edu> writes:
> convert_dir, and smashed pointers used by malloc/free. Dump then
> crashed in some other completely unrelated spot, later on.
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/
This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:12 EST