Re: [libvirt] RHBZ 1013045: Crash on xen domain startup

2013-11-01 Thread Jim Fehlig
On 11/01/2013 03:55 AM, Daniel P. Berrange wrote: On Thu, Oct 31, 2013 at 06:50:57PM -0600, Jim Fehlig wrote: Jeremy Fitzhardinge wrote: On 10/30/2013 12:04 PM, Eric Blake wrote: On 10/30/2013 01:00 PM, Jeremy Fitzhardinge wrote: On 10/30/2013 11:37 AM, Eric Blake wrote: On

Re: [libvirt] RHBZ 1013045: Crash on xen domain startup

2013-11-01 Thread Daniel P. Berrange
On Thu, Oct 31, 2013 at 06:50:57PM -0600, Jim Fehlig wrote: > Jeremy Fitzhardinge wrote: > > On 10/30/2013 12:04 PM, Eric Blake wrote: > > > >> On 10/30/2013 01:00 PM, Jeremy Fitzhardinge wrote: > >> > >>> On 10/30/2013 11:37 AM, Eric Blake wrote: > >>> > On 10/30/2013 11:38 AM,

Re: [libvirt] RHBZ 1013045: Crash on xen domain startup

2013-10-31 Thread Jim Fehlig
Eric Blake wrote: > On 10/31/2013 06:23 PM, Jim Fehlig wrote: > > >>> + for (i = 0; i < virBitmapSize(cpumask); ++i) { >>> + bool bit; >>> + if (virBitmapGetBit(cpumask, i, &bit) < 0) { >>> + virReportError(VIR_ERR_INTERNAL_ERROR, >>> + _("Failed to get cpumask bit '%zd' with >>> libxenlight"),

Re: [libvirt] RHBZ 1013045: Crash on xen domain startup

2013-10-31 Thread Eric Blake
On 10/31/2013 06:23 PM, Jim Fehlig wrote: >> + for (i = 0; i < virBitmapSize(cpumask); ++i) { >> + bool bit; >> + if (virBitmapGetBit(cpumask, i, &bit) < 0) { >> + virReportError(VIR_ERR_INTERNAL_ERROR, >> + _("Failed to get cpumask bit '%zd' with >> libxenlight"), i); > > I don't think that is t

Re: [libvirt] RHBZ 1013045: Crash on xen domain startup

2013-10-31 Thread Jeremy Fitzhardinge
On 10/31/2013 05:23 PM, Jim Fehlig wrote: > Jeremy Fitzhardinge wrote: >> On 10/24/2013 02:52 AM, Martin Kletzander wrote: >>> On Wed, Oct 23, 2013 at 10:46:14AM -0700, Jeremy Fitzhardinge wrote: Hi all, I posted this bug (https://bugzilla.redhat.com/show_bug.cgi?id=1013045) to

Re: [libvirt] RHBZ 1013045: Crash on xen domain startup

2013-10-31 Thread Jim Fehlig
Jeremy Fitzhardinge wrote: > On 10/30/2013 12:04 PM, Eric Blake wrote: > >> On 10/30/2013 01:00 PM, Jeremy Fitzhardinge wrote: >> >>> On 10/30/2013 11:37 AM, Eric Blake wrote: >>> On 10/30/2013 11:38 AM, Jeremy Fitzhardinge wrote: > libxl: fix dubious cpuma

Re: [libvirt] RHBZ 1013045: Crash on xen domain startup

2013-10-31 Thread Jim Fehlig
Jeremy Fitzhardinge wrote: > On 10/24/2013 02:52 AM, Martin Kletzander wrote: > > On Wed, Oct 23, 2013 at 10:46:14AM -0700, Jeremy Fitzhardinge wrote: > >> Hi all, > >> > >> I posted this bug (https://bugzilla.redhat.com/show_bug.cgi?id=1013045) > >> to the Redhat Bugzilla a while ago, and the only

Re: [libvirt] RHBZ 1013045: Crash on xen domain startup

2013-10-30 Thread Jeremy Fitzhardinge
On 10/30/2013 12:04 PM, Eric Blake wrote: > On 10/30/2013 01:00 PM, Jeremy Fitzhardinge wrote: >> >> On 10/30/2013 11:37 AM, Eric Blake wrote: >>> On 10/30/2013 11:38 AM, Jeremy Fitzhardinge wrote: >> libxl: fix dubious cpumask handling in libxlDomainSetVcpuAffinities Rather

Re: [libvirt] RHBZ 1013045: Crash on xen domain startup

2013-10-30 Thread Eric Blake
On 10/30/2013 01:00 PM, Jeremy Fitzhardinge wrote: > > On 10/30/2013 11:37 AM, Eric Blake wrote: >> On 10/30/2013 11:38 AM, Jeremy Fitzhardinge wrote: > >>> libxl: fix dubious cpumask handling in libxlDomainSetVcpuAffinities >>> >>> Rather than casting the virBitmap pointer to uint8_t*

Re: [libvirt] RHBZ 1013045: Crash on xen domain startup

2013-10-30 Thread Jeremy Fitzhardinge
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 10/30/2013 11:37 AM, Eric Blake wrote: > On 10/30/2013 11:38 AM, Jeremy Fitzhardinge wrote: > >> libxl: fix dubious cpumask handling in libxlDomainSetVcpuAffinities >> >> Rather than casting the virBitmap pointer to uint8_t* and then us

Re: [libvirt] RHBZ 1013045: Crash on xen domain startup

2013-10-30 Thread Eric Blake
On 10/30/2013 11:38 AM, Jeremy Fitzhardinge wrote: > libxl: fix dubious cpumask handling in libxlDomainSetVcpuAffinities > > Rather than casting the virBitmap pointer to uint8_t* and then using > the structure contents as a byte array, use the virBitmap API to > determine > the

Re: [libvirt] RHBZ 1013045: Crash on xen domain startup

2013-10-30 Thread Jeremy Fitzhardinge
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 10/24/2013 02:52 AM, Martin Kletzander wrote: > On Wed, Oct 23, 2013 at 10:46:14AM -0700, Jeremy Fitzhardinge wrote: >> Hi all, >> >> I posted this bug (https://bugzilla.redhat.com/show_bug.cgi?id=1013045) >> to the Redhat Bugzilla a while ago, a

Re: [libvirt] RHBZ 1013045: Crash on xen domain startup

2013-10-30 Thread Jeremy Fitzhardinge
On 10/24/2013 02:52 AM, Martin Kletzander wrote: > On Wed, Oct 23, 2013 at 10:46:14AM -0700, Jeremy Fitzhardinge wrote: >> Hi all, >> >> I posted this bug (https://bugzilla.redhat.com/show_bug.cgi?id=1013045) >> to the Redhat Bugzilla a while ago, and the only response has been to >> post a note to

Re: [libvirt] RHBZ 1013045: Crash on xen domain startup

2013-10-24 Thread Jeremy Fitzhardinge
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 10/24/2013 02:52 AM, Martin Kletzander wrote: > On Wed, Oct 23, 2013 at 10:46:14AM -0700, Jeremy Fitzhardinge wrote: >> Hi all, >> >> I posted this bug (https://bugzilla.redhat.com/show_bug.cgi?id=1013045) >> to the Redhat Bugzilla a while ago, a

Re: [libvirt] RHBZ 1013045: Crash on xen domain startup

2013-10-24 Thread Martin Kletzander
On Wed, Oct 23, 2013 at 10:46:14AM -0700, Jeremy Fitzhardinge wrote: > Hi all, > > I posted this bug (https://bugzilla.redhat.com/show_bug.cgi?id=1013045) > to the Redhat Bugzilla a while ago, and the only response has been to > post a note to this list about the bug. > > Summary below, but it lo

[libvirt] RHBZ 1013045: Crash on xen domain startup: *** Error in `/usr/sbin/libvirtd': free(): invalid next size (fast): 0x00007f82c8003210 ***

2013-10-23 Thread Jeremy Fitzhardinge
Hi all, I posted this bug (https://bugzilla.redhat.com/show_bug.cgi?id=1013045) to the Redhat Bugzilla a while ago, and the only response has been to post a note to this list about the bug. Summary below, but it looks like a pretty clear use-after-free or something. The full details are attached