Crash in const TObject *luaH_getstr (Table *t, TString *key)

Crash in const TObject *luaH_getstr (Table *t, TString *key)

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Crash in const TObject *luaH_getstr (Table *t, TString *key)

Post by submarine »

I caught the following crash with vs.net debugger when running some aai test games. i'm not sure if it may be caused by my ai, but i guess it's rather an engine issue

ltable.c
-> if (ttisstring(gkey(n)) && tsvalue(gkey(n)) == key)


Here's the callstack:

spring.exe!_luaH_getstr() Line 459 C
spring.exe!_luaV_execute() Line 477 C
spring.exe!_luaD_call() Line 313 + 0x6 C
spring.exe!_lua_call() Line 672 + 0x15 C
spring.exe!_luaD_rawrunprotected() Line 89 C
spring.exe!_luaD_pcall() Line 416 + 0x1b C
spring.exe!_lua_pcall() Line 685 + 0x19 C
spring.exe!CLuaUI::AddConsoleLine() Line 1511 + 0xc C++
spring.exe!CInfoConsole::NotifyLogMsg() Line 140 + 0x24 C++
spring.exe!CLogOutput::Output() Line 53 + 0x8 C++
spring.exe!__resetstkoflw() + 0x171c3 C++
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

http://spring.clan-sy.com/phpbb/viewtopic.php?t=9190
(starting point, don't know what version you are running)
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Post by submarine »

ah ok...

i just havent read that thread before posting...
Post Reply

Return to “Help & Bugs”