error on launch #18

Closed
opened 2023-07-26 03:29:13 +00:00 by abs3nt · 0 comments
Owner
        panic: close of nil channel
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x5635fd4a8cac]

goroutine 1 [running]:
github.com/charmbracelet/bubbletea.(*standardRenderer).kill.func1()
        github.com/charmbracelet/bubbletea@v0.23.1/standard_renderer.go:107 +0x25
sync.(*Once).doSlow(0x5635fd7c01d8?, 0xc000014018?)
        sync/once.go:74 +0xc2
sync.(*Once).Do(...)
        sync/once.go:65
github.com/charmbracelet/bubbletea.(*standardRenderer).kill(0xc0000fd340)
        github.com/charmbracelet/bubbletea@v0.23.1/standard_renderer.go:106 +0x12b
github.com/charmbracelet/bubbletea.(*Program).shutdown(0xc0000fd290, 0x18?)
        github.com/charmbracelet/bubbletea@v0.23.1/tea.go:529 +0x33
github.com/charmbracelet/bubbletea.(*Program).Run.func1()
        github.com/charmbracelet/bubbletea@v0.23.1/tea.go:381 +0x49
panic({0x5635fd6f79c0, 0x5635fdcaf120})
        runtime/panic.go:890 +0x263
github.com/charmbracelet/bubbletea.(*Program).Run(0xc0000fd290)
        github.com/charmbracelet/bubbletea@v0.23.1/tea.go:412 +0x50c
github.com/charmbracelet/bubbletea.(*Program).Start(...)
        github.com/charmbracelet/bubbletea@v0.23.1/tea.go:488
git.asdf.cafe/abs3nt/gospt/src/tui.StartTea(0x0?, 0x0?, {0x5635fd4fdce3?, 0x0?})
        git.asdf.cafe/abs3nt/gospt/src/tui/tui.go:19 +0xca
git.asdf.cafe/abs3nt/gospt/cmd.glob..func23(0x5635fdcbf560?, {0x5635fd4fdc13?, 0x0?, 0x0?})
        git.asdf.cafe/abs3nt/gospt/cmd/tui.go:23 +0x10f
github.com/spf13/cobra.(*Command).execute(0x5635fdcbf560, {0x5635fdd5be08, 0x0, 0x0})
        github.com/spf13/cobra@v1.6.1/command.go:916 +0x862
github.com/spf13/cobra.(*Command).ExecuteC(0x5635fdcbde60)
        github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
        github.com/spf13/cobra@v1.6.1/command.go:968
git.asdf.cafe/abs3nt/gospt/cmd.Execute({0x5635fd4fd5b9?, 0x3?})
        git.asdf.cafe/abs3nt/gospt/cmd/root.go:42 +0x116
main.main()
        git.asdf.cafe/abs3nt/gospt/main.go:9 +0x25```
```panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: close of nil channel [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x5635fd4a8cac] goroutine 1 [running]: github.com/charmbracelet/bubbletea.(*standardRenderer).kill.func1() github.com/charmbracelet/bubbletea@v0.23.1/standard_renderer.go:107 +0x25 sync.(*Once).doSlow(0x5635fd7c01d8?, 0xc000014018?) sync/once.go:74 +0xc2 sync.(*Once).Do(...) sync/once.go:65 github.com/charmbracelet/bubbletea.(*standardRenderer).kill(0xc0000fd340) github.com/charmbracelet/bubbletea@v0.23.1/standard_renderer.go:106 +0x12b github.com/charmbracelet/bubbletea.(*Program).shutdown(0xc0000fd290, 0x18?) github.com/charmbracelet/bubbletea@v0.23.1/tea.go:529 +0x33 github.com/charmbracelet/bubbletea.(*Program).Run.func1() github.com/charmbracelet/bubbletea@v0.23.1/tea.go:381 +0x49 panic({0x5635fd6f79c0, 0x5635fdcaf120}) runtime/panic.go:890 +0x263 github.com/charmbracelet/bubbletea.(*Program).Run(0xc0000fd290) github.com/charmbracelet/bubbletea@v0.23.1/tea.go:412 +0x50c github.com/charmbracelet/bubbletea.(*Program).Start(...) github.com/charmbracelet/bubbletea@v0.23.1/tea.go:488 git.asdf.cafe/abs3nt/gospt/src/tui.StartTea(0x0?, 0x0?, {0x5635fd4fdce3?, 0x0?}) git.asdf.cafe/abs3nt/gospt/src/tui/tui.go:19 +0xca git.asdf.cafe/abs3nt/gospt/cmd.glob..func23(0x5635fdcbf560?, {0x5635fd4fdc13?, 0x0?, 0x0?}) git.asdf.cafe/abs3nt/gospt/cmd/tui.go:23 +0x10f github.com/spf13/cobra.(*Command).execute(0x5635fdcbf560, {0x5635fdd5be08, 0x0, 0x0}) github.com/spf13/cobra@v1.6.1/command.go:916 +0x862 github.com/spf13/cobra.(*Command).ExecuteC(0x5635fdcbde60) github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3bd github.com/spf13/cobra.(*Command).Execute(...) github.com/spf13/cobra@v1.6.1/command.go:968 git.asdf.cafe/abs3nt/gospt/cmd.Execute({0x5635fd4fd5b9?, 0x3?}) git.asdf.cafe/abs3nt/gospt/cmd/root.go:42 +0x116 main.main() git.asdf.cafe/abs3nt/gospt/main.go:9 +0x25```
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: abs3nt/gospt#18
No description provided.