fusecompress
fusecompress copied to clipboard
fusecompress crash
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)
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.