GNOME Bugzilla – Bug 781051
Crash when trying to open boxes
Last modified: 2018-01-11 10:50:52 UTC
Created attachment 349521 [details] crash backtrace (gnome-boxes:17251): Libvirt.GObject-CRITICAL **: gvir_storage_vol_get_info: assertion 'GVIR_IS_STORAGE_VOL(vol)' failed Tried to clean ~/.cache and ~/.config with no success.
I have the same problem. Before of this error, I see .ISO-related problems but I don't know if this can be in some way related with this problem. (gnome-boxes:2012): Boxes-WARNING **: media-manager.vala:152: Failed to use ISO '/home/enrico/Scrivania/debian-testing-amd64-netinst.iso': File /home/enrico/Scrivania/debian-testing-amd64-netinst.iso inesistente which means that the "/home/enrico/Scrivania/debian-testing-amd64-netinst.iso" doesn't exists
You should really not clean ~/.cache and ~/.config. Now libvirt is failing to find the volumes in these paths. What you can do is to delete the storage pools. * YOUR VM CONTENT WILL BE LOST * With the following command you will stop any other guests using the same pool. sudo virsh pool-destroy <image_disk> The following command will delete the directory of the storage pool. sudo virsh pool-delete <image_disk> Finally you can remove the storage pool's definition. sudo virsh pool-undefine <image_disk>
I also get this bug, although following the instructions in comment 2 still results in the same error. (gnome-boxes:17251): Libvirt.GObject-CRITICAL **: gvir_storage_vol_get_info: assertion 'GVIR_IS_STORAGE_VOL(vol)' failed I've tried uninstalling gnome-boxes and removing all the associated gnome-boxes folders and files I can find but I still get the same error. Any advice? Also, can we get this patched?
This happends also for me on Arch
I can confirm also that this happens on Arch
I got this error after scrubing an win 7 install in boxes: [cool@pc] $ /usr/bin/gnome-boxes (gnome-boxes:5994): Libvirt.GObject-CRITICAL **: gvir_storage_vol_get_info: assertion 'GVIR_IS_STORAGE_VOL(vol)' failed Segmentation fault (core dumped) logged into terminal and ran : [cool@pc] $ virsh list Id Name State ---------------------------------------------------- -nothing there- went looking for inactive VMs [cool@pc] $ virsh list --inactive Id Name State ---------------------------------------------------- - boxes-unknown shut off what the hell is this ?!? So I went in to delete all storage units in my VMs lucky I had only this win 7 box so : [cool@pc] $ virsh undefine boxes-unknown--remove-all-storage error: failed to get domain 'boxes-unknown--remove-all-storage' error: Domain not found: no domain with matching name 'boxes-unknown--remove-all-storage' [cool@pc] $ virsh undefine boxes-unknown --remove-all-storage error: Storage volume 'hda'(/home/pc/.local/share/gnome-boxes/images/boxes-unknown) is not managed by libvirt. Remove it manually. error: Storage volume 'hdc'(/home/pc/Documents/Windows 7 SP1 Ultimate (64 Bit).iso) is not managed by libvirt. Remove it manually. Domain boxes-unknown has been undefined once done boxes opened without issue as a blank slate, maybe this will help someone else.
I followed comment 6 and it seems to fix the issue. Huh. Weird bug man...
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-boxes/issues/130.