From: "Eregon (Benoit Daloze) via ruby-core" <ruby-core@ml.ruby-lang.org>
To: ruby-core@ml.ruby-lang.org
Cc: "Eregon (Benoit Daloze)" <noreply@ruby-lang.org>
Subject: [ruby-core:123287] [Ruby Bug#21607] require 'concurrent-ruby' causes segfault with Ruby 3.4.6 on linux/i686 built with GCC 15
Date: Wed, 17 Sep 2025 19:54:29 +0000 (UTC) [thread overview]
Message-ID: <redmine.journal-114658.20250917195429.53341@ruby-lang.org> (raw)
In-Reply-To: <redmine.issue-21607.20250916162117.53341@ruby-lang.org>
Issue #21607 has been updated by Eregon (Benoit Daloze).
FWIW concurrent-ruby creates and resumes a Fiber while loading, this has found several issues like https://bugs.ruby-lang.org/issues/20085 (https://github.com/ruby-concurrency/concurrent-ruby/issues/1020) and this one.
----------------------------------------
Bug #21607: require 'concurrent-ruby' causes segfault with Ruby 3.4.6 on linux/i686 built with GCC 15
https://bugs.ruby-lang.org/issues/21607#change-114658
* Author: satadru (Satadru Pramanik)
* Status: Open
* Assignee: ractor
* ruby -v: ruby 3.4.6 (2025-09-16 revision dbd83256b1) +PRISM [i686-linux]
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: REQUIRED
----------------------------------------
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)
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
next prev parent reply other threads:[~2025-09-17 19:56 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-16 16:21 [ruby-core:123261] [Ruby Bug#21607] require 'concurrent-ruby' causes segfault with Ruby 3.4.6 on linux/i686 satadru (Satadru Pramanik) via ruby-core
2025-09-16 16:24 ` [ruby-core:123262] " satadru (Satadru Pramanik) via ruby-core
2025-09-16 16:37 ` [ruby-core:123263] " satadru (Satadru Pramanik) via ruby-core
2025-09-16 16:57 ` [ruby-core:123264] " k0kubun (Takashi Kokubun) via ruby-core
2025-09-16 17:55 ` [ruby-core:123265] " luke-gru (Luke Gruber) via ruby-core
2025-09-16 17:58 ` [ruby-core:123266] " kddnewton (Kevin Newton) via ruby-core
2025-09-16 18:23 ` [ruby-core:123267] " luke-gru (Luke Gruber) via ruby-core
2025-09-16 18:51 ` [ruby-core:123268] " satadru (Satadru Pramanik) via ruby-core
2025-09-16 19:17 ` [ruby-core:123269] " luke-gru (Luke Gruber) via ruby-core
2025-09-16 19:56 ` [ruby-core:123270] " satadru (Satadru Pramanik) via ruby-core
2025-09-16 19:58 ` [ruby-core:123271] " Earlopain (Earlopain _) via ruby-core
2025-09-16 20:02 ` [ruby-core:123272] " satadru (Satadru Pramanik) via ruby-core
2025-09-16 22:46 ` [ruby-core:123276] " satadru (Satadru Pramanik) via ruby-core
2025-09-17 19:54 ` Eregon (Benoit Daloze) via ruby-core [this message]
2025-10-30 9:30 ` [ruby-core:123610] [Ruby Bug#21607] require 'concurrent-ruby' causes segfault with Ruby 3.4.6 on linux/i686 built with GCC 15 thesamesam (Sam James) via ruby-core
2025-10-30 12:00 ` [ruby-core:123612] " satadru (Satadru Pramanik) via ruby-core
2025-10-31 8:54 ` [ruby-core:123622] " thesamesam (Sam James) via ruby-core
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=redmine.journal-114658.20250917195429.53341@ruby-lang.org \
--to=ruby-core@ml.ruby-lang.org \
--cc=noreply@ruby-lang.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).