Git Product home page Git Product logo

jfsrec's People

Contributors

jbar avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

jfsrec's Issues

jfsrec segfaults on large drives.

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

The only lines added to dmesg is:
jfsrec[2551]: segfault at 7ffc80cfc2b8 ip 0000557e7c1a4f33 sp 00007ffc80cfc2c0 error 6 in jfsrec[557e7c182000+46000],so clearly it is not a hardware issue. I ran the included jfsrec_rm_logged_inode` and tried again,but the result is the same.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.