vyperlang / titanoboa

a vyper interpreter
https://titanoboa.readthedocs.io
Other
242 stars 41 forks source link

code coverage crashses with segfault #175

Closed AlbertoCentonze closed 5 months ago

AlbertoCentonze commented 5 months ago

version/specs

Architecture: Apple Silicon (M2 Pro) Python version: 3.10.13

how to reproduce

  1. Clone the following repository at the specified commit.
  2. Install dependencies and the correct python version using poetry install
  3. Run the tests with poetry run coverage run -m pytest
charles-cooper commented 5 months ago

what version of python / OS are you using?

AlbertoCentonze commented 5 months ago

Just updated the issue, sorry for forgetting about that.

Probably worth mentioning that I tried out again with a more recent version of boa and the error is different (not segfaulting anymore). To reproduce the new error it suffices to clone the repo from this more recent commit and then the steps to reproduce are the same.

Here's the new error

charles-cooper commented 5 months ago

oof -- we might not even be getting to the segfault anymore.

charles-cooper commented 5 months ago

resolved offline -- do not use coverage with boa.env.enable_fast_mode()! (it may work in the future, but does not at this time)