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=0.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET, 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=z+rmJY8l; 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=nVVKkg63; 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 088A01F47D for ; Wed, 17 Sep 2025 19:56:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1758138935; bh=BbvTO++xStzSvt64x83dkt02wzrm4Y0ORfyio81EM2E=; 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=z+rmJY8lu3dVyvGCYtS+VOq9nVBMojhjUoBGHWQMWmkHjC/YzwUXFtqFNgrC/8rgg xdQCuyNtFSa4IE3dniKoyRjRAuzeYT09++8J5thLkn2nOEvM2m7DnXngrylhcH4AMa qTCl7N4kUEAUjXTuhC8qMjvML5Izpzylr/yPuBnk= Received: from nue.mailmanlists.eu (localhost [IPv6:::1]) by nue.mailmanlists.eu (Postfix) with ESMTP id A8CB448E80 for ; Wed, 17 Sep 2025 19:55:35 +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=nVVKkg63; 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 0E1D642D97 for ; Wed, 17 Sep 2025 19:54:30 +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=c7GxGt1RGR9ebEjc21hl3o3MxSBUV7/SBiXAko5/Qa4=; b=nVVKkg63Mj0RB1+unzsStLkrsOkXjsNEXnVfsJnzegd2LJAq68wHAfmaZHTfqZmZbJoQ 1mLfLJiQLywwb1bXkNy+UMn/pZ7Iir3r79cM6Y7/gBft46jRGhunHWROHfy5bmy0Na7flE Tbc+ux3lI/I4RUenI0G+SIuil0DaRlBNBWeUsIIsqrXh7oaaZh5p4Bbsi0seIw8u/vOI8t PbiQ/15Rv5Dwwba7bm/o9EA7Zj7qwoHofpWZ8vlNkPI2Ab9a0r+YZyM2XaiKXmHY1cCwE5 XuRzFzb7X+gTeOw6fHg0aRW6U7Fd2Mbe3ZXznD9AXafCL/kBWXG+xdATU/a0hMBQ== Received: by recvd-7d86b8fd66-shhdt with SMTP id recvd-7d86b8fd66-shhdt-1-68CB11F5-3F 2025-09-17 19:54:29.861614848 +0000 UTC m=+9083416.154596357 Received: from herokuapp.com (unknown) by geopod-ismtpd-39 (SG) with ESMTP id mwIx_GZQR1qrElq5WmJgxw for ; Wed, 17 Sep 2025 19:54:29.820 +0000 (UTC) Date: Wed, 17 Sep 2025 19:54:29 +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: Eregon 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: 100120 X-SG-EID: =?us-ascii?Q?u001=2EByjZWvxTCjdoV8K03xEuhE7KqN4thWULFLM7+oH78KY30oYB3qFthsDpL?= =?us-ascii?Q?4w4cbYa3ttBh8bAHPOnE=2FkzPba67JNu7Lnrked2?= =?us-ascii?Q?O7K9VQ=2FJax30xTkuT8ur3Olfq+wV1BxFw+S9800?= =?us-ascii?Q?j9hl4mJHCAeJ6G2oEJDScWEwkIO7UHGGf92KcM8?= =?us-ascii?Q?9E8L1DXkDoaQe2AcVhbyLe6pWdyZIi5QG=2F5Tbnq?= =?us-ascii?Q?ErjMHKC87MgDMLzpRywCaMLgJXflxVFSBvBTICl?= =?us-ascii?Q?qBG2QbUCIPDsc4y0gGC20Cibug=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: KZ4ILCY32VQ6OVQKCYODWFZFWH424PKK X-Message-ID-Hash: KZ4ILCY32VQ6OVQKCYODWFZFWH424PKK 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:123287] [Ruby Bug#21607] require 'concurrent-ruby' causes segfault with Ruby 3.4.6 on linux/i686 built with GCC 15 List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "Eregon (Benoit Daloze) via ruby-core" Cc: "Eregon (Benoit Daloze)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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/