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 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 9C8CB1F4CC for ; Sat, 4 Jan 2025 22:05:10 +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=NVyIwSmV; 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=Y+JIyIUR; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1736028277; bh=ElKJF+YYSgD+HQ7LocnEYRud0likwAZsAL1gjwJpISI=; 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=NVyIwSmV2iFdYa3DmQ5VwUI47pAbXL1Ug3jZXCTYFwmrxr6mfaXnatVjSErxrMko/ vpQjjdBabeS4KZeRBGDSHBMeQ9zeoTU7FzfpNnrkbC2Q8PbwXrJOX7Ju/SK+trmSzI j2BCYcMItW0uXSJVikORA4bT2+aeP3udOIaqQDDU= Received: from nue.mailmanlists.eu (localhost [IPv6:::1]) by nue.mailmanlists.eu (Postfix) with ESMTP id DE6CB46498 for ; Sat, 4 Jan 2025 22:04:37 +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=Y+JIyIUR; dkim-atps=neutral Received: from s.wfbtzhsw.outbound-mail.sendgrid.net (s.wfbtzhsw.outbound-mail.sendgrid.net [159.183.224.105]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 48F7B46469 for ; Sat, 4 Jan 2025 22:04:33 +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=fMWAb0IwMf2i6TX1pa2Qcz/Fa5rRYEyqEd6lqiBIZZM=; b=Y+JIyIURCtQf8nDGDjWEfSkykkhd8vfwbV9SX20WFrLArqbTXcEOXg0A/8zJ0GMvpV8o a6UiROK8xBwyw2AnE1r72qsApXdwWZne2nIeqehE+wB60gVdNrCXTaFXla4uaCqmiyk/U2 ACIUOdRlFOlPisLtEn7pWr6Xc4+CUhnpaKyqzkMyAVII7wd1KboVPGk/gxju+Y9gu9MoZk j1FGwK0yRBdMqqMYdyfujyvo/HThoIt7nsINwOruHfh/hwajzZ6J+Nkt+fOPI68d8POyK0 Aw5QVF0o1s2yw4jMsB8FeQrNGA0NhNBikynx74GDLuXRltzl3TgPyyrhq2Q/M5bw== Received: by recvd-84b546689d-nmml4 with SMTP id recvd-84b546689d-nmml4-1-6779B06F-3 2025-01-04 22:04:31.377789842 +0000 UTC m=+4408786.384102045 Received: from herokuapp.com (unknown) by geopod-ismtpd-28 (SG) with ESMTP id 7-eH0ywzTbePnkEoNgWIGg for ; Sat, 04 Jan 2025 22:04:31.279 +0000 (UTC) Date: Sat, 04 Jan 2025 22:04:31 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 21004 X-Redmine-Issue-Author: kddnewton X-Redmine-Issue-Priority: Normal X-Redmine-Sender: peterzhu2118 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: 97155 X-SG-EID: =?us-ascii?Q?u001=2Ekd4TWqqnZK2Pq9maY+59BkwPXNavWGdRTqIyL3IgtZAw5qeC7ItH57h+o?= =?us-ascii?Q?hG9YiGBOwfMPa0H3x4Mo6m+2eFOH0G7aecq6ieA?= =?us-ascii?Q?bHYebnEyEZXCz72hruT7yzfI+L=2FoAt2SPlkJezD?= =?us-ascii?Q?GhPQmlyVw+F09Upm=2FDXp0v2v8j28I1wzbaqr3bn?= =?us-ascii?Q?vbVE0D7YFIbkpwZKgV3p+4HrmSY6C3Fx929eqNq?= =?us-ascii?Q?b64CuMoHrSC6tCbOiW0e8sv6KiWag7hCQHpBrtS?= =?us-ascii?Q?uMpTOMjCvzkzDWvU17b+rUoMhQ=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: BWKW3MNQBCWOAMH67PXCCA3KYQJGBBZV X-Message-ID-Hash: BWKW3MNQBCWOAMH67PXCCA3KYQJGBBZV 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:120479] [Ruby master Bug#21004] Memory leak with `new_locations_lambda_body` List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "peterzhu2118 (Peter Zhu) via ruby-core" Cc: "peterzhu2118 (Peter Zhu)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #21004 has been updated by peterzhu2118 (Peter Zhu). Backport changed from 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN to 3.1: DONTNEED, 3.2: DONTNEED, 3.3: DONTNEED, 3.4: DONTNEED I have a fix here: https://github.com/ruby/ruby/pull/12508 ---------------------------------------- Bug #21004: Memory leak with `new_locations_lambda_body` https://bugs.ruby-lang.org/issues/21004#change-111262 * Author: kddnewton (Kevin Newton) * Status: Open * Backport: 3.1: DONTNEED, 3.2: DONTNEED, 3.3: DONTNEED, 3.4: DONTNEED ---------------------------------------- You can find the valgrind output here: https://github.com/ruby/prism/actions/runs/12613463262/job/35151355503?pr=3363#step:5:505. It looks like the allocated lambda locations are leaking under certain circumstances. The leak looks to be introduced here: https://github.com/ruby/ruby/commit/fa2517451ec. -- 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/