SEGV
dtp555-1212 opened this issue · comments
dtp555-1212 commented
re2c 3.0 crashes when trying to process the attached file
crash.zip
Ulya Trofimovich commented
It looks like a stackoverflow to me. A number of those have been fixed recently, and I can reproduce segfault on re2c-3.0 but not on the one built from git. Can you check with the most recent re2c built from git?
dtp555-1212 commented
Yes... Building from the repo has the same failure (actually I used the zip file from git) so I don't know if that is the 'latest' or just a bundled 3.0
Ulya Trofimovich commented
This is how I tried to reproduce:
$ git clone https://github.com/skvadrik/re2c
$ cd re2c
$ autoreconf -W all -i
$ build/__build.sh
$ cd __build
$ wget https://github.com/skvadrik/re2c/files/10467779/crash.zip
$ unzip crash.zip
$ ./re2c c.re
There is no segfault, output is generated as expected.
dtp555-1212 commented
Thanks... that worked!