Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 794220 - app-emulation/virt-manager-3.2.0: segfault when creating vm
Summary: app-emulation/virt-manager-3.2.0: segfault when creating vm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-05 02:47 UTC by Matthew Bakhtiari
Modified: 2021-07-26 21:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Bakhtiari 2021-06-05 02:47:44 UTC
When creating any type of vm, virt-manager will crash. Running it with the --debug flag shows a segment fault


>/usr/share/virt-manager/virtinst/osdict.py:425: Warning: invalid unclassed pointer in cast to 'OsinfoList'
>  return list(_OsinfoIter(self._os.get_all_devices()))
>** (virt-manager:36716): CRITICAL **: 04:37:30.535: osinfo_list_new_union: assertion 'OSINFO_IS_LIST(sourceOne)' failed
>/usr/share/virt-manager/virtinst/osdict.py:425: Warning: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
>  return list(_OsinfoIter(self._os.get_all_devices()))
>** (virt-manager:36716): CRITICAL **: 04:37:30.535: osinfo_list_new_union: assertion 'OSINFO_IS_LIST(sourceOne)' failed
>** (virt-manager:36716): CRITICAL **: 04:37:30.535: osinfo_list_new_union: assertion 'OSINFO_IS_LIST(sourceOne)' failed
>** (virt-manager:36716): CRITICAL **: 04:37:30.535: osinfo_list_new_union: assertion 'OSINFO_IS_LIST(sourceOne)' failed
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-06-06 15:56:47 UTC
That log snippet appears to show an assertion failure, not a segmentation fault.
Comment 2 Leonardo Ferraguzzi 2021-07-14 22:01:32 UTC
(In reply to Matthew Bakhtiari from comment #0)
> When creating any type of vm, virt-manager will crash. Running it with the
> --debug flag shows a segment fault
> 
> 
> >/usr/share/virt-manager/virtinst/osdict.py:425: Warning: invalid unclassed pointer in cast to 'OsinfoList'
> >  return list(_OsinfoIter(self._os.get_all_devices()))
> >** (virt-manager:36716): CRITICAL **: 04:37:30.535: osinfo_list_new_union: assertion 'OSINFO_IS_LIST(sourceOne)' failed
> >/usr/share/virt-manager/virtinst/osdict.py:425: Warning: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
> >  return list(_OsinfoIter(self._os.get_all_devices()))
> >** (virt-manager:36716): CRITICAL **: 04:37:30.535: osinfo_list_new_union: assertion 'OSINFO_IS_LIST(sourceOne)' failed
> >** (virt-manager:36716): CRITICAL **: 04:37:30.535: osinfo_list_new_union: assertion 'OSINFO_IS_LIST(sourceOne)' failed
> >** (virt-manager:36716): CRITICAL **: 04:37:30.535: osinfo_list_new_union: assertion 'OSINFO_IS_LIST(sourceOne)' failed

I had the same exact issue. Rebuilding sys-libs/libosinfo solved for me.