From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <83bkxa8bty.fsf@gnu.org> References: <87zgkuqu77.fsf@tanaka.verona.se> <83h7728hy3.fsf@gnu.org> <877d7yqlh9.fsf@tanaka.verona.se> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39515"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54814@debbugs.gnu.org, akrl@sdf.org To: joakim@verona.se Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 09 18:25:12 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ndDtf-000A3X-Sw for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Apr 2022 18:25:11 +0200 Original-Received: from localhost ([::1]:43052 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndDte-0006qY-SH for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Apr 2022 12:25:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndDtW-0006nz-UU for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2022 12:25:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44673) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndDtW-0001EH-LA for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2022 12:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ndDtW-0005Hb-Hc for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2022 12:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Apr 2022 16:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54814 X-GNU-PR-Package: emacs Original-Received: via spool by 54814-submit@debbugs.gnu.org id=B54814.164952145220245 (code B ref 54814); Sat, 09 Apr 2022 16:25:02 +0000 Original-Received: (at 54814) by debbugs.gnu.org; 9 Apr 2022 16:24:12 +0000 Original-Received: from localhost ([127.0.0.1]:38570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndDsh-0005GS-N6 for submit@debbugs.gnu.org; Sat, 09 Apr 2022 12:24:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndDsf-0005GF-GN for 54814@debbugs.gnu.org; Sat, 09 Apr 2022 12:24:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52008) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndDsZ-00018l-Tp; Sat, 09 Apr 2022 12:24:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=wBxGlw+F0caaO9AI60pVt/FvgwovJWy9+l+Ri4B+JtM=; b=OJq8bZMtHqiB JdyxkKpo22wM35BQwQoqBV21a2Qc7ZO2hc4XNPQAsHvKBLPBf/9Xh5V2u37OFapC67e+MVzS9fsAv 4n1sRHEVnKQPNjFuSEHP0BWP69AIfYEFKU8bBqZbnXObyfmHeJN4jU6I/v3V4HG7lAVDycNQW4Xah l5icvlfWHSrtooQhp4p6kcQs2FeiJ3JaHT7pnawERAJ1Setgt+imkVh3nTdMnGekeIMiVpcFRSRla fLNA5ipUIqAwSw7Sv6xYJdbUboJmzlhmyUJ98zq/CkuNRUAaJOYQoGUepv1HIlI2QtfCpCd+MU563 gZYYCPnLoIJmSQ9uLz6Hqg==; Original-Received: from [87.69.77.57] (port=1167 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndDsZ-0000kU-7s; Sat, 09 Apr 2022 12:24:03 -0400 In-Reply-To: <877d7yqlh9.fsf@tanaka.verona.se> (joakim@verona.se) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:229624 Archived-At: > 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 , 54814@debbugs.gnu.org > Date: Sat, 09 Apr 2022 18:18:10 +0200 > > Eli Zaretskii 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.