Comments (2)
Hello,
Why not
But maybe we should investigate why it crashed as well to prevent this from happening
from fatcat.
Hello, thank you for answering.
Regarding the crash, I found the followings with my damaged image.
(I have to keep that image private, sorry...).
I use fatcat v1.0.6.
It seems that when a subdirectory contain file(s) with no filename (and/or pointing to cluster 0), recovering them results in crash. Like here in the listings:
f 0/0/1980 00:00:00 c=0 s=2 (2B)
or:
Listing cluster 914
Directory cluster: 914
d 6/1/2019 00:14:20 ./ c=914
d 6/1/2019 00:14:20 ../ c=912
f 0/0/1980 02:00:00 c=0 s=0 (0B)
f 0/0/1980 00:00:00 c=0 s=0 (0B)
The recovery gives:
Extracting /Android/data/com.dropbox.android/files/.@ to
/var/tmp/resc/Android/data/com.dropbox.android/files/.@
bash: segmentation fault (core dumped) fatcat /tmp/sdh.img -O 1048576 -x /var/tmp/resc
in gdb:
Program received signal SIGSEGV, Segmentation fault. _IO_new_fclose (fp=0x0) at iofclose.c:48 48 iofclose.c: No such file or directory. (gdb)
I hope that this helps you to fix. Anyway, this program is lifesaving! Thanks for it.
from fatcat.
Related Issues (18)
- Add ability to fix directory entries HOT 1
- Verify target directory / file when extracting HOT 2
- On macos, only shows usage HOT 3
- Only finds 1 FAT table... how to fix? HOT 5
- new release soon? HOT 2
- Need help rebuilding FAT1 and FAT2 HOT 2
- Feature Request - Add vfat and exfat support
- Manpage: -O is not documented HOT 3
- -z destroys Filesystem HOT 4
- Fix -S/-z usage() text
- Support for FALLOC_FL_PUNCH_HOLE
- Floating Point Exception in FatSystem::parseHeader()
- fatcat does not support `BPB_RootClus != 2`
- Cluster address printed for cluster zero is wrong
- fatcat WARNING: Bytes per sector is not 512 esp32c3
- Crash in `FatExtract::onEntry`when directory doesn't exist HOT 2
- unable to inspect fat16 system HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fatcat.