WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] xend crashes

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] xend crashes
From: Arun Sharma <arun.sharma@xxxxxxxxx>
Date: Fri, 19 Aug 2005 14:49:27 -0700
Delivery-date: Fri, 19 Aug 2005 21:47:39 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

I started noticing xend crashes after a misconfiguration of xmdefconfig around the time the xenstore changes went in. There seems to be some native code which doesn't seem to check for null pointers.

Traceback (most recent call last):
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 564, in construct
    self.configure()
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 965, in configure
    self.create_devices()
File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 794, in create_devices
    self.create_configured_devices()
File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 783, in create_configu
red_devices
    self.createDevice(ctrl_type, dev_config)
File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 392, in createDevice
    backdb = backdom.db.addChild("/backend/%s/%s/%d" %
TypeError: int argument required
<xend crash>

The crash seems to happen after releaseDomain.

[2005-08-19 16:23:35 xend] WARNING (XendDomainInfo:993) Unknown config field vnc [2005-08-19 16:23:35 xend] DEBUG (blkif:24) exception looking up device number f
or ioemu:hda: [Errno 2] No such file or directory: '/dev/ioemu:hda'
[2005-08-19 16:23:35 xend] INFO (xsobj:337) DBMap>releaseDomain> 1

gdb doesn't seem to be helpful.

0xfbffd402 in ?? ()
(gdb) c
Continuing.
[New Thread -1255515216 (LWP 4824)]
(XEN) audit1
(XEN) audit1 done
(XEN) audit2
(XEN) audit2 done
(XEN) audit3
(XEN) audit3 done
Couldn't get registers: No such process.
(gdb) x /i $eip
Cannot fetch general-purpose registers for thread -1247122512: generic error

        -Arun

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] xend crashes, Arun Sharma <=