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

Transport endpoint disconnection due to crash #610

Open
zheliazkov opened this issue Mar 2, 2021 · 3 comments
Open

Transport endpoint disconnection due to crash #610

zheliazkov opened this issue Mar 2, 2021 · 3 comments

Comments

@zheliazkov
Copy link

zheliazkov commented Mar 2, 2021

Hello,

I'm testing goofys with a seaweedfs object storage & filer.
While trying to copy a lot of files the goofys crashes.

Running it with strace it says that there is null pointer exception at

Size: uint64(*resp.ContentLength),
.

Does somebody else experienced that behavior? I'm trying to build it on my own to debug instead of using the binary but it also fails as other guys says at issue #527.

` futex(0x1464860, FUTEX_WAIT_PRIVATE, 0, {tv_sec=29, tv_nsec=999833715}panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xb03b5c]

goroutine 65063 [running]:
github.com/kahing/goofys/internal.(*S3Backend).HeadBlob(0xc0001d24d0, 0xc00494ed00, 0x0, 0xc001807178, 0x4)
/home/kahing/go/src/github.com/kahing/goofys/internal/backend_s3.go:373 +0x1bc
github.com/kahing/goofys/internal.(*Inode).LookUpInodeNotDir(0xc0002e40a0, 0xc001807178, 0x4, 0xc00225ecc0, 0xc00225ed20)
/home/kahing/go/src/github.com/kahing/goofys/internal/dir.go:1295 +0x101
created by github.com/kahing/goofys/internal.(*Inode).LookUpInodeMaybeDir
/home/kahing/go/src/github.com/kahing/goofys/internal/dir.go:1342 +0x10b3
) = ? `

@zheliazkov zheliazkov changed the title Detect transport endpoint disconnection Transport endpoint disconnection due to crash Mar 2, 2021
@chrislusf
Copy link

@zheliazkov Just curious, why not use SeaweedFS FUSE weed mount directly?

@zheliazkov
Copy link
Author

@chrislusf I've used it already :) Thanks.

BR,

@kahing
Copy link
Owner

kahing commented Jul 12, 2021

that line looks like seaweed is sometimes not returning content-length?

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

3 participants