FS#71025 - [github-cli] segfout when checking a PR
Attached to Project:
Community Packages
Opened by bartus (bartus) - Wednesday, 26 May 2021, 07:00 GMT
Last edited by Morten Linderud (Foxboron) - Friday, 09 July 2021, 12:48 GMT
Opened by bartus (bartus) - Wednesday, 26 May 2021, 07:00 GMT
Last edited by Morten Linderud (Foxboron) - Friday, 09 July 2021, 12:48 GMT
|
Details
Description: Unable to check a PR with `gh pr checkout
<num>`
error log: ``` gh pr checkout 1 panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x55c39fe2c164] goroutine 1 [running]: github.com/cli/cli/pkg/cmd/pr/checkout.checkoutRun(0xc0002e8ff0, 0xc000800d80, 0x0) github.com/cli/cli/pkg/cmd/pr/checkout/checkout.go:100 +0xac4 github.com/cli/cli/pkg/cmd/pr/checkout.NewCmdCheckout.func1(0xc0000bdb80, 0xc000425a40, 0x1, 0x1, 0x0, 0x0) github.com/cli/cli/pkg/cmd/pr/checkout/checkout.go:61 +0x166 github.com/spf13/cobra.(*Command).execute(0xc0000bdb80, 0xc000425a20, 0x1, 0x1, 0xc0000bdb80, 0xc000425a20) github.com/spf13/cobra@v1.1.3/command.go:852 +0x472 github.com/spf13/cobra.(*Command).ExecuteC(0xc0005bb180, 0xc000425610, 0x55c39fef2501, 0xd) github.com/spf13/cobra@v1.1.3/command.go:960 +0x375 main.mainRun(0xc00002e118) github.com/cli/cli/cmd/gh/main.go:166 +0x676 main.main() github.com/cli/cli/cmd/gh/main.go:46 +0x25 ``` Additional info: * gh:1.10.3 * last working version:1.9.2 |
This task depends upon