You are not logged in.

#1 2021-03-16 07:59:14

superipermeganoob
Member
Registered: 2011-05-03
Posts: 26

[SOLVED] gnome-boxes has lost my VMs

hi, i use gnome-boxes(GB) for virtualize some linux system, today after i started GB as always it does not show me all the VMs i have, only a small part; is this a known problem? How to find the problem if the GB log doesn't help much?
GB version: 3.38.1
list image:

❯ ls -la /home/ivano/.local/share/gnome-boxes/images/                                                                                                                                        ─╯
totale 115630780
drwxr--r-- 2 ivano ivano        4096  4 mar 16.03 ./
drwxr-xr-x 3 ivano ivano        4096  2 nov  2018 ../
-rwxr--r-- 1 ivano ivano      196928  3 gen  2020 boxes-unknown*
-rwxr--r-- 1 ivano ivano  6603341824 13 mar 10.07 boxes-unknown-2*
-rwxr--r-- 1 ivano ivano  2888499200  3 gen  2020 boxes-unknown-3*
-rwxr--r-- 1 ivano ivano      196928  2 giu  2020 boxes-unknown-8*
-rwxr--r-- 1 ivano ivano 16588668928  6 feb 10.22 boxes-unknown-9*
-rwxr--r-- 1 ivano ivano  7257325568  3 mar 19.52 fedora33-wor-4*
-rwxr--r-- 1 ivano ivano  7087652864  4 mar 17.44 opensusetumb*
-rwxr--r-- 1 ivano ivano 32377274368 28 feb 15.48 ubuntu19.10*
-rwxr--r-- 1 ivano ivano 19533922304 13 feb 12.21 ubuntu20.10*
-rwxr--r-- 1 ivano ivano 13559857152 16 mar 08.54 ubuntu20.10-2*
-rwxr--r-- 1 ivano ivano 18404081664 15 mar 10.26 ubuntu20.10-3*

output GB:

❯ gnome-boxes                                                                                                                                                                                ─╯

(gnome-boxes:12919): Gtk-CRITICAL **: 08:32:21.354: gtk_style_context_add_provider_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gnome-boxes:12919): GLib-GObject-WARNING **: 08:32:21.359: invalid (NULL) pointer instance

(gnome-boxes:12919): GLib-GObject-CRITICAL **: 08:32:21.359: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(gnome-boxes:12919): GLib-GObject-WARNING **: 08:32:21.359: invalid (NULL) pointer instance

(gnome-boxes:12919): GLib-GObject-CRITICAL **: 08:32:21.360: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(gnome-boxes:12919): GLib-GObject-CRITICAL **: 08:32:21.360: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(gnome-boxes:12919): Gtk-CRITICAL **: 08:32:21.380: gtk_style_context_add_provider_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gnome-boxes:12919): Gtk-CRITICAL **: 08:32:21.383: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gnome-boxes:12919): Gtk-CRITICAL **: 08:32:21.383: gtk_icon_theme_add_resource_path: assertion 'GTK_IS_ICON_THEME (icon_theme)' failed

(gnome-boxes:12919): Gtk-WARNING **: 08:32:21.748: Theme parsing error: gtk.css:1:114: Failed to import: Errore nell'aprire il file /home/ivano/.local/share/gnome-shell/extensions/no-title-bar@franglais125.gmail.com/stylesheet.css: No such file or directory

(gnome-boxes:12919): Gtk-WARNING **: 08:32:21.748: Theme parsing error: gtk.css:2:120: Failed to import: Errore nell'aprire il file /home/ivano/.local/share/gnome-shell/extensions/no-title-bar@franglais125.gmail.com/stylesheet-tiled.css: No such file or directory

(gnome-boxes:12919): Gtk-WARNING **: 08:32:22.673: GtkFlowBox with a model will ignore sort and filter functions

(gnome-boxes:12919): Gtk-WARNING **: 08:32:22.677: GtkListBox with a model will ignore sort and filter functions

(gnome-boxes:12919): Boxes-WARNING **: 08:32:23.383: libvirt-machine.vala:283: Failed to connection to system libvirt: Unable to open qemu+unix:///system: Failed to connect socket to '/var/run/libvirt/libvirt-sock-ro': No such file or directory

(gnome-boxes:12919): Boxes-CRITICAL **: 08:32:44.581: media-manager.vala:234: Error connecting to Tracker: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.freedesktop.Tracker3.Miner.Files': timed out (service_start_timeout=120000ms)

Last edited by superipermeganoob (2021-03-16 11:02:50)

Offline

#2 2021-03-16 08:09:48

heftig
Developer
From: Germany
Registered: 2010-04-19
Posts: 159

Re: [SOLVED] gnome-boxes has lost my VMs

Does downgrading sqlite back to 3.34.1 fix it?

Last edited by heftig (2021-03-16 08:09:57)

Offline

#3 2021-03-16 10:08:07

superipermeganoob
Member
Registered: 2011-05-03
Posts: 26

Re: [SOLVED] gnome-boxes has lost my VMs

heftig wrote:

Does downgrading sqlite back to 3.34.1 fix it?

no, the problem persist with sqlite 3.34.1 and 3.35.0

❯ gnome-boxes                                                                                                                                                                                ─╯

(gnome-boxes:45614): Gtk-CRITICAL **: 10:51:15.718: gtk_style_context_add_provider_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gnome-boxes:45614): GLib-GObject-WARNING **: 10:51:15.719: invalid (NULL) pointer instance

(gnome-boxes:45614): GLib-GObject-CRITICAL **: 10:51:15.719: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(gnome-boxes:45614): GLib-GObject-WARNING **: 10:51:15.719: invalid (NULL) pointer instance

(gnome-boxes:45614): GLib-GObject-CRITICAL **: 10:51:15.719: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(gnome-boxes:45614): GLib-GObject-CRITICAL **: 10:51:15.719: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(gnome-boxes:45614): Gtk-CRITICAL **: 10:51:15.724: gtk_style_context_add_provider_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gnome-boxes:45614): Gtk-CRITICAL **: 10:51:15.724: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gnome-boxes:45614): Gtk-CRITICAL **: 10:51:15.724: gtk_icon_theme_add_resource_path: assertion 'GTK_IS_ICON_THEME (icon_theme)' failed

(gnome-boxes:45614): Gtk-WARNING **: 10:51:15.801: Theme parsing error: gtk.css:1:114: Failed to import: Errore nell'aprire il file /home/ivano/.local/share/gnome-shell/extensions/no-title-bar@franglais125.gmail.com/stylesheet.css: No such file or directory

(gnome-boxes:45614): Gtk-WARNING **: 10:51:15.801: Theme parsing error: gtk.css:2:120: Failed to import: Errore nell'aprire il file /home/ivano/.local/share/gnome-shell/extensions/no-title-bar@franglais125.gmail.com/stylesheet-tiled.css: No such file or directory

(gnome-boxes:45614): Gtk-WARNING **: 10:51:16.014: GtkFlowBox with a model will ignore sort and filter functions

(gnome-boxes:45614): Gtk-WARNING **: 10:51:16.015: GtkListBox with a model will ignore sort and filter functions

(gnome-boxes:45614): Boxes-WARNING **: 10:51:16.268: libvirt-machine.vala:283: Failed to connection to system libvirt: Unable to open qemu+unix:///system: Failed to connect socket to '/var/run/libvirt/libvirt-sock-ro': Connessione rifiutata

(gnome-boxes:45614): Boxes-CRITICAL **: 10:51:46.445: media-manager.vala:234: Error connecting to Tracker: È stato raggiunto il timeout

(gnome-boxes:45614): Boxes-WARNING **: 10:51:46.446: vm-creator.vala:251: Failed to update configuration on 'kolibri 8': Unable to get domain XML config: internal error: client socket is closed

(gnome-boxes:45614): Boxes-WARNING **: 10:51:46.446: vm-creator.vala:268: Failed to get information from volume 'boxes-unknown-8': Unable to get storage vol info: internal error: client socket is closed

(gnome-boxes:45614): Boxes-WARNING **: 10:51:46.446: libvirt-broker.vala:116: Failed to create source 'QEMU Session': Unable to get domain XML config: Impossibile scrivere dati: Pipe interrotta

(gnome-boxes:45614): Boxes-CRITICAL **: 10:51:46.446: boxes_libvirt_machine_get_domain_config: assertion 'self != NULL' failed

(gnome-boxes:45614): Boxes-CRITICAL **: 10:51:46.446: boxes_vm_configurator_is_libvirt_cloning_config: assertion 'domain != NULL' failed

(gnome-boxes:45614): Boxes-WARNING **: 10:51:46.447: libvirt-machine.vala:484: Failed to get information on 'Ubuntu 20.10 - K8S'

(gnome-boxes:45614): Boxes-WARNING **: 10:51:46.447: libvirt-machine.vala:484: Failed to get information on 'WIN 10 - Lite'

(gnome-boxes:45614): Boxes-WARNING **: 10:51:46.447: libvirt-machine.vala:484: Failed to get information on 'Ubuntu 20.10 - MICROK8S'

(gnome-boxes:45614): Boxes-WARNING **: 10:51:46.447: libvirt-machine.vala:484: Failed to get information on 'Ubuntu 19.10'

(gnome-boxes:45614): Boxes-WARNING **: 10:51:46.447: libvirt-broker.vala:116: Failed to create source 'QEMU Session': Unable to get domain XML config: internal error: client socket is closed

(gnome-boxes:45614): Boxes-CRITICAL **: 10:51:46.447: boxes_libvirt_machine_get_domain_config: assertion 'self != NULL' failed

(gnome-boxes:45614): Boxes-CRITICAL **: 10:51:46.447: boxes_vm_configurator_is_libvirt_cloning_config: assertion 'domain != NULL' failed

(gnome-boxes:45614): Boxes-WARNING **: 10:51:46.447: libvirt-machine.vala:484: Failed to get information on 'purism_2020'

(gnome-boxes:45614): Boxes-WARNING **: 10:51:46.447: libvirt-broker.vala:116: Failed to create source 'QEMU Session': Unable to get domain XML config: internal error: client socket is closed

(gnome-boxes:45614): Boxes-CRITICAL **: 10:51:46.447: boxes_libvirt_machine_get_domain_config: assertion 'self != NULL' failed

(gnome-boxes:45614): Boxes-CRITICAL **: 10:51:46.447: boxes_vm_configurator_is_libvirt_cloning_config: assertion 'domain != NULL' failed

(gnome-boxes:45614): Boxes-WARNING **: 10:51:46.447: libvirt-broker.vala:116: Failed to create source 'QEMU Session': Unable to get domain XML config: internal error: client socket is closed

(gnome-boxes:45614): Boxes-CRITICAL **: 10:51:46.447: boxes_libvirt_machine_get_domain_config: assertion 'self != NULL' failed

(gnome-boxes:45614): Boxes-CRITICAL **: 10:51:46.447: boxes_vm_configurator_is_libvirt_cloning_config: assertion 'domain != NULL' failed

(gnome-boxes:45614): Boxes-WARNING **: 10:51:51.224: libvirt-machine.vala:484: Failed to get information on 'Ubuntu 20.10 - K8S'

(gnome-boxes:45614): Boxes-WARNING **: 10:51:51.224: libvirt-machine.vala:484: Failed to get information on 'kolibri 8'

(gnome-boxes:45614): Boxes-WARNING **: 10:51:51.224: libvirt-machine.vala:484: Failed to get information on 'WIN 10 - Lite'

(gnome-boxes:45614): Boxes-WARNING **: 10:51:51.224: libvirt-machine.vala:484: Failed to get information on 'purism_2020'

(gnome-boxes:45614): Boxes-WARNING **: 10:51:51.224: libvirt-machine.vala:484: Failed to get information on 'Ubuntu 20.10 - MICROK8S'

(gnome-boxes:45614): Boxes-WARNING **: 10:51:51.224: libvirt-machine.vala:484: Failed to get information on 'Ubuntu 19.10'

(gnome-boxes:45614): Boxes-WARNING **: 10:51:56.224: libvirt-machine.vala:484: Failed to get information on 'Ubuntu 20.10 - K8S'

(gnome-boxes:45614): Boxes-WARNING **: 10:51:56.224: libvirt-machine.vala:484: Failed to get information on 'purism_2020'

maybe the the issue is with libvirtd service?

❯ sudo systemctl status libvirtd                                                                                                                                                             ─╯
[sudo] password di ivano: 
● libvirtd.service - Virtualization daemon
     Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; disabled; vendor preset: disabled)
     Active: failed (Result: core-dump) since Tue 2021-03-16 08:58:33 CET; 2h 6min ago
TriggeredBy: ● libvirtd-admin.socket
             ● libvirtd-ro.socket
             ● libvirtd.socket
       Docs: man:libvirtd(8)
             https://libvirt.org
    Process: 18698 ExecStart=/usr/bin/libvirtd $LIBVIRTD_ARGS (code=dumped, signal=SEGV)
   Main PID: 18698 (code=dumped, signal=SEGV)

mar 16 08:58:33 Dell-g5-5587 systemd[1]: libvirtd.service: Main process exited, code=dumped, status=11/SEGV
mar 16 08:58:33 Dell-g5-5587 systemd[1]: libvirtd.service: Failed with result 'core-dump'.
mar 16 08:58:33 Dell-g5-5587 systemd[1]: libvirtd.service: Scheduled restart job, restart counter is at 5.
mar 16 08:58:33 Dell-g5-5587 systemd[1]: Stopped Virtualization daemon.
mar 16 08:58:33 Dell-g5-5587 systemd[1]: libvirtd.service: Start request repeated too quickly.
mar 16 08:58:33 Dell-g5-5587 systemd[1]: libvirtd.service: Failed with result 'core-dump'.
mar 16 08:58:33 Dell-g5-5587 systemd[1]: Failed to start Virtualization daemon.

EDIT:
after update gnome shell (gnome-shell-1:3.38.4-1) is back to work normally loading all my VMs, I don't see any connection between the two things but I think the thing resolved. thx for support.

Last edited by superipermeganoob (2021-03-16 11:02:27)

Offline

Board footer

Powered by FluxBB