From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 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) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 5E7801F47A for ; Sun, 25 Aug 2024 06:15:41 +0000 (UTC) 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=OvSqJz5f; 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=fKbM/O5H; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1724566505; bh=/KRavXmBDgNsXsZahoR5DGbcBKntteZoRsz8slTesOE=; 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=OvSqJz5fWONzOle+L548qPecY3bpufeuak+GK23zeReHGWiHUGQg7Dq1ap6BpQbqH 2LeUGN4NXGpdbw+/obNi4HOhNwot4xNSDxPhsxrloUE0KkNZ9Gs//Udmbm1uZ1aL2K juKiLjXl7XX/I7N+mmt48w4M81ZvGSmiVnEp4570= Received: from nue.mailmanlists.eu (localhost [IPv6:::1]) by nue.mailmanlists.eu (Postfix) with ESMTP id DDA1E43CCF for ; Sun, 25 Aug 2024 06:15:05 +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=fKbM/O5H; dkim-atps=neutral Received: from s.wrqvwxzv.outbound-mail.sendgrid.net (s.wrqvwxzv.outbound-mail.sendgrid.net [149.72.154.232]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 4D877402B0 for ; Sun, 25 Aug 2024 06:14:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:from:subject:to; s=s1; bh=dDnFA5fLx2ykF4dEkGJ+xhfQHu2WEqVaW2cphZrB7l0=; b=fKbM/O5H7yUQFyVsm9fzfrRpKMsTo7cuwODbug9K5Q5Nrj/X+lHOeJ5eF7/bs2pbUbA7 EyqoGleTAGcjWRZCpQNN4mKOlmy/RuAkL0MXWsRs+LRrEUQjguaocNo0HyDnuixenhsovV QugN6L4hqv0ACZdhjhEizRaQ3hvdNjgYQxMeA8ChTwp/n/uYP6WPngrlE/CfY15rlZPvJw THuloC0Zu88mDI/Uy4pr0rOtBYqxsxjznLhwmzKIf8OkLbNDkhWdQbS5eVIKHWPQIf1iep JpBdRlBKQCSA9wjqKF/VMcvbFJhBB+iF/gHxZ4ttUQgiJOTXzajJUwPN+PlRZ5Ug== Received: by recvd-84679d98c6-xkbss with SMTP id recvd-84679d98c6-xkbss-1-66CACBDD-13 2024-08-25 06:14:53.381980833 +0000 UTC m=+288130.344414088 Received: from herokuapp.com (unknown) by geopod-ismtpd-24 (SG) with ESMTP id nVbdTukBRDW2x0FNLfgd5Q for ; Sun, 25 Aug 2024 06:14:53.222 +0000 (UTC) Date: Sun, 25 Aug 2024 06:14:53 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 20694 X-Redmine-Issue-Author: ngan X-Redmine-Issue-Priority: Normal X-Redmine-Sender: byroot 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: 95586 X-SG-EID: =?us-ascii?Q?u001=2EKmNZ1u3n1vIpO8NNTdp+Q9c0ai7potxbEDLMO7SOJO=2F4KkRUz0d23466m?= =?us-ascii?Q?naiq=2F5fmA4hb60MdRMUAwHZnjIWVFu=2FrqiBOz5c?= =?us-ascii?Q?nOvkBudsSTh=2Fdk9Fgu3PXdpVSJ7NvhQ1DedsWSl?= =?us-ascii?Q?6xwygS+5ef=2Fs+u=2FTMWDVniuAhKEa8OshfuTtyla?= =?us-ascii?Q?ofyAU8v36SjMVqD2oqJ9DJ52xgyuDyEdoJpjoLd?= =?us-ascii?Q?txBm++QiXdnIaF19NiXemQ6PTnS0z34GrAgVChn?= =?us-ascii?Q?gVd8qNrL76bGO0+d+qq8IntY0Q=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: CYENX6WU5BGM4S3QNJQVJ2WQZ4NNHF5I X-Message-ID-Hash: CYENX6WU5BGM4S3QNJQVJ2WQZ4NNHF5I X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:118950] [Ruby master Bug#20694] "try to mark T_NONE object" error for very large hash List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "byroot (Jean Boussier) via ruby-core" Cc: "byroot (Jean Boussier)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #20694 has been updated by byroot (Jean Boussier). Status changed from Open to Third Party's Issue Yep, it's a bug in `ffi` or a gem using `ffi`. ---------------------------------------- Bug #20694: "try to mark T_NONE object" error for very large hash https://bugs.ruby-lang.org/issues/20694#change-109523 * Author: ngan (Ngan Pham) * Status: Third Party's Issue * ruby -v: 3.3.4 * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- In CI, we've been occasionally seeing `[BUG] try to mark T_NONE object`. I don't have any way to reproduce it but I'm going to put some information here in case anyone has any ideas. One thing I've noticed is that it happens for very large arrays: ``` 0x00007f587d04fc90 [0 M ] T_NONE /usr/local/bundle/ruby/3.3.0/gems/simpleidn-0.2.2/lib/simpleidn/uts46mapping.rb: [BUG] try to mark T_NONE object ruby 3.3.4 (2024-07-09 revision be1089c8ec) [x86_64-linux] ``` https://github.com/mmriis/simpleidn/blob/master/lib/simpleidn/uts46mapping.rb#L17 and... ``` 0x00007f7ec426fdc8 [0 M ] T_NONE /usr/local/bundle/ruby/3.3.0/gems/domain_name-0.6.20240107/lib/domain_name/etld_data.rb: [BUG] try to mark T_NONE object ruby 3.3.1 (2024-04-23 revision c56cd86388) [x86_64-linux] ``` https://github.com/knu/ruby-domain_name/blob/master/lib/domain_name/etld_data.rb#L4 ---Files-------------------------------- backtrace.txt (9.12 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/