Will Newton will.newton@linaro.org writes:
On 24 February 2014 03:15, Michael Hudson-Doyle michael.hudson@linaro.org wrote:
Michael Hudson-Doyle michael.hudson@linaro.org writes:
Michael Hudson-Doyle michael.hudson@linaro.org writes:
Hi all,
Apologies if this is the wrong list, and for the somewhat vague description of my problem.
I've been working on porting Go (via gccgo) to aarch64 and things have mostly been going well. However, under some circumstances, I'm seeing crashes. What's happening is that when a signal -- SIGCHLD in this case -- is being handled, instead of being executed on the stack passed to sigaltstack, the signal is being handled on some *other* thread's stack, which unsurprisingly ends badly when a signal context object is smashed over whatever the original thread had put there.
I finally chased this down to (what at least I think is) a glibc bug: https://sourceware.org/bugzilla/show_bug.cgi?id=16629
Thanks for another great debugging job! ;-)
Heh, I find it hard to give up... I should probably get help about that!
I'll take a look at this as soon as I'm "back in the office" unless someone gets there first.
Cool. I'm certainly happy to test any fixes, and could even try to work on one myself with a few hints...
Cheers, mwh