Preprocessor bug
When trying to include /usr/include/math.h the preprocessor segfaults in the Arena::alloc<T, Args>(Args&&...) function, which is called from Lexer::preprocess(const Token&, LexerTokenStack&).
I suspect this happens from a stack overflow, as valgrind said this might be a stack issue, then raising the stack limit still caused the stack limit to be reached even on 128MB of limit, which is abnormal and should not happen, and this must work on the usual stack limits as well.
Platform
This happened on x86-64 Arch Linux with glibc headers.
Preprocessor bug
When trying to include
/usr/include/math.hthe preprocessor segfaults in theArena::alloc<T, Args>(Args&&...)function, which is called fromLexer::preprocess(const Token&, LexerTokenStack&).I suspect this happens from a stack overflow, as valgrind said this might be a stack issue, then raising the stack limit still caused the stack limit to be reached even on 128MB of limit, which is abnormal and should not happen, and this must work on the usual stack limits as well.
Platform
This happened on x86-64 Arch Linux with glibc headers.