From: Christoph Egger <Christoph.Egger@amd.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Ian Campbell <Ian.Campbell@eu.citrix.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
"Gianni Tedesco (3P)" <gianni.tedesco@citrix.com>
Subject: Re: xend segfaults when starting
Date: Fri, 13 Aug 2010 14:04:23 +0200 [thread overview]
Message-ID: <201008131404.25343.Christoph.Egger@amd.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1008131257350.2545@kaball-desktop>
On Friday 13 August 2010 13:58:53 Stefano Stabellini wrote:
> On Wed, 11 Aug 2010, Ian Campbell wrote:
> > On Wed, 2010-08-04 at 15:55 +0100, Stefano Stabellini wrote:
> > > > > On Wed, 2010-08-04 at 14:12 +0100, Christoph Egger wrote:
> > > > > > Hi!
> > > > > >
> > > > > > xend causes python to segfault on startup.
> > > > > > The changeset in error is: 21904:6a0dd2c29999
> > >
> > > It doesn't, in fact:
> > >
> > > changeset: 21907:6a0dd2c29999
> > > parent: 21904:9f49667fec71
> > > user: Ian Campbell <ian.campbell@citrix.com>
> > > date: Fri Jul 30 16:20:48 2010 +0100
> > > summary: libxc: free thread specific hypercall buffer on
> > > xc_interface_close
> > >
> > > I am going to revert this and leave it to Ian to fix it properly
> > > (currently on vacation).
> >
> > I'm currently looking at this but I'm not seeing this issue, xend starts
> > up fine and I can start a (PV) VM.
> >
> > When you said "segfault on startup" did you mean of xend or of a domain?
> > (I think the former).
> >
> > Can you give me a little more information about your environment please?
> > Is it NetBSD by any chance?
Yes, it is NetBSD -current.
> > Please could you reapply this changeset add some tracing to
> > hcall_buf_prep and _xc_clean_hcall_buf to print out the hcall_buff and
> > hcall_buff->buf as they are allocated and freed. The line numbers
> > indicate that the free(hcall_buf->buf) is faulting. We've just called
> > unlock_pages on the same address but since we seem to deliberately throw
> > away any errors from munlock (see "safe_munlock") that doesn't really
> > tell us much about its validity.
Will do when I get some time.
> > Perhaps this whole area needs looking at with an eye to NetBSD
> > portability?
>
> I gave few days to Christoph to reply, I'll reapply the patch for now
> but if Christoph can come up with a good explanation of the problem I'll
> revert it again or fix the bug.
I haven't got the opportunity to further analysis. I am pretty busy with
nested virtualization. Sorry.
If you apply it, I'll revert it in my local tree to keep it in working state.
(I already have several local patches to do so, i.e. I have the
blktap/noblktap changes for libxl in my tree, I need to ping Ian Jackson for
this again)
Christoph
--
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
next prev parent reply other threads:[~2010-08-13 12:04 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-04 13:12 xend segfaults when starting Christoph Egger
2010-08-04 13:27 ` Gianni Tedesco
2010-08-04 14:12 ` Christoph Egger
2010-08-04 14:55 ` Stefano Stabellini
2010-08-11 13:11 ` Ian Campbell
2010-08-13 11:58 ` Stefano Stabellini
2010-08-13 12:04 ` Christoph Egger [this message]
2010-08-18 10:44 ` Christoph Egger
2010-08-18 12:14 ` Ian Campbell
2010-08-18 12:18 ` Ian Campbell
2010-08-18 14:02 ` Christoph Egger
2010-08-18 14:59 ` Ian Campbell
2010-08-18 16:02 ` Christoph Egger
2010-08-18 16:29 ` Ian Campbell
2010-08-04 15:01 ` Gianni Tedesco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201008131404.25343.Christoph.Egger@amd.com \
--to=christoph.egger@amd.com \
--cc=Ian.Campbell@eu.citrix.com \
--cc=gianni.tedesco@citrix.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.