You must post issues only here. Questions, ideas must be posted in discussions.
Please answer the following before submitting your issue:
- What version of GopherLua are you using? : ccacf66
- What version of Go are you using? : go version go1.24.0 windows/amd64
- What operating system and processor architecture are you using? : Windows 11
- What did you do? : Made a Go function panic during coroutine execution
- What did you expect to see? : Stack trace
- What did you see instead? :
runtime error: invalid memory address or nil pointer dereference
Even when Options.IncludeGoStackTrace is true, panic during coroutine execution does not return stack trace information with error value.
Looked around the source code, looks like unlike other methods, func threadRun(L *LState) does not check options and just passes error back.
You must post issues only here. Questions, ideas must be posted in discussions.
Please answer the following before submitting your issue:
runtime error: invalid memory address or nil pointer dereferenceEven when
Options.IncludeGoStackTraceis true, panic during coroutine execution does not return stack trace information with error value.Looked around the source code, looks like unlike other methods, func threadRun(L *LState) does not check options and just passes error back.