GNU bug report logs -
#70914
29.3; Crashes often on Windows
Previous Next
Reported by: Simen Endsjø <simendsjo <at> gmail.com>
Date: Mon, 13 May 2024 08:49:02 UTC
Severity: normal
Found in version 29.3
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #161 received at 70914 <at> debbugs.gnu.org (full text, mbox):
> And you sure you are running the binary you built, not the one
> installed previously that you downloaded from the GNU FTP site?
> (Sorry for asking the obvious, but it's better to err on the safe side
> in this complicated story.)
Easy to mix up when juggling many builds, and I already stumbled once (or twice
given that I didn't get crashes for my no_native=true branch). Here's the output
of info target:
Thread 1 received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) info target
Symbols from
"d:\tmp\emacs-bug-70914\emacs-no-native-compilation\simendsjo-build\bin\emacs.exe".
Native process:
Using the running image of child process 14644.
While running this, GDB does not access memory from...
Local exec file:
`d:\tmp\emacs-bug-70914\emacs-no-native-compilation\simendsjo-build\bin\emacs.exe',
file type pei-x86-64.
> I think before you do that it would be better to rebuild Emacs without
> optimizations. That is,
> (..)
> And then see if you can reproduce the crashes. If the unoptimized
> build doesn't crash, try next with -O1 instead of -O0.
Thanks. Getting late, so I'll try to give it a shot within the next couple of
days.
On Fri, May 17, 2024 at 8:38 PM Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> > From: Simen Endsjø <simendsjo <at> gmail.com>
> > Date: Fri, 17 May 2024 20:05:48 +0200
> > Cc: acorallo <at> gnu.org, 70914 <at> debbugs.gnu.org
> >
> > So yes, I get the same crashes with the same zero stacktraces on
> > --without-native-compilation / --with-native-compilation=no (with and without
> > no_native=true).
>
> And you sure you are running the binary you built, not the one
> installed previously that you downloaded from the GNU FTP site?
> (Sorry for asking the obvious, but it's better to err on the safe side
> in this complicated story.)
>
> > I'll see if I can create a smaller example which I can share as I cannot share
> > my entire config.
>
> I think before you do that it would be better to rebuild Emacs without
> optimizations. That is,
>
> CFLAGS='-O0 -gdwarf-4 -g3' ./configure ...
> make
>
> (Replace "..." with the configure options you used for the optimized
> build.)
>
> And then see if you can reproduce the crashes. If the unoptimized
> build doesn't crash, try next with -O1 instead of -O0.
This bug report was last modified 1 year and 54 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.