Actions
Bug #20072
closedfree(): invalid pointer when compiled with --enable-shared --with-jemalloc
Description
When ruby is built with --enable-shared --with-jemalloc
on Linux (current Gentoo, ubuntu22 in docker),
running a rails app yields:
free(): invalid pointer
Aborted
The issue started appearing after 5bb946228550c7f171c27725860b153a675404f3 https://github.com/ruby/ruby/commit/5bb946228550c7f171c27725860b153a675404f3
Related to https://bugs.ruby-lang.org/issues/18409 (workaround to LD_PRELOAD jemalloc from that issue works)
Actions
Like0
Like0Like0Like0Like1Like0Like1Like0Like0