lua-users home
lua-l archive

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


Antero,

Which version are you using ? What are the arguments given to
luaS_newlstr() ? Is there a way to reproduce that ? Try providing the
output of 'display/i $pc' as well as the disassemble of function
luaS_newlstr(). In order to take more information out of gdb, try
re-compiling your program with the -g and -ggdb flags. That should help.

-p.

On Fri, Jan 23, 2004 at 10:40:14AM +0600, Antero Vipunen wrote:
> Hello All,
> 
>  Have a strange problem with lua.
>  Here is bt
> 
> #0  0x82078bb in luaS_newlstr ()
> #1  0x82087ef in LoadString ()
> #2  0x8208a4b in LoadConstants ()
> #3  0x8208b70 in LoadFunction ()
> #4  0x8208df2 in LoadChunk ()
> #5  0x8208e42 in luaU_undump ()
> #6  0x82032aa in f_parser ()
> #7  0x82026af in luaD_rawrunprotected ()
> #8  0x8203348 in luaD_protectedparser ()
> #9  0x82013bf in lua_load ()
> #10 0x81b38ac in PrepareScriptStartup (pOwner=0x849cb50, pInfo=0xbfbff2c0, pList=0x937b1e0,
>     TrgName=0x8580140 "Zone234::River::MovingStones", iType=2) at lua_scripts.c:1410
> #11 0x81b4081 in ScriptDriver (pOwner=0x849cb50, pTrig=0x8580100, pVARList=0x0, iType=2) at lua_scripts.c:1590
> #12 0x81e6c71 in random_wtrigger (room=0x849cb50) at dg_triggers_c.c:1406
> #13 0x81d61a0 in script_trigger_check () at dg_scripts.c:623
> #14 0x8106b09 in heartbeat (heart_pulse=30290) at comm.c:1010
> #15 0x81069a0 in game_loop (mother_desc=3) at comm.c:962
> #16 0x810561d in init_game (port=4000) at comm.c:509
> #17 0x81054a2 in main (argc=3, argv=0xbfbffc5c) at comm.c:437
> 
> Suggestions?
> 
> -- 
> Best regards,
>   Antero Vipunen