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 other ideas?
I agree; I don't like that either, but couldn't track down the source of the issue. FWIW, the veryminimal sample doesn't crash for me using wx.dll I compiled using this batch script (https://github.com/pkulchenko/ZeroBraneStudio/blob/master/build/build-win32.sh); I actually have binaries for all the platforms and they handle samples without issues (https://github.com/pkulchenko/ZeroBraneStudio/tree/master/bin). I use mingw though vs. your VS. This is compiled using wxlua and wxwidgets versions as of April with a couple of tweaks to wxlua that I documented in the build script. It does still crash though in some other cases, so I do have os.exit in my application as well. Paul. On Fri, Aug 9, 2013 at 11:48 AM, Andreas Falkenhahn <andr...@falkenhahn.com> wrote: > 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 the following code in veryminimal.wx.lua makes the crash > go away: > > frame:Connect(wx.wxEVT_CLOSE_WINDOW, function(event) os.exit() end) > > 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 other ideas? > > Thanks > > -- > Best regards, > Andreas Falkenhahn mailto:andr...@falkenhahn.com > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > wxlua-users mailing list > wxlua-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wxlua-users ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users