all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pieter van Prooijen <pieter.van.prooijen@teloden.nl>
To: Pankaj Jangid <pankaj@codeisgreat.org>, emacs-devel@gnu.org
Subject: Re: Emacs not starting due to gsettings changes.
Date: Sat, 14 May 2022 22:10:34 +0200	[thread overview]
Message-ID: <547ba15056f6eea242e4da6c43aa416df54a29fb.camel@teloden.nl> (raw)
In-Reply-To: <87o8012oat.fsf@codeisgreat.org>

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---




  parent reply	other threads:[~2022-05-14 20:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2022-05-15  1:43   ` Po Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=547ba15056f6eea242e4da6c43aa416df54a29fb.camel@teloden.nl \
    --to=pieter.van.prooijen@teloden.nl \
    --cc=emacs-devel@gnu.org \
    --cc=pankaj@codeisgreat.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.