GNU bug report logs - #54814
29.0.50; symbol visibility in modules may cause emacs crash in nativ-compilation emacs

Previous Next

Package: emacs;

Reported by: joakim <at> verona.se

Date: Sat, 9 Apr 2022 13:11:02 UTC

Severity: normal

Found in version 29.0.50

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: joakim <at> verona.se
Cc: 54814 <at> debbugs.gnu.org, akrl <at> sdf.org
Subject: Re: bug#54814: 29.0.50; symbol visibility in modules may cause
 emacs crash in nativ-compilation emacs
Date: Sat, 09 Apr 2022 19:23:53 +0300
> X-Spam-Status: No, score=-1 tagged_above=-999 required=6.2
> 	tests=[ALL_TRUSTED=-1] autolearn=disabled
> From: joakim <at> verona.se
> Cc: Andrea Corallo <akrl <at> sdf.org>,  54814 <at> debbugs.gnu.org
> Date: Sat, 09 Apr 2022 18:18:10 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> From: joakim <at> verona.se
> >> Date: Sat, 09 Apr 2022 15:09:48 +0200
> >> 
> >> 
> >> symbol visibility in modules may cause emacs crash in nativ-compilation
> >> emacs
> >
> > Does it really have to do anything with native-compilation?  The fixes
> > seem to be to compile the external modules with less visibility, but
> > that doesn't affect Emacs, only the modules.
> >
> > Or am I missing something?
> 
> Well, I'm not really sure, but I have a couple of different builds of
> emacs, and when I load the emacs-zmq precompiled binaries they crash my
> main emacs, which has native-compilation, but not the other emacs I
> tried this in. I also get the same result of crashing native emacs, when
> using the packaged build proceedure of emacs-zmq. The hidden-visibility
> branch seems to fix these problems.

It's possible that Emacs with native-compilation somehow triggers the
problem, but the proposed fixes are entirely in the modules, AFAICT.

> Can I help pinpointing the issue somehow?

A detailed explanation of why it crashes could help, I think.  All I
saw are backtraces with no details, and no explanation what exactly
caused the crash and how that was related to symbol visibility.




This bug report was last modified 3 years and 69 days ago.

Previous Next


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