all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: Helmut Eller <eller.helmut@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>,  Emacs Devel <emacs-devel@gnu.org>
Subject: Re: MPS: hash tables / obarrays
Date: Sun, 19 May 2024 13:21:09 +0200	[thread overview]
Message-ID: <m2ed9yrqsa.fsf@pro2.fritz.box> (raw)
In-Reply-To: <875xvaqel1.fsf@gmail.com> (Helmut Eller's message of "Sun, 19 May 2024 12:30:02 +0200")

Helmut Eller <eller.helmut@gmail.com> writes:

> On Sun, May 19 2024, Gerd Möllmann wrote:
>
>> What does it say when it fails?
>
> I think it prints a non-interned symbol.  print-gensym seems to be t.
> With exact roots:
>
> gdb --args ../src/emacs -Q --batch -l src/comp-tests.el --eval
> '(ert-run-tests-batch "comp-tests-bootstrap")'
>
> ...
>     (file=0x555555a03852 "igc.c", line=343, msg=0x555555a0387a "h->obj_type != IGC_OBJ_FWD") at igc.c:90
> #5  0x00005555559016e6 in igc_check_fwd (client=0x7fffe2e7f268) at igc.c:343
> #6  0x00005555558777a3 in XBARE_SYMBOL (a=0x2aaa8cd77588)
>     at /scratch/emacs/emacs-igc/src/lisp.h:1166
> #7  0x000055555587781b in XSYMBOL (a=0x2aaa8cd77588)
>     at /scratch/emacs/emacs-igc/src/lisp.h:1179
> #8  0x0000555555878319 in SYMBOL_INTERNED_P (sym=0x2aaa8cd77588)

> (gdb) p is_mps(0x2aaa8cd77588)
> $1 = false
> (gdb) p is_mps(0x7fffe2e7f268)
> $2 = true

I'd say a reference we didn't scan :-(.

The is_mps with a Lisp_Object doesn't work with symbols, BTW, because
the Lisp_Object doesn't contain a pointer, but an offset from lispsym.



  reply	other threads:[~2024-05-19 11:21 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-19  8:38 MPS: hash tables / obarrays Gerd Möllmann
2024-05-19  8:57 ` Eli Zaretskii
2024-05-19  9:12   ` Gerd Möllmann
2024-05-19  9:50 ` Helmut Eller
2024-05-19 10:14   ` Gerd Möllmann
2024-05-19 10:30     ` Helmut Eller
2024-05-19 11:21       ` Gerd Möllmann [this message]
2024-05-19 20:36         ` Helmut Eller
2024-05-20  4:27           ` Gerd Möllmann
2024-05-20  6:13             ` Gerd Möllmann
2024-05-20  8:10             ` Helmut Eller
2024-05-20  8:43               ` Gerd Möllmann
2024-05-29 12:00 ` Helmut Eller
2024-05-29 13:30   ` Gerd Möllmann
2024-05-29 15:00     ` Helmut Eller
2024-05-29 16:28       ` Gerd Möllmann
2024-05-29 16:52         ` Andrea Corallo
2024-05-29 18:03           ` 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=m2ed9yrqsa.fsf@pro2.fritz.box \
    --to=gerd.moellmann@gmail.com \
    --cc=eliz@gnu.org \
    --cc=eller.helmut@gmail.com \
    --cc=emacs-devel@gnu.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 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.