Actions
Bug #18952
closedrb_aligned_free: munmap failed
Bug #18952:
rb_aligned_free: munmap failed
Description
Over the past several weeks, our Linux ruby 3.1.2 application has failed repeatedly with:
[BUG] rb_aligned_free: munmap failed
Ruby tracebacks indicate failures in many libraries and functions, due to the garbage collector running at its discretion. Reproduction is not easily accomplished as this is a low-level ruby function being invoked from within a large web application, and not directly by our application, the servers of which have 24GB RAM and are not seeing any indication of out-of-memory concerns.
Unfortunately the munmap() call here does not catch the return value and errno to report why munmap() failed.
I append one example backtrace log.
Files
Actions