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 DBE751F4BE for ; Wed, 23 Oct 2024 12:57: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=AA+4HIr0; 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=ZWdkYAIc; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1729688198; bh=+ysNlJEqr3roUC1JH4i24hwtjBWKjOxgmclpODHjW8Y=; 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=AA+4HIr0fPUI4XefLRDDNgpHpkcLEBuejo1L6POgwZ7sQ5Wv2mv6gqAja9qdCUoZ+ Ugv8EaxAulzqv8y5b+j2C6OgINc7mQRhk1stkIJkpZLLKn7VmT3o5kP83KzLOfcjjA JWNajKY+6BYUtn2tIhot/kLfTEHmkF6Z6H4vc3R4= Received: from nue.mailmanlists.eu (localhost [IPv6:::1]) by nue.mailmanlists.eu (Postfix) with ESMTP id 4CF964467D for ; Wed, 23 Oct 2024 12:56:38 +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=ZWdkYAIc; 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 55651445E1 for ; Wed, 23 Oct 2024 12:56:26 +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=jD2f0q50fEkxwl7HASU5KroSF4bR+GLJwZFpFkg0x+Y=; b=ZWdkYAIcEJPB9q8GQoKExfgoz0KiwXSCQlCGlQ2q84aYEYHPsdFNwrNr9VUcWqJdxwPQ 69SjvGIDxEKCfu00RdMHVlRUVR9gNxum7G8C+Hhf2reMQECKjJd4E7KNrmu5RLtoXfKb+X kpjzkTvZqnF20CaVIB8kzMkXOSY5Rs69B8Qgd8vR/HYRT8jeAs9o6s4KP2d6dVmi8z/gX0 XRGY8Ao+wOzeSKogA5CGVAQaOqT0/HY5NeFl60qCfU+XYayhc6DX3sHtwr14dfxSzCP50A vh26ButDWig1o17Dw/Y61q0z5SbDLTA+5AVk+AHVwrJ7isaZJl4Kl6SpV4xSkbsA== Received: by recvd-7cc7f7d978-rxvm4 with SMTP id recvd-7cc7f7d978-rxvm4-1-6718F279-35 2024-10-23 12:56:25.425680247 +0000 UTC m=+3524432.916275194 Received: from herokuapp.com (unknown) by geopod-ismtpd-15 (SG) with ESMTP id iuHH4mXXQaOsoOQ1JMiYIA for ; Wed, 23 Oct 2024 12:56:25.368 +0000 (UTC) Date: Wed, 23 Oct 2024 12:56:25 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 20803 X-Redmine-Issue-Author: MSP-Greg 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: 96231 X-SG-EID: =?us-ascii?Q?u001=2EKmNZ1u3n1vIpO8NNTdp+Q9c0ai7potxbEDLMO7SOJO=2F4KkRUz0d23466m?= =?us-ascii?Q?naiq=2F5fmA4hb60MdRMUAwHZnjIWVFu=2FrqiBOz5c?= =?us-ascii?Q?nOvkBudsSTikxUC9B8ufd28=2FNaqeCC9FLaAY1hc?= =?us-ascii?Q?wwdkug6B+dO5NnpYwbctdlKswp8Yv2VlT0J5pPs?= =?us-ascii?Q?DUBxaMBh=2FXrY2BT7WBA0ktwFHFH4vq=2FrR2vivMj?= =?us-ascii?Q?bqlaFnakDgeKDQyhaeCSQVfmegqcBsXpynE1bKW?= =?us-ascii?Q?I8gbxu+GyaSKaK4YysZ3FJLRVw=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: 7RG4DVNP2UHAV6YWTQGVLAI627FIIYJ7 X-Message-ID-Hash: 7RG4DVNP2UHAV6YWTQGVLAI627FIIYJ7 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:119597] [Ruby master Bug#20803] Windows intermittent spec failure - ObjectSpace.memsize_of(:abc) 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 #20803 has been updated by byroot (Jean Boussier). I've seen this sort of failures happen in the past, the root cause generally is that there is another test that runs first an create that symbol in a dynamic way: `"abc".to_sym`. The solution is to use a more unique symbol value to avoid clashes. ---------------------------------------- Bug #20803: Windows intermittent spec failure - ObjectSpace.memsize_of(:abc) https://bugs.ruby-lang.org/issues/20803#change-110218 * Author: MSP-Greg (Greg L) * Status: Open * ruby -v: master * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- This frequently fails on ruby-loco's mingw build, but I think there have been less frequent failures on ucrt and mswin. I've started a new GHA build when it occurs, and it usually passes. I could not repro locally. ``` ObjectSpace.memsize_of returns 0 for literal Symbols FAILED Expected 40 == 0 to be truthy but was false /ruby/spec/ruby/library/objectspace/memsize_of_spec.rb:16:in 'block (2 levels) in ' /ruby/spec/ruby/library/objectspace/memsize_of_spec.rb:4:in '' ``` The test code: ```ruby it "returns 0 for literal Symbols" do ObjectSpace.memsize_of(:abc).should == 0 end ``` ``` -- 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/