Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fusecompress crash #22

Open
leolivier opened this issue Aug 2, 2019 · 1 comment
Open

fusecompress crash #22

leolivier opened this issue Aug 2, 2019 · 1 comment

Comments

@leolivier
Copy link

Hi,
Built fusecompress on Linux Mint 19.
I do:
$ cd /backup;
$ mkdir fc fcu
$ fusecompress -o fc_d fc fcu

In another terminal, I do:
$ cp x.txt /backup/fcu
==> crash of fusecompress with the following stacktrace:

FuseCompress::mknod name: x.txt
FuseCompress::mknod inode: 41293005
new CFile(..., x.txt)
C (x.txt), raw/user 0x19/0x0 bytes
getattr name: x.txt, m_IsCompressed: 1, m_fh.size: 0x0
Memory::getattr(0x7fc0fc001350) m_FileSize: 0x0, m_FileSizeSet: 0
virtual Compress::~Compress(), x.txt
new CFile(..., x.txt)
C (x.txt), raw/user 0x19/0x0 bytes
FuseCompress::open 0x7fc104001230 name: x.txt
File::open file 'x.txt', inode 41293005, m_refs: 1
Compress::open m_refs: 1
getattr name: x.txt, m_IsCompressed: 1, m_fh.size: 0x0
*** stack smashing detected ***: terminated
Abandon (core dumped)

So I unmounted fcu:
$ fusermount -u /backup/fcu
then restart fusecompress (as above)
then:
$ ls /backup/fcu

x.txt
$ ls /backup/fc
x.txt
$ more /backup/fcu/x.txt

Again, crash with the stack:

new CFile(..., x.txt)
C (x.txt), raw/user 0x19/0x0 bytes
getattr name: x.txt, m_IsCompressed: 1, m_fh.size: 0x0
Memory::getattr(0x7fc7c8001630) m_FileSize: 0x0, m_FileSizeSet: 0
virtual Compress::~Compress(), x.txt
new CFile(..., x.txt)
C (x.txt), raw/user 0x19/0x0 bytes
getattr name: x.txt, m_IsCompressed: 1, m_fh.size: 0x0
Memory::getattr(0x7fc7c0001500) m_FileSize: 0x0, m_FileSizeSet: 0
virtual Compress::~Compress(), x.txt
new CFile(..., x.txt)
C (x.txt), raw/user 0x19/0x0 bytes
getattr name: x.txt, m_IsCompressed: 1, m_fh.size: 0x0
Memory::getattr(0x7fc7c0001500) m_FileSize: 0x0, m_FileSizeSet: 0
virtual Compress::~Compress(), x.txt
new CFile(..., x.txt)
C (x.txt), raw/user 0x19/0x0 bytes
FuseCompress::open 0x7fc7c8001630 name: x.txt
File::open file 'x.txt', inode 41293005, m_refs: 1
Compress::open m_refs: 1
getattr name: x.txt, m_IsCompressed: 1, m_fh.size: 0x0
*** stack smashing detected ***: terminated
Abandon (core dumped)

@tobek
Copy link

tobek commented Dec 6, 2020

I'm getting the same issue, resulting in Software caused connection abort and Transport endpoint is not connected errors.

This repo is abandoned so not sure we'll get a fix unless some enterprising soul picks it up. Really keen on using this to try to ddrescue a sparsely-used 5TB drive onto a smaller drive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants