GNU bug report logs - #55422
Emacs not starting due to gsettings changes.

Previous Next

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 55422 in the body.
You can then email your comments to 55422 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#55422; Package emacs. (Sun, 15 May 2022 03:21:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pankaj Jangid <pankaj <at> codeisgreat.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 15 May 2022 03:21:02 GMT) Full text and rfc822 format available.

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

- -=-=-=--




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55422; Package emacs. (Sun, 15 May 2022 03:25:02 GMT) Full text and rfc822 format available.

Message #8 received at 55422 <at> debbugs.gnu.org (full text, mbox):

From: Pankaj Jangid <pankaj <at> codeisgreat.org>
To: 55422 <at> debbugs.gnu.org
Subject: [Various] Emacs not starting due to gsettings changes.
Date: Sun, 15 May 2022 08:54:17 +0530
Forwarding Pieter and Po’s messages here for tracking.

-------------------- Start of forwarded message --------------------
Date: Sun, 15 May 2022 08:53:21 +0530
From: Various
Subject: Emacs not starting due to gsettings changes.

Topics:
   Re: Emacs not starting due to gsettings changes.
   Re: Emacs not starting due to gsettings changes.


----------------------------------------------------------------------

Date: Sat, 14 May 2022 22:10:34 +0200
From: Pieter van Prooijen <pieter.van.prooijen <at> teloden.nl>
To: Pankaj Jangid <pankaj <at> codeisgreat.org>, emacs-devel <at> gnu.org
Subject: Re: Emacs not starting due to gsettings changes.
Message-ID: <547ba15056f6eea242e4da6c43aa416df54a29fb.camel <at> teloden.nl>
References: <87o8012oat.fsf <at> codeisgreat.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

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/d6a804b3a73605f9f=
fe917c31b9eb1301f2c4b73

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
>=20
> Emacs is producing below error. I am running it on Debian stable.
>=20
> --8<---------------cut here---------------start------------->8---
> pankaj <at> anant:~/work/gnu/emacs (master)$ emacs
>=20
> (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---


------------------------------

Date: Sun, 15 May 2022 09:43:10 +0800
From: Po Lu <luangruo <at> yahoo.com>
To: Pieter van Prooijen <pieter.van.prooijen <at> teloden.nl>
Cc: Pankaj Jangid <pankaj <at> codeisgreat.org>,  emacs-devel <at> gnu.org
Subject: Re: Emacs not starting due to gsettings changes.
Message-ID: <87k0ansh8x.fsf <at> yahoo.com>
References: <87o8012oat.fsf <at> codeisgreat.org>
	<547ba15056f6eea242e4da6c43aa416df54a29fb.camel <at> teloden.nl>
Content-Type: text/plain
MIME-Version: 1.0

Pieter van Prooijen <pieter.van.prooijen <at> 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.

------------------------------

End of forwardnP8i2F Digest
***************************

-------------------- End of forwarded message --------------------




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55422; Package emacs. (Sun, 15 May 2022 04:03:02 GMT) Full text and rfc822 format available.

Message #11 received at 55422 <at> debbugs.gnu.org (full text, mbox):

From: Pankaj Jangid <pankaj <at> codeisgreat.org>
To: 55422 <at> debbugs.gnu.org
Cc: luangruo <at> yahoo.com, pieter.van.prooijen <at> teloden.nl
Subject: Still not starting
Date: Sun, 15 May 2022 09:32:03 +0530
Is the fix available on master. Because in the latest pull, I am still
getting the error. And Emacs is not starting.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55422; Package emacs. (Sun, 15 May 2022 04:20:01 GMT) Full text and rfc822 format available.

Message #14 received at 55422 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Pankaj Jangid <pankaj <at> codeisgreat.org>
Cc: 55422 <at> debbugs.gnu.org, pieter.van.prooijen <at> teloden.nl
Subject: bug#55422: Emacs not starting due to gsettings changes.
Date: Sun, 15 May 2022 12:19:43 +0800
[Please do not change the subject line when replying to bug reports.]

Pankaj Jangid <pankaj <at> codeisgreat.org> writes:

> Is the fix available on master. Because in the latest pull, I am still
> getting the error. And Emacs is not starting.

Please set a breakpoint on this part of xsettings.c:

  GVariant *val;
  const char *antialias;

- if (!xg_settings_key_valid_p (settings, GSETTINGS_FONT_ANTIALIASING))
    return;

  val = g_settings_get_value (settings, GSETTINGS_FONT_ANTIALIASING);

What is the return of `xg_settings_key_valid_p'?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55422; Package emacs. (Sun, 15 May 2022 05:18:01 GMT) Full text and rfc822 format available.

Message #17 received at 55422 <at> debbugs.gnu.org (full text, mbox):

From: Pankaj Jangid <pankaj <at> codeisgreat.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 55422 <at> debbugs.gnu.org, pieter.van.prooijen <at> teloden.nl
Subject: Re: bug#55422: Emacs not starting due to gsettings changes.
Date: Sun, 15 May 2022 10:47:06 +0530
Po Lu <luangruo <at> yahoo.com> writes:

> Please set a breakpoint on this part of xsettings.c:
>
>   GVariant *val;
>   const char *antialias;
>
> - if (!xg_settings_key_valid_p (settings, GSETTINGS_FONT_ANTIALIASING))
>     return;
>
>   val = g_settings_get_value (settings, GSETTINGS_FONT_ANTIALIASING);
>
> What is the return of `xg_settings_key_valid_p'?

It is returning false.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55422; Package emacs. (Sun, 15 May 2022 05:57:01 GMT) Full text and rfc822 format available.

Message #20 received at 55422 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Pankaj Jangid <pankaj <at> codeisgreat.org>
Cc: 55422 <at> debbugs.gnu.org, pieter.van.prooijen <at> teloden.nl
Subject: Re: bug#55422: Emacs not starting due to gsettings changes.
Date: Sun, 15 May 2022 13:56:18 +0800
Pankaj Jangid <pankaj <at> codeisgreat.org> writes:

> It is returning false.

Then `font-aliasing' is not the problematic key anymore.  There is
another key that is missing, so please show the error message you get
with the current code.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55422; Package emacs. (Sun, 15 May 2022 06:09:01 GMT) Full text and rfc822 format available.

Message #23 received at 55422 <at> debbugs.gnu.org (full text, mbox):

From: Pankaj Jangid <pankaj <at> codeisgreat.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 55422 <at> debbugs.gnu.org, pieter.van.prooijen <at> teloden.nl
Subject: Re: bug#55422: Emacs not starting due to gsettings changes.
Date: Sun, 15 May 2022 11:38:33 +0530
[Message part 1 (text/plain, inline)]
Po Lu <luangruo <at> yahoo.com> writes:

> Pankaj Jangid <pankaj <at> codeisgreat.org> writes:
>
>> It is returning false.
>
> Then `font-aliasing' is not the problematic key anymore.  There is
> another key that is missing, so please show the error message you get
> with the current code.

Here is the error message. And attached is the stacktrace.

--8<---------------cut here---------------start------------->8---
pankaj <at> anant:~/work/gnu/emacs (master)$ ./src/emacs -Q

(emacs:1655703): GLib-GIO-ERROR **: 11:33:44.472: Settings schema 'org.gnome.desktop.interface' does not contain a key named 'font-hinting'
Fatal error 5: Trace/breakpoint trap
Backtrace:
./src/emacs(+0x19917f)[0x56146861f17f]
./src/emacs(+0x16b1fd)[0x5614685f11fd]
./src/emacs(+0x1989f0)[0x56146861e9f0]
./src/emacs(+0x1989c5)[0x56146861e9c5]
./src/emacs(+0x198a2b)[0x56146861ea2b]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14140)[0x7fc97ea94140]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log_structured_array+0x117)[0x7fc97fd40ca7]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log_default_handler+0xb5)[0x7fc97fd410b5]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_logv+0x219)[0x7fc97fd41309]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log+0x8f)[0x7fc97fd4159f]
/lib/x86_64-linux-gnu/libgio-2.0.so.0(+0xf44e9)[0x7fc97ff654e9]
/lib/x86_64-linux-gnu/libgio-2.0.so.0(+0xf4b5c)[0x7fc97ff65b5c]
/lib/x86_64-linux-gnu/libgio-2.0.so.0(g_settings_get_value+0x65)[0x7fc97ff69cf5]
./src/emacs(+0x315f40)[0x56146879bf40]
./src/emacs(+0x3167c1)[0x56146879c7c1]
./src/emacs(+0x31680c)[0x56146879c80c]
./src/emacs(+0x30fff3)[0x561468795ff3]
./src/emacs(+0x2f8991)[0x56146877e991]
./src/emacs(+0x2338f5)[0x5614686b98f5]
./src/emacs(+0x283fbd)[0x561468709fbd]
./src/emacs(+0x233bad)[0x5614686b9bad]
./src/emacs(+0x233f21)[0x5614686b9f21]
./src/emacs(+0x233496)[0x5614686b9496]
./src/emacs(+0x2336f2)[0x5614686b96f2]
./src/emacs(+0x23283e)[0x5614686b883e]
./src/emacs(+0x233ad9)[0x5614686b9ad9]
./src/emacs(+0x283fbd)[0x561468709fbd]
./src/emacs(+0x233bad)[0x5614686b9bad]
./src/emacs(+0x233f21)[0x5614686b9f21]
./src/emacs(+0x233d3f)[0x5614686b9d3f]
./src/emacs(+0x232437)[0x5614686b8437]
./src/emacs(+0x231a1f)[0x5614686b7a1f]
./src/emacs(+0x172324)[0x5614685f8324]
./src/emacs(+0x22fcdf)[0x5614686b5cdf]
./src/emacs(+0x17236c)[0x5614685f836c]
./src/emacs(+0x22f3cc)[0x5614686b53cc]
./src/emacs(+0x172245)[0x5614685f8245]
./src/emacs(+0x1717fa)[0x5614685f77fa]
./src/emacs(+0x1719a3)[0x5614685f79a3]
./src/emacs(+0x16de90)[0x5614685f3e90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7fc97e72ad0a]
...
Trace/breakpoint trap
--8<---------------cut here---------------end--------------->8---

