Re: [go-nuts] delve crashes in presence of a circular reference variable

2023-06-23 Thread Jan Mercl
On Fri, Jun 23, 2023 at 10:38 AM christoph...@gmail.com wrote: > > Here is the minimal example code causing delve 1.20.2 to crash with a stack > overflow > > func TestExample(t *testing.T) { > type pptr *pptr > var p pptr > p = &p > t.Error("hello") > } > > Here is the stack trac

[go-nuts] delve crashes in presence of a circular reference variable

2023-06-23 Thread christoph...@gmail.com
Here is the minimal example code causing delve 1.20.2 to crash with a stack overflow func TestExample(t *testing.T) { type pptr *pptr var p pptr p = &p t.Error("hello") } Here is the stack trace goroutine 6 [running]: runtime.deductAssistCredit(0x108?) /usr/local/go/src/runtime