Created attachment 1247440 [details]
logs captured during the Boxes load and crash
Description of problem:
Each time I start Gnome Boxes, I get the application interface which is loading and then it crashes after a while
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start Gnome Boxes
2. Boxes loads the VMs
First start of Boxes ends with a crash each time. Second start is successful after that
Boxes starts during the first launch.
Please see attached log file for logs captured during the app start and its crash
Interesting bits are:
org.gnome.Boxes: Error setting up default broker: Unable to open qemu+unix:///session: Failed to connect socket to /run/user/1000/libvirt/libvirt-sock': No such file or directory
org.gnome.Boxes: Boxes:ERROR:app.c:3346:boxes_app_setup_default_source_co: assertion failed: (default_connection != null)
Which is exactly the upstream bug  closed as NOTGNOME as  is the reason for it.
Quoting Cole there:
> If people hit the occasional VM startup issue in the future, please file a new > bug and provide the (hopefully better) libvirt error message
@Zdenek, can you provide libvirt logs?
@Cole, just to bring this to your attention in case you need more info.
I just checked /var/log/libvirt/qemu and found it empty :\
Could you guide me how to enable libvirt auditing or logging please?
I will activate it and report asap.
I activated debug level of logging with
log_level = 1
in /etc/libvirt/libvirtd.conf file and restarted libvirtd service but I still do not see any log file anywhere. Moreover, each start of Boxes is successful at the first attempt now. Anyway, I will watch it and try to report more details. Hints how to activate libvirt logging are still welcomed.
Ok, I fixed logging with
log_level = 1
log_filters="3:remote 4:event 3:json 3:rpc"
and get the file attached in the ticket now.
Created attachment 1247543 [details]
libvirt debug logs captured during the Boxes load and crash
*** This bug has been marked as a duplicate of bug 1357556 ***