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

Segmentation Fault with user defined rule #311

Closed
ydaveluy opened this issue Oct 18, 2024 · 1 comment
Closed

Segmentation Fault with user defined rule #311

ydaveluy opened this issue Oct 18, 2024 · 1 comment

Comments

@ydaveluy
Copy link

Hello,

I noticed that the test UserRuleTest.User_defined_rule_test crash with a segmentation fault.

The problem is hidden when running the test with ctest and appears when executing build/test/peglib-test-main directly.

The segfault appears because ope.ope_ is null :

void visit(Holder &ope) override { ope.ope_->accept(*this); }

@yhirose
Copy link
Owner

yhirose commented Nov 12, 2024

@ydaveluy thanks for your report!

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