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


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: 47067 <at> debbugs.gnu.org
Subject: Re: bug#47067: 28.0.50; [feature/native-comp] Crash while scrolling
 through dispnew.c
Date: Sun, 14 Mar 2021 10:02:19 +0200
> From: Andrea Corallo <akrl <at> sdf.org>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 47067 <at> debbugs.gnu.org
> Date: Sun, 14 Mar 2021 07:19:17 +0000
> 
> Okay with a trunk gdb I'm able to debug...

Yes, 8.2 is quite an old version.

> Here is my backtrace for the suggested reproducer on my Emacs configured
> with --with-wide-int --enable-checking=yes,glyphs and compiled with the
> default `comp-debug' 0.

Thanks.  However, your build is optimized, whereas mine isn't.  This
has a significant effect on the backtrace (static functions are
inlined and don't appear in the backtrace).  Please reconfigure with
CFLAGS='-O0 -g3' (and the rest of the switches as you used them for
this build), and show the backtrace after rebuilding.

As I established earlier, in

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=47067#80
  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=47067#83

the code which GDB fails to identify with any symbols calls Emacs
primitives via freloc.link_table.  Where is the C source for this
code?  If there is no C source, then how is that code generated?

> Emacs does not crash if then I continue and scroll through down through
> in the file.

And if you type "C-s sleep"?




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.