[gdb.txt (text/plain, inline)]
#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

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55422; Package emacs. (Sun, 15 May 2022 06:50:02 GMT) Full text and rfc822 format available.

Message #26 received at 55422 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Pankaj Jangid <pankaj <at> codeisgreat.org>
Cc: 55422 <at> debbugs.gnu.org, pieter.van.prooijen <at> teloden.nl
Subject: Re: bug#55422: Emacs not starting due to gsettings changes.
Date: Sun, 15 May 2022 14:49:27 +0800
Pankaj Jangid <pankaj <at> codeisgreat.org> writes:

> Here is the error message. And attached is the stacktrace.

Does this fix the problem?

diff --git a/src/xsettings.c b/src/xsettings.c
index 16625bd229..ba75ea5703 100644
--- a/src/xsettings.c
+++ b/src/xsettings.c
@@ -230,6 +230,29 @@ #define GSETTINGS_FONT_HINTING       "font-hinting"
 /* The cairo font_options as obtained using gsettings.  */
 static cairo_font_options_t *font_options;
 
+static bool
+xg_settings_key_valid_p (GSettings *settings, const char *key)
+{
+#ifdef GLIB_VERSION_2_32
+  GSettingsSchema *schema;
+  bool rc;
+
+  g_object_get (G_OBJECT (settings),
+		"settings-schema", &schema,
+		NULL);
+
+  if (!schema)
+    return false;
+
+  rc = g_settings_schema_has_key (schema, key);
+  g_settings_schema_unref (schema);
+
+  return rc;
+#else
+  return false;
+#endif
+}
+
 /* Store an event for re-rendering of the fonts.  */
 static void
 store_font_options_changed (void)
@@ -243,13 +266,21 @@ store_font_options_changed (void)
 static void
 apply_gsettings_font_hinting (GSettings *settings)
 {
-  GVariant *val = g_settings_get_value (settings, GSETTINGS_FONT_HINTING);
+  GVariant *val;
+  const char *hinting;
+
+  if (!xg_settings_key_valid_p (settings, GSETTINGS_FONT_HINTING))
+    return;
+
+  val = g_settings_get_value (settings, GSETTINGS_FONT_HINTING);
+
   if (val)
     {
       g_variant_ref_sink (val);
+
       if (g_variant_is_of_type (val, G_VARIANT_TYPE_STRING))
 	{
-	  const char *hinting = g_variant_get_string (val, NULL);
+	  hinting = g_variant_get_string (val, NULL);
 
 	  if (!strcmp (hinting, "full"))
 	    cairo_font_options_set_hint_style (font_options,
@@ -268,29 +299,6 @@ apply_gsettings_font_hinting (GSettings *settings)
     }
 }
 
-static bool
-xg_settings_key_valid_p (GSettings *settings, const char *key)
-{
-#ifdef GLIB_VERSION_2_32
-  GSettingsSchema *schema;
-  bool rc;
-
-  g_object_get (G_OBJECT (settings),
-		"settings-schema", &schema,
-		NULL);
-
-  if (!schema)
-    return false;
-
-  rc = g_settings_schema_has_key (schema, key);
-  g_settings_schema_unref (schema);
-
-  return rc;
-#else
-  return false;
-#endif
-}
-
 /* Apply changes in the antialiasing system setting.  */
 static void
 apply_gsettings_font_antialias (GSettings *settings)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55422; Package emacs. (Sun, 15 May 2022 07:32:02 GMT) Full text and rfc822 format available.

Message #29 received at 55422 <at> debbugs.gnu.org (full text, mbox):

From: Pankaj Jangid <pankaj <at> codeisgreat.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 55422 <at> debbugs.gnu.org, pieter.van.prooijen <at> teloden.nl
Subject: Re: bug#55422: Emacs not starting due to gsettings changes.
Date: Sun, 15 May 2022 13:01:24 +0530
[Message part 1 (text/plain, inline)]
Po Lu <luangruo <at> yahoo.com> writes:

> Pankaj Jangid <pankaj <at> codeisgreat.org> writes:
>
>> Here is the error message. And attached is the stacktrace.
>
> Does this fix the problem?
>
Nope. Here is the stacktrace,

[gdb.txt (text/plain, inline)]
#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

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55422; Package emacs. (Sun, 15 May 2022 07:40:02 GMT) Full text and rfc822 format available.

Message #32 received at 55422 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Pankaj Jangid <pankaj <at> codeisgreat.org>
Cc: 55422 <at> debbugs.gnu.org, pieter.van.prooijen <at> teloden.nl
Subject: Re: bug#55422: Emacs not starting due to gsettings changes.
Date: Sun, 15 May 2022 15:38:56 +0800
Pankaj Jangid <pankaj <at> codeisgreat.org> writes:

> Po Lu <luangruo <at> yahoo.com> writes:
>
>> Pankaj Jangid <pankaj <at> codeisgreat.org> writes:
>>
>>> Here is the error message. And attached is the stacktrace.
>>
>> Does this fix the problem?
>>
> Nope. Here is the stacktrace,

Please show the error message from GIO accompanying that backtrace.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55422; Package emacs. (Sun, 15 May 2022 07:43:01 GMT) Full text and rfc822 format available.

Message #35 received at 55422 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Pankaj Jangid <pankaj <at> codeisgreat.org>
Cc: luangruo <at> yahoo.com, 55422 <at> debbugs.gnu.org, pieter.van.prooijen <at> teloden.nl
Subject: Re: bug#55422: Emacs not starting due to gsettings changes.
Date: Sun, 15 May 2022 10:42:28 +0300
> Cc: 55422 <at> debbugs.gnu.org, pieter.van.prooijen <at> teloden.nl
> From: Pankaj Jangid <pankaj <at> codeisgreat.org>
> Date: Sun, 15 May 2022 13:01:24 +0530
> 
> Po Lu <luangruo <at> yahoo.com> writes:
> 
> > Pankaj Jangid <pankaj <at> codeisgreat.org> 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

Are you sure you applied the patch?  The line numbers in the backtrace
don't seem to match the line numbers in the patch that Po Lu sent.

Can you show the first 30 lines of apply_gsettings_font_hinting in the
patched file xsettings.c, including line numbers?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55422; Package emacs. (Sun, 15 May 2022 09:30:01 GMT) Full text and rfc822 format available.

Message #38 received at 55422 <at> debbugs.gnu.org (full text, mbox):

From: Pankaj Jangid <pankaj <at> codeisgreat.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 55422 <at> debbugs.gnu.org, pieter.van.prooijen <at> teloden.nl
Subject: Re: bug#55422: Emacs not starting due to gsettings changes.
Date: Sun, 15 May 2022 14:59:46 +0530
Po Lu <luangruo <at> yahoo.com> writes:

> Pankaj Jangid <pankaj <at> codeisgreat.org> writes:
>
>> Po Lu <luangruo <at> yahoo.com> writes:
>>
>>> Pankaj Jangid <pankaj <at> codeisgreat.org> writes:
>>>
>>>> Here is the error message. And attached is the stacktrace.
>>>
>>> Does this fix the problem?
>>>
>> Nope. Here is the stacktrace,
>
> Please show the error message from GIO accompanying that backtrace.

pankaj <at> anant:~/work/gnu/emacs (gsettings)$ ./src/emacs -Q

(emacs:1663825): GLib-GIO-ERROR **: 12:56:54.466: Settings schema 'org.gnome.desktop.interface' does not contain a key named 'font-rgba-order'
Fatal error 5: Trace/breakpoint trap
Backtrace:
./src/emacs(+0x19917f)[0x55c11188217f]
./src/emacs(+0x16b1fd)[0x55c1118541fd]
./src/emacs(+0x1989f0)[0x55c1118819f0]
./src/emacs(+0x1989c5)[0x55c1118819c5]
./src/emacs(+0x198a2b)[0x55c111881a2b]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14140)[0x7f68fb568140]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log_structured_array+0x117)[0x7f68fc814ca7]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log_default_handler+0xb5)[0x7f68fc8150b5]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_logv+0x219)[0x7f68fc815309]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log+0x8f)[0x7f68fc81559f]
/lib/x86_64-linux-gnu/libgio-2.0.so.0(+0xf44e9)[0x7f68fca394e9]
/lib/x86_64-linux-gnu/libgio-2.0.so.0(+0xf4b5c)[0x7f68fca39b5c]
/lib/x86_64-linux-gnu/libgio-2.0.so.0(g_settings_get_value+0x65)[0x7f68fca3dcf5]
./src/emacs(+0x31622a)[0x55c1119ff22a]
./src/emacs(+0x3167da)[0x55c1119ff7da]
./src/emacs(+0x316816)[0x55c1119ff816]
./src/emacs(+0x30fff3)[0x55c1119f8ff3]
./src/emacs(+0x2f8991)[0x55c1119e1991]
./src/emacs(+0x2338f5)[0x55c11191c8f5]
./src/emacs(+0x283fbd)[0x55c11196cfbd]
./src/emacs(+0x233bad)[0x55c11191cbad]
./src/emacs(+0x233f21)[0x55c11191cf21]
./src/emacs(+0x233496)[0x55c11191c496]
./src/emacs(+0x2336f2)[0x55c11191c6f2]
./src/emacs(+0x23283e)[0x55c11191b83e]
./src/emacs(+0x233ad9)[0x55c11191cad9]
./src/emacs(+0x283fbd)[0x55c11196cfbd]
./src/emacs(+0x233bad)[0x55c11191cbad]
./src/emacs(+0x233f21)[0x55c11191cf21]
./src/emacs(+0x233d3f)[0x55c11191cd3f]
./src/emacs(+0x232437)[0x55c11191b437]
./src/emacs(+0x231a1f)[0x55c11191aa1f]
./src/emacs(+0x172324)[0x55c11185b324]
./src/emacs(+0x22fcdf)[0x55c111918cdf]
./src/emacs(+0x17236c)[0x55c11185b36c]
./src/emacs(+0x22f3cc)[0x55c1119183cc]
./src/emacs(+0x172245)[0x55c11185b245]
./src/emacs(+0x1717fa)[0x55c11185a7fa]
./src/emacs(+0x1719a3)[0x55c11185a9a3]
./src/emacs(+0x16de90)[0x55c111856e90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7f68fb1fed0a]
...
Trace/breakpoint trap





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55422; Package emacs. (Sun, 15 May 2022 09:34:01 GMT) Full text and rfc822 format available.

Message #41 received at 55422 <at> debbugs.gnu.org (full text, mbox):

From: Pankaj Jangid <pankaj <at> codeisgreat.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: luangruo <at> yahoo.com, 55422 <at> debbugs.gnu.org, pieter.van.prooijen <at> teloden.nl
Subject: Re: bug#55422: Emacs not starting due to gsettings changes.
Date: Sun, 15 May 2022 15:03:19 +0530
Eli Zaretskii <eliz <at> gnu.org> writes:

> Are you sure you applied the patch?  The line numbers in the backtrace
> don't seem to match the line numbers in the patch that Po Lu sent.
>
> Can you show the first 30 lines of apply_gsettings_font_hinting in the
> patched file xsettings.c, including line numbers?

I think so. I did the following,

1. saved patch in a file gs.patch
2. git checkout -b gsettings (from master)
3. git apply gs.patch

I just verified in the gsettings (local branch) using "git diff
master". The patch is indeed applied.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55422; Package emacs. (Sun, 15 May 2022 09:40:02 GMT) Full text and rfc822 format available.

Message #44 received at 55422 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Pankaj Jangid <pankaj <at> codeisgreat.org>
Cc: 55422 <at> debbugs.gnu.org, pieter.van.prooijen <at> teloden.nl
Subject: Re: bug#55422: Emacs not starting due to gsettings changes.
Date: Sun, 15 May 2022 17:39:38 +0800
Pankaj Jangid <pankaj <at> codeisgreat.org> writes:

> (emacs:1663825): GLib-GIO-ERROR **: 12:56:54.466: Settings schema 'org.gnome.desktop.interface' does not contain a key named 'font-rgba-order'

Should be fixed now.  I wonder why your schema is so horribly out of
date: I didn't know systems with those still exist that are capable of
running GTK 3.20 or later.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55422; Package emacs. (Sun, 15 May 2022 11:22:02 GMT) Full text and rfc822 format available.

Message #47 received at 55422 <at> debbugs.gnu.org (full text, mbox):

From: Pankaj Jangid <pankaj <at> codeisgreat.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 55422 <at> debbugs.gnu.org, pieter.van.prooijen <at> teloden.nl
Subject: Re: bug#55422: Emacs not starting due to gsettings changes.
Date: Sun, 15 May 2022 16:51:08 +0530
Po Lu <luangruo <at> yahoo.com> writes:

> Should be fixed now.  I wonder why your schema is so horribly out of
> date: I didn't know systems with those still exist that are capable of
> running GTK 3.20 or later.

It’s working now. Thanks.

Debian (Stable) is known for testing the patience. :-)




Reply sent to Po Lu <luangruo <at> yahoo.com>:
You have taken responsibility. (Sun, 15 May 2022 11:46:01 GMT) Full text and rfc822 format available.

Notification sent to Pankaj Jangid <pankaj <at> codeisgreat.org>:
bug acknowledged by developer. (Sun, 15 May 2022 11:46:02 GMT) Full text and rfc822 format available.

Message #52 received at 55422-done <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Pankaj Jangid <pankaj <at> codeisgreat.org>
Cc: 55422-done <at> debbugs.gnu.org, pieter.van.prooijen <at> teloden.nl
Subject: Re: bug#55422: Emacs not starting due to gsettings changes.
Date: Sun, 15 May 2022 19:45:39 +0800
Pankaj Jangid <pankaj <at> codeisgreat.org> writes:

> It’s working now. Thanks.

Any time.  I'm closing this bug report.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 13 Jun 2022 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 289 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.