budgie-session segfault when creating a virtual machine in gnome-boxes
Description:
Not sure if this bug should be filed against gnome-boxes or budgie-session, but since it's the later that's actually crashing, I'm opening the issue here.
When downloading an OS inside gnome-boxes, the whole budgie session crashes instantly.
journalctl log of the crash
avril 13 17:51:17 arch gnome-boxes[2098]: Calling org.gnome.SessionManager.Inhibit failed: GDBus.Error:org.gnome.SessionManager.GeneralError: Invalid inhibit flags
avril 13 17:51:17 arch kernel: budgie-session-[965]: segfault at 759cb1bea424 ip 0000759bfd4b93c1 sp 00007ffd03555cd8 error 4 in libgobject-2.0.so.0.8400.1[3a3c1,759bfd48b000+37000] likely on CPU 3 (core 1, socket 0)
avril 13 17:51:17 arch kernel: Code: 00 00 00 4c 89 ce e9 1e e6 ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 48 85 ff 74 47 48 8b 07 48 85 c0 74 3f <48> 8b 00 48 3d fc 03 00 00 77 2c 48 8d 15 6d 3d 02 00 48 c1 e8 02
avril 13 17:51:17 arch systemd-coredump[2168]: Process 965 (budgie-session-) of user 1000 terminated abnormally with signal 11/SEGV, processing...
avril 13 17:51:17 arch systemd[1]: Created slice Slice /system/systemd-coredump.
avril 13 17:51:17 arch systemd[1]: Started Process Core Dump (PID 2168/UID 0).
avril 13 17:51:18 arch systemd-coredump[2169]: [🡕] Process 965 (budgie-session-) of user 1000 dumped core.
bt full
from the core dump
#0 g_type_check_instance_is_fundamentally_a (type_instance=0x759be8004e40, fundamental_type=0x50) at ../glib/gobject/gtype.c:3918
node = <optimized out>
#1 0x0000759bfd49fe60 in g_object_unref (_object=0x759be8004e40) at ../glib/gobject/gobject.c:4350
_g_boolean_var_116 = 0
object = 0x759be8004e40
old_ref = 30107
toggle_notify = <optimized out>
toggle_data = <optimized out>
nqueue = <optimized out>
obj_gtype = <optimized out>
retry_beginning = <optimized out>
retry_decrement = <optimized out>
#2 0x0000759bfd37af15 in g_source_callback_unref (cb_data=0x759be8003b70) at ../glib/glib/gmain.c:1644
callback = <optimized out>
callback = <optimized out>
#3 g_source_callback_unref (cb_data=0x759be8003b70) at ../glib/glib/gmain.c:1637
callback = 0x759be8003b70
#4 0x0000759bfd38385c in g_source_destroy_internal (source=0x759be80059f0, context=0x577dfed45080, have_lock=1) at ../glib/glib/gmain.c:1306
tmp_list = <optimized out>
old_cb_data = 0x759be8003b70
old_cb_funcs = 0x759bfd47d380 <g_source_callback_funcs>
#5 0x0000759bfd385319 in g_main_dispatch (context=0x577dfed45080) at ../glib/glib/gmain.c:3428
user_data = 0x759be8004e40
callback = 0x759bfd5e6880 <call_in_idle_cb>
gaig_temp = <optimized out>
gaig_temp = <optimized out>
cb_data = 0x759be8003b70
need_destroy = 1
dispatch = <optimized out>
prev_source = 0x0
was_in_call = 0
cb_funcs = 0x759bfd47d380 <g_source_callback_funcs>
begin_time_nsec = 52102324682
--Type <RET> for more, q to quit, c to continue without paging--c
source = 0x759be80059f0
current = 0x577dfed54650
i = 0
#6 0x0000759bfd3e8e97 in g_main_context_dispatch_unlocked (context=0x577dfed45080) at ../glib/glib/gmain.c:4249
#7 g_main_context_iterate_unlocked.isra.0 (context=0x577dfed45080, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
at ../glib/glib/gmain.c:4314
max_priority = 2147483647
timeout_usec = -1
some_ready = 1
nfds = 43
allocated_nfds = <optimized out>
fds = 0x577dfed6eb90
begin_time_nsec = 34902528557
#8 0x0000759bfd385ee7 in g_main_loop_run (loop=0x577dfed5b170) at ../glib/glib/gmain.c:4516
self = <optimized out>
#9 0x0000577dc5fbc90f in main (argc=<optimized out>, argv=<optimized out>) at ../budgie-session-0.9.1/gnome-session/main.c:627
error = 0x0
debug_string = <optimized out>
env_override_autostart_dirs = <optimized out>
env_override_autostart_dirs_v = 0x0
gl_failed = 0
name_owner_id = 1
options = <optimized out>
entries = {{long_name = 0x577dc5fe44ac "builtin", short_name = 0 '\000', flags = 4, arg = G_OPTION_ARG_NONE, arg_data = 0x577dc5ff0540 <use_systemd>, description = 0x577dc5fe12b8 "Use builtin session management (rather than the systemd based one)", arg_description = 0x0}, {long_name = 0x577dc5fe3f64 "autostart", short_name = 97 'a', flags = 0, arg = G_OPTION_ARG_STRING_ARRAY, arg_data = 0x577dc5ff0570 <override_autostart_dirs>, description = 0x577dc5fe1300 "Override standard autostart directories", arg_description = 0x577dc5fe429a "AUTOSTART_DIR"}, {long_name = 0x577dc5fe3d6b "session", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_STRING, arg_data = 0x577dc5ff0568 <opt_session_name>, description = 0x577dc5fe44b4 "Session to use", arg_description = 0x577dc5fe44c3 "SESSION_NAME"}, {long_name = 0x577dc5fe35d6 "debug", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x577dc5ff0584 <debug>, description = 0x577dc5fe44d0 "Enable debugging code", arg_description = 0x0}, {long_name = 0x577dc5fe3700 "failsafe", short_name = 102 'f', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x577dc5ff05a8 <failsafe>, description = 0x577dc5fe1328 "Do not load user-specified applications", arg_description = 0x0}, {long_name = 0x577dc5fe44e6 "version", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x577dc5ff057c <show_version>, description = 0x577dc5fe44ee "Version of this application", arg_description = 0x0}, {long_name = 0x577dc5fe450a "whale", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x577dc5ff0578 <please_fail>, description = 0x577dc5fe1350 "Show the fail whale dialog for testing", arg_description = 0x0}, {long_name = 0x577dc5fe4510 "disable-acceleration-check", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x577dc5ff0580 <disable_acceleration_check>, description = 0x577dc5fe1378 "Disable hardware acceleration check", arg_description = 0x0}, {long_name = 0x0, short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}}
override_autostart_dirs = 0x0
opt_session_name = 0x577dfed3fd80 "org.buddiesofbudgie.BudgieDesktop"
Additional info:
- package version(s): budgie-session 0.9.1-2, gnome-boxes 48.0-1
- link to upstream bug report, if any: not really upstream, but I found this bug report on NiX which points to a
gnome-session
bug that has been fixed a year ago
Steps to reproduce:
- Open a session with Budgie as the DE
- Install and launch
gnome-boxes
- Try to download an OS
- Observes the session crashing in the second