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

Fuzzer: fatal flex scanner internal error--end of buffer missed #1532

Closed
veripoolbot opened this issue Sep 30, 2019 · 1 comment
Closed

Fuzzer: fatal flex scanner internal error--end of buffer missed #1532

veripoolbot opened this issue Sep 30, 2019 · 1 comment
Assignees
Labels
area: parser Issue involves SystemVerilog parsing resolution: fixed Closed; fixed

Comments

@veripoolbot
Copy link
Contributor


Author Name: Eric Rippey
Original Redmine Issue: 1532 from https://www.veripool.org

Original Assignee: Wilson Snyder (@wsnyder)


Running "verilator_bin --cc 5.v" produces:

%Error: 5.v:3: Unterminated string
%Error: 5.v:2: Unsupported or unknown PLI call: $lay
 initial $lay(*Hello!=nendmodule
          ^~~~
%Error: 5.v:2: EOF in (*
 initial $lay(*Hello!=nendmodule
              ^
fatal flex scanner internal error--end of buffer missed

This was run with:
Verilator 4.019 devel rev v4.018-33-gcb115e1a

And also fails with:
Verilator 3.916 2017-11-25 rev verilator_3_914-65-g0478dbd

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2019-09-30T22:50:55Z


Thanks for the testcase. Flex EOF detection wasn't properly handled.

Fixed in git. As this is unlikely to be hit by users, closing immediately rather than waiting for a release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: parser Issue involves SystemVerilog parsing resolution: fixed Closed; fixed
Projects
None yet
Development

No branches or pull requests

2 participants