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

2011-07-27 Thread Damjan Marion
Hi Alexandre, I tried your patch and it works OK. Then I tried without it and seems that it also works ok. It might be 2 reasons: - I upgraded to Mac OS X 10.7 Lion - Something changed in qemu master branch I dont remember what was exact version I used when I reported this problem. Thanks,

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

2011-07-26 Thread Alexandre Raymond
On Tue, Jul 26, 2011 at 9:08 AM, Alexandre Raymond wrote: > Indeed, I'd come to the exact same conclusion, yet I've witnessed it > both in the debugger and with trace messages... > > Alexandre Note that I don't think that this is a proper patch. I simply want to verify that it solves the issue enc

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

2011-07-26 Thread Alexandre Raymond
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 wrote: > On 07/26/2011 06:58 AM, Alexandre Raymond wrote: >> +#ifdef __APPLE__ >> +            if (sig == 0) continue; >>

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

2011-07-26 Thread Paolo Bonzini
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

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

2011-07-25 Thread Alexandre Raymond
Hi Damjan, I've been able to reproduce the crash you're describing. Could you try the following patch, to see if it solves it? Alexandre On Tue, Jul 5, 2011 at 3:03 PM, Alexandre Raymond wrote: > Hi again Damjan, > > On Mon, Jul 4, 2011 at 6:35 PM, Damjan Marion wrote: >> >> On Jul 4, 2011, a

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

2011-07-05 Thread Alexandre Raymond
Hi again Damjan, On Mon, Jul 4, 2011 at 6:35 PM, Damjan Marion wrote: > > On Jul 4, 2011, at 6:59 PM, Alexandre Raymond wrote: > >> Hi Damjan, >> >> >> Can you try applying the following two patches and see if it solves >> your problem? >> >> http://patchwork.ozlabs.org/patch/100348/ >> http://pa

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

2011-07-04 Thread Damjan Marion
On Jul 4, 2011, at 6:59 PM, Alexandre Raymond wrote: > Hi Damjan, > > > Can you try applying the following two patches and see if it solves > your problem? > > http://patchwork.ozlabs.org/patch/100348/ > http://patchwork.ozlabs.org/patch/100477/ > Unfortunately same thing happens: segmentati

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

2011-07-04 Thread Alexandre Raymond
Hi Damjan, On Fri, Jul 1, 2011 at 10:56 AM, Damjan Marion wrote: > > On Jul 1, 2011, at 11:17 AM, Damjan Marion (damarion) wrote: > >> >> Hi, >> >> I have an issue when I try to run qemu-system-arm on Mac OS X. >> Sometime between 1 and 15 secs after qemu is started it crashes >> as shown bellow.

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

2011-07-01 Thread Damjan Marion
On Jul 1, 2011, at 11:17 AM, Damjan Marion (damarion) wrote: > > Hi, > > I have an issue when I try to run qemu-system-arm on Mac OS X. > Sometime between 1 and 15 secs after qemu is started it crashes > as shown bellow. > > Same thing on linux host works fine. > > Is anybody else experienci

[Qemu-devel] qemu crashes on Mac OS X

2011-07-01 Thread Damjan Marion (damarion)
Hi, I have an issue when I try to run qemu-system-arm on Mac OS X. Sometime between 1 and 15 secs after qemu is started it crashes as shown bellow. Same thing on linux host works fine. Is anybody else experiencing this? Any Hints? Thanks, Damjan (gdb) run Starting program: /opt/arm-qemu/b