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

Process exits with error during copy of file under goofys mount point #796

Open
aristella opened this issue May 14, 2024 · 0 comments
Open

Comments

@aristella
Copy link

aristella commented May 14, 2024

I got a panic error during the copy of a file in a ec2 where goofys is used to mount an S3 bucket.
I have been using goofys with bucket for a long time having a large amount of files copied under the mount point.
The error I got was:

main.ERROR stacktrace from panic: double insert of 20240507088.docx #012goroutine 28127003 [running]:#012runtime/debug.Stack(0xc0006ffb40, 0xbd2e60, 0xc000b700c0)#012#011/usr/local/go/src/runtime/debug/stack.go:24 +0x9d#012github.com/kahing/goofys/api/common.LogPanic(0xc0006fff18)#012#011/home/kahing/go/src/github.com/kahing/goofys/api/common/panic_logger.go:32 +0x7c#012panic(0xbd2e60, 0xc000b700c0)#012#011/usr/local/go/src/runtime/panic.go:679 +0x1b2#012github.com/kahing/goofys/internal.(*Inode).insertChildUnlocked(0xc000480140, 0xc000af0820)#012#011/home/kahing/go/src/github.com/kahing/goofys/internal/dir.go:844 +0x4bc#012github.com/kahing/goofys/internal.(*Goofys).insertInode(0xc0001de000, 0xc000480140, 0xc000af0820)#012#011/home/kahing/go/src/github.com/kahing/goofys/internal/goofys.go:729 +0x6b#012github.com/kahing/goofys/internal.(*Goofys).CreateFile(0xc0001de000, 0xeb5b00, 0xc000d08ed0, 0xc0001b6960, 0x0, 0x0)#012#011/home/kahing/go/src/github.com/kahing/goofys/internal/goofys.go:1022 +0x1ba#012github.com/kahing/goofys/api/common.FusePanicLogger.CreateFile(0xec7540, 0xc0001de000, 0xeb5b00, 0xc000d08ed0, 0xc0001b6960, 0x0, 0x0)#012#011/home/kahing/go/src/github.com/kahing/goofys/api/common/panic_logger.go:73 +0x9d#012github.com/kahing/goofys/vendor/github.com/jacobsa/fuse/fuseutil.(*fileSystemServer).handleOp(0xc0004d0400, 0xc0000844e0, 0xeb5b00, 0xc000d08ed0, 0xbb6780, 0xc0001b6960)#012#011/home/kahing/go/src/github.com/kahing/goofys/vendor/github.com/jacobsa/fuse/fuseutil/file_system.go:161 +0x645#012created by github.com/kahing/goofys/vendor/github.com/jacobsa/fuse/fuseutil.(*fileSystemServer).ServeOps#012#011/home/kahing/go/src/github.com/kahing/goofys/vendor/github.com/jacobsa/fuse/fuseutil/file_system.go:122 +0x1a0#012
fuse.ERROR *fuseops.CreateFileOp error: input/output error

Do you know if this error related with fuse or with goofys?

goofys version is 0.24.0

thank you

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

1 participant