Closed arrow2nd closed 1 year ago
v2.2.0
:h
panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x13d627c] goroutine 1 [running]: github.com/rivo/tview.(*Application).Run.func1() /home/runner/go/pkg/mod/github.com/rivo/tview@v0.0.0-20230104153304-892d1a2eb0da/application.go:244 +0x4d panic({0x14847c0, 0x18c5cd0}) /opt/hostedtoolcache/go/1.19.5/x64/src/runtime/panic.go:884 +0x212 github.com/rivo/tview.(*List).InsertItem(0x0, 0xffffffffffffffff, {0x14f65c9, 0x4}, {0x0, 0x0}, 0x0, 0x0) /home/runner/go/pkg/mod/github.com/rivo/tview@v0.0.0-20230104153304-892d1a2eb0da/list.go:357 +0xfc github.com/rivo/tview.(*List).AddItem(...) /home/runner/go/pkg/mod/github.com/rivo/tview@v0.0.0-20230104153304-892d1a2eb0da/list.go:321 github.com/rivo/tview.(*InputField).Autocomplete(0xc000210b40) /home/runner/go/pkg/mod/github.com/rivo/tview@v0.0.0-20230104153304-892d1a2eb0da/inputfield.go:355 +0x53c github.com/rivo/tview.(*InputField).InputHandler.func1.1() /home/runner/go/pkg/mod/github.com/rivo/tview@v0.0.0-20230104153304-892d1a2eb0da/inputfield.go:559 +0x48 github.com/rivo/tview.(*InputField).InputHandler.func1(0xc0000da020, 0x13d2c7f?) /home/runner/go/pkg/mod/github.com/rivo/tview@v0.0.0-20230104153304-892d1a2eb0da/inputfield.go:730 +0xacd github.com/rivo/tview.(*Box).WrapInputHandler.func1(0xc000210b40?, 0x10?) /home/runner/go/pkg/mod/github.com/rivo/tview@v0.0.0-20230104153304-892d1a2eb0da/box.go:167 +0x53 github.com/rivo/tview.(*Grid).InputHandler.func1(0xc0000da020, 0x10?) /home/runner/go/pkg/mod/github.com/rivo/tview@v0.0.0-20230104153304-892d1a2eb0da/grid.go:275 +0x1aa github.com/rivo/tview.(*Box).WrapInputHandler.func1(0xc00037b320?, 0xc00028fe38?) /home/runner/go/pkg/mod/github.com/rivo/tview@v0.0.0-20230104153304-892d1a2eb0da/box.go:167 +0x53 github.com/rivo/tview.(*Application).Run(0xc000176000) /home/runner/go/pkg/mod/github.com/rivo/tview@v0.0.0-20230104153304-892d1a2eb0da/application.go:336 +0x77d github.com/arrow2nd/nekome/v2/app.(*App).Run(0xc0000a5560) /home/runner/work/nekome/nekome/app/app.go:311 +0xc6 main.main() /home/runner/work/nekome/nekome/main.go:15 +0x47
v2.2.0
で tview のバージョンを上げたあたりからたまに起きる:h
-> Enter -> Enter が一番再現率高そうLog