all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andrea Corallo <acorallo@gnu.org>
To: john muhl <jm@pub.pink>
Cc: "Mekeor Melire" <mekeor@posteo.de>,
	"Eli Zaretskii" <eliz@gnu.org>,
	"Mattias Engdegård" <mattias.engdegard@gmail.com>,
	68668@debbugs.gnu.org
Subject: bug#68668: 30.0.50; Invalid hash table test: tab-bar--auto-width-hash-test
Date: Wed, 31 Jan 2024 05:13:49 -0500	[thread overview]
Message-ID: <yp1fryderoi.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <yp1jznpesi5.fsf@fencepost.gnu.org> (Andrea Corallo's message of "Wed, 31 Jan 2024 04:56:02 -0500")

Andrea Corallo <acorallo@gnu.org> writes:

> Andrea Corallo <acorallo@gnu.org> writes:
>
>> john muhl <jm@pub.pink> writes:
>>
>>> Eli Zaretskii <eliz@gnu.org> writes:
>>>
>>>>> From: Mekeor Melire <mekeor@posteo.de>
>>>>> Date: Mon, 29 Jan 2024 22:53:45 +0000
>>>>>
>>>>> Hello, I just wanted to share a work-around for this bug, even though it
>>>>> is probably bad for performance:
>>>>>
>>>>> 	(setopt native-comp-enable-subr-trampolines nil)
>>>>
>>>> Can someone please post a recipe for reproducing this?  Does this
>>>> happen if you say "make bootstrap"?
>>>
>>> This most reliable way to reproduce it for me is:
>>>
>>>   git clone https://git.savannah.gnu.org/git/emacs.git
>>>   cd emacs
>>>   make bootstrap
>>>   make test/src/keymap-tests.log
>>>
>>> It reproduces on 32 & 64bit systems, x86_64, armv7l and aarch64.
>>> The problem first shows up with keymap-tests in 54d3de64e19.
>>> Attached is the keymap-tests.log.
>>
>> I can reproduce this recipe, smells of some some function being moked
>> that the native compiler needs in order to work.  I'll try to have a
>> look.
>>
>>   Andrea
>
> Okay investigation in progress, here a minimal reproducer:
>
> (describe-buffer-bindings (current-buffer))
> (comp-trampoline-compile 'message)
>
> What is going on is that for some reason after calling
> 'describe-buffer-bindings' an hash table with
> 'tab-bar--auto-width-hash-test' as test is leaked into the compilation
> environment.
>
> As this is passed to the spawned process we fail as there
> 'tab-bar--auto-width-hash-test' is not defined.
>
>   Andrea


Okay something very wierd hash related is going on here:

If I evaluate:

(progn
  (describe-buffer-bindings (current-buffer))
  (require 'comp)
  (make-comp-data-container))

I get

#s(comp-data-container nil #s(hash-table test tab-bar--auto-width-hash-test))

In place of the expected

#s(comp-data-container nil #s(hash-table test comp-imm-equal-test))

Adding Mattias in Cc.

Thanks

  Andrea





  reply	other threads:[~2024-01-31 10:13 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-23  3:46 bug#68668: 30.0.50; Invalid hash table test: tab-bar--auto-width-hash-test No Wayman
2024-01-23  7:06 ` Juri Linkov
2024-01-24  7:50   ` Juri Linkov
2024-01-24  8:05     ` iarchivedmywholelife
2024-01-24 13:46     ` john muhl via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-24 17:02       ` Juri Linkov
2024-01-25  8:40       ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-25 17:44         ` john muhl via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-29 22:53 ` Mekeor Melire
2024-01-30 12:22   ` Eli Zaretskii
2024-01-30 14:55     ` john muhl via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-30 21:52       ` Andrea Corallo
2024-01-31  9:56         ` Andrea Corallo
2024-01-31 10:13           ` Andrea Corallo [this message]
2024-01-31 10:29             ` Gerd Möllmann
2024-01-31 11:55               ` Mattias Engdegård
2024-01-31 13:05                 ` Gerd Möllmann
2024-01-31 13:18                   ` Mattias Engdegård
2024-01-31 13:34                     ` Gerd Möllmann
2024-01-31 14:17                       ` Mattias Engdegård
2024-01-31 14:44                         ` Gerd Möllmann
2024-01-31 15:05                           ` Eli Zaretskii
2024-01-31 15:14                             ` bug#68821: Native compile error when activating rectangle-mark-mode Gerd Möllmann

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

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

  git send-email \
    --in-reply-to=yp1fryderoi.fsf@fencepost.gnu.org \
    --to=acorallo@gnu.org \
    --cc=68668@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=jm@pub.pink \
    --cc=mattias.engdegard@gmail.com \
    --cc=mekeor@posteo.de \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.