Hi,
I've successfully built both lua-5.1.1 & luasocket-2.0.1 from the
latest available sources, but when I try to test it (by running
testsrvr.lua and testclnt.lua) I get memory corruption somewhere in lua
interpreter running testclnt.lua (heap consistency check fails)
Stack trace attached.
Any suggestions or ideas?
--
e.v.e
ntdll.dll!7c90eb94()
[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]
ntdll.dll!7c90e9ab()
kernel32.dll!7c8633d5()
kernel32.dll!7c86320f()
kernel32.dll!7c8632cd()
ntdll.dll!7c928734()
ntdll.dll!7c93040c()
ntdll.dll!7c960af8()
ntdll.dll!7c960bf0()
ntdll.dll!7c960bcc()
ntdll.dll!7c91056d()
msvcr80d.dll!_free_base(void * pBlock=0x10203ca4) Line 109 + 0x13 bytes C
msvcr80d.dll!_free_dbg_nolock(void * pUserData=0x00000004, int nBlockUse=270599789) Line 1329 + 0x9 bytes C++
msvcr80d.dll!_free_dbg(void * pUserData=0x00465ff0, int nBlockUse=1) Line 1199 + 0x7 bytes C++
msvcr80d.dll!free(void * pUserData=0x00465ff0) Line 1152 + 0xb bytes C++
msvcr80d.dll!free(void * pUserData=0x0012d914) Line 1152 + 0xb bytes C++
0012d618()
kernel32.dll!7c8399f3()
msvcr80d.dll!_XcptFilter(unsigned long xcptnum=2147483651, _EXCEPTION_POINTERS * pxcptinfoptrs=0x0012d984) Line 237 + 0xa bytes C
lua.exe!__tmainCRTStartup() Line 603 + 0x17 bytes C
msvcr80d.dll!@_EH4_CallFilterFunc@8() + 0x12 bytes Asm
msvcr80d.dll!_except_handler4_common(unsigned int * CookiePointer=0x00459004, void (unsigned int)* CookieCheckFunction=0x0041c091, _EXCEPTION_RECORD * ExceptionRecord=0x0012da98, _EXCEPTION_REGISTRATION_RECORD * EstablisherFrame=0x0012ffa8, _CONTEXT * ContextRecord=0x0012dab8, void * DispatcherContext=0x0012da6c) + 0xba bytes C
lua.exe!_except_handler4(_EXCEPTION_RECORD * ExceptionRecord=0x0012da98, _EXCEPTION_REGISTRATION_RECORD * EstablisherFrame=0x0012ffa8, _CONTEXT * ContextRecord=0x0012dab8, void * DispatcherContext=0x0012da6c) + 0x22 bytes C
ntdll.dll!7c9037bf()
ntdll.dll!7c90378b()
ntdll.dll!7c937860()
ntdll.dll!7c90eafa()
ntdll.dll!7c90e027()
msvcr80d.dll!_free_dbg(void * pUserData=0x10049b48, int nBlockUse=1) Line 1194 + 0xd bytes C++
msvcr80d.dll!free(void * pUserData=0x10049b48) Line 1152 + 0xb bytes C++
lua.exe!l_alloc(void * ud=0x00000000, void * ptr=0x10049b48, unsigned int osize=32, unsigned int nsize=0) Line 632 + 0xc bytes C
lua.exe!luaM_realloc_(lua_State * L=0x00352730, void * block=0x10049b48, unsigned int osize=32, unsigned int nsize=0) Line 79 + 0x1d bytes C
> lua.exe!luaH_free(lua_State * L=0x00352730, Table * t=0x004814a0) Line 376 + 0x24 bytes C
lua.exe!freeobj(lua_State * L=0x00352730, GCObject * o=0x004814a0) Line 383 + 0xd bytes C
lua.exe!sweeplist(lua_State * L=0x00352730, GCObject * * p=0x00488f88, unsigned int count=34) Line 424 + 0xd bytes C
lua.exe!singlestep(lua_State * L=0x00352730) Line 583 + 0x12 bytes C
lua.exe!luaC_step(lua_State * L=0x00352730) Line 617 + 0x9 bytes C
lua.exe!luaD_call(lua_State * L=0x00352730, lua_TValue * func=0x0046e418, int nResults=1) Line 379 + 0x1d bytes C
lua.exe!lua_call(lua_State * L=0x00352730, int nargs=1, int nresults=1) Line 778 + 0x11 bytes C
lua.exe!luaB_print(lua_State * L=0x00352730) Line 39 + 0xd bytes C
lua.exe!luaD_precall(lua_State * L=0x00352730, lua_TValue * func=0x0046e3d8, int nresults=0) Line 319 + 0x16 bytes C
lua.exe!luaV_execute(lua_State * L=0x00352730, int nexeccalls=2) Line 587 + 0x14 bytes C
lua.exe!luaD_call(lua_State * L=0x00352730, lua_TValue * func=0x003541d8, int nResults=-1) Line 377 + 0xb bytes C
lua.exe!f_call(lua_State * L=0x00352730, void * ud=0x0012f490) Line 796 + 0x16 bytes C
lua.exe!luaD_rawrunprotected(lua_State * L=0x00352730, void (lua_State *, void *)* f=0x004223c0, void * ud=0x0012f490) Line 118 + 0x1f bytes C
lua.exe!luaD_pcall(lua_State * L=0x00352730, void (lua_State *, void *)* func=0x004223c0, void * u=0x0012f490, int old_top=64, int ef=48) Line 461 + 0x11 bytes C
lua.exe!lua_pcall(lua_State * L=0x00352730, int nargs=0, int nresults=-1, int errfunc=2) Line 817 + 0x20 bytes C
lua.exe!docall(lua_State * L=0x00352730, int narg=0, int clear=0) Line 100 + 0x1e bytes C
lua.exe!handle_script(lua_State * L=0x00352730, char * * argv=0x003526d0, int n=1) Line 248 + 0xf bytes C
lua.exe!pmain(lua_State * L=0x00352730) Line 360 + 0x11 bytes C
lua.exe!luaD_precall(lua_State * L=0x00352730, lua_TValue * func=0x003541a8, int nresults=0) Line 319 + 0x16 bytes C
lua.exe!luaD_call(lua_State * L=0x00352730, lua_TValue * func=0x003541a8, int nResults=0) Line 376 + 0x11 bytes C
lua.exe!f_Ccall(lua_State * L=0x00352730, void * ud=0x0012fe4c) Line 842 + 0x15 bytes C
lua.exe!luaD_rawrunprotected(lua_State * L=0x00352730, void (lua_State *, void *)* f=0x004224f0, void * ud=0x0012fe4c) Line 118 + 0x1f bytes C
lua.exe!luaD_pcall(lua_State * L=0x00352730, void (lua_State *, void *)* func=0x004224f0, void * u=0x0012fe4c, int old_top=16, int ef=0) Line 461 + 0x11 bytes C
lua.exe!lua_cpcall(lua_State * L=0x00352730, int (lua_State *)* func=0x0041d430, void * ud=0x0012ff4c) Line 852 + 0x21 bytes C
lua.exe!main(int argc=2, char * * argv=0x003526d0) Line 385 + 0x12 bytes C
lua.exe!__tmainCRTStartup() Line 586 + 0x19 bytes C
lua.exe!mainCRTStartup() Line 403 C
kernel32.dll!7c816d4f()
kernel32.dll!7c8399f3()