gnome-boxes segfaults when clicking in a guest
Submitted by Dominique Leuenberger
Link to original bug (#771521)
Description
Using gnome-boxes 3.21.92, runnin on openSUSE Tumbleweed, I attempted to install a openSUSE Leap 42.2 beta guest (which works in qemu-kvm without issues)
my GNOME is running a wayland session, which also shows in the back trace of boxes
Process:
- Fire up boxes
- new VM, based on the openSUSE Leap 42.2 beta DVD
- installer launches
- click inside the box to confirm the installer choice -> boxes segfaults
A stacktrace looks like this:
(gdb) bt
#0 0x00007f34a00c1ae0 in g_str_hash (v=0xaaaaaaaaaaaaaaaa) at ghash.c:1876
#1 0x00007f34a00c09bd in g_hash_table_remove_internal (hash_return=<synthetic pointer>, key=0xaaaaaaaaaaaaaaaa, hash_table=0x226e000 = {...})
at ghash.c:375
#2 0x00007f34a00c09bd in g_hash_table_remove_internal (hash_table=0x226e000 = {...}, key=0xaaaaaaaaaaaaaaaa, notify=1) at ghash.c:1353
#3 0x00007f34a2ffddef in as_store_remove_app_by_id (store=store@entry=0x222da70 [AsStore], id=id@entry=0x3afa170 "d-feet.desktop") at as-store.c:872
#4 0x00007f34a2ffdf24 in as_store_remove_by_source_file (store=0x222da70 [AsStore], filename=0x3347040 "/var/cache/app-info/xmls/GNOME:Apps.xml.gz")
at as-store.c:1501
#8 0x00007f34a03c680f in <emit signal ??? on instance 0x2236f50 [AsMonitor]> (instance=instance@entry=0x2236f50, signal_id=<optimized out>, detail=detail@entry=0) at gsignal.c:3447
#5 0x00007f34a03aaa45 in g_closure_invoke (closure=0x2277ba0, return_value=return_value@entry=0x0, n_param_values=2, param_values=param_values@entry=0x7ffe49b67040, invocation_hint=invocation_hint@entry=0x7ffe49b66fc0) at gclosure.c:804
#6 0x00007f34a03bd512 in signal_emit_unlocked_R (node=node@entry=0x2256e60, detail=detail@entry=0, instance=instance@entry=0x2236f50, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7ffe49b67040) at gsignal.c:3635
#7 0x00007f34a03c642c in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7ffe49b67200) at gsignal.c:3391
#9 0x00007f34a2ff4ab6 in as_monitor_emit_removed (monitor=monitor@entry=0x2236f50 [AsMonitor], filename=filename@entry=0x37413e0 "/var/cache/app-info/xmls/GNOME:Apps.xml.gz") at as-monitor.c:227
#10 0x00007f34a2ff4f3b in as_monitor_file_changed_cb (mon=<optimized out>, file=<optimized out>, other_file=<optimized out>, event_type=<optimized out>, monitor=0x2236f50 [AsMonitor]) at as-monitor.c:351
#11 0x00007f3498df7ffd in ffi_call_unix64 () at ../../../libffi/src/x86/unix64.S:122
#12 0x00007f3498df7721 in ffi_call_int (cif=cif@entry=0x7ffe49b675b0, fn=fn@entry=0x7f34a2ff4ca0 <as_monitor_file_changed_cb>, rvalue=<optimized out>, avalue=avalue@entry=0x7ffe49b67480, closure=closure@entry=0x0) at ../../../libffi/src/x86/ffi64.c:656
#13 0x00007f3498df7c68 in ffi_call (cif=cif@entry=0x7ffe49b675b0, fn=fn@entry=0x7f34a2ff4ca0 <as_monitor_file_changed_cb>, rvalue=<optimized out>, avalue=avalue@entry=0x7ffe49b67480) at ../../../libffi/src/x86/ffi64.c:663
#14 0x00007f34a03ab75a in g_cclosure_marshal_generic_va (closure=0x3b339c0, return_value=0x0, instance=<optimized out>, args_list=<optimized out>, marshal_data=<optimized out>, n_params=3, param_types=0x22df7a0) at gclosure.c:1604
#15 0x00007f34a03aac74 in _g_closure_invoke_va (closure=closure@entry=0x3b339c0, return_value=return_value@entry=0x0, instance=instance@entry=0x2295c60, args=args@entry=0x7ffe49b67840, n_params=<optimized out>, param_types=0x22df7a0) at gclosure.c:867
#16 0x00007f34a03c611d in g_signal_emit_valist (instance=0x2295c60, signal_id=<optimized out>, detail=0, var_args=var_args@entry=0x7ffe49b67840)
at gsignal.c:3300
#17 0x00007f34a03c680f in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=detail@entry=0) at gsignal.c:3447
---Type <return> to continue, or q <return> to quit---
#18 0x00007f34a064edab in g_file_monitor_emit_event (monitor=<optimized out>, child=<optimized out>, other_file=<optimized out>, event_type=<optimized out>) at gfilemonitor.c:290
#19 0x00007f34a06dee19 in g_file_monitor_source_dispatch (source=0x3afcb50, callback=<optimized out>, user_data=<optimized out>)
at glocalfilemonitor.c:546
#20 0x00007f34a00d2737 in g_main_context_dispatch (context=0x2226550) at gmain.c:3201
#21 0x00007f34a00d2737 in g_main_context_dispatch (context=context@entry=0x2226550) at gmain.c:3854
#22 0x00007f34a00d29a0 in g_main_context_iterate (context=context@entry=0x2226550, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3927
#23 0x00007f34a00d2a4c in g_main_context_iteration (context=context@entry=0x2226550, may_block=may_block@entry=1) at gmain.c:3988
#24 0x00007f34a069799d in g_application_run (application=0x22240e0 [GsApplication], argc=argc@entry=2, argv=argv@entry=0x7ffe49b67c18)
at gapplication.c:2381
#25 0x000000000041f646 in main (argc=2, argv=0x7ffe49b67c18) at gs-main.c:55