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

Occassional segfault with v0.24.0 #25

Closed
thenonameguy opened this issue Nov 6, 2022 · 2 comments
Closed

Occassional segfault with v0.24.0 #25

thenonameguy opened this issue Nov 6, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@thenonameguy
Copy link
Sponsor Contributor

Example stacktrace.

zerolog: could not write event: write /tmp/process-compose-kszabo.log: file already closed
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xa9f67c]

goroutine 1 [running]:
github.com/f1bonacc1/process-compose/src/tui.(*pcView).handleShutDown(0x0)
	github.com/f1bonacc1/process-compose/src/tui/view.go:132 +0x9c
github.com/f1bonacc1/process-compose/src/tui.Stop(...)
	github.com/f1bonacc1/process-compose/src/tui/view.go:389
github.com/f1bonacc1/process-compose/src/cmd.runTui(0xc00042bf40)
	github.com/f1bonacc1/process-compose/src/cmd/root.go:119 +0xda
github.com/f1bonacc1/process-compose/src/cmd.glob..func3(0x1a1c520?, {0xbea3a3?, 0x2?, 0x2?})
	github.com/f1bonacc1/process-compose/src/cmd/root.go:72 +0x387
github.com/spf13/cobra.(*Command).execute(0x1a1c520, {0xc000032190, 0x2, 0x2})
	github.com/spf13/cobra@v1.6.0/command.go:920 +0x847
github.com/spf13/cobra.(*Command).ExecuteC(0x1a1c520)
	github.com/spf13/cobra@v1.6.0/command.go:1040 +0x3b4
github.com/spf13/cobra.(*Command).Execute(...)
	github.com/spf13/cobra@v1.6.0/command.go:968
github.com/f1bonacc1/process-compose/src/cmd.Execute({0xd13d28?, 0xc0000101a8?})
	github.com/f1bonacc1/process-compose/src/cmd/root.go:87 +0x4a
main.main()
	github.com/f1bonacc1/process-compose/src/main.go:37 +0x98

@F1bonacc1 F1bonacc1 added the bug Something isn't working label Nov 6, 2022
@F1bonacc1
Copy link
Owner

@thenonameguy sorry for that.
Fixed in v0.24.1

@thenonameguy
Copy link
Sponsor Contributor Author

Resolved as far as I can tell, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants