From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#39577: 27.0.60; Assertion failed during compilation Date: Tue, 1 Sep 2020 10:25:42 -0700 Message-ID: References: <3a007a4f-4d7d-2d86-e670-7bcf5e6b31dd@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8118"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 39577@debbugs.gnu.org, Paul Eggert To: Henrik Grimler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 01 19:26:11 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 1kDA2s-0001yR-Nd for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Sep 2020 19:26:10 +0200 Original-Received: from localhost ([::1]:45246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kDA2r-0005UF-QX for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Sep 2020 13:26:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57516) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kDA2k-0005Su-1Z for bug-gnu-emacs@gnu.org; Tue, 01 Sep 2020 13:26:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45604) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kDA2j-0007mD-OQ for bug-gnu-emacs@gnu.org; Tue, 01 Sep 2020 13:26:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kDA2j-0005rG-LX for bug-gnu-emacs@gnu.org; Tue, 01 Sep 2020 13:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Sep 2020 17:26: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.159898115222490 (code B ref 39577); Tue, 01 Sep 2020 17:26:01 +0000 Original-Received: (at 39577) by debbugs.gnu.org; 1 Sep 2020 17:25:52 +0000 Original-Received: from localhost ([127.0.0.1]:57144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDA2Z-0005qf-OR for submit@debbugs.gnu.org; Tue, 01 Sep 2020 13:25:51 -0400 Original-Received: from mail-ed1-f43.google.com ([209.85.208.43]:45244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDA2X-0005qL-1R for 39577@debbugs.gnu.org; Tue, 01 Sep 2020 13:25:50 -0400 Original-Received: by mail-ed1-f43.google.com with SMTP id l17so2216540edq.12 for <39577@debbugs.gnu.org>; Tue, 01 Sep 2020 10:25:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=BTn7nBPG/d9lIs6Hxq26XHrHit284DzkCBFFSJh+dBk=; b=d69zuMw/yfr6DIu/SeGk/wuOpDFP+5F9RQKtTtBmRpu/LhPxg3d1mZxPqZt+CTmMYJ k5ziodMhFkR6srwvjcIlPcxIKV/cwjYg2Fg6nbIkhHLboHvDk86+cpJsz2cMkYeMtIEX uVzy2V0uYNhVPxXo2yd/Ztxf9a+upQWceHjYEH5o/zYW9gnjycljYOAYKDELHljH35sc LU8CG+9uAgJItE+43gOiQBrtss0RWlbnrd3UF30MFtwuiWJwpfuZr4DmuGvglAw1Nb7T UB37fH1Igk/euIYZ9sU+BpvCmvHAJrKZpop7VZGCGBhioucvjlLcF802WJyat6gGwHEs g6uA== X-Gm-Message-State: AOAM531x/uASOi3RHv1ogzDaLA1JTAc/3CYw8TN0o/ZcDfR8USUV6H1C AkFwOZTm9lAEgDKHUiZUL0B9qqOcQSNF/NxTOfg= X-Google-Smtp-Source: ABdhPJzQsc8pUSgKOUsK0XHJIkUOYQkAnoOB2ngBWjHeeE5m7zrjk4FeaL4tVMWJhuM7A/A7xXM0wI0Nprw1GkpqxCU= X-Received: by 2002:a50:8524:: with SMTP id 33mr881699edr.123.1598981143222; Tue, 01 Sep 2020 10:25:43 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 1 Sep 2020 10:25:42 -0700 In-Reply-To: (Henrik Grimler's message of "Tue, 18 Feb 2020 16:49:41 +0100") 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:186875 Archived-At: Henrik Grimler writes: > 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. (That was 28 weeks ago.) Any news here? Did you find anything out? Thanks in advance.