You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the SIGSEGV error when running the forge coverage --ir-minimum command.
Running just forge coverage seems to work fine. What could be the problems?
Here is the output when running forge coverage --ir-minimum:
$ forge coverage --ir-minimum
Warning: `--ir-minimum` enables viaIR with minimum optimization, which can result in inaccurate source mappings.
Only use this flag as a workaround if you are experiencing "stack too deep" errors.
Note that "viaIR" is production ready since Solidity 0.8.13 and above.
See more: https://github.com/foundry-rs/foundry/issues/3357
[⠊] Compiling...
[⠘] Compiling 390 files with Solc 0.8.25
Error: solc exited with signal: 11 (SIGSEGV) (core dumped)
<empty output>
The text was updated successfully, but these errors were encountered:
that's solc core dumping, please open issue in https://github.com/ethereum/solidity
Also, is better to tun forge coverage without --ir-minimum because it can result in inaccurate source mappings.
Thank you, if other questions please start a discussion in tg support channel or github.
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.3.0 (5a8bd89 2024-12-20T08:46:21.555250780Z)
What version of Foundryup are you on?
foundryup: 0.3.0
What command(s) is the bug in?
forge coverage --ir-minimum
Operating System
Linux
Describe the bug
I get the SIGSEGV error when running the forge coverage --ir-minimum command.
Running just forge coverage seems to work fine. What could be the problems?
Here is the output when running forge coverage --ir-minimum:
The text was updated successfully, but these errors were encountered: