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=0.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [IPv6:2a01:4f8:1c0c:6b10::1]) (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 6D34E1F44D for ; Thu, 21 Mar 2024 06:59:27 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; secure) header.d=ml.ruby-lang.org header.i=@ml.ruby-lang.org header.a=rsa-sha256 header.s=mail header.b=qp45Ighz; 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=YHirRTz8; dkim-atps=neutral Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id 4E3C88367D; Thu, 21 Mar 2024 06:59:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1711004352; bh=DTMwWkFNN5LwfG6yE14PI+g3wB0zVFWDX/cwGNTfYV4=; 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=qp45IghzprqhPxfEhu3V9ljr9Ta6+4TMvRK3MrcTyQu/bHpaivdoQxGbOJBCDQ5b6 Vd8C8hYQ7vykImv+Txi3XSmfP4gaWaEeVVZOrMluGqjznWs+APz3KRABCEUUKPMFsM UYLYLFsExypn2IPRSnAUTkPqaXEK06VloHFhPMgY= Received: from s.csnrwnwx.outbound-mail.sendgrid.net (s.csnrwnwx.outbound-mail.sendgrid.net [198.37.146.154]) by nue.mailmanlists.eu (Postfix) with ESMTPS id DE4A483692 for ; Thu, 21 Mar 2024 06:59:07 +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=YHirRTz8; dkim-atps=neutral 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=5LNI+GA9pWADrCWkXeoMtIvWNEWxWeqGPTGy4BTD+6U=; b=YHirRTz8m7VQXVqNqJlndvhl++9QYe5aEnx47ObUzC2aihwHt/G08rihi4l7jgFu72Jj lDKXA2rJQEMUchWi4NiZpX8qERzobQgNkmtvmQnD59ST9gHMrS0i/MSCUP40UU4dTQ9kqi y9rkEXjImSPKM1m1oZHxhn4uRT9Elj5PtbPYs0+m0Xq71Rj7OAWqP0cX6s7IoZk/MTOaRu 5J2PP2RgMcFb7usHKQNkG8QpijzENtf1Y5xyP6isymJJpmKXzXOUtjv2pK6SVfmNyQwm3o XHjvy0Mt4RLAbsXEAbhJBnp8h73BeU26+qgnZxNuDfloJmW53arsQbNHYZ1H1LHw== Received: by recvd-7555548f4d-qzjpp with SMTP id recvd-7555548f4d-qzjpp-1-65FBDAB9-1D 2024-03-21 06:59:05.819009296 +0000 UTC m=+208684.811113555 Received: from herokuapp.com (unknown) by geopod-ismtpd-7 (SG) with ESMTP id su-WZ4xBRkuMCrzo7QCHlw for ; Thu, 21 Mar 2024 06:59:05.789 +0000 (UTC) Date: Thu, 21 Mar 2024 06:59:05 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 20250 X-Redmine-Issue-Author: zetter X-Redmine-Issue-Priority: Normal X-Redmine-Sender: naruse 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: 93877 X-SG-EID: =?us-ascii?Q?u001=2EhGFfhdJzu4NO4V2+b30G6dbw+VuL3beZ0PPXT3QK5Aw+yzEytPMyHWWhg?= =?us-ascii?Q?MagkviFV7=2FAUx7fnB3tdvTxuSCk0LFfux1CTdC7?= =?us-ascii?Q?12q7esQDCvnuqhHsFGDResKpxVHLPd7=2FM5RFs16?= =?us-ascii?Q?XNw3l3nzMOIruBZJ7201dyPGmauFV06KAHTW3fS?= =?us-ascii?Q?XcCT0bGDq2nE3aGv4gfyj4IHzuTCjQR9DStJX7z?= =?us-ascii?Q?YKrZCWBjC0Nd65+n8P2YVd9y+2IR0mJmUSzjcrc?= =?us-ascii?Q?DS1m?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: DBYXHXRVFHEKQRTBMSX2IUU6IY32IE6X X-Message-ID-Hash: DBYXHXRVFHEKQRTBMSX2IUU6IY32IE6X 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.3 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:117278] [Ruby master Bug#20250] Crash with "Object ID seen, but not in mapping table: proc" error List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "naruse (Yui NARUSE) via ruby-core" Cc: "naruse (Yui NARUSE)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #20250 has been updated by naruse (Yui NARUSE). Backport changed from 3.0: WONTFIX, 3.1: REQUIRED, 3.2: REQUIRED, 3.3: REQUIRED to 3.0: WONTFIX, 3.1: REQUIRED, 3.2: REQUIRED, 3.3: DONE ruby_3_3 a63e979853783601a60228b45741f8b3776e5507 merged revision(s) d19d683a354530a27b4cbb049223f8dc70c75849,de1a586ecc2ee7f465f0c0a69291054136a3a819. ---------------------------------------- Bug #20250: Crash with "Object ID seen, but not in mapping table: proc" error https://bugs.ruby-lang.org/issues/20250#change-107406 * Author: zetter (Chris Zetter) * Status: Closed * ruby -v: ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [arm64-darwin23] * Backport: 3.0: WONTFIX, 3.1: REQUIRED, 3.2: REQUIRED, 3.3: DONE ---------------------------------------- Hello, I experienced a crash which I was able to reliably reproduce with the following: ``` ruby require 'bundler/inline' gemfile(true) do source 'https://rubygems.org' gem 'activesupport', '7.1.3' end require 'active_support' logger = ActiveSupport::Logger.new('log/log.log', 1, 100 * 1024 * 1024) logger.formatter = proc {|_, _, _, message| "#{message}\n" } logger = ActiveSupport::TaggedLogging.new(logger) logger.tagged("TAG").info "hello" logger.tagged("TAG").info "hello" # usually crashes here GC.start # sometimes need to trigger crash with GC ``` It looks like this is caused by the interaction with the formatter proc and the tagged logging features of activesupport. Let me know if a more minimal example would be useful. I can reproduce this with: * ruby 3.3.0 on arm64-darwin23 * ruby 3.3.0 on x86_64-linux * latest ruby HEAD (5e12b75716) on arm64-darwin23 I cannot reproduce this on ruby 3.2.2. Thanks for any help ---Files-------------------------------- ruby-2024-02-09-092829.ips (13.2 KB) output.log (142 KB) crash_test_2.rb (465 Bytes) -- 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/postorius/lists/ruby-core.ml.ruby-lang.org/