Project

General

Profile

Actions

Bug #18952

closed

rb_aligned_free: munmap failed

Added by mdomsch-sz (Matt Domsch) over 1 year ago. Updated over 1 year ago.

Status:
Third Party's Issue
Target version:
-
ruby -v:
ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux-musl]
[ruby-core:109404]

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

logs.gz (414 KB) logs.gz backtrace log mdomsch-sz (Matt Domsch), 08/01/2022 11:26 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0