[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Segmentation fault in changedline
- From: "Joseph C. Sible" <josephcsible@...>
- Date: Tue, 14 Jul 2020 15:24:02 -0400
On Tue, Jul 14, 2020 at 3:08 PM Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
>
> > We found a segmentation fault in changedline, called by luaG_traceexec.
> >
> > [...]
> >
> > Version:
> >
> > Lua 5.4.0, git hash 31b8c2d4380a762d1ed6a7faee74a1d107f86014
> >
> > Tested on default build of lua on Ubuntu 18. If we build with asan, the
> > error is gone.
>
> This one is hard to debug. If we build with asan the error is gone. If
> we run it under valgrind the error is gone. If we run it inside gdb,
> the error is gone :-(
>
>
> -- Roberto
I found a way to reproduce this inside of GDB: do "set
disable-randomization off" at the GDB prompt before you start Lua.
Joseph C. Sible