Re: Luajit crashes when I call lua_error (C++ MSVC x64)

  • From: Mark Tolley <marktolley7@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Mon, 23 Jul 2012 00:04:15 +0100

On 22/07/2012 23:18, Geoff Leyland wrote:
On 23/07/2012, at 9:33 AM, Mark Tolley wrote:

Ok, here's the complete code:
The equivalent works for me on OS X, so I'm afraid I can't help much.  Are you 
sure that it's the lua_error line that's the problem?  Have you checked that 
luaL_newstate is not returning null?


Thanks for taking a look, yes I've checked the return value from luaL_newstate.

I've started from an empty project and it's still crashing in both Debug and Release modes. It might be an problem specific to VS2012.

Other related posts: