Bug 1395181 - gnome-boxes SEGV with symlink volume dir in RHEL7
Summary: gnome-boxes SEGV with symlink volume dir in RHEL7
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: gnome-boxes
Version: 8.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.3
Assignee: Felipe Borges
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-15 11:04 UTC by fujiwara
Modified: 2020-06-22 13:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-22 13:20:52 UTC
Type: Bug
Target Upstream Version:


Attachments (Terms of Use)

Description fujiwara 2016-11-15 11:04:52 UTC
I'd create storage volumes in another partition since the root partition has no window.
I follow the article:
https://fedoramagazine.org/getting-started-with-virtualization-in-gnome-boxes/

% ls -l .local/share/gnome-boxes
lrwxrwxrwx. 1 foo foo 39 Nov 15 12:39 .local/share/gnome-boxes -> ../../../../backup/gnome-boxes/foo

% rpm -q gnome-boxes
gnome-boxes-3.14.3.1-5.el7.x86_64

% gnome-boxes
(gnome-boxes:6285): Libvirt.GObject-CRITICAL **: gvir_storage_vol_get_info: assertion 'GVIR_IS_STORAGE_VOL(vol)' failed

Program received signal SIGSEGV, Segmentation fault.
0x000000000048491b in boxes_vm_creator_on_machine_state_changed.isra.20 ()
(gdb) where
#0  0x000000000048491b in boxes_vm_creator_on_machine_state_changed.isra.20 ()
#1  0x0000000000484d08 in boxes_vm_creator_real_continue_installation_co ()
#2  0x00007ffff33fdf47 in g_simple_async_result_complete ()
    at /lib64/libgio-2.0.so.0
#3  0x00007ffff33fdfa9 in complete_in_idle_cb () at /lib64/libgio-2.0.so.0
#4  0x00007ffff2e4d79a in g_main_context_dispatch ()
    at /lib64/libglib-2.0.so.0
#5  0x00007ffff2e4dae8 in g_main_context_iterate.isra.24 ()
    at /lib64/libglib-2.0.so.0
#6  0x00007ffff2e4db9c in g_main_context_iteration ()
    at /lib64/libglib-2.0.so.0
#7  0x00007ffff3430f24 in g_application_run () at /lib64/libgio-2.0.so.0
#8  0x000000000045c299 in _vala_main ()
#9  0x00007ffff2848b15 in __libc_start_main () at /lib64/libc.so.6
#10 0x000000000042e325 in _start ()


I don't see the same problem in Fedora 24.

Comment 2 Felipe Borges 2020-06-22 13:20:52 UTC
We don't support symlinking the backing storage files. But thanks to the recent improvements in gnome-boxes 3.36, you can now import a qcow2 file *without it getting copied* to Boxes' internal storage path. This way you can create a new VM from the qcow2 file (+ menu -> Create a Virtual Machine... -> Operating System Image File).


Note You need to log in before you can comment on or make changes to this bug.