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: Tue, 18 Feb 2020 16:49:41 +0100 Message-ID: References: <3a007a4f-4d7d-2d86-e670-7bcf5e6b31dd@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="83889"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.34.3 Cc: 39577@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 18 16:50:12 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 1j458W-000Lid-2F for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Feb 2020 16:50:12 +0100 Original-Received: from localhost ([::1]:37430 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j458V-0002g9-4z for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Feb 2020 10:50:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40310) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j458N-0002g0-Q1 for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2020 10:50:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j458M-0006pO-Qa for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2020 10:50:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35189) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j458M-0006pE-DZ for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2020 10:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j458M-0003AC-AZ for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2020 10:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Henrik Grimler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Feb 2020 15:50:02 +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.158204099212140 (code B ref 39577); Tue, 18 Feb 2020 15:50:02 +0000 Original-Received: (at 39577) by debbugs.gnu.org; 18 Feb 2020 15:49:52 +0000 Original-Received: from localhost ([127.0.0.1]:41162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j458C-00039k-D1 for submit@debbugs.gnu.org; Tue, 18 Feb 2020 10:49:52 -0500 Original-Received: from h04mx16.reliablemail.org ([185.76.67.209]:36157) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j458A-00039S-2G for 39577@debbugs.gnu.org; Tue, 18 Feb 2020 10:49:51 -0500 X-Halon-Out: 4778fd26-5266-11ea-af98-2761ad1b1be1 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=grimler.se; s=default; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References: In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=YfgF6H2JTOwdeS1Mu3nzwsAa9VkXRe+0F1lnbRhd+Ck=; b=NZkLvkjVyBfWG9LxKlxIVhD6PP QdkPEraKg8laLqs87e8LDruhWqIiy/W9uWnvm5IGJcvstbNu6S4xztuV6Kp3HAzhKGiTeiJzoE4L0 C2eqhp5nGUt6SzFiPVMXYXg8HMSlO2tOe2+lSq6vS6bKn8Ib8UgTAmCpSGGHeaiKVqNOPW78PZEie VykFhwKHWwUq08H7Zp3rRkaAohAbdSTybW4p8jLScwav5mFGDzskbqaf4hkeHs8OCeEjcPkzxmZIi rREm+34DlIrEZT4dx7blTJlCJkzFMaLjDdS4WyUSoppuyqs6hbI2Hmg29P5UCHTYTted5yn99NcN1 twlBNFtA==; In-Reply-To: <3a007a4f-4d7d-2d86-e670-7bcf5e6b31dd@cs.ucla.edu> X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpsrv07.misshosting.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - grimler.se X-Get-Message-Sender-Via: cpsrv07.misshosting.com: authenticated_id: henrik@grimler.se X-Authenticated-Sender: cpsrv07.misshosting.com: henrik@grimler.se 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:176193 Archived-At: On Mon, 2020-02-17 at 12:53 -0800, Paul Eggert wrote: > I installed the attached patch into master, to work around the > getloadavg-related assertion failure. However, I don't think this > fixes the > actual bug. Thanks, will try a new build tonight. > > This android version does not have getloadavg (so I guess > > lib/getloadavg.c is used instead?) > > If so, you should be able to step through the replacement getloadavg > and see why > it's reporting bogus values. I have the sneaking suspicion that > floating point > isn't working properly, and that it's treating tiny numbers as NaNs > or vice > versa. But this bug is relatively unimportant. Yeah, I will investigate it more when I have some time and report back here. > The main problem here seems to be the sigsetjmp-related bug. You > might try > putting a breakpoint on handle_sigsegv before running Emacs; that > might give you > a better backtrace. After Eli suggested that the problem is indeed in the sigsetjmp function I configured emacs with ``` emacs_cv_func__setjmp=no emacs_cv_func_sigsetjmp=no ``` and it seems to have helped (5 days without segfaults now). Setting only one of the two does not help. This seems like an acceptable workaround in my case, but maybe it causes some other side effects I am yet to encounter(?). Thanks for the hint about breakpoint on handle_sigsegv, I will see if I can learn more about what is actaully happening.