-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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 compiling a contract with huge data and via-IR enabled #13496
Comments
The crash is happen inside our regex library which seems to be the same/similar problem as the two other issues I just linked to this. |
Also ran into this. One of our tests uses a big contract and it fails when run wiht viaIR enabled. |
Ok then, maybe we should bump the priority here. I thought it would affect only really pathological cases unlikely to happen in practice. |
I have to finally fix it because now it interferes with my attempt to implement #13583. |
Description
Investigating issue #13494 I ended up in a segmentation fault error when compiling the contract below with via-IR. The contract only assigns to a variable a huge payload.
Environment
via-ir
Steps to Reproduce
Test.sol
with the following code and the data payload from this example hereRunning using GDB returns the following stack trace on
solidity::yul::Parser::parseSrcComment
:The text was updated successfully, but these errors were encountered: