GNU bug report logs - #14120
invalid load-history in emacsen that CANNOT_DUMP

Previous Next

Package: emacs;

Reported by: BT Templeton <bt <at> hcoop.net>

Date: Mon, 1 Apr 2013 22:55:01 UTC

Severity: normal

Found in version 27.0.50

Fixed in version 27.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #39 received at 14120 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: rrandresf <at> gmail.com (Andrés Ramírez)
Cc: 14120 <at> debbugs.gnu.org
Subject: Re: bug#14120: invalid load-history in emacsen that CANNOT_DUMP
Date: Mon, 17 Feb 2020 10:09:59 -0500
>> FWIW, CANNOT_DUMP is a compilation option that is only meant to be used
>> as a temporary measure.  It suffers from various shortcomings (other
>> than the obvious startup cost).
>
>> So before we start trying to fix them, I'd like to know why you need to
>> use CANNOT_DUMP.
>
> I use CANNOT_DUMP on a daily basis on emacs 23.4 (the best emacs for
> poor machines. it renders very quick. I would like to profile It against
> latest emacs which I also use) It was compiled on on November 13 2019. I have suffered
> the same issue as Templeton.

Any chance you can try and investigate where/why/how that spurious value gets
pushed to `load-history`?

AFAICT the only place where `load-history` gets modified is in
lread.c:build_load_history.
Could you add some assertions there to try and catch the sucker?


        Stefan





This bug report was last modified 5 years and 152 days ago.

Previous Next


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