keybase / keybase/client

KBFS crashes on FreeBSD 13-CURRENT

Open
#24,283 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
9.2k
Forks
1.3k
Avg merge
12h 58m
Merged PRs (30d)
56

Description

I can kbfsfuse /keybase and ls the contents of my KBFS folders. However when I try to copy a file, I get the following crash:

panic: opBmap

goroutine 1 [running]:
github.com/keybase/client/go/vendor/bazil.org/fuse.(*Conn).ReadRequest(0x4001a00c00, 0x15b7130, 0x400003c300, 0x1a6bba0, 0x400a33fe40)
	/wrkdirs/usr/ports/security/keybase/work/src/github.com/keybase/client/go/vendor/bazil.org/fuse/fuse.go:1010 +0x3c78
github.com/keybase/client/go/vendor/bazil.org/fuse/fs.(*Server).Serve(0x400003c300, 0x1a43180, 0x4003d70900, 0x0, 0x0)
	/wrkdirs/usr/ports/security/keybase/work/src/github.com/keybase/client/go/vendor/bazil.org/fuse/fs/serve.go:423 +0x298
github.com/keybase/client/go/kbfs/libfuse.(*FS).Serve(0x4003d70900, 0x1a767a0, 0x400017e9f0, 0x153b925, 0x12)
	/wrkdirs/usr/ports/security/keybase/work/src/github.com/keybase/client/go/kbfs/libfuse/fs.go:346 +0x1b8
github.com/keybase/client/go/kbfs/libfuse.startMounting(0x1a76720, 0x40000400a0, 0x1aabd80, 0x40005745c0, 0x1ace0c0, 0x40001edc00, 0x0, 0x15a385b, 0x87, 0x15a38e2, ...)
	/wrkdirs/usr/ports/security/keybase/work/src/github.com/keybase/client/go/kbfs/libfuse/start.go:83 +0x35c
github.com/keybase/client/go/kbfs/libfuse.Start(0x0, 0x15a385b, 0x87, 0x15a38e2, 0x8b, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/wrkdirs/usr/ports/security/keybase/work/src/github.com/keybase/client/go/kbfs/libfuse/start.go:169 +0x530
main.start(0x0)
	/wrkdirs/usr/ports/security/keybase/work/src/github.com/keybase/client/go/kbfs/kbfsfuse/main.go:116 +0x3c4
main.main()
	/wrkdirs/usr/ports/security/keybase/work/src/github.com/keybase/client/go/kbfs/kbfsfuse/main.go:120 +0x18

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the crash by running kbfsfuse and copying a file on FreeBSD 13-CURRENT. Start at vendor/bazil.org/fuse/fuse.go:1010 and follow the call into kbfs/libfuse/fs.go and start.go. Done means copying files no longer panics during FUSE request handling on that platform.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.