lua-users home
lua-l archive

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


Hehe thats what i figured out right now :D
yeah nice debugging session..
Lanes are up and running. Thanks a lot for taking your time.

Ulrich

Am 06.11.2013 15:18, schrieb Benoit Germain:
CONFIG_REGKEY is NULL (hence the crash) despite the fact it is initialized at tools.c line 63. Change tools.h as follows:

extern char const* const CONFIG_REGKEY;
extern char const* const LOOKUP_REGKEY;

(added 'extern' to the variable declarations at the end of the file).


2013/11/6 Ulrich Schmidt <u.sch.zw@gmx.de <mailto:u.sch.zw@gmx.de>>

    Ok i am debugging...
    in function
            int LANES_API luaopen_lanes_core( lua_State* L)
    the line
            lua_getfield( L, LUA_REGISTRYINDEX, CONFIG_REGKEY); // M
    LG_configure() settings
    crahes.

    Just to let you know. I will continue bug hunting .... :)

    Ulrich.





--
Benoit.