keybase / keybase/keybase-issues

An exception is thrown for "keybase push" command

Open
#3,278 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
899
Forks
40
PR merge metrics
No merged PRs in 30d

Description

Arch linux:

$ keybase push         
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x55cadce1c454]

goroutine 1 [running]:
github.com/keybase/client/go/client.(*UI).OutputWriter(...)
        /build/keybase/src/.gopath/src/github.com/keybase/client/go/client/ui.go:1050
github.com/keybase/client/go/client.(*UI).Println(0x0, 0xc4204c95c8, 0x1, 0x1, 0xc420510128, 0xc4204c9820, 0xe8)
        /build/keybase/src/.gopath/src/github.com/keybase/client/go/client/ui.go:1070 +0x24
github.com/keybase/client/go/client.NewCmdCompatPush.func1(0xc420510120)
        /build/keybase/src/.gopath/src/github.com/keybase/client/go/client/cmd_compat.go:27 +0x6b
github.com/keybase/client/go/vendor/github.com/keybase/cli.Command.Run(0x55cadce844c4, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x55cadcec8e03, ...)
        /build/keybase/src/.gopath/src/github.com/keybase/client/go/vendor/github.com/keybase/cli/command.go:132 +0x503
github.com/keybase/client/go/vendor/github.com/keybase/cli.(*App).Run(0xc420205200, 0xc42000c060, 0x2, 0x2, 0x0, 0x0)
        /build/keybase/src/.gopath/src/github.com/keybase/client/go/vendor/github.com/keybase/cli/app.go:161 +0x4f1
github.com/keybase/client/go/libcmdline.(*CommandLine).Parse(0xc42045c690, 0xc42000c060, 0x2, 0x2, 0xc4204c9e48, 0x4, 0x4, 0x4)
        /build/keybase/src/.gopath/src/github.com/keybase/client/go/libcmdline/cmdline.go:658 +0xc4
main.mainInner(0xc4203ca700, 0x0, 0x0, 0x0, 0x0, 0x0)
        /build/keybase/src/.gopath/src/github.com/keybase/client/go/keybase/main.go:148 +0x3d4
main.main()
        /build/keybase/src/.gopath/src/github.com/keybase/client/go/keybase/main.go:75 +0xb9

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

Start by running keybase push on Arch Linux to reproduce the panic. Read go/client/cmd_compat.go:27 and the UI methods in go/client/ui.go:1050 and 1070 shown in the trace. Done means the command no longer crashes with a nil-pointer exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.