Skip to content

Pulling from a branch on Apple silicon causes a SIGSEV #174

@rjimenezda

Description

@rjimenezda

This command is failing on phrase 2.50.0, but works on Phrase 2.5.3

phrase pull --branch branchName
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x48 pc=0x1052305dc]

goroutine 1 [running]:
github.com/phrase/phrase-cli/cmd/internal.(*PullCommand).Run(0x14000035ba0, 0x10532e3b7?)
	/go/src/github.com/phrase/phrase-cli/cmd/internal/pull.go:68 +0x1dc
github.com/phrase/phrase-cli/cmd.initPull.func1(0x14000385600?, {0x10532dc8c?, 0x4?, 0x10532dc1c?})
	/go/src/github.com/phrase/phrase-cli/cmd/pull.go:25 +0xb0
github.com/spf13/cobra.(*Command).execute(0x140003a4f08, {0x14000394620, 0x2, 0x2})
	/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:989 +0x83c
github.com/spf13/cobra.(*Command).ExecuteC(0x1058f13e0)
	/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1117 +0x378
github.com/spf13/cobra.(*Command).Execute(...)
	/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1041
github.com/phrase/phrase-cli/cmd.Execute()
	/go/src/github.com/phrase/phrase-cli/cmd/root.go:70 +0x24
main.main()
	/go/src/github.com/phrase/phrase-cli/main.go:8 +0x1c

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions