Actions
Bug #18409
closedCrash (free(): invalid pointer) if LD_PRELOAD doesn't explicitly include libjemalloc.so.2
Bug #18409:
Crash (free(): invalid pointer) if LD_PRELOAD doesn't explicitly include libjemalloc.so.2
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-linux]
Description
I recently installed Ruby 3.0.2 using rbenv with:
After running our app it always crashed with:
I also tried upgrading to 3.0.3 with no success.
After researching the bug a lot and lots of failed attempt to track it down I stumbled upon this report: https://github.com/grpc/grpc/issues/25450 that recommended trying:
That seems to have worked, but that can't be the proper solution in production. Surely it shouldn't be required.
Actions