From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#46722: test-map-into fails Date: Tue, 23 Feb 2021 22:50:59 +0000 Message-ID: <87mtvupfe4.fsf@tcd.ie> References: <87pn0qu4k9.fsf@tcd.ie> <87blcaqz5f.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="19754"; 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: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 23 23:52:12 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 1lEgXM-000531-LC for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Feb 2021 23:52:12 +0100 Original-Received: from localhost ([::1]:60008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEgXL-0008Ql-Cs for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Feb 2021 17:52:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEgXC-0008Ox-MP for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2021 17:52:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49326) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEgXC-0001AB-Er for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2021 17:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lEgXC-00030T-Cu for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2021 17:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Feb 2021 22:52: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.161412067011491 (code B ref 46722); Tue, 23 Feb 2021 22:52:02 +0000 Original-Received: (at 46722) by debbugs.gnu.org; 23 Feb 2021 22:51:10 +0000 Original-Received: from localhost ([127.0.0.1]:60870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEgWM-0002zG-A0 for submit@debbugs.gnu.org; Tue, 23 Feb 2021 17:51:10 -0500 Original-Received: from mail-wm1-f52.google.com ([209.85.128.52]:34755) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEgWJ-0002yo-CG for 46722@debbugs.gnu.org; Tue, 23 Feb 2021 17:51:09 -0500 Original-Received: by mail-wm1-f52.google.com with SMTP id o10so2369314wmc.1 for <46722@debbugs.gnu.org>; Tue, 23 Feb 2021 14:51:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=51gNH6nziwKQBUqTCH9n9vtl2VyQB6nGVHJ59CCYzAk=; b=E04HNMNtvXDXAAcPlmTCkqigjSNkJbT0iZ8cOnLn689FobCSuvw5Ub1W2uJJZzHJ8R jvZuSXZxsQgGSFCMYbnNeHYDWAJrv5SEehxFCp30Wuq2X7U7VmO/p5kQ8R/7fxj1yF6F 4yru8p+pZPrPA5jYQOb3qxxiMGHYC9/ioOxbaRDcNlXx1ZukyMlvAmm1rYQBWV1wroCU nxnedCuxAv4q9QImuOXGQpEqgKpTDvrPIxkCGlPoYHtw5F8oNM2OCvvKsTVqtR5q+J7C Kz1CVrM68ypJEsGPbhzEwKTaPiBJZTHsoeM6qkdnGE5Xmh4hUy+fVnZGamzAy+iMzBWz iqJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=51gNH6nziwKQBUqTCH9n9vtl2VyQB6nGVHJ59CCYzAk=; b=s7H8pgQe7D8lcSwlpTwMcok+UQ1MQlFjfWYGodVGax9VEmpZQDcdb0zzuz8t1yX3nJ 8hLom2DFks35nN6Q6OwIYotR1bInkb/O5vD5JItFhvpCZ69OdhnlfxeEIhCTWb/z5rvB X+kKVPEBZ2/12YbedWWVB1C2d9AkO71xFafFbJiEY5CJyFBqwplRzIqrjlxqQp3tustq r8vVK74hK7B55ADFKx5eye62JYGOLVofgtwVxaLjId8NmfS94vz7faVamcNZmK4Tf2Pm OdyvxYV/C2Coc9sqCtAdX40dN9z9U+UGD7xP2PMIK+ZTynaCsWof7nwkVxAJWpfq1/46 unrw== X-Gm-Message-State: AOAM530pdsif7E7ExdATCD7wfkhtFGR6rq98/cExNe/7JiO4nSXHwGf0 ljRV/PVRdJghdX8KXJkgWb91+A== X-Google-Smtp-Source: ABdhPJxq9Jsf72Lbnhr5HByztmUyNGXhmg2/iNLnFYIVwYWynQl2wiKwVtNZ/uXT8naA4gjjBpYpGA== X-Received: by 2002:a05:600c:19cf:: with SMTP id u15mr839113wmq.139.1614120661433; Tue, 23 Feb 2021 14:51:01 -0800 (PST) Original-Received: from localhost ([2a02:8084:20e2:c380:d15:339e:aa10:60f1]) by smtp.gmail.com with ESMTPSA id b6sm193132wrq.56.2021.02.23.14.51.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Feb 2021 14:51:00 -0800 (PST) In-Reply-To: <87blcaqz5f.fsf@tcd.ie> (Basil L. Contovounesios's message of "Tue, 23 Feb 2021 20:58:52 +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:200685 Archived-At: "Basil L. Contovounesios" writes: > Here's the simplest repro I could find: > > ;;; foo.el -*- lexical-binding: t -*- > (require 'map) > (map-into () '(hash-table)) > ;;; foo.el ends here > > followed by: > > emacs -Q -batch -f batch-byte-compile foo.el > while emacs -Q -batch -l foo.elc; do :; done > > which barfs the attached after a few seconds. > > The same happens with: > > (map-into () '(hash-table :test eq)) > (map-into () '(hash-table :test eql)) > (map-into () '(hash-table :test equal)) > > but not with: > > (map-into () 'hash-table) > > so maybe the heisenbug lies with cl-defmethod's treatment of 'head'? For some reason looping in Lisp doesn't fail though: ;;; foo.el -*- lexical-binding: t -*- (require 'map) (while (map-into () '(hash-table))) ;;; foo.el ends here when run as: emacs -Q -batch -f batch-byte-compile foo.el emacs -Q -batch -l foo.elc I actually forgot I left this running in the background for over an hour because compilation-finish-functions never ran. The same happens if I change '-batch -l' to '-script'. -- Basil