Description of problem: Installed vhostmd on a F11 x86_64 system, and vm-dump-metrics in a KVM guest runnig F11 x86_64 on the same machine. The vhostmd is startde on the host side, however I forgot to attach the metrics disk to the guest. Trying to run vm-dump-metrics in this situation on the guest produced the erromessage that the metrics disk can not be found, but then the program dies with a Segmentation Fault. Version-Release number of selected component (if applicable): vhostmd-0.4-0.2.gitea2f772d.fc11.x86_64 vm-dump-metrics-0.4-0.2.gitea2f772d.fc11.x86_64 How reproducible: always Steps to Reproduce: 1. remove metrics disk from KVM guest 2. run vm-dump-metrics on the guest 3. Actual results: [root@ls3055v0 ~]# vm-dump-metrics LIBMETRICS: libmetrics_init(): Unable to read metrics disk Segmentation fault In /var/log/messages the following error message is recorded when this happens: /var/log/messages:Oct 16 11:36:49 ls3055v0 kernel: vm-dump-metrics[1808]: segfault at 100 ip 00000036b3208dd1 sp 00007fffefbba670 error 4 in libpthread-2.10.1.so[36b3200000+17000] Expected results: It should just print an error message if the metrics disk is not attached Additional info: The RPMS used to install vhostmd and vm-dump-metrics were build directly on the server using rpmbuild from the latest source RPM. SELinux is set in permissive mode.
Patch sent upstream. It will eventually appear here: http://lists.opensuse.org/vhostmd/2009-10/
New build which incorporates this fix: http://koji.fedoraproject.org/koji/taskinfo?taskID=1750365
vhostmd-0.4-0.5.gite9db007b.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/vhostmd-0.4-0.5.gite9db007b.fc11
vhostmd-0.4-0.5.gite9db007b.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/vhostmd-0.4-0.5.gite9db007b.fc12
The problem is solved with the latest patch. Thanks for fixing this so fast. Frank
vhostmd-0.4-0.5.gite9db007b.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update vhostmd'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10614
vhostmd-0.4-0.5.gite9db007b.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.