Package: emacs;
Reported by: Pankaj Jangid <pankaj <at> codeisgreat.org>
Date: Sun, 15 May 2022 03:21:02 UTC
Severity: normal
Done: Po Lu <luangruo <at> yahoo.com>
Bug is archived. No further changes may be made.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Pankaj Jangid <pankaj <at> codeisgreat.org> To: bug-gnu-emacs <at> gnu.org Subject: Emacs not starting due to gsettings changes. Date: Sun, 15 May 2022 08:50:42 +0530
As suggested on dev list, reporting it to bugs for tracking. Emacs is crashing probably due to this commit - 526e9758de7d163ce3b25fde69a4e122ce9c3742 Emacs is producing below error. I am running it on Debian stable. - -8<---------------cut here---------------start------------->8--- pankaj <at> anant:~/work/gnu/emacs (master)$ emacs (emacs:1470526): GLib-GIO-ERROR **: 01:22:54.209: Settings schema 'org.gnome.desktop.interface' does not contain a key named 'font-antialiasing' Fatal error 5: Trace/breakpoint trap Backtrace: emacs(+0x14e9d1)[0x55a79a4ac9d1] emacs(+0x4346c)[0x55a79a3a146c] emacs(+0x439aa)[0x55a79a3a19aa] emacs(+0x14cf9d)[0x55a79a4aaf9d] emacs(+0x14d089)[0x55a79a4ab089] /lib/x86_64-linux-gnu/libpthread.so.0(+0x14140)[0x7f9d63c8b140] /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log_structured_array+0x117)[0x7f9d64f37ca7] /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log_default_handler+0xb5)[0x7f9d64f380b5] /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_logv+0x219)[0x7f9d64f38309] /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log+0x8f)[0x7f9d64f3859f] /lib/x86_64-linux-gnu/libgio-2.0.so.0(+0xf44e9)[0x7f9d6515c4e9] /lib/x86_64-linux-gnu/libgio-2.0.so.0(+0xf4b5c)[0x7f9d6515cb5c] /lib/x86_64-linux-gnu/libgio-2.0.so.0(g_settings_get_value+0x65)[0x7f9d65160cf5] emacs(+0x26bffd)[0x55a79a5c9ffd] emacs(+0x26cdb3)[0x55a79a5cadb3] emacs(+0x2631b2)[0x55a79a5c11b2] emacs(+0x25431f)[0x55a79a5b231f] emacs(+0x200175)[0x55a79a55e175] emacs(+0x1b9e23)[0x55a79a517e23] emacs(+0x1bb779)[0x55a79a519779] emacs(+0x200175)[0x55a79a55e175] emacs(+0x1bed87)[0x55a79a51cd87] emacs(+0x1bd88d)[0x55a79a51b88d] emacs(+0x1bfdb7)[0x55a79a51ddb7] emacs(+0x1b86a7)[0x55a79a5166a7] emacs(+0x12dee6)[0x55a79a48bee6] emacs(+0x1b8601)[0x55a79a516601] emacs(+0x12d4d8)[0x55a79a48b4d8] emacs(+0x1343c3)[0x55a79a4923c3] emacs(+0x13473c)[0x55a79a49273c] emacs(+0x4be6d)[0x55a79a3a9e6d] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7f9d63921d0a] emacs(+0x4c4da)[0x55a79a3aa4da] Trace/breakpoint trap - -8<---------------cut here---------------end--------------->8--- Po Lu <luangruo <at> yahoo.com> writes: > Pankaj Jangid <pankaj <at> codeisgreat.org> writes: > >> Probably due to this commit - 526e9758de7d163ce3b25fde69a4e122ce9c3742 >> >> Emacs is producing below error. I am running it on Debian stable. > > Show a backtrace from gdb, please. Thanks. I am using PGTK build. Here is the stacktrace from master. - -=-=-= Content-Type: text/plain Content-Disposition: inline; filename=gdb.txt #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 0x000055555586a06e in apply_gsettings_font_antialias (settings=0x555555f40ba0) at xsettings.c:275 #8 0x000055555586a6fe in init_gsettings () at xsettings.c:1030 #9 0x000055555586a758 in xsettings_initialize (dpyinfo=0x555555fb34f0) at xsettings.c:1133 #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=0x7ffff1e21525, args_template=514, nargs=2, args=0x7ffff13cf278) at bytecode.c:809 #14 0x0000555555787bad in fetch_and_exec_byte_code (fun=0x7ffff1c4045d, args_template=256, nargs=0, args=0x7ffff13cf150) at eval.c:3002 #15 0x0000555555787f21 in funcall_lambda (fun=0x7ffff1c4045d, nargs=0, arg_vector=0x7ffff13cf150) at eval.c:3074 #16 0x0000555555787496 in funcall_general (fun=0x7ffff1c4045d, 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=0x7ffff1ece1ed, args_template=770, nargs=3, args=0x7ffff13cf3c0) at bytecode.c:809 #21 0x0000555555787bad in fetch_and_exec_byte_code (fun=0x7ffff1c73ab5, args_template=0, nargs=0, args=0x7fffffffd8c0) at eval.c:3002 #22 0x0000555555787f21 in funcall_lambda (fun=0x7ffff1c73ab5, nargs=0, arg_vector=0x7fffffffd8c0) at eval.c:3074 #23 0x0000555555787d3f in apply_lambda (fun=0x7ffff1c73ab5, args=0x0, count=...) at eval.c:3024 #24 0x0000555555786437 in eval_sub (form=0x7ffff221dcf3) at eval.c:2465 #25 0x0000555555785a1f in Feval (form=0x7ffff221dcf3, 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 - -=-=-=--
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.