lunarmodules / luassert

Assertion library for Lua
MIT License
202 stars 76 forks source link

fix LuaJIT ffi module being GC'd causing segfaults #150

Closed Tieske closed 7 years ago

Tieske commented 7 years ago

This will fix the TravisCI failures due to LuaJIT segfaults (see the red failing batch on the main page)

Tieske commented 7 years ago

I created this fix here, but you might want to include the helper.lua code by default in busted as it is a generic problem, not just luassert related.

For now just merge it here, as the new busted release will probably take longer.

Tieske commented 7 years ago

just noted that the description of this PR doesn't mention what it does, so updated it above (fixes Travis CI failures)

@DorianGray anything I can do to get this merged and get a release?

DorianGray commented 7 years ago

Yeah, at the latest wednesday.