* Emacs not starting due to gsettings changes.
@ 2022-05-13 20:03 Pankaj Jangid
2022-05-14 0:58 ` Po Lu
2022-05-14 20:10 ` Pieter van Prooijen
0 siblings, 2 replies; 7+ messages in thread
From: Pankaj Jangid @ 2022-05-13 20:03 UTC (permalink / raw)
To: emacs-devel; +Cc: pieter.van.prooijen
Probably due to this commit - 526e9758de7d163ce3b25fde69a4e122ce9c3742
Emacs is producing below error. I am running it on Debian stable.
--8<---------------cut here---------------start------------->8---
pankaj@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---
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Emacs not starting due to gsettings changes.
2022-05-13 20:03 Emacs not starting due to gsettings changes Pankaj Jangid
@ 2022-05-14 0:58 ` Po Lu
2022-05-14 5:47 ` Pankaj Jangid
2022-05-14 6:23 ` Eli Zaretskii
2022-05-14 20:10 ` Pieter van Prooijen
1 sibling, 2 replies; 7+ messages in thread
From: Po Lu @ 2022-05-14 0:58 UTC (permalink / raw)
To: emacs-devel; +Cc: pieter.van.prooijen
Pankaj Jangid <pankaj@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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Emacs not starting due to gsettings changes.
2022-05-14 0:58 ` Po Lu
@ 2022-05-14 5:47 ` Pankaj Jangid
2022-05-14 6:23 ` Eli Zaretskii
1 sibling, 0 replies; 7+ messages in thread
From: Pankaj Jangid @ 2022-05-14 5:47 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 342 bytes --]
Po Lu <luangruo@yahoo.com> writes:
> Pankaj Jangid <pankaj@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.
[-- Attachment #2: gdb.txt --]
[-- Type: text/plain, Size: 3330 bytes --]
#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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Emacs not starting due to gsettings changes.
2022-05-14 0:58 ` Po Lu
2022-05-14 5:47 ` Pankaj Jangid
@ 2022-05-14 6:23 ` Eli Zaretskii
2022-05-14 9:15 ` Pankaj Jangid
1 sibling, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2022-05-14 6:23 UTC (permalink / raw)
To: Po Lu; +Cc: emacs-devel, pieter.van.prooijen
> From: Po Lu <luangruo@yahoo.com>
> Cc: pieter.van.prooijen@teloden.nl
> Date: Sat, 14 May 2022 08:58:01 +0800
>
> Pankaj Jangid <pankaj@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.
And also, please always report such problems as bugs. This list isn't
supposed to be used for debugging crashes.
TIA
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Emacs not starting due to gsettings changes.
2022-05-14 6:23 ` Eli Zaretskii
@ 2022-05-14 9:15 ` Pankaj Jangid
0 siblings, 0 replies; 7+ messages in thread
From: Pankaj Jangid @ 2022-05-14 9:15 UTC (permalink / raw)
To: emacs-devel
Eli Zaretskii <eliz@gnu.org> writes:
> And also, please always report such problems as bugs. This list isn't
> supposed to be used for debugging crashes.
Sure. I thought so first. But I don’t know why I sent it here. Sorry
about cluttering the already busy list.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Emacs not starting due to gsettings changes.
2022-05-13 20:03 Emacs not starting due to gsettings changes Pankaj Jangid
2022-05-14 0:58 ` Po Lu
@ 2022-05-14 20:10 ` Pieter van Prooijen
2022-05-15 1:43 ` Po Lu
1 sibling, 1 reply; 7+ messages in thread
From: Pieter van Prooijen @ 2022-05-14 20:10 UTC (permalink / raw)
To: Pankaj Jangid, emacs-devel
Hello All,
What is probably happening here is that debian stable uses an older
version of the org.gnome.desktop.interface schema?
I see that the keys that the font rendering patch needs were added in
jan 2021:
https://github.com/GNOME/gsettings-desktop-schemas/commit/d6a804b3a73605f9ffe917c31b9eb1301f2c4b73
I'll have a look if it's possible to fix this by checking if these
newer font keys are present in the schema and not fetching their value
if they are missing (which is marked in the glib docs as a "programmer
error", which would explain the trap).
Kind Regards,
Pieter
On Sat, 2022-05-14 at 01:33 +0530, Pankaj Jangid wrote:
> Probably due to this commit -
> 526e9758de7d163ce3b25fde69a4e122ce9c3742
>
> Emacs is producing below error. I am running it on Debian stable.
>
> --8<---------------cut here---------------start------------->8---
> pankaj@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---
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Emacs not starting due to gsettings changes.
2022-05-14 20:10 ` Pieter van Prooijen
@ 2022-05-15 1:43 ` Po Lu
0 siblings, 0 replies; 7+ messages in thread
From: Po Lu @ 2022-05-15 1:43 UTC (permalink / raw)
To: Pieter van Prooijen; +Cc: Pankaj Jangid, emacs-devel
Pieter van Prooijen <pieter.van.prooijen@teloden.nl> writes:
> Hello All,
>
> What is probably happening here is that debian stable uses an older
> version of the org.gnome.desktop.interface schema?
I already fixed that bug, you don't have to concern yourself with it any
further.
Thanks.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-05-15 1:43 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-13 20:03 Emacs not starting due to gsettings changes Pankaj Jangid
2022-05-14 0:58 ` Po Lu
2022-05-14 5:47 ` Pankaj Jangid
2022-05-14 6:23 ` Eli Zaretskii
2022-05-14 9:15 ` Pankaj Jangid
2022-05-14 20:10 ` Pieter van Prooijen
2022-05-15 1:43 ` Po Lu
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.