Skip to content
This repository has been archived by the owner on Feb 11, 2025. It is now read-only.

Lua repls occasionally fail with this error when running with the Run button #91

Open
rfl890 opened this issue May 3, 2022 · 0 comments

Comments

@rfl890
Copy link

rfl890 commented May 3, 2022

Occasionally, when I run a Lua repl, I get this error. It goes away after I press Run again a few times.

fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x203000 pc=0x7f519aa055d1]

runtime stack:
runtime.throw({0x4e5fb3, 0x1504c00})
    runtime/panic.go:1198 +0x71
runtime.sigpanic()
    runtime/signal_unix.go:719 +0x396

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x4b8c60, 0xc000067da0)
    runtime/cgocall.go:156 +0x5c fp=0xc000067d78 sp=0xc000067d40 pc=0x40653c
main._Cfunc_pry_eval_file(0x1506b20)
    _cgo_gotypes.go:183 +0x48 fp=0xc000067da0 sp=0xc000067d78 pc=0x4b7da8
main.Lua.EvalFile({}, {0x7ffc64e76f7c, 0x4ccea0}, {0x4d4120, 0x492301, 0x5d0690})
    github.com/replit/prybar/languages/lua/main.go:56 +0x5e fp=0xc000067de0 sp=0xc000067da0 pc=0x4b84be
main.(*Lua).EvalFile(0x5d0690, {0x7ffc64e76f7c, 0x5d0690}, {0xc000012230, 0x0, 0xc000094c30})
    <autogenerated>:1 +0x45 fp=0xc000067e18 sp=0xc000067de0 pc=0x4b8905
github.com/replit/prybar/utils.Language.EvalFile({{0x504410, 0x5d0690}, {0x7ffc64e76f66, 0xc00006a100}}, {0x7ffc64e76f7c, 0x8}, {0xc000012230, 0x0, 0x0})
    github.com/replit/prybar/utils/language.go:86 +0xa2 fp=0xc000067e78 sp=0xc000067e18 pc=0x4b6d62
github.com/replit/prybar/utils.DoCli({0x504410, 0x5d0690})
    github.com/replit/prybar/utils/utils.go:67 +0x2e8 fp=0xc000067f60 sp=0xc000067e78 pc=0x4b7608
main.main()
    github.com/replit/prybar/languages/lua/generated_launch.go:7 +0x27 fp=0xc000067f80 sp=0xc000067f60 pc=0x4b7827
runtime.main()
    runtime/proc.go:255 +0x227 fp=0xc000067fe0 sp=0xc000067f80 pc=0x436d87
runtime.goexit()
    runtime/asm_amd64.s:1581 +0x1 fp=0xc000067fe8 sp=0xc000067fe0 pc=0x462e61
repl process died unexpectedly: exit status 2

I only get this with Lua repls, not other languages.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant