flex icon indicating copy to clipboard operation
flex copied to clipboard

crash when yylex

Open minguofeng opened this issue 1 year ago • 1 comments

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

minguofeng avatar Jun 27 '24 08:06 minguofeng

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!

Mightyjo avatar Jun 27 '24 12:06 Mightyjo