I am using the version from this repo and compiled with GCC 7.
I accidentally deleted a file from my backup drive and when I run jfsrec
on it, after scanning it segfaults on "Searching for file parents and names".Run the program again and it segfaults on the same spot.
Console output:
root[0,0,78]:/usr/home/pthfdr/jfsrec-master/src# ./jfsrec --output ./OUTPUT --logdir ./LOGS --device /dev/sdc --first SDDUMP.cpio --last SDDUMP.cpio --skip-unsane-extents
starting...
'first' regex: SDDUMP.cpio
'last' regex: SDDUMP.cpio
Opened device: /dev/sdc
7.27Tb Blocksize: 4096
Skipping scan.
Loading inodes... [Done] 148069 inodes in total.
Loading invalidated inodes...Number of invalidated inodes: 123801
Scan done...
Total number of inodes stored:148069
Number of
Directories: 12289
files: 129603
symlinks: 6177
special: 0
unallocated: 0
Total number of inodes stored:148069
Number of
Directories: 12289
files: 129603
symlinks: 6177
special: 0
unallocated: 0
Searching for directory parents
0% 10 20 30 40 50 60 70 80 90 100%
|----|----|----|----|----|----|----|----|----|----|
***************************************************
Searching for file parents and names
3943955450368 - 10303/148100 -> 6.95679% The process was killed by SIGSEGV: Segmentation fault