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

bug: pointer being freed was not allocated #805

Closed
enitrat opened this issue Sep 24, 2024 · 2 comments
Closed

bug: pointer being freed was not allocated #805

enitrat opened this issue Sep 24, 2024 · 2 comments

Comments

@enitrat
Copy link

enitrat commented Sep 24, 2024

Bug: running our test suite using native on blockifier yields:

stEIP1559-360983995c1e0aa5(21161,0x16bf1b000) malloc: *** error for object 0x60000d596060: pointer being freed was not allocated
stEIP1559-360983995c1e0aa5(21161,0x16bf1b000) malloc: *** set a breakpoint in malloc_error_break to debug

Repro with LLVM19

Repro:

clone ef-tests, ensure correct branch git checkout feat/cairo-native
make
make setup-kakarot
cargo test test_baseFeeDiffPlaces_d0g0v0_Cancun --features v1,native -- --nocapture (with LLVM19)

Expected behavior:
No unexpected crash

@enitrat
Copy link
Author

enitrat commented Sep 25, 2024

UPDATE:

I updated native to use update-llvm19

Now, #806 yields the same error, when running

cargo test test_baseFeeDiffPlaces_d0g0v0_Cancun --features v1,native -- --nocapture

stEIP1559-ef029f0211f7289b(4664,0x16dedf000) malloc: *** error for object 0x60000f968760: pointer being freed was not allocated
stEIP1559-ef029f0211f7289b(4664,0x16dedf000) malloc: *** set a breakpoint in malloc_error_break to debug
  1. Sequencer fork now uses update-llvm-19 branch
  2. EF-Test repo now uses update-llvm-19 branch

@enitrat
Copy link
Author

enitrat commented Sep 30, 2024

fixed by #812 I believe

@enitrat enitrat closed this as completed Sep 30, 2024
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

1 participant