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

panic: runtime error: invalid memory address or nil pointer dereference #89

Open
Antidington opened this issue Nov 8, 2023 · 1 comment

Comments

@Antidington
Copy link

Antidington commented Nov 8, 2023

设备是macOS M1芯片,登录过程中报错:

cloudpan189-go > login [email protected] -password=xxxxxxxx
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x230 pc=0x101177c90]

goroutine 1 [running]:
github.com/tickstep/cloudpan189-go/internal/command.CmdLogin.func1(0x140001e0160)
	github.com/tickstep/cloudpan189-go/internal/command/login.go:61 +0x220
github.com/urfave/cli.HandleAction({0x101291160?, 0x10132bf28?}, 0x5?)
	github.com/urfave/[email protected]/app.go:523 +0x58
github.com/urfave/cli.Command.Run({{0x101188fa5, 0x5}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x10119647e, 0x18}, {0x0, ...}, ...}, ...)
	github.com/urfave/[email protected]/command.go:174 +0x554
github.com/urfave/cli.(*App).Run(0x14000206380, {0x1400032c040, 0x4, 0x4})
	github.com/urfave/[email protected]/app.go:276 +0x838
main.main.func1(0x140001e06e0)
	github.com/tickstep/cloudpan189-go/main.go:356 +0x654
github.com/urfave/cli.HandleAction({0x101288b60?, 0x1400039d730?}, 0x1400010a200?)
	github.com/urfave/[email protected]/app.go:525 +0x94
github.com/urfave/cli.(*App).Run(0x14000206380, {0x1400010a200, 0x1, 0x1})
	github.com/urfave/[email protected]/app.go:285 +0x5b0
main.main()
	github.com/tickstep/cloudpan189-go/main.go:547 +0x1558
@BugTan
Copy link

BugTan commented Nov 23, 2023

same issue

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

2 participants