On Wed, 26 Apr 2000, Gerrish, Robert wrote:
>The output of the dump command is:
...
>       DUMP: dumping (Pass III) [directories]                    
>       DUMP: SIGSEGV: ABORTING!                                  
>       DUMP: SIGSEGV: ABORTING!                                  
>       Segmentation fault                                          

This is a common thing for me.  (Every damned time I go to backup a machine
I end up having to retool Yet Another Part (tm) of dump.)

The problem will depend on the version of dump, the kernel, and the ext2fs
libraries used by dump.

I can send you a static 'dump' (about 200k) to see if you have a different
problem.  The crash is likely due to information in the directory entry
structure being changed -- reclen was uint16; it's a uint8 type + uint8 reclen
now.

[change struct ext2_dir_entry to struct ext2_dir_entry_2 in traverse.c]

There's also a problem of dump _guessing_ the amount of space needed to
convert a directory incorrectly -- it doesn't bounds check itself and it
obviously doesn't enlarge the buffer. (I had a directory where the assumed
size was a little too small.)

--Ricky


Reply via email to