GNU bug report logs - #47067
28.0.50; [feature/native-comp] Crash while scrolling through dispnew.c

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Thu, 11 Mar 2021 11:28:02 UTC

Severity: normal

Found in version 28.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andrea Corallo <akrl <at> sdf.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 47067 <at> debbugs.gnu.org
Subject: bug#47067: 28.0.50; [feature/native-comp] Crash while scrolling through dispnew.c
Date: Sun, 21 Mar 2021 15:41:48 +0000
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Andrea Corallo <akrl <at> sdf.org>
>> Cc: 47067 <at> debbugs.gnu.org
>> Date: Sun, 21 Mar 2021 14:37:45 +0000
>> 
>> > So maybe we should separate the preloaded *.eln files from the rest of
>> > them.  Say, put the *.eln files for the preloaded Lisp files into a
>> > special subdirectory of native-lisp/XX.YY.ZZ-xxxxxx/, let's call it
>> > "preloaded".  Then in that subdirectory we never remove stale *.eln
>> > files, because there might be a .pdmp file that references them.  The
>> > *.eln files in other places can be cleaned up when they become stale.
>> >
>> > WDYT?
>> 
>> What should be choose as XX.YY.ZZ-xxxxxx ?
>
> That's the usual VERSION+ABI-HASH way you generate that subdirectory
> today, I don't propose any change in that part.  Just have a
> subdirectory _under_ that, called "preloaded", where you put all the
> preloaded *.eln files, and put all the other *.eln files generated
> during the build as you do today.
>
> Did I explain myself?

Yep sorry, it's clear now.

I was thinking, the only downside I see of this solution is that while
we can tweak the build system to signal to Emacs that a certain file
being compiled will be used for dump, this will indeed not be possible
for subsequent dumps.  Not sure if this is a real issue or not.

  Andrea




This bug report was last modified 4 years and 44 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.