Settings crashes when attempting to launch a subpage from the CLI
Affected version
46.beta.2 (git) - Fedora 39 Workstation
Seen behavior
Despite !2038 (merged) being merged, it isn't possible to launch Settings subpages because Settings always crashes:
$ ./shell/gnome-control-center region
**
ERROR:../shell/cc-panel-loader.c:218:cc_panel_loader_load_by_name: assertion failed: (get_type != NULL)
Bail out! ERROR:../shell/cc-panel-loader.c:218:cc_panel_loader_load_by_name: assertion failed: (get_type != NULL)
Aborted (core dumped)
Stack trace
Click to expand
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
tid = <optimized out>
ret = 0
pd = <optimized out>
old_mask = {__val = {0}}
ret = <optimized out>
#1 0x00007f9c52cf18a3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2 0x00007f9c52c9f8ee in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
ret = <optimized out>
#3 0x00007f9c52c878ff in __GI_abort () at abort.c:79
save_stage = 1
act = {__sigaction_handler = {sa_handler = 0x20, sa_sigaction = 0x20}, sa_mask = {__val = {26005968, 140733752006144, 140309415988517, 0, 32, 206158430240, 18446744073709549320, 11, 23673216, 140733752006112, 140309380989918, 23673232, 0, 0, 23673232, 104}}, sa_flags = 1425165792, sa_restorer = 0x7fff214bd600}
#4 0x00007f9c54dfc056 in g_assertion_message (domain=domain@entry=0x0, file=file@entry=0x5e7f4c "../shell/cc-panel-loader.c", line=line@entry=218, func=func@entry=0x5e8030 <__func__.1> "cc_panel_loader_load_by_name", message=message@entry=0x1292990 "assertion failed: (get_type != NULL)") at ../glib/gtestutils.c:3497
lstr = "218\000\000\000\000\000\027\000\000\000\000\000\000\000\220\326K!\377\177\000\000F]\342T\234\177\000"
s = 0x1693990 "\363@i\001"
#5 0x00007f9c54e5dad7 in g_assertion_message_expr (domain=0x0, file=0x5e7f4c "../shell/cc-panel-loader.c", line=218, func=0x5e8030 <__func__.1> "cc_panel_loader_load_by_name", expr=<optimized out>) at ../glib/gtestutils.c:3523
s = 0x1292990 "assertion failed: (get_type != NULL)"
#6 0x000000000045b143 in cc_panel_loader_load_by_name (shell=0x137ef30, name=0x1695130 "datetime", title=0x175a080 "Date & Time", parameters=0x18cb880) at ../shell/cc-panel-loader.c:218
get_type = 0x0
__func__ = "cc_panel_loader_load_by_name"
#7 0x000000000045ed8f in activate_panel (self=0x137ef30, id=0x1695130 "datetime", parameters=0x18cb880, name=0x175a080 "Date & Time", gicon=0x1511550, visibility=CC_PANEL_VISIBLE_IN_SEARCH) at ../shell/cc-window.c:140
timer = 0x1759d20
elapsed_time = 2.2652366389610729e-317
__func__ = "activate_panel"
#8 0x000000000045f5e4 in set_active_panel_from_id (self=0x137ef30, start_id=0x1695130 "datetime", parameters=0x18cb880, add_to_history=1, force_moving_to_the_panel=1, error=0x7fff214bd928) at ../shell/cc-window.c:324
gicon = 0x1511550
name = 0x175a080 "Date & Time"
visibility = CC_PANEL_VISIBLE_IN_SEARCH
iter = {stamp = -1485153173, user_data = 0x15116a0, user_data2 = 0x0, user_data3 = 0x0}
view = CC_PANEL_LIST_MAIN
activated = 32767
found = 1
__func__ = "set_active_panel_from_id"
#9 0x000000000045fd3e in cc_window_set_active_panel_from_id (shell=0x137ef30, start_id=0x1695130 "datetime", parameters=0x18cb880, error=0x7fff214bd928) at ../shell/cc-window.c:501
self = 0x137ef30
__func__ = "cc_window_set_active_panel_from_id"
#10 0x000000000045c10e in cc_shell_set_active_panel_from_id (shell=0x137ef30, id=0x1695130 "datetime", parameters=0x18cb880, error=0x7fff214bd928) at ../shell/cc-shell.c:121
iface = 0x144df40
__func__ = "cc_shell_set_active_panel_from_id"
#11 0x0000000000457e5b in cc_application_command_line (application=0x128e270, command_line=0x1292900) at ../shell/cc-application.c:259
start_id = 0x1695130 "datetime"
err = 0x0
parameters = 0x18cb880
builder = {u = {s = {partial_magic = 0, type = 0x0, y = {0 <repeats 14 times>}}, x = {0 <repeats 16 times>}}}
i = 1
self = 0x128e270
start_panels = 0x125b1d0
options = 0x1693140
retval = 0
search_str = 0x12929f0 " "
debug = 0
__func__ = "cc_application_command_line"
Python Exception <class 'gdb.error'>: value has been optimized out
Edited by Automeris naranja