Messages in this thread | | | From | (Matthias Urlichs) | Subject | Re: `filetype' ext2 feature causes dump to SEGV | Date | 8 Jan 2000 13:55:49 +0100 |
| |
"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/
| |