[Top][All Lists]

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

Re: [Enigma-devel] Lua 5.1 "luaL_error" problems on Windows

From: Ronald Lamprecht
Subject: Re: [Enigma-devel] Lua 5.1 "luaL_error" problems on Windows
Date: Thu, 29 Jun 2006 23:06:42 +0200
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)


Ronald Lamprecht wrote:
Meanwhile I succeeded in running Enigma on Windows under the control of
gdb (still just with the commandline interface).

I had a look in gdb on the "enigma.GetKind(nil)" case - it just causes a segmentation fault at the same line 166 in lobject.c.

In both cases immediatly before a luaM_realloc_ occured on L. That may be the common internal reason.

Now I checked the the "enigma.SetItem(7,9, nil)" that reports errors correctly:

Gdb steps exactly in the same manner until line 166 in lobject.c but one further step results in a "continue" - the app displays the errormessage at once and gdb looses control over the app! After pressing ESC you can move the mouse and highlight the previews in the levelmenu. But when you start a level gdb stops the app at the moment luacode is entered again. What the hell is lua doing?

- Ronald

reply via email to

[Prev in Thread] Current Thread [Next in Thread]