lkml.org 
[lkml]   [2000]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: `filetype' ext2 feature causes dump to SEGV
Date
  "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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.097 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site