unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Damien Cassou <damien@cassou.me>
To: 26639@debbugs.gnu.org
Cc: Lars Brinkhoff <lars@nocrew.org>
Subject: bug#26639: 26.0.50; gethash can't find value from equal key
Date: Tue, 25 Apr 2017 07:57:41 +0200	[thread overview]
Message-ID: <87d1c158ru.fsf@luz4> (raw)
In-Reply-To: <87h91d6etc.fsf@luz4>

[-- Attachment #1: Type: text/plain, Size: 355 bytes --]

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

[-- Attachment #2: script.el --]
[-- Type: text/plain, Size: 350 bytes --]

(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")))

[-- Attachment #3: script.sh --]
[-- Type: application/x-sh, Size: 241 bytes --]

[-- Attachment #4: bisect.log --]
[-- Type: text/plain, Size: 1882 bytes --]

# 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.

      parent reply	other threads:[~2017-04-25  5:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-24 14:49 bug#26639: 26.0.50; gethash can't find value from equal key Damien Cassou
2017-04-24 17:05 ` Andreas Schwab
2017-04-25  5:57 ` Damien Cassou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d1c158ru.fsf@luz4 \
    --to=damien@cassou.me \
    --cc=26639@debbugs.gnu.org \
    --cc=lars@nocrew.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).