Project

General

Profile

Actions

Bug #21607

open

require 'concurrent-ruby' causes segfault with Ruby 3.4.6 on linux/i686 built with GCC 15

Added by satadru (Satadru Pramanik) 1 day ago. Updated about 20 hours ago.

Status:
Open
Assignee:
Target version:
-
ruby -v:
ruby 3.4.6 (2025-09-16 revision dbd83256b1) +PRISM [i686-linux]
[ruby-core:123261]

Description

As mentioned at https://github.com/ruby/ruby/pull/14532#issuecomment-3288983469

chronos@buppie-i686:2.23 M58 /usr/local/lib/crew/packages (master >|SPARSE)$ ruby -e "require 'concurrent-ruby' ; puts 'success'"
Segmentation fault

This causes a segfault on i686 only on our Chromebrew/i686 systems. armv7l and x86_64 do not have this issue.

This may be linked to the update to prism 1.5.x?

Docker reproducer on our i686 ChromeOS Milestone 58 based container image:

docker run --init --platform linux/386 --rm --net=host -v $(pwd):/output -h $(hostname)-i686 --tmpfs /tmp --ulimit "nofile=$(ulimit -Sn):$(ulimit -Hn)" -it satmandu/crewbuild:alex-i686.m58

Note the lack of an issue with 3.4.5 with this command:

ruby -e "require 'concurrent-ruby' ; puts 'success'"

In that container, upgrade ruby to 3.4.6:

CREW_REPO=https://github.com/chromebrew/chromebrew.git CREW_BRANCH=updater-ruby_3.4.6 crew update
&& yes | crew upgrade

Then run the breaking command:

ruby -e "require 'concurrent-ruby' ; puts 'success'"

Note the segfault.


Files

i686-ruby-github-action-build-job-log.txt (298 KB) i686-ruby-github-action-build-job-log.txt satadru (Satadru Pramanik), 09/16/2025 04:37 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like1Like0Like1Like0