Skip to contentSkip to conversation

xend crashes

DISCUSSION Arun Sharma 1 participant 1 message Aug 19, 2005

lore
Share & tools
lore
#0 lore raw

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