bitcoin-core / secp256k1

Optimized C library for EC operations on curve secp256k1
MIT License
2.02k stars 977 forks source link

ci: Add workaround for ASLR bug in sanitizers #1507

Closed real-or-random closed 3 months ago

real-or-random commented 3 months ago

Fixes #1506.

This also adds the sanitizer env variables to our debug output as suggested in the same issue.

sipa commented 3 months ago

The shell problem is resolved now, but the underlying issue seems unchanged.

maflcko commented 3 months ago

Yes, it is because of sysctl: permission denied on key "vm.mmap_rnd_bits", ignoring

See https://github.com/bitcoin-core/secp256k1/actions/runs/8347067930/job/22845907812?pr=1507#step:3:587

real-or-random commented 3 months ago

Ugh, yeah, sudo should help...

sipa commented 3 months ago

utACK a5e8ab248447864873eae9b00f94175594477d66