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: Eli Zaretskii <eliz <at> gnu.org>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: 47067 <at> debbugs.gnu.org
Subject: bug#47067: 28.0.50; [feature/native-comp] Crash while scrolling through dispnew.c
Date: Fri, 19 Mar 2021 14:10:21 +0200
> From: Andrea Corallo <akrl <at> sdf.org>
> Cc: 47067 <at> debbugs.gnu.org
> Date: Fri, 19 Mar 2021 09:42:33 +0000
> 
> I've a patch that works modifying `load' to prevent native code being
> loaded when a file with .elc suffix is explicitly presented as argument.
> 
> I was going to post it but re-reading your message I now wanted to ask:
> do we want to act at `load' level or at `load-file' + `load-library'
> level?

The former, I think.  This is to keep the original semantics of 'load'
as it existed before the native-compilation: if you say

  (load "foo.el")

Emacs loads the .el file, even if the corresponding .elc file exists.

But if doing that in 'load' causes some trouble, I think we should at
least do this on the level of 'load-file' and 'load-library'.

Thanks.




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

Previous Next


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