Skip to content

crash when yylex  #659

@minguofeng

Description

@minguofeng

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions