Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash when yylex #659

Open
minguofeng opened this issue Jun 27, 2024 · 1 comment
Open

crash when yylex #659

minguofeng opened this issue Jun 27, 2024 · 1 comment

Comments

@minguofeng
Copy link

in parser.tab.cpp file ,when this line is called, there is a crash
yyla.kind_ = yytranslate_ (yylex (&yyla.value, &yyla.location));
Thread 1 "test_parser_mai" received signal SIGILL, Illegal instruction.
0x000000fff5cdd548 in vtable for __cxxabiv1::__si_class_type_info () from /lib64/libstdc++.so.6
(gdb) bt
#0 0x000000fff5cdd548 in vtable for __cxxabiv1::__si_class_type_info () from /lib64/libstdc++.so.6

flex version is 2.6.4

@Mightyjo
Copy link
Contributor

Can you provide more context, please? A link to the source file and description of the input causing the crash would be very helpful.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants