From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#41240: 26.3; crash on startup when running package-refresh-contents Date: Wed, 13 May 2020 21:12:20 +0300 Message-ID: <83tv0j66wr.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="121450"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41240@debbugs.gnu.org To: Steve Lorimer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 13 20:24:20 2020 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 1jYw3I-000VSn-1P for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 May 2020 20:24:20 +0200 Original-Received: from localhost ([::1]:44814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYw3H-00027C-0D for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 May 2020 14:24:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYvsN-0000S7-9a for bug-gnu-emacs@gnu.org; Wed, 13 May 2020 14:13:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47964) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jYvsM-0000yX-V6 for bug-gnu-emacs@gnu.org; Wed, 13 May 2020 14:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jYvsM-0003qr-Qb for bug-gnu-emacs@gnu.org; Wed, 13 May 2020 14:13: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: Wed, 13 May 2020 18:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41240 X-GNU-PR-Package: emacs Original-Received: via spool by 41240-submit@debbugs.gnu.org id=B41240.158939356814764 (code B ref 41240); Wed, 13 May 2020 18:13:02 +0000 Original-Received: (at 41240) by debbugs.gnu.org; 13 May 2020 18:12:48 +0000 Original-Received: from localhost ([127.0.0.1]:59506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYvs7-0003q4-Fi for submit@debbugs.gnu.org; Wed, 13 May 2020 14:12:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYvs4-0003pq-VP for 41240@debbugs.gnu.org; Wed, 13 May 2020 14:12:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42914) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYvrz-0000vY-Ob; Wed, 13 May 2020 14:12:39 -0400 Original-Received: from [176.228.60.248] (port=1961 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jYvry-0005kg-G8; Wed, 13 May 2020 14:12:39 -0400 In-Reply-To: (message from Steve Lorimer on Wed, 13 May 2020 12:41:49 -0500) 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:180173 Archived-At: > From: Steve Lorimer > Date: Wed, 13 May 2020 12:41:49 -0500 > > I am running emacs 26.3 on ubuntu 20.04, installed via snap from [scapcraft.io/emacs] > (https://snapcraft.io/emacs), the `latest/stable 26.3` snap. > > $ emacs --version > GNU Emacs 26.3 > ... > > I have distilled my `init.el` file down to the following bare minimum: > > (require 'package) > (setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/"))) > (package-initialize) > (package-refresh-contents) > > Starting emacs with this `init.el` file results in a crash > > Fatal error 11: Segmentation fault > Backtrace: > /snap/emacs/296/usr/bin/emacs[0x58f0c7] > ... > > Loading the core file in gdb I get the following stack trace: > > #0 0x00007f8ce2e65727 in raise () from /snap/core18/current/lib/x86_64-linux-gnu/libpthread.so.0 > #1 0x0000000000567d08 in terminate_due_to_signal () > #2 0x000000000058e802 in handle_fatal_signal () > #3 0x000000000058e7d3 in deliver_thread_signal () > #4 0x000000000058e83d in deliver_fatal_thread_signal () > #5 0x000000000058e9f9 in handle_sigsegv () > #6 > #7 0x00007f8ce9cbeac8 in ?? () from /snap/core18/current/lib64/ld-linux-x86-64.so.2 > #8 0x00007f8ce9cc70bd in ?? () from /snap/core18/current/lib64/ld-linux-x86-64.so.2 > #9 0x00007f8ce22c92df in _dl_catch_exception () from > /snap/core18/current/lib/x86_64-linux-gnu/libc.so.6 > #10 0x00007f8ce9cc67ca in ?? () from /snap/core18/current/lib64/ld-linux-x86-64.so.2 > #11 0x00007f8ce22c83ad in ?? () from /snap/core18/current/lib/x86_64-linux-gnu/libc.so.6 > #12 0x00007f8ce22c92df in _dl_catch_exception () from > /snap/core18/current/lib/x86_64-linux-gnu/libc.so.6 > #13 0x00007f8ce22c936f in _dl_catch_error () from /snap/core18/current/lib/x86_64-linux-gnu/libc.so.6 > #14 0x00007f8ce22c84d9 in __libc_dlopen_mode () from > /snap/core18/current/lib/x86_64-linux-gnu/libc.so.6 > #15 0x00007f8ce22aa886 in ?? () from /snap/core18/current/lib/x86_64-linux-gnu/libc.so.6 > #16 0x00007f8ce22ab088 in __nss_lookup_function () from > /snap/core18/current/lib/x86_64-linux-gnu/libc.so.6 > #17 0x00007f8ce2267cf3 in ?? () from /snap/core18/current/lib/x86_64-linux-gnu/libc.so.6 > #18 0x00007f8ce2269ce4 in getaddrinfo () from /snap/core18/current/lib/x86_64-linux-gnu/libc.so.6 > #19 0x0000000000671b31 in Fmake_network_process () Looks like some problem with your system libraries: the crash is deep inside the C library.