Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 445856 - sys-fs/extundelete-0.2-r1 - extundelete segfaults during recovery
Summary: sys-fs/extundelete-0.2-r1 - extundelete segfaults during recovery
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Samuli Suominen (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-12-03 20:15 UTC by Kobboi
Modified: 2012-12-04 21:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2012-12-03 20:15:36 UTC
An extundelete /dev/sdb1 --restore-all segfaults on my system:

# extundelete  /dev/sdb1 --restore-all
WARNING: Extended attributes are not restored.
Loading filesystem metadata ... 22357 groups loaded.
Loading journal descriptors ... 31330 descriptors loaded.
Writing output to directory RECOVERED_FILES/
Searching for recoverable inodes in directory / ... 
1 recoverable inodes found.
Looking through the directory structure for deleted files ... 
Segmentation fault

Although I lack the skills to thoroughly investigate, the solution described at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670815 works for me. The explanation gives me the impression that this patch is probably conditional on the version of e2fsprogs in use, which is why I have not submitted a patch, just a link, to be handles by someone who knows what he/she's doing.

I do confirm that the patch fixes the issue, on my system, which has e2fsprogs-(libs)-1.42.6.

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-12-04 21:59:03 UTC
OK, I've changed the ebuild to use the Debian patchset tar rev 2.1 which contains this patch as 05_fix_segmentation_fault.patch, patches 04, 03, 02 were already in our files/ directory, and as a bonus we got 01_output_dir.patch

Thank you for reporting