A qemu bug would not be unheard of.
On 19/07/2013, at 4:26, Nick Craig-Wood <
ni...@craig-wood.com> wrote:
> On 18/07/13 19:03, Nick Craig-Wood wrote:
>> On 18/07/13 18:36, zeebo wrote:
>>> So I ran into this recently as well and traced it down to the go runtime
>>> setting up signal handlers for every signal [1,64] but qemu returns an
>>> error for signal handler 64 (at least). I was able to get a large set of
>>> stuff working by modifying the runtime to check if it can register for a
>>> signal (by passing nils for the other args, the kernel returns if
>>> registering for that signal is a guaranteed error) and skipping the ones
>>> that it told me wouldn't work.
>>
>> Ah nice one!
>>
>> I'll have a go with that.
>>
>> Thanks
>>
>
> This seems to fix it. I guess that might be a bug in qemu or the go
> runtime - I don't know!
>
> diff -r a7bd9a33067b src/pkg/runtime/os_linux.h
> --- a/src/pkg/runtime/os_linux.h Thu Jun 13 12:49:43 2013 +1000
> +++ b/src/pkg/runtime/os_linux.h Thu Jul 18 19:24:27 2013 +0100
> @@ -16,7 +16,7 @@
> You received this message because you are subscribed to the Google Groups "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to