Subject: bug#55422: Emacs not starting due to gsettings changes.

From: Pankaj Jangid <[email-masked]>
Date: Sun, 15 May 2022 13:01:24 +0530

Po Lu <[email-masked]> writes:

> Pankaj Jangid <[email-masked]> writes:
>
>> Here is the error message. And attached is the stacktrace.
>
> Does this fix the problem?
>
Nope. Here is the stacktrace,

#0  0x00007ffff715dca7 in g_log_structured_array () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ffff715e0b5 in g_log_default_handler () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff715e309 in g_logv () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff715e59f in g_log () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff73824e9 in  () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007ffff7382b5c in  () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007ffff7386cf5 in g_settings_get_value () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#7  0x0000555555869f40 in apply_gsettings_font_hinting (settings=0x555555f3f7a0) at xsettings.c:246
#8  0x000055555586a7c1 in init_gsettings () at xsettings.c:1063
#9  0x000055555586a80c in xsettings_initialize (dpyinfo=0x555555fb2270) at xsettings.c:1165
#10 0x0000555555863ff3 in pgtk_term_init (display_name=0x7ffff1b030b4, resource_name=0x555555dc42d0 "emacs") at pgtkterm.c:6511
#11 0x000055555584c991 in Fx_open_connection (display=0x7ffff1b030b4, resource_string=0x0, must_succeed=0x0) at pgtkfns.c:2176
#12 0x00005555557878f5 in funcall_subr (subr=0x555555c5ea80 <Sx_open_connection>, numargs=3, args=0x7ffff13cf1d0) at eval.c:2957
#13 0x00005555557d7fbd in exec_byte_code (fun=0x7ffff1e215f5, args_template=514, nargs=2, args=0x7ffff13cf278) at bytecode.c:809
#14 0x0000555555787bad in fetch_and_exec_byte_code (fun=0x7ffff1c4052d, args_template=256, nargs=0, args=0x7ffff13cf150) at eval.c:3002
#15 0x0000555555787f21 in funcall_lambda (fun=0x7ffff1c4052d, nargs=0, arg_vector=0x7ffff13cf150) at eval.c:3074
#16 0x0000555555787496 in funcall_general (fun=0x7ffff1c4052d, numargs=0, args=0x7ffff13cf150) at eval.c:2865
#17 0x00005555557876f2 in Ffuncall (nargs=1, args=0x7ffff13cf148) at eval.c:2915
#18 0x000055555578683e in Fapply (nargs=2, args=0x7ffff13cf148) at eval.c:2539
#19 0x0000555555787ad9 in funcall_subr (subr=0x555555c58000 <Sapply>, numargs=2, args=0x7ffff13cf148) at eval.c:2980
#20 0x00005555557d7fbd in exec_byte_code (fun=0x7ffff1ece2bd, args_template=770, nargs=3, args=0x7ffff13cf3c0) at bytecode.c:809
#21 0x0000555555787bad in fetch_and_exec_byte_code (fun=0x7ffff1c73b85, args_template=0, nargs=0, args=0x7fffffffd8c0) at eval.c:3002
#22 0x0000555555787f21 in funcall_lambda (fun=0x7ffff1c73b85, nargs=0, arg_vector=0x7fffffffd8c0) at eval.c:3074
#23 0x0000555555787d3f in apply_lambda (fun=0x7ffff1c73b85, args=0x0, count=...) at eval.c:3024
#24 0x0000555555786437 in eval_sub (form=0x7ffff221dd8b) at eval.c:2465
#25 0x0000555555785a1f in Feval (form=0x7ffff221dd8b, lexical=0x0) at eval.c:2276
#26 0x00005555556c6324 in top_level_2 () at keyboard.c:1149
#27 0x0000555555783cdf in internal_condition_case (bfun=0x5555556c6301 <top_level_2>, handlers=0x90, hfun=0x5555556c5c4f <cmd_error>) at eval.c:1450
#28 0x00005555556c636c in top_level_1 (ignore=0x0) at keyboard.c:1157
#29 0x00005555557833cc in internal_catch (tag=0xf390, func=0x5555556c6326 <top_level_1>, arg=0x0) at eval.c:1180
#30 0x00005555556c6245 in command_loop () at keyboard.c:1117
#31 0x00005555556c57fa in recursive_edit_1 () at keyboard.c:727
#32 0x00005555556c59a3 in Frecursive_edit () at keyboard.c:810
#33 0x00005555556c1e90 in main (argc=2, argv=0x7fffffffde48) at emacs.c:2470
quit
Starting program: /home/pankaj/work/gnu/emacs/src/emacs -Q
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff13cd700 (LWP 1664013)]
[New Thread 0x7ffff0bcc700 (LWP 1664014)]
[New Thread 0x7fffebfff700 (LWP 1664015)]
[New Thread 0x7fffeb7fe700 (LWP 1664016)]

Thread 1 "emacs" received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff715dca7 in g_log_structured_array () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#0  0x00007ffff715dca7 in g_log_structured_array () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ffff715e0b5 in g_log_default_handler () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff715e309 in g_logv () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff715e59f in g_log () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff73824e9 in  () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007ffff7382b5c in  () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007ffff7386cf5 in g_settings_get_value () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#7  0x000055555586a22a in apply_gsettings_font_rgba_order (settings=0x555555f41fa0) at xsettings.c:339
#8  0x000055555586a7da in init_gsettings () at xsettings.c:1070
#9  0x000055555586a816 in xsettings_initialize (dpyinfo=0x555555fb4330) at xsettings.c:1171
#10 0x0000555555863ff3 in pgtk_term_init (display_name=0x7ffff1b020b4, resource_name=0x555555dc4050 "emacs") at pgtkterm.c:6511
#11 0x000055555584c991 in Fx_open_connection (display=0x7ffff1b020b4, resource_string=0x0, must_succeed=0x0) at pgtkfns.c:2176
#12 0x00005555557878f5 in funcall_subr (subr=0x555555c5ea80 <Sx_open_connection>, numargs=3, args=0x7ffff13ce1d0) at eval.c:2957
#13 0x00005555557d7fbd in exec_byte_code (fun=0x7ffff1e20785, args_template=514, nargs=2, args=0x7ffff13ce278) at bytecode.c:809
#14 0x0000555555787bad in fetch_and_exec_byte_code (fun=0x7ffff1c3f6bd, args_template=256, nargs=0, args=0x7ffff13ce150) at eval.c:3002
#15 0x0000555555787f21 in funcall_lambda (fun=0x7ffff1c3f6bd, nargs=0, arg_vector=0x7ffff13ce150) at eval.c:3074
#16 0x0000555555787496 in funcall_general (fun=0x7ffff1c3f6bd, numargs=0, args=0x7ffff13ce150) at eval.c:2865
#17 0x00005555557876f2 in Ffuncall (nargs=1, args=0x7ffff13ce148) at eval.c:2915
#18 0x000055555578683e in Fapply (nargs=2, args=0x7ffff13ce148) at eval.c:2539
#19 0x0000555555787ad9 in funcall_subr (subr=0x555555c58000 <Sapply>, numargs=2, args=0x7ffff13ce148) at eval.c:2980
#20 0x00005555557d7fbd in exec_byte_code (fun=0x7ffff1ecd58d, args_template=770, nargs=3, args=0x7ffff13ce3c0) at bytecode.c:809
#21 0x0000555555787bad in fetch_and_exec_byte_code (fun=0x7ffff1c72d15, args_template=0, nargs=0, args=0x7fffffffd8f0) at eval.c:3002
#22 0x0000555555787f21 in funcall_lambda (fun=0x7ffff1c72d15, nargs=0, arg_vector=0x7fffffffd8f0) at eval.c:3074
#23 0x0000555555787d3f in apply_lambda (fun=0x7ffff1c72d15, args=0x0, count=...) at eval.c:3024
#24 0x0000555555786437 in eval_sub (form=0x7ffff221d10b) at eval.c:2465
#25 0x0000555555785a1f in Feval (form=0x7ffff221d10b, lexical=0x0) at eval.c:2276
#26 0x00005555556c6324 in top_level_2 () at keyboard.c:1149
#27 0x0000555555783cdf in internal_condition_case (bfun=0x5555556c6301 <top_level_2>, handlers=0x90, hfun=0x5555556c5c4f <cmd_error>) at eval.c:1450
#28 0x00005555556c636c in top_level_1 (ignore=0x0) at keyboard.c:1157
#29 0x00005555557833cc in internal_catch (tag=0xf390, func=0x5555556c6326 <top_level_1>, arg=0x0) at eval.c:1180
#30 0x00005555556c6245 in command_loop () at keyboard.c:1117
#31 0x00005555556c57fa in recursive_edit_1 () at keyboard.c:727
#32 0x00005555556c59a3 in Frecursive_edit () at keyboard.c:810
#33 0x00005555556c1e90 in main (argc=2, argv=0x7fffffffde78) at emacs.c:2470
quit