unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Kenichi Handa <handa@gnu.org>,  emacs-devel <emacs-devel@gnu.org>
Subject: Re: Question about DEFVAR_LISP_NOPRO
Date: Fri, 05 Apr 2024 20:15:11 +0200	[thread overview]
Message-ID: <m2le5rr80g.fsf@Pro.fritz.box> (raw)
In-Reply-To: <jwv7chbbuka.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 05 Apr 2024 13:16:04 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> BTW, this comment in process_mark_stack isn't true because of
>> DEFVAR_LISP_NOPRO:
>>
>> 	      case SYMBOL_FORWARDED:
>> 		/* If the value is forwarded to a buffer or keyboard field,
>> 		   these are marked when we see the corresponding object.
>> 		   And if it's forwarded to a C variable, either it's not
>> 		   a Lisp_Object var, or it's staticpro'd already.  */
>
> Yeah, it should be completed with "or it's reachable from
> `font_style_table` which is also staticpro'd" 🙁

Buhut... after fixing my fixing functions:

Loading /Users/gerd/emacs/github/igc/lisp/emacs-lisp/cconv.el (source)...
*** MPS GC start: Generation 0 of a chain has reached capacity: start a minor collection.
*** MPS GC start: Generation 0 of a chain has reached capacity: start a minor collection.
Loading /Users/gerd/emacs/github/igc/lisp/cus-start.el (source)...
Loading /Users/gerd/emacs/github/igc/lisp/tooltip.el (source)...
Loading /Users/gerd/emacs/github/igc/lisp/international/iso-transl.el (source)...
Loading /Users/gerd/emacs/github/igc/lisp/emacs-lisp/rmc.el (source)...
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under the name bootstrap-emacs.pdmp
Dumping fingerprint: b5f4eba29e5aaa696eb0cd505f3c894794b520617dfa65b7e8f5dff42eb84e4b
Dump complete (8.49 seconds)
Byte counts: header=100 hot=18219148 discardable=155616 cold=12918304
Reloc counts: hot=1269818 discardable=8081

Alas

ANCIENT=yes gmake -C ../lisp compile-first EMACS="../src/bootstrap-emacs"
'../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp  -f batch-byte-compile emacs-lisp/macroexp.el
bootstrap-emacs(1160,0x7ff857900100) malloc: *** error for object 0x182e91e40: pointer being freed was not allocated
bootstrap-emacs(1160,0x7ff857900100) malloc: *** set a breakpoint in malloc_error_break to debug
Fatal error 6: Aborted

Only 87873464531 problems remaining ;-)



  reply	other threads:[~2024-04-05 18:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-05 15:10 Question about DEFVAR_LISP_NOPRO Gerd Möllmann
2024-04-05 16:24 ` Stefan Monnier
2024-04-05 16:37   ` Gerd Möllmann
2024-04-05 17:16     ` Stefan Monnier
2024-04-05 18:15       ` Gerd Möllmann [this message]
2024-04-05 18:16         ` Stefan Monnier
2024-05-18 12:40   ` K. Handa
2024-05-18 13:22     ` 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

  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=m2le5rr80g.fsf@Pro.fritz.box \
    --to=gerd.moellmann@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=handa@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).