From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on starla X-Spam-Level: X-Spam-Status: No, score=-1.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; unprotected) header.d=ml.ruby-lang.org header.i=@ml.ruby-lang.org header.a=rsa-sha256 header.s=mail header.b=jldqABMO; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=gYv9fDVc; dkim-atps=neutral Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [94.130.110.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id A3DE01F47D for ; Tue, 16 Sep 2025 20:00:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1758052774; bh=+BVLudwA13xN5tFWISuRtzZFsOV77NGLUCxt5Zg+ViY=; h=Date:References:To:Reply-To:Subject:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From:Cc:From; b=jldqABMOPKYU4T3SaMIee9Ee63Bj7kfaWab573fykZ8dbQ7OJhwrg9M+oFfHMEU8h fbxF2XPepf+8z7j6O+Tqd7JfZ/3dUIWHIfVgZKjBDGGA6cwbSvB0+sZD/ybjCuINPa zuNhBrcTwZyB+KczysFtSwdZaMRRc+CpPXpHMUdI= Received: from nue.mailmanlists.eu (localhost [IPv6:::1]) by nue.mailmanlists.eu (Postfix) with ESMTP id 4AA1748FE1 for ; Tue, 16 Sep 2025 19:59:34 +0000 (UTC) Authentication-Results: nue.mailmanlists.eu; dkim=pass (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=gYv9fDVc; dkim-atps=neutral Received: from s.wrqvtvvn.outbound-mail.sendgrid.net (s.wrqvtvvn.outbound-mail.sendgrid.net [149.72.120.130]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 8983E42E09 for ; Tue, 16 Sep 2025 19:58:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=date:from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:date:from:subject:to; s=s1; bh=V3Hnrry4s43ERiehofrrGB9h11JObkqQPNQWGDM8tiY=; b=gYv9fDVcm/MpOVoB84W0LFMvkvGs0R+uzZZZ2lLgyElqlaGVuOFawdizRgPF21aimKQs IMUjWIJjsi+7cIFHSZBDigqgaQfCTg9/r0zH24zNIpCSnFesYhqW55BcO1B6+wOjMcGTH9 oTtu/HNe9o1GlwyZ59Z1mlmj1RNcQY2GxFtaDVAd5c0KWLFCQJdVzfAuuFb3DaYZRWldwE nmULnofkvG3qok8k/PKy76ZPaDVXxf+KH6TnkKEFjl9+7+yZPyZz2IVpg9tKyaqxJO/ZPy SSWCcUfMJrtr8OwfQdvV43PipkQsCY0jERLkvKgKx8j4EmzXhbsXUe8eXfnGwP9Q== Received: by recvd-7f4fb8995-spbgd with SMTP id recvd-7f4fb8995-spbgd-1-68C9C164-6 2025-09-16 19:58:28.296861071 +0000 UTC m=+8997254.325721719 Received: from herokuapp.com (unknown) by geopod-ismtpd-19 (SG) with ESMTP id -_5Yh49zQI6m6y5etRlEmA for ; Tue, 16 Sep 2025 19:58:28.259 +0000 (UTC) Date: Tue, 16 Sep 2025 19:58:28 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 21607 X-Redmine-Issue-Author: satadru X-Redmine-Issue-Assignee: Group (ractor) X-Redmine-Issue-Priority: Normal X-Redmine-Sender: Earlopain X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-Redmine-MailingListIntegration-Message-Ids: 100100 X-SG-EID: =?us-ascii?Q?u001=2EeN8dK4P86Am4z06GVDKdfuyUr=2FYDMIW0L=2F3i+rfu20a8IqvHXr8dkK0nT?= =?us-ascii?Q?JnNCPZBfBfcBXIzVHSukhq0Fst8w76lX7vgcOKR?= =?us-ascii?Q?zLI=2FaLZlFeK30ZddiGh7BirQ9ztQj8npRV7iQDg?= =?us-ascii?Q?kPfuHThKg0rQc2s+mXsd7GoTYziOxq6kCEotBZT?= =?us-ascii?Q?LNkkH9YBrmcgK=2F4NmHvdynIYP60HMpym7kW8uPg?= =?us-ascii?Q?05koHtxkg9K3XDYjoiHrSCNz1lOo3sTlEG40geK?= =?us-ascii?Q?nW+8I770M5UG+AILBBvufO6UzA=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: AT2YQCEELBDUIDMM3MJ75TJBWEWGPLAH X-Message-ID-Hash: AT2YQCEELBDUIDMM3MJ75TJBWEWGPLAH X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:123271] [Ruby Bug#21607] require 'concurrent-ruby' causes segfault with Ruby 3.4.6 on linux/i686 List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "Earlopain (Earlopain _) via ruby-core" Cc: "Earlopain (Earlopain _)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #21607 has been updated by Earlopain (Earlopain _). It does not seem to be related to prism (or ruby at all?): ```sh $ ruby -e "Fiber.new {}.resume" Segmentation fault (core dumped) ruby -e "Fiber.new {}.resume" $ ruby --disable-gems -e "Fiber.new {}.resume" Inconsistency detected by ld.so: dl-runtime.c: 79: _dl_fixup: Assertion `ELFW(R_TYPE)(reloc->r_info) == ELF_MACHINE_JMP_SLOT' failed! ``` There is no further output, that's all you get. Does look like something that might happen with a compiler upgrade. ---------------------------------------- Bug #21607: require 'concurrent-ruby' causes segfault with Ruby 3.4.6 on linux/i686 https://bugs.ruby-lang.org/issues/21607#change-114636 * 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/