Re: [wxlua-users] Using wxLua with Lua 5.0.2

2013-08-10 Thread Andreas Falkenhahn
Hi John, On 10.08.2013 at 05:22 John Labenski wrote: > Hi Andreas, > I didn't realize you had made a separate thread. Please describe > how you are building wxLua, settings, with what compiler and version, os, > etc... It's all in this archive: http://www.falkenhahn.com/tmp/wxLua.zip I have

Re: [wxlua-users] Using wxLua with Lua 5.0.2

2013-08-09 Thread John Labenski
On Fri, Aug 9, 2013 at 4:08 PM, Paul K wrote: > Hi Andreas, > > > But of course that's not really a solution for me because the crash > > in lua_close() tells me that there is something going wrong... it doesn't > > happen with the official builds of wxLua for Windows. This is why I'm > even > >

Re: [wxlua-users] Using wxLua with Lua 5.0.2

2013-08-09 Thread Paul K
Hi Andreas, > But of course that's not really a solution for me because the crash > in lua_close() tells me that there is something going wrong... it doesn't > happen with the official builds of wxLua for Windows. This is why I'm even > more curious what could be the cause for this crash... any ot

Re: [wxlua-users] Using wxLua with Lua 5.0.2

2013-08-09 Thread Andreas Falkenhahn
Hi Paul, On 09.08.2013 at 18:55 Paul K wrote: > Hi Andreas, > I remember seeing similar crashes (I'm using with Lua 5.1 with > wxwidgets 2.9.5 and wxlua trunk from April or so). Not a solution, but > maybe a workaround for you: before exiting your application call > os.exit(). True, inserting t

Re: [wxlua-users] Using wxLua with Lua 5.0.2

2013-08-09 Thread Paul K
Hi Andreas, I remember seeing similar crashes (I'm using with Lua 5.1 with wxwidgets 2.9.5 and wxlua trunk from April or so). Not a solution, but maybe a workaround for you: before exiting your application call os.exit(). Paul. On Fri, Aug 9, 2013 at 8:36 AM, Andreas Falkenhahn wrote: > Hmm, I

Re: [wxlua-users] Using wxLua with Lua 5.0.2

2013-08-09 Thread Andreas Falkenhahn
Here are the binary, source code and makefile for you to have a look at: http://www.falkenhahn.com/tmp/wxLua.zip It uses unmodified versions of Lua 5.1, wxLua 2.8.10.0 and wxWidgets 2.8.12.2 but still it crashes on exit. The scripts themselves run fine. If you try: win32/wxlua.exe veryminimal.w

Re: [wxlua-users] Using wxLua with Lua 5.0.2

2013-08-09 Thread Andreas Falkenhahn
Hmm, I tried it now using Lua 5.1 and it crashes as well could it be that I'm using a unstable version of wxLua here? I just checked out a tarball from the SVN because the link to the source code of 2.8.10 doesn't work anymore. http://downloads.sourceforge.net/wxlua/2.8.10.0/wxLua-2.8.10-src

[wxlua-users] Using wxLua with Lua 5.0.2

2013-08-09 Thread Andreas Falkenhahn
Hi, I need to get wxLua running with Lua 5.0.2. I think I made all the necessary changes and I have it basically working now but at the end when lua_close() is called on the lua_State it always crashes. Digging deeper into the issue, I found out that the destructor functions invoked by the garbag