[tex-live] Advice on debugging segfault in luatex (2017 source, gcc-7.1) ?

Ken Moffat zarniwhoop at ntlworld.com
Fri Jun 2 20:59:21 CEST 2017


On Thu, Jun 01, 2017 at 12:43:23PM +0200, Dr. Werner Fink wrote:
> On Mon, May 22, 2017 at 01:37:39AM +0100, Ken Moffat wrote:
> > 
> > With source from r44437 I'm getting one test failure in 'make check':
> > FAIL: luatexdir/luaimage.test
> > 
> > And when I look in my build dir (texlive-build/ since there is
> > already a Build/) at texk/web2c/test-suite.log I see bad news:
> > 
> > line 12:   5909 Segmentation fault   ./luatex -ini luaimage
> > 
> 
> I'm using a simple patch to avoid this crash.  The problem is that
> gcc-7.1 *does* align if specified but lua52 lua_touserdata() does
> not return an aligned type at all.
> 

Thanks for the patch and the explanation, it works nicely for me.

ĸen
-- 
I live in a city. I know sparrows from starlings.  After that
everything is a duck as far as I'm concerned.  -- Monstrous Regiment


More information about the tex-live mailing list