From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: _Unwind_Backtrace crashes
Date: Thu, 27 Aug 2015 15:14:30 -0400 [thread overview]
Message-ID: <20150827191430.GW32742@brightrain.aerifal.cx> (raw)
In-Reply-To: <CALCETrV9y=DN4TyKo7H-FrH0JD+xUze9H9fqkeHdxAo+3vivHw@mail.gmail.com>
On Thu, Aug 27, 2015 at 11:55:24AM -0700, Andy Lutomirski wrote:
> This works on glibc. It aborts on musl on i386 using the latest git version.
>
> I suspect it's because whatever calls main isn't properly annotated,
> but I don't know how to debug this without rebuilding gcc, which is
> kind of a mess.
I can't reproduce the crash. The program runs and produces the output:
Unwind directly
Unwind from signal handler
In signal handler. Trying to unwind.
OK
I tried pre-CFI-patch and post-CFI-patch musl git, static and dynamic
linking. Perhaps it's GCC version-specific? I'm using 4.7.3 on my i386
system.
Rich
next prev parent reply other threads:[~2015-08-27 19:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-27 18:55 Andy Lutomirski
2015-08-27 19:14 ` Rich Felker [this message]
2015-08-27 20:00 ` Szabolcs Nagy
2015-08-28 13:21 ` Alexander Monakov
2015-08-28 14:16 ` Szabolcs Nagy
2015-08-28 14:46 ` Alexander Monakov
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=20150827191430.GW32742@brightrain.aerifal.cx \
--to=dalias@libc.org \
--cc=musl@lists.openwall.com \
/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 public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).