qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qemu crashes on Mac OS X


From: Alexandre Raymond
Subject: Re: [Qemu-devel] qemu crashes on Mac OS X
Date: Tue, 26 Jul 2011 09:08:41 -0400

Indeed, I'd come to the exact same conclusion, yet I've witnessed it
both in the debugger and with trace messages...

Alexandre

On Tue, Jul 26, 2011 at 4:46 AM, Paolo Bonzini <address@hidden> wrote:
> On 07/26/2011 06:58 AM, Alexandre Raymond wrote:
>> +#ifdef __APPLE__
>> +            if (sig == 0) continue;
>> +#endif
>
> From looking at the code this should not happen:
>
> http://fxr.watson.org/fxr/source/bsd/kern/kern_sig.c?v=xnu-792#L986
>
>  1046         sigw = (ut->uu_sigwait & siglist);
> ...
>  1053                 signum = ffs((unsigned int)sigw);
>  1054                 if (!signum)
>  1055                         panic("sigwait with no signal wakeup");
>  1056                 ut->uu_siglist &= ~(sigmask(signum));
>  1057                 if (uap->sig != USER_ADDR_NULL)
>  1058                                 error = copyout(&signum, uap->sig, 
> sizeof(int));
>
> ??
>
> Paolo
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]