From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Henrik Grimler Newsgroups: gmane.emacs.bugs Subject: bug#39577: 27.0.60; Assertion failed during compilation Date: Thu, 13 Feb 2020 21:04:30 +0100 Message-ID: <20200213200430.GA18685@localhost> References: <20200212073922.GA2812@localhost> <83eeuyr0vd.fsf@gnu.org> <20200213190016.GA11739@localhost> <835zgaqojp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="17286"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39577@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 13 21:08:17 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 1j2KmX-0004NP-Cb for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Feb 2020 21:08:17 +0100 Original-Received: from localhost ([::1]:58612 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2KmV-0005Dk-JI for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Feb 2020 15:08:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58281) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2KmJ-0005DY-7f for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2020 15:08:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2KmH-0006zK-Vb for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2020 15:08:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54536) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j2KmH-0006ya-Rr for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2020 15:08:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j2KmH-0008Tq-LU for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2020 15:08:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Henrik Grimler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2020 20:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39577 X-GNU-PR-Package: emacs Original-Received: via spool by 39577-submit@debbugs.gnu.org id=B39577.158162446432570 (code B ref 39577); Thu, 13 Feb 2020 20:08:01 +0000 Original-Received: (at 39577) by debbugs.gnu.org; 13 Feb 2020 20:07:44 +0000 Original-Received: from localhost ([127.0.0.1]:60509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2Km0-0008TG-71 for submit@debbugs.gnu.org; Thu, 13 Feb 2020 15:07:44 -0500 Original-Received: from smtp-4.sys.kth.se ([130.237.48.193]:43032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2Kis-0008OV-EP for 39577@debbugs.gnu.org; Thu, 13 Feb 2020 15:04:31 -0500 Original-Received: from smtp-4.sys.kth.se (localhost.localdomain [127.0.0.1]) by smtp-4.sys.kth.se (Postfix) with ESMTP id AC6342B84; Thu, 13 Feb 2020 21:04:28 +0100 (CET) X-Virus-Scanned: by amavisd-new at kth.se Original-Received: from smtp-4.sys.kth.se ([127.0.0.1]) by smtp-4.sys.kth.se (smtp-4.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id EGCU5b96WszF; Thu, 13 Feb 2020 21:04:28 +0100 (CET) X-KTH-Auth: hgrimler [84.55.98.148] X-KTH-mail-from: hgrimler@kth.se Original-Received: from localhost (84-55-98-148.customers.ownit.se [84.55.98.148]) by smtp-4.sys.kth.se (Postfix) with ESMTPSA id 95D982A22; Thu, 13 Feb 2020 21:04:27 +0100 (CET) Content-Disposition: inline In-Reply-To: <835zgaqojp.fsf@gnu.org> X-Mailman-Approved-At: Thu, 13 Feb 2020 15:07:43 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:176016 Archived-At: > > > Can you show a backtrace from the segfault? > > > > After loading gdbinit from emacs src, starting emacs and scrolling up > > and down a file a couple of times it crashes with: > > > > ``` > > Program received signal SIGSEGV, Segmentation fault. > > 0xb6995228 in sigsetjmp () from /system/lib/libc.so > > ``` > > > > A backtrace then unfortunately only shows: > > > > ``` > > #0 0xb6995228 in sigsetjmp () from /system/lib/libc.so > > #1 0x62e31f80 in ?? () > > Backtrace stopped: previous frame identical to this frame (corrupt stack?) > > Sounds like sigsetjmp is buggy on that platform? Could be? I have not seen any bug reports or similar issues for other programs that seem related though, but android arm is fairly rare these days. I am dreaming of finding a workaround on the emacs side of things as I can not modify the system libraries (well not easily anyways). I suppose I need to learn more about sigsetjmp and friends to have a chance at that. > > It also seems that the segfault does not happen if running inside > > tmux. > > Does "inside tmux" mean you run a -nw session? Yes, sorry for not being clear. I am running inside a terminal emulator for android called termux, all programs are linked against android's libc, bionic. Compilers and other tools needed for compiling emacs are available, but there is no x11 so emacs can only be run in -nw mode.