fusecompress icon indicating copy to clipboard operation
fusecompress copied to clipboard

fusecompress crash

Open leolivier opened this issue 5 years ago • 1 comments

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)

leolivier avatar Aug 02 '19 17:08 leolivier

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.

tobek avatar Dec 06 '20 07:12 tobek