lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi Sebastian,

On Sun, Sep 11, 2016 at 12:22 PM, Sebastian Cato <seb.cato@gmail.com> wrote:
> Since the problem only occurs intermittently, I run markdown_test.lua as such:
> #!/usr/bin/bash -e
> while true; do
>   ./markdown_test.lua
> done
>
> Looking at the core dump, I see:
>
> #0  0x00007f3fb7060889 in hascaptures (tree=0x0) at lpcode.c:131
> #1  0x00007f3fb706092c in hascaptures (tree=0x56012245c45c) at lpcode.c:144
> #2  0x00007f3fb706092c in hascaptures (tree=0x56012245c454) at lpcode.c:144
> #3  0x00007f3fb706092c in hascaptures (tree=0x56012245c1dc) at lpcode.c:144
> #4  0x00007f3fb706092c in hascaptures (tree=0x56012245c46c) at lpcode.c:144
> [...]

We saw the same problem with Nmap in a PR merging LPeg v1.0.0:
https://github.com/nmap/nmap/pull/478

I hadn't had time to find a trivial test case so thank you Sebastian
for doing that. Hopefully Roberto sees an easy way to fix it :)

-- 
Patrick Donnelly