Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

`undef at end of file causes segfault in some cases. #8

Open
ben-marshall opened this issue Jul 16, 2016 · 0 comments
Open

`undef at end of file causes segfault in some cases. #8

ben-marshall opened this issue Jul 16, 2016 · 0 comments
Labels
Milestone

Comments

@ben-marshall
Copy link
Owner

Issue Description

When parsing large numbers of files, a `undef directive appearing as the penultimate token in a file will cause a segfault. When running with valgrind however, it does not, so it is very much a heisenbug.

Steps to re-create:

Feed the parser a set of files, and one of them should have a `undef on the last line.

$> make clean
$> make all
$> ./src/parser ../../tests/*.v
@ben-marshall ben-marshall modified the milestone: Version 1.0 Jul 23, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant