Bug 401600

Summary: virt-manager crashes when connecting to xen: Floating point exception
Product: [openSUSE] openSUSE 11.0 Reporter: Ladislav Slezák <lslezak>
Component: XenAssignee: Doug Merrill <dpmerrill>
Status: RESOLVED DUPLICATE QA Contact: Jason Douglas <jdouglas>
Severity: Critical    
Priority: P5 - None CC: kdavis, Matthias.Brenner
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: virt-manager.log

Description Ladislav Slezák 2008-06-19 06:40:28 UTC
When I doubleclick on 'localhost - xen' line in virt-manager after start it crashes immediately.

Starting it from command line shows that it crashes due to a floating point exception:

# virt-manager --no-fork -c xen://
Floating point exception
Comment 1 Matthias Brenner 2008-06-23 18:09:08 UTC
I encountered the same problem:
double opteron system, OpenSuse 11.0, 64bit
I tried with pdb to localize the problem in /usr/share/virt-manager/virt-manager.py

it fails in /usr/lib64/python2.5/site-packages/libvirt.py
772  ->     def getInfo(self):
773             """Extract hardware informations about the Node. """
774             ret = libvirtmod.virNodeGetInfo(self._o)
775             if ret is None: raise libvirtError ('virNodeGetInfo() failed', conn=self)
776             return ret
777
(Pdb) s
> /usr/lib64/python2.5/site-packages/libvirt.py(774)getInfo()
-> ret = libvirtmod.virNodeGetInfo(self._o)
(Pdb) s
Floating point exception

At this point I know to less about python to go ahead. 
Line number will not match the product, due to import pdb and trace statement.
Comment 2 Doug Merrill 2008-06-25 15:07:27 UTC
I will be trying to reproduce this.

In the mean time, could you attach your /root/virt-manager/virt-manager.log file?

Thanks
Comment 3 Karl Davis 2008-06-26 00:44:44 UTC
(In reply to comment #2 from Doug Merrill)
> I will be trying to reproduce this.
> 
> In the mean time, could you attach your /root/virt-manager/virt-manager.log
> file?
> 
> Thanks
> 

[Wed, 25 Jun 2008 20:40:50 virt-manager 31597] INFO (virt-manager:126) Application startup
[Wed, 25 Jun 2008 20:40:51 virt-manager 31598] DEBUG (engine:74) About to connect to uris ['xen:///']
[Wed, 25 Jun 2008 20:40:51 virt-manager 31598] WARNING (virt-manager:286) Could not get connection to session bus, disabling DBus service <class 'dbus.exceptions.DBusException'> org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[Wed, 25 Jun 2008 20:40:51 virt-manager 31598] DEBUG (manager:112) minimize_minutes set to 120
[Wed, 25 Jun 2008 20:40:51 virt-manager 31598] DEBUG (connection:311) Scheduling background open thread for xen:///
[Wed, 25 Jun 2008 20:40:51 virt-manager 31598] DEBUG (connection:318) Background thread is running
[Wed, 25 Jun 2008 20:40:51 virt-manager 31598] DEBUG (connection:347) Background open thread complete, scheduling notify
[Wed, 25 Jun 2008 20:40:51 virt-manager 31598] DEBUG (connection:356) Notifying open result
[Wed, 25 Jun 2008 20:40:52 virt-manager 31598] DEBUG (manager:427) About to append vm: Domain-0
[Wed, 25 Jun 2008 20:40:52 virt-manager 31598] DEBUG (manager:427) About to append vm: opensuse11-test
[Wed, 25 Jun 2008 20:40:52 virt-manager 31598] DEBUG (manager:417) VM Domain-0 started

Comment 4 Ladislav Slezák 2008-06-26 06:19:52 UTC
Created attachment 224472 [details]
virt-manager.log

The log is similar to the previous one.
Comment 5 Doug Merrill 2008-07-01 18:10:16 UTC
This is the same issue we're seeing in #398932

We'll finish looking at it Friday, when Jim gets back.

*** This bug has been marked as a duplicate of bug 398932 ***