don't try to use fancy stack frame printer during GC
as it'll likely end up wanting to GC itself, and nested GC isn't allowed
This commit is contained in:
parent
2160f4001d
commit
e8f5595536
2
src/vm.c
2
src/vm.c
@ -1381,7 +1381,7 @@ NOINLINE void vm_printPos(Comp* comp, i32 bcPos, i64 pos) {
|
|||||||
|
|
||||||
|
|
||||||
// want to try really hard to print errors
|
// want to try really hard to print errors
|
||||||
if (!cbqn_initialized) goto native_print;
|
if (!cbqn_initialized || gc_running) goto native_print;
|
||||||
#if FORCE_NATIVE_ERROR_PRINT
|
#if FORCE_NATIVE_ERROR_PRINT
|
||||||
goto native_print;
|
goto native_print;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user