From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#46722: test-map-into fails Date: Tue, 23 Feb 2021 12:30:12 -0500 Message-ID: References: <87pn0qu4k9.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17930"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 46722@debbugs.gnu.org To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 23 18:31:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lEbWg-0004W5-TI for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Feb 2021 18:31:11 +0100 Original-Received: from localhost ([::1]:47486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEbWf-0006WC-Qp for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Feb 2021 12:31:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEbWY-0006VL-Kc for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2021 12:31:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48851) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEbWY-0000AK-Co for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2021 12:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lEbWY-0001Ke-AP for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2021 12:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Feb 2021 17:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46722 X-GNU-PR-Package: emacs Original-Received: via spool by 46722-submit@debbugs.gnu.org id=B46722.16141014245075 (code B ref 46722); Tue, 23 Feb 2021 17:31:02 +0000 Original-Received: (at 46722) by debbugs.gnu.org; 23 Feb 2021 17:30:24 +0000 Original-Received: from localhost ([127.0.0.1]:60397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEbVv-0001Jn-SH for submit@debbugs.gnu.org; Tue, 23 Feb 2021 12:30:24 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:16731) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEbVt-0001JX-RM for 46722@debbugs.gnu.org; Tue, 23 Feb 2021 12:30:22 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id D7DF5440FF7; Tue, 23 Feb 2021 12:30:15 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 1EDF4440FF2; Tue, 23 Feb 2021 12:30:14 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1614101414; bh=PYzqrQP5VYYksbh7RpWCTL65E6Ex9UItbc2kgb7asKA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=oFOdc86tlbu7gEHSnm0lyMguAtGomnffzRzD2oMEZkr6yMPkAMkijyT3Ek165oGJD VEePcs4C/SlM1myA1kRRl2/l5OZpou5J9w6uaiLVYyJA/MIMC8jh17ZQ4W4KLF5skm PzmUowFuhlVBVVk5io/Y7WF9G79K2JeQAX25KyKCKsHafRiyvcW1U70H2cA+oI7D38 qEa0pHovsu0YqBPX9gbKEQI8FPZjnKA/aNOoVurL3P+8c6ukpt/5GRyv0lwVUm1np4 0i4pWng+PRX3Pv2X4rwKj017kWFOyfq7ReeyxgH3j6yGk1JrSzUpjuSJx0p5UDpTRA LKxDlUI9JS+ew== Original-Received: from alfajor (unknown [216.154.41.47]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id E0E70120384; Tue, 23 Feb 2021 12:30:13 -0500 (EST) In-Reply-To: <87pn0qu4k9.fsf@tcd.ie> (Basil L. Contovounesios's message of "Tue, 23 Feb 2021 16:33:42 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:200677 Archived-At: >> Something between 8d5dfaf and efe42c2 (inclusive) causes test-map-into >> to reliably fail on hydra.nixos.org. We can't be more specific since >> intermediate revisions don't build. So far I could not reproduce the issue. >> >> Ref eg https://hydra.nixos.org/build/137474120 >> >> (cl-no-applicable-method map-into ((a . 1) (b . 2)) (hash-table :test equal)) > > FWIW, I've been working on map.el and map-tests.el since yesterday, and > I occasionally run into this heisenerror locally maybe once in every 50 > runs of 'make test/map-tests RET'. This kind of code is supposed to be fully deterministic, so it's quite worrisome. It sounds/smells like memory corruption or some other bug in the memory management. If you could come up with a reasonably simple code (in the sense that it doesn't take too long to run) to reproduce this problem with a high probability, maybe we can start adding some tracing to try and figure out what's going on. IOW, try and write a loop that runs the problematic code a couple hundred times, so that one of those should fail. Then try and cut down the code as much as possible, verifying along the way that the problem didn't disappear. Stefan