unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: joakim@verona.se
Cc: 54814@debbugs.gnu.org, akrl@sdf.org
Subject: 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	[thread overview]
Message-ID: <83bkxa8bty.fsf@gnu.org> (raw)
In-Reply-To: <877d7yqlh9.fsf@tanaka.verona.se> (joakim@verona.se)

> X-Spam-Status: No, score=-1 tagged_above=-999 required=6.2
> 	tests=[ALL_TRUSTED=-1] autolearn=disabled
> From: joakim@verona.se
> Cc: Andrea Corallo <akrl@sdf.org>,  54814@debbugs.gnu.org
> Date: Sat, 09 Apr 2022 18:18:10 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> From: joakim@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.





  reply	other threads:[~2022-04-09 16:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-09 13:09 bug#54814: 29.0.50; symbol visibility in modules may cause emacs crash in nativ-compilation emacs joakim
2022-04-09 14:11 ` Eli Zaretskii
2022-04-09 16:18   ` joakim
2022-04-09 16:23     ` Eli Zaretskii [this message]
2022-04-09 18:30       ` joakim
2022-04-10  8:33         ` Eli Zaretskii
2022-04-11  8:42           ` Andrea Corallo
2022-04-11 11:20             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83bkxa8bty.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=54814@debbugs.gnu.org \
    --cc=akrl@sdf.org \
    --cc=joakim@verona.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).