From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Sharma Subject: xend crashes Date: Fri, 19 Aug 2005 14:49:27 -0700 Message-ID: <430653E7.1050308@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org 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 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