From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Damien Cassou Newsgroups: gmane.emacs.bugs Subject: bug#26639: 26.0.50; gethash can't find value from equal key Date: Tue, 25 Apr 2017 07:57:41 +0200 Message-ID: <87d1c158ru.fsf@luz4> References: <87h91d6etc.fsf@luz4> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1493099957 7324 195.159.176.226 (25 Apr 2017 05:59:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 25 Apr 2017 05:59:17 +0000 (UTC) Cc: Lars Brinkhoff To: 26639@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 25 07:59:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d2tVD-0001hj-PO for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Apr 2017 07:59:08 +0200 Original-Received: from localhost ([::1]:47192 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2tVJ-0004fI-On for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Apr 2017 01:59:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2tVD-0004e3-8w for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 01:59:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2tV8-0002x3-3R for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 01:59:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40542) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d2tV7-0002wt-VS for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 01:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d2tV7-0000DC-MT for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 01:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Damien Cassou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Apr 2017 05:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26639 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1493099885750 (code B ref -1); Tue, 25 Apr 2017 05:59:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Apr 2017 05:58:05 +0000 Original-Received: from localhost ([127.0.0.1]:38741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d2tUD-0000C1-Ar for submit@debbugs.gnu.org; Tue, 25 Apr 2017 01:58:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43127) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d2tUB-0000BR-PM for submit@debbugs.gnu.org; Tue, 25 Apr 2017 01:58:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2tU5-0002W0-Ey for submit@debbugs.gnu.org; Tue, 25 Apr 2017 01:57:58 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:50869) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d2tU5-0002Vt-BE for submit@debbugs.gnu.org; Tue, 25 Apr 2017 01:57:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2tU3-0004Wo-SE for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 01:57:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2tTz-0002TC-1n for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 01:57:55 -0400 Original-Received: from mail.choca.pics ([62.210.108.126]:49132) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d2tTy-0002Sg-LC for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 01:57:50 -0400 Original-Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id 62391232AE84; Tue, 25 Apr 2017 07:57:47 +0200 (CEST) Original-Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id twSA7QNfVKuR; Tue, 25 Apr 2017 07:57:46 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id 44DA5232AE85; Tue, 25 Apr 2017 07:57:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.choca.pics 44DA5232AE85 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cassou.me; s=9EA44F5C-DEF4-11E6-A83F-A08DF322D8FB; t=1493099866; bh=9mlqKlIEGgct2nKFh8+yqsA8C9hvqZg9RTzgfg6q/5E=; h=From:To:Date:Message-ID:MIME-Version; b=Ug2Bd4Trc8erjEkvuD3eCVnAiGvXw17rpyO+//ec276fWvZy3Top0UjVXh0BMLnq6 o0Jenkd1ZoClc4V3ZViI+xXAxAlTteCWIxgqb6FPWqvCfpNfmILG7ZLCx0r1n+XVON fVDW9dt1a+wc39vQjrGWBkcKfqJBQVgxqRU9hbsgnPNsph5QhwWXcYIow1JLxICJ+V sPP8W5nk4wHY0WFYOqywNAFpqKpavqj0UlC53+MHuiEE4dXgG0t1y9q49OW3XeiVQk EyjlYsTGVhHG08+c6sKRQed3scm4MHdoHPHH18GAtX6Bpzn+Q2K7KadhaHPv+0ljES N1bYcZo/Se/Sg== X-Virus-Scanned: amavisd-new at choca.pics Original-Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id iMLv6gKFV_iH; Tue, 25 Apr 2017 07:57:46 +0200 (CEST) Original-Received: from luz4 (31-211-216-84.customers.ownit.se [31.211.216.84]) by mail.choca.pics (Postfix) with ESMTPSA id EA236232AE84; Tue, 25 Apr 2017 07:57:45 +0200 (CEST) In-Reply-To: <87h91d6etc.fsf@luz4> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:131949 Archived-At: --=-=-= Content-Type: text/plain The problem seems to be due to [056548283884d61b1b9637c3e56855ce3a17274d] Make cl-defstruct use records. I attach the result of git bisect as well as the script files I used to reproduce. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=script.el (let (foo1 foo2 hytmp) (require 'cl-lib) (cl-defstruct foo slot1 slot2) (setq foo1 (make-foo :slot1 "abc" :slot2 "cba")) (setq foo2 (make-foo :slot1 "abc" :slot2 "cba")) (equal foo1 foo2) (setq hytmp (make-hash-table :test 'equal)) (puthash foo1 'foobar hytmp) (when (eq 'no (gethash foo2 hytmp 'no)) (error "Problematic hash"))) --=-=-= Content-Type: application/x-sh Content-Disposition: attachment; filename=script.sh Content-Transfer-Encoding: base64 IyEvYmluL3NoCgojIGdvb2QgOiA1MTFhM2MzYmEyNzM1MmZkZTI2YWUyMzcxYTlkNGE2NGM2NDE4 MTIyCgpnaXQgY2xlYW4gLXhmZCA+IC9kZXYvbnVsbAooLi9hdXRvZ2VuLnNoICYmIC4vY29uZmln dXJlIC0tY2FjaGUtZmlsZT0vdG1wL2VtYWNzLmNvbmZpZy5jYWNoZSAmJiBtYWtlIC1qNCkgfHwg ZXhpdCAxMjUKc3JjL2VtYWNzIC0tYmF0Y2ggLVEgLS1sb2FkIH4vdG1wL3NjcmlwdC5lbCB8fCBl eGl0IDEKZXhpdCAwCg== --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=bisect.log # bad: [53f8f4bf2db097f4a2c68194c55a87c5a1176c8c] Fix XBM colour rendering in NS port (bug#22060) # good: [511a3c3ba27352fde26ae2371a9d4a64c6418122] Fix display of strike-through text in variable-height lines git bisect start 'origin/master' '511a3c3ba27352fde26ae2371a9d4a64c6418122' # good: [e69a5f5e456b39ad37f7d622386063548bea8208] * lisp/emacs-lisp/lisp-mode.el: Don't highlight \( at BOL git bisect good e69a5f5e456b39ad37f7d622386063548bea8208 # bad: [a2b3fea957440b8358d3632a4a05e41dee964b5d] Deprecate copy-record in favor of copy-sequence git bisect bad a2b3fea957440b8358d3632a4a05e41dee964b5d # good: [3887c54544bc2e5f8c2e7c12973887f9b2b88c40] Throw a `search-failed' derived error in Info search git bisect good 3887c54544bc2e5f8c2e7c12973887f9b2b88c40 # bad: [dd09e72ed6b1c6ba5c584e7aa32d98437d96326a] Allow a CANNOT_DUMP build to use exec-path during bootstrap. git bisect bad dd09e72ed6b1c6ba5c584e7aa32d98437d96326a # bad: [f1d34d9136fbf1dc2cf58b5ba36311451f024956] Minor cleanups related to type-of git bisect bad f1d34d9136fbf1dc2cf58b5ba36311451f024956 # bad: [f4b50dad8d5eade04f495c693c0bca46060b25cb] Make ediff handle remote and quoted file names git bisect bad f4b50dad8d5eade04f495c693c0bca46060b25cb # skip: [056548283884d61b1b9637c3e56855ce3a17274d] Make cl-defstruct use records. git bisect skip 056548283884d61b1b9637c3e56855ce3a17274d # bad: [8e6f204f44b6183ba73c7d1bec5841f2b7b8bdd0] Make EIEIO use records. git bisect bad 8e6f204f44b6183ba73c7d1bec5841f2b7b8bdd0 # good: [a2c33430292c79ac520100b1d0e8e7c04dfe426a] Add record objects with user-defined types. git bisect good a2c33430292c79ac520100b1d0e8e7c04dfe426a # only skipped commits left to test # possible first bad commit: [8e6f204f44b6183ba73c7d1bec5841f2b7b8bdd0] Make EIEIO use records. # possible first bad commit: [056548283884d61b1b9637c3e56855ce3a17274d] Make cl-defstruct use records. --=-=-=--