[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: SIGSEGV on Windows with KQEMU enabled
From: |
Johannes Schindelin |
Subject: |
Re: [Qemu-devel] Re: SIGSEGV on Windows with KQEMU enabled |
Date: |
Mon, 16 Mar 2009 11:22:38 +0100 (CET) |
User-agent: |
Alpine 1.00 (DEB 882 2007-12-20) |
Hi,
On Sun, 15 Mar 2009, Paul Brook wrote:
> > > But really funny think is the change that triggers the bug is precisely
> > > this: -Monitor *cur_mon;
> > > +Monitor *cur_mon = NULL;
> > >
> > > Obviously, kqemu is happier having garbage in the cur_mon than NULL
> >
> > I rather expect that to _hide_ the bug. The "garbage" might be a
> > left-over from the heap.
>
> This change does precisely nothing. In C all global and static variables
> are implicitly zero initialized.
True. I assumed that the lack of indentation was a mailer-induced
mistake, but looking at the source (which I did not have time to when
replying myself), you're correct, this initialization is in BSS, and
therefore implicitly NULL anyway.
So I agree that this change cannot be the regression (except if GCC4 has a
bug in BSS initialization, which I doubt rather strongly).
Ciao,
Dscho
- [Qemu-devel] SIGSEGV on Windows with KQEMU enabled, Consul, 2009/03/06
- Re: [Qemu-devel] SIGSEGV on Windows with KQEMU enabled, Anthony Liguori, 2009/03/06
- [Qemu-devel] Re: SIGSEGV on Windows with KQEMU enabled, Consul, 2009/03/12
- Re: [Qemu-devel] Re: SIGSEGV on Windows with KQEMU enabled, Johannes Schindelin, 2009/03/13
- [Qemu-devel] Re: SIGSEGV on Windows with KQEMU enabled, Consul, 2009/03/13
- Re: [Qemu-devel] Re: SIGSEGV on Windows with KQEMU enabled, Johannes Schindelin, 2009/03/14
- Re: [Qemu-devel] Re: SIGSEGV on Windows with KQEMU enabled, Andreas Färber, 2009/03/14
- Re: [Qemu-devel] Re: SIGSEGV on Windows with KQEMU enabled, Paul Brook, 2009/03/14
- Re: [Qemu-devel] Re: SIGSEGV on Windows with KQEMU enabled, Stefan Weil, 2009/03/15
- Re: [Qemu-devel] Re: SIGSEGV on Windows with KQEMU enabled, Avi Kivity, 2009/03/15
- Re: [Qemu-devel] Re: SIGSEGV on Windows with KQEMU enabled,
Johannes Schindelin <=