lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi again. I'm having issues closing my server program. It's causing a segfault in the GC with the following backtrace:

#0  0x66dcaee1 in lj_alloc_free (msp=0x2b0008, ptr=<optimized out>) at lj_alloc.c:1268
#1  0x66d8966d in lj_mem_free (osize=24, p=0x2d2fe0, g=0x2b01f0) at lj_gc.h:119
#2  @lj_func_freeuv@8 (g=0x2b01f0, uv=0x2d2fe0) at lj_func.c:102
#3  0x66d849db in gc_sweep (g=0x2b01f0, p=0x2b0214, lim=<optimized out>) at lj_gc.c:404
#4  0x66d8596c in lj_gc_freeall (g=0x2b01f0) at lj_gc.c:558
#5  0x66d8c4dd in close_state (L=0x2b01c0) at lj_state.c:159
#6  0x00403137 in ?? ()
#7  0x004010b9 in ?? ()
#8  0x00401284 in ?? ()
#9  0x76d6337a in KERNEL32!BaseCleanupAppcompatCacheSupport () from C:\windows\syswow64\kernel32.dll
#10 0x0028ffd4 in ?? ()
#11 0x77c29ef2 in ntdll!RtlpNtSetValueKey () from C:\windows\system32\ntdll.dll
#12 0x7efde000 in ?? ()
#13 0x77c29ec5 in ntdll!RtlpNtSetValueKey () from C:\windows\system32\ntdll.dll
#14 0x0040126c in ?? ()
#15 0x00000000 in ?? ()

Win7 x64 (but compiled with -m32), compiled with asserts, debug info, and gdb jit stuff.

First, is this something I did, or a bug in the VM? Second, if the former, what did I do wrong, and/or how can I track the issue down?