From: Stefan Kangas <stefan@marxist.se>
To: Henrik Grimler <henrik@grimler.se>
Cc: 39577@debbugs.gnu.org, Paul Eggert <eggert@cs.ucla.edu>
Subject: bug#39577: 27.0.60; Assertion failed during compilation
Date: Tue, 1 Sep 2020 10:25:42 -0700 [thread overview]
Message-ID: <CADwFkmkWdHyW-+Hd-2sym5XPHrZ8b1tSSWZ_W8zhMkOjQ2SwPQ@mail.gmail.com> (raw)
In-Reply-To: <ffde160f6f8127884871a69efc67cddc7fef47d8.camel@grimler.se> (Henrik Grimler's message of "Tue, 18 Feb 2020 16:49:41 +0100")
Henrik Grimler <henrik@grimler.se> 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.
next prev parent reply other threads:[~2020-09-01 17:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-12 7:39 bug#39577: 27.0.60; Assertion failed during compilation Henrik Grimler
2020-02-13 14:57 ` Eli Zaretskii
2020-02-13 19:00 ` Henrik Grimler
2020-02-13 19:23 ` Eli Zaretskii
2020-02-13 20:04 ` Henrik Grimler
2020-02-17 20:53 ` Paul Eggert
2020-02-18 15:49 ` Henrik Grimler
2020-09-01 17:25 ` Stefan Kangas [this message]
2020-10-01 19:09 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CADwFkmkWdHyW-+Hd-2sym5XPHrZ8b1tSSWZ_W8zhMkOjQ2SwPQ@mail.gmail.com \
--to=stefan@marxist.se \
--cc=39577@debbugs.gnu.org \
--cc=eggert@cs.ucla.edu \
--cc=henrik@grimler.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.