GNU bug report logs - #66416
29.1; Crashes when visiting HELLO file with pgtk on Wayland

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Yuchen Guo <yguo@HIDDEN>; Keywords: moreinfo; dated Mon, 9 Oct 2023 07:35:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) moreinfo. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 16 Apr 2024 14:21:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 16 10:21:40 2024
Received: from localhost ([127.0.0.1]:44201 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rwjgp-0004Jp-VG
	for submit <at> debbugs.gnu.org; Tue, 16 Apr 2024 10:21:40 -0400
Received: from thaodan.de ([185.216.177.71]:51168)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bjorn.bidar@HIDDEN>) id 1rwjgn-0004Ii-G7
 for 66416 <at> debbugs.gnu.org; Tue, 16 Apr 2024 10:21:38 -0400
Received: from NordStern (dsl-trebng12-50dc75-154.dhcp.inet.fi
 [80.220.117.154])
 by thaodan.de (Postfix) with ESMTPSA id E3820D0006C;
 Tue, 16 Apr 2024 17:21:18 +0300 (EEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail;
 t=1713277279; bh=GPSoY6dSTw+CvqhCkUJI9wBnuBHu/nmBfukZBMIr1lE=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date;
 b=olrwsOuov6oqqgjNwVQejGy8A68oYZYzksJuRA/QViFdxFWp0DHASQQWFLqDlapB4
 5uT6915ueYwA0Rbr/VY1/dgi1SWJtZMh9t34bVFmLWfMxP8uEFdgd6oase4P3Mj4fe
 M3fqGOupvaURGQaHA03++E5oNIY+EvaNcq3CPSwyDApMS4PChR+0tkKJeI90L1DyvO
 B41QEh1pV6ORz+QHOx9GgzITbs4RJlh+J7Qwqq8TScVOQbvng0zSKPiI9DY4lDDmwH
 mc0/+IjxuMvxTPT1m78vh6SxvavrAbi+96oGfv8MmTvEyT9hniM62yyFH74QXtlZoZ
 sbaPSKmXQgvEhbzo5Z1nt35aH9RMzjqOzf+qAw0KjCMQa8nYlokX0tZn1HuyWQGuyi
 xeioc0wf6tkJZSnri6UibUXveSRAswtiCYdzT2C+hD7a02CLYyGn4g6kdd8fEXfflr
 vOLqJOdQCsBMkT60h2T7JwGoEsngm5OL0k03ao/KKpP+a7UjyCyvagV6VT+T474trM
 hXG1PIGVf9uMRnLx8wEdtLNPy7oPYtlVKhu22OmQ7/H+n3P8skai4GFkQV2nM5zkvj
 pcg9MunrhvZiX2e4jXDUcsnIJBzAb6BwAPLqKkNlHGQcRiEnmdqnc8XhDBr/iA6ZPB
 KGNd1Q7CAsF4QxL9HKbhv+40=
From: =?utf-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= <mattias.engdegard@HIDDEN>
Subject: Re: bug#66416: 29.1; pgtk build crashes due to ftcrfont
In-Reply-To: <23AB6396-AC35-403A-A22B-F1DC02855D36@HIDDEN> ("Mattias
 =?utf-8?Q?Engdeg=C3=A5rd=22's?= message of "Tue, 16 Apr 2024 15:13:49
 +0200")
References: <865y3gq2in.fsf@lan> <875y39uidg.fsf@lan> <86h6g1jyf2.fsf@HIDDEN>
 <23AB6396-AC35-403A-A22B-F1DC02855D36@HIDDEN>
Autocrypt: addr=bjorn.bidar@HIDDEN; prefer-encrypt=nopreference; keydata=
 mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq
 w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV
 CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl
 HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8
 phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF
 CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h
 K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2
 cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC
 HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN
 XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg
 gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1+ntAhsDBQsJCAcCAiICBhUKCQgL
 AgQWAgMBAh4HAheAAAoJEFwbdKFlHF9oBgwA/iQHwe0VL4Df4GGTYlNjMSHFlIkBmN4UfYGLYj3E
 TrOUAQC51M+M3cjsL8WHdpBz6VAo6df9d+rVwhQ9vQuFHqevArg4BGTX6T4SCisGAQQBl1UBBQEB
 B0Cbohc3JEfn005/cm0AOGjSsW1ZxAkgaoVNjbpqk4MgNAMBCAeIeAQYFgoAIBYhBFHxdut1RzAe
 pymoq1wbdKFlHF9oBQJk1+k+AhsMAAoJEFwbdKFlHF9ooHABAKGmrGBic/Vys3BBrOQiRB3Z7izO
 HwhqTRpAqFZtXS2nAQDZhp/5aYw1TZjTzkm1KVt9QiYnjd/MvxRE9iaY6x4mDbgzBGTX6T4WCSsG
 AQQB2kcPAQEHQAgRJq/tMcCCB2XyA5WZpu7GvpRx0m9IPRWazeqhOq7uiO8EGBYKACAWIQRR8Xbr
 dUcwHqcpqKtcG3ShZRxfaAUCZNf71AIbIgCBCRBcG3ShZRxfaHYgBBkWCgAdFiEEUfF263VHMB6n
 KairXBt0oWUcX2gFAmTX+9QACgkQXBt0oWUcX2jeSwD6AtWn0cuo8IF35YRo4o3cDRJnUfJnbvJy
 GxyCDThR+zYBAKG6/jdwmZkBQZKslnDAbMMd2WfiZZT5JW3IWC4EaKMO7HkBAKYPGZ3UbfkRvfFK
 S+pQ9CgtNfkSJQBtT1Ob7Y6nsacgAQCpyXN7yppmhW/oBgivITPy9Lkg+V4NK9WZYZCU9Q7LBA==
Date: Tue, 16 Apr 2024 17:21:18 +0300
Message-ID: <877cgxqtgh.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66416
Cc: Po Lu <luangruo@HIDDEN>, 66416 <at> debbugs.gnu.org,
 Eli Zaretskii <eliz@HIDDEN>, yguo@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Mattias Engdeg=C3=A5rd <mattias.engdegard@HIDDEN> writes:

> It looks like `intern` was called with a second argument that wasn't
> of a valid type (obarray or nonempty vector starting with 0) but
> that's as far as it goes, and doesn't indicate anything wrong in the
> obarray code.
>
> We would need to catch it in the act with a debugger attached, and/or kno=
w what Lisp code is being executed.

The lisp code that caused the error comes from this package:
https://github.com/myuhe/smartrep.el/pull/25/files

Another user reported a similar error a few days ago here regarding that
obarray error:
https://github.com/dgutov/diff-hl/issues/217




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 16 Apr 2024 14:19:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 16 10:19:50 2024
Received: from localhost ([127.0.0.1]:44189 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rwjf3-00045s-87
	for submit <at> debbugs.gnu.org; Tue, 16 Apr 2024 10:19:50 -0400
Received: from thaodan.de ([2a03:4000:4f:f15::1]:39358)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bjorn.bidar@HIDDEN>) id 1rwjey-00044O-QT
 for 66416 <at> debbugs.gnu.org; Tue, 16 Apr 2024 10:19:46 -0400
Received: from NordStern (dsl-trebng12-50dc75-154.dhcp.inet.fi
 [80.220.117.154])
 by thaodan.de (Postfix) with ESMTPSA id 493B9D0006C;
 Tue, 16 Apr 2024 17:19:26 +0300 (EEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail;
 t=1713277166; bh=16m4v4qqWJAhwn5ZdDmZ640ZQNEny3H3iZw/pgpZagE=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date;
 b=oenNCc8IJ55gQvyfQzejtSFE1NEhaaFaJEutefleFAkBKPBzqe/H3g4c8csUmGSKz
 F4VY3UdSeDh0AGqVUvu850RPNuBcChFK5FYXe8aNRfU/eDjPMuQSsr2H/mJI6Shlc6
 vbmkFKpAFPH4jFFUg1AGT5mkXjwyiLwe4OmiDXFirsnq6xTAYRzDx+3PrzghJgyq5k
 kyW1aWWwMA47uNq6GpaR5EPvIKafj7QlqQnsRKh7aE01YkFEEhzFzk0Amir44xj0p5
 d6flXEIiKvvmQR9ub3tpvP2NukHYmYowlF7N+z1x8TxhOfYTy3qDMOU5DiE1Nx/AEs
 lWEmlxH34m9XT7he+1e3zzgCurlQZiN8nblPdN0lvZG+Bjwz6k6UzwoY4+o94CtUOD
 PDrfZPxXx4CmZpojGMJ60zcd6CYF+pmxKOy9nhPYABOgcfyiQcl5nwvt852orGiCAP
 UUCDgkQU641RLlPvzMTokIrC7PC9NMw/PF47JLUbmrhrBKrajuQripHpIMx1hji775
 ekTFwSFuFaghn3CODUfxbwsxXNrCGJMhCO43t8r5/KaCDydlAfi8AR8E9YCEWxwG+A
 Y7YhS0fQHBsEybqPewQ80r7/qhLgwL/0QIGoXk5jlYDLiyoaZ89WnkutLy4akXAfqk
 6JxyZvYhHBeamMRqYBI906KE=
From: =?utf-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
Subject: Re: bug#66416: 29.1; pgtk build crashes due to ftcrfont
In-Reply-To: <87o7a9zat6.fsf@HIDDEN> (Po Lu's message of "Tue, 16 Apr 2024
 21:39:17 +0800")
References: <865y3gq2in.fsf@lan> <875y39uidg.fsf@lan> <86h6g1jyf2.fsf@HIDDEN>
 <87o7a9zat6.fsf@HIDDEN>
Autocrypt: addr=bjorn.bidar@HIDDEN; prefer-encrypt=nopreference; keydata=
 mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq
 w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV
 CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl
 HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8
 phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF
 CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h
 K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2
 cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC
 HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN
 XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg
 gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1+ntAhsDBQsJCAcCAiICBhUKCQgL
 AgQWAgMBAh4HAheAAAoJEFwbdKFlHF9oBgwA/iQHwe0VL4Df4GGTYlNjMSHFlIkBmN4UfYGLYj3E
 TrOUAQC51M+M3cjsL8WHdpBz6VAo6df9d+rVwhQ9vQuFHqevArg4BGTX6T4SCisGAQQBl1UBBQEB
 B0Cbohc3JEfn005/cm0AOGjSsW1ZxAkgaoVNjbpqk4MgNAMBCAeIeAQYFgoAIBYhBFHxdut1RzAe
 pymoq1wbdKFlHF9oBQJk1+k+AhsMAAoJEFwbdKFlHF9ooHABAKGmrGBic/Vys3BBrOQiRB3Z7izO
 HwhqTRpAqFZtXS2nAQDZhp/5aYw1TZjTzkm1KVt9QiYnjd/MvxRE9iaY6x4mDbgzBGTX6T4WCSsG
 AQQB2kcPAQEHQAgRJq/tMcCCB2XyA5WZpu7GvpRx0m9IPRWazeqhOq7uiO8EGBYKACAWIQRR8Xbr
 dUcwHqcpqKtcG3ShZRxfaAUCZNf71AIbIgCBCRBcG3ShZRxfaHYgBBkWCgAdFiEEUfF263VHMB6n
 KairXBt0oWUcX2gFAmTX+9QACgkQXBt0oWUcX2jeSwD6AtWn0cuo8IF35YRo4o3cDRJnUfJnbvJy
 GxyCDThR+zYBAKG6/jdwmZkBQZKslnDAbMMd2WfiZZT5JW3IWC4EaKMO7HkBAKYPGZ3UbfkRvfFK
 S+pQ9CgtNfkSJQBtT1Ob7Y6nsacgAQCpyXN7yppmhW/oBgivITPy9Lkg+V4NK9WZYZCU9Q7LBA==
Date: Tue, 16 Apr 2024 17:19:24 +0300
Message-ID: <87bk69qtjn.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66416
Cc: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= <mattiase@HIDDEN>,
 Eli Zaretskii <eliz@HIDDEN>, 66416 <at> debbugs.gnu.org, yguo@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Po Lu <luangruo@HIDDEN> writes:

> Eli Zaretskii <eliz@HIDDEN> writes:
>
>> As for the cause of this -- some problem in ftcrfont_draw -- maybe Po
>> Lu can suggest some ideas.  I guess we should try to understand what
>> kind of X error was caused here?
>
> Yes.  Please switch to the frame of the call to x_error_quitter, there
> run:
>
>   (gdb) p *event
>   (gdb) shell xdpyinfo -ext all
>
> and respond the output of these commands.

I didn't trigger the error on purpose but by accident. A package used
obarray wrong (with nil instead of 0) which caused an error like this:
(wrong-type-argument obarrayp [nil nil nil nil nil nil nil nil nil nil
nil nil nil])

The error did not immediately cause a crash but some time after.

I have a gdb attached, If get a crash now I can send these outputs.

I'm not sure if this related but sometimes Emacs is stuck rendering
org-mode buffers till it receives SIGUSR2 or user input.
Requests such as emacsclient -nc don't reach Emacs until either of the
two above happens.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 16 Apr 2024 13:39:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 16 09:39:54 2024
Received: from localhost ([127.0.0.1]:44023 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rwj2O-0007We-L3
	for submit <at> debbugs.gnu.org; Tue, 16 Apr 2024 09:39:53 -0400
Received: from sonic303-21.consmr.mail.ne1.yahoo.com ([66.163.188.147]:45847)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1rwj2J-0007VE-7r
 for 66416 <at> debbugs.gnu.org; Tue, 16 Apr 2024 09:39:51 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1713274769; bh=JE41uU6NQsk09M1+JZdWq3UnJai07MUW2644GOKhhVQ=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=CP7Pgl+JVnnG0NZsN5APNayn6G+DYdbPyQJudMuwZTzrk0lpmGlFIvDSvRyK64L/uxvIX5Qr1bXPSooxFghvV6PZsv7WXUp5euuj8u85Ko2/yFC5rbqN+V75NrpHEkp2/v8RK9a55MuDGRq5XiLrHtTNGPLr7JRNjTZKj4z4UzoUWSszngPc2Y9a1djiIWLvJocxsSrwtNSDG7FmvKdvFE38L6cKdjEVXWmRdkr60e+nNYPrK3B9t50m1SEyrvUOJu7UOUyOIRhfmqatbyQ+lwNfAyMrrgYgw90MQLIi8XFWutHueCENNyAGM5GBvH/W2/BGlurmHUIGpyz77qSNmQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1713274769; bh=tebziEyhv1nrrU55OcW28p9YXodaP1/QEDhG6gkYv5E=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=ehV0ncEJHzi2Gcv5XGyPPS1w0blywFAo8LSPnM2LCU32bWgE0Ew4J/kw2PCyjfh31c9SYY8tYI0myu12i9f6yai8U2XsDeCL6JuadvJuQ1CGOFyS0S2LC4dTb6Ytda5CK7F3+s3Rl9sgBNmDkc5sOuSyLDCHWX7h7t0m/XX5K06lIOIcCWlc+KBG/xRwA/m3lGHlBi0y4muHMZPgp9wxvBEELars28m5fm1fQFIvk6yaZDqh3b5iht/MvYWwsm0EpFTTJHLav8ZLIvMBZCwQh+uhEZB9KQzNUcDmBjgOcwq2ZfcOvoON5ip2AKYcor/iFI3MppTmraosHkdlmS1rDg==
X-YMail-OSG: sYtg0rsVM1nxBIaXWa1CpElnwqjedYBZqf4puOowVK4YZ21vk7ra16J9SfPxvoI
 IZ3LehycG5QDyYs0Uk.bQHCJ12YYlMZzQ_9lREfc8PTkvX2tyj4OjusdwhfmCDXhEd1SO7WOyryP
 ArQ691q1fh3JYvtYAdTFULAzE0N4TKq42x_o4uVYj0KtAgGFFHdsw1aoSFVLg9z7JYuy5isR7zUv
 kgUY_di5ogBFUbd56DFpl4rhNjCnTxjMWUQzBMz61vAkwjwKk7N_C81CCGc8w2QS7Fg3r5Q08wxY
 nBptbh1coTkXk6XObo4OZEJGctDnd06Jxj1ymk4SpFp5G0M.HRKi_.SV8qL3ueeCyVdVQiHDxNCL
 StGXLq3tSZrE8JCUp4yXCuxQPw8n1CtaCe39CJDOUEEmzRtr1HcsqUP7ezwV7kklw3pxgTaTX3Uj
 OjDhrmOyBV.H2x0YphCiJV4jp758BjJn0jl22lTq7RlNSo7DmoLfWouIP4nAXBVd5.XfRCDgGzCe
 lQFkDjQGtU.BgeHwuaUHre35mWzTsnx1_GMG6yxivRfvjoWToxm_U.ZZI2XMbAPn2GtojKrLUwBx
 cxnsZUuh7ZwaElXrVfDPdE58X1817fjDXo9JIXVUFoF2ptguFPY_oEyliMUqmAoSVc1i7KqZ8LTH
 IC9iI4LZ8PQA3w6B9bpyj0qK7iypPFSpNFkrWUJdc_HOAohVE9aWuVztPEoWFxgXvI5HoqUTGxXI
 JwI5PmE3JeTey.L4rXDVTTS8ob_wd21SqfJ5TH6kOk.PB2L5x1UnVLUAlF2HRj6g8xBMeodYxOuW
 GxVf_RPTxVO233OknUO2VspzwKDDJWHfos.4QSCVlUfzODFslNbTnd9glR1ZPGUNDAQbTZrWW.mL
 oiZ1osDxoLAWnEB2nPbUq3lnPppS_EdQmiR6QC5khbH7RKe2BhuGEMnAEGhYUQBJK70fBo3hdEJJ
 mBRoIw_20u3AcGIhgQJSOw4G6Sz5qhf.PUCQdT8lMYLRoi.udNPp350xAa1xEAjNJTZ8OO_EKGhv
 uTTeo.O3Jke3l8YbPYT8cTN8GbajQIkTrqZYbEZWoav6flmIWLI0uNs.OwlkWVXAYWiMYqHruif3
 NGKvoqEvoztieDaHTYFLVthPHv6Mc_5MK6HnasxXqw69X9OD_DV2ZyHxHLeThQR6Nwg6usrL.TlG
 TP6CifUkJNUIY6Ch0lyZ.C09_xWxnSbi_FhVpRBsFiqx055p9lZ128Anax9POcHo6eKJGIXkHFey
 I.QlKpvmRsNA6cz7_65j2JbZh_8PEtl3mdD_0i5ctabelMyfyasIDjBozBTq54Im0Xj8nf6DNZf5
 tafuS.wSs50LFvYWUYJLZ8M4vZPSosMA9u7rWH_WIrQuE.Uhx9Fu0j12tVZR0N_gFQJHFaYrinfI
 y_yxSAvZAl41zPdVhKvoTVjuD4Ar5tbFRhuDoCBlmxj8g.FWSB8CLH52IO4wouOY48lOiktgFrru
 l.acIZe6Y.NvkrX4EDKmB3vhPYyy8BR4dLlOJ4_2BuTmyqd.rqIiC5i1Hpm4_Ny2KWIK3MeLxC2y
 EbMQ0Pc.FRF60d3d1i5bE5yaX6if3JzSLDoIeOOjmef_zqHPuUB21KQ7kY1n9nJE9GV5UIutFWml
 PjiHfkO_mon80gp3Lab24rAWyCt3zfm8r4hDSSnRP9b3bfWbDqUhTIE6M_fWpR0rJLWByLpd9rlT
 FBFwAAULr.Es6bU_RGm6kIhdbbPd4gTv86CxQUZf.K0UtPqFiWpF48butr3zJ9BkoY6cofEAPQk8
 h6mYN2AWuAtceL3CtXiWJcjH8mNRWJdcBx0oXR0q0xilcM3siK0iLp2UxlfECo1qyCj0JrLdZGXT
 1bHwm.uYNJod7W2kkha1dVKOdA4qb5Htt7xyQvXx38.CxNr36D2S599ompBOFz2x2YeuIHkVFJgF
 9Q4XuVryChibMI5pU2rD8o8uSBYwCaYUdwBb4L2.Jc.u.VnVdw1cAQEp8.LRAaxgcT4M2kNB2lnp
 nFy29JgLtQ25rCUrXafPhV29PTcR.U4C_FdCl_1xTwBkDzfhfQ2jTvYPt5ySrZlnIbNeXkepiNvf
 YDzlxQk2VYF1D3Ih09cN.6zGMG95SkozMkZSTiwGkgjuueYapvxpGgPtnMZZErqrGUtriAbafjpF
 Q3mxNJf6eS0wnl.t.GfKaf55PVlLF4ntFkpfmCUJ2xowK6OZgXG1OmhaLI___LPoJ_8uxJXkikkk
 RZK05MIlEysl.7BrPx_vYE9_uPla1_hhXsfxClSxrV7x60wOAHbXp00RW.yf4WKS2WqU-
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 0631a526-d457-4d55-8229-801b1f86fbf0
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic303.consmr.mail.ne1.yahoo.com with HTTP; Tue, 16 Apr 2024 13:39:29 +0000
Received: by hermes--production-sg3-6f9f87bd85-d9mmq (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 21e434fe39c87793e174f4f99f12156f; 
 Tue, 16 Apr 2024 13:39:23 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#66416: 29.1; pgtk build crashes due to ftcrfont
In-Reply-To: <86h6g1jyf2.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 16 Apr
 2024 15:16:01 +0300")
References: <865y3gq2in.fsf@lan> <875y39uidg.fsf@lan> <86h6g1jyf2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
Date: Tue, 16 Apr 2024 21:39:17 +0800
Message-ID: <87o7a9zat6.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.22205
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 386
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66416
Cc: =?utf-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>, yguo@HIDDEN,
 66416 <at> debbugs.gnu.org, Mattias =?utf-8?Q?Engdeg=C3=A5rd?= <mattiase@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> As for the cause of this -- some problem in ftcrfont_draw -- maybe Po
> Lu can suggest some ideas.  I guess we should try to understand what
> kind of X error was caused here?

Yes.  Please switch to the frame of the call to x_error_quitter, there
run:

  (gdb) p *event
  (gdb) shell xdpyinfo -ext all

and respond the output of these commands.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 16 Apr 2024 13:14:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 16 09:14:14 2024
Received: from localhost ([127.0.0.1]:43883 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rwidZ-0004H2-Fu
	for submit <at> debbugs.gnu.org; Tue, 16 Apr 2024 09:14:14 -0400
Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:43164)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mattias.engdegard@HIDDEN>) id 1rwidV-0004Gg-Md
 for 66416 <at> debbugs.gnu.org; Tue, 16 Apr 2024 09:14:12 -0400
Received: by mail-lf1-x12f.google.com with SMTP id
 2adb3069b0e04-516d264d0e4so5404270e87.0
 for <66416 <at> debbugs.gnu.org>; Tue, 16 Apr 2024 06:13:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1713273231; x=1713878031; darn=debbugs.gnu.org;
 h=to:references:message-id:content-transfer-encoding:cc:date
 :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject
 :date:message-id:reply-to;
 bh=9noO0lNpFsM500zn5nlsVjtI7XzE0d2aVvbtUOFAopk=;
 b=WQHFaH87ILu0dfsyB9tW8oAtt9MN1e072+KgJ/XbuIp4PVL1KTXVNYWShYu4/StNsV
 jyA3Bq8iJSeyZpBN4RlU8xBgc6b9Jut0jByJYL/u0GFfuh+C2UBtKZV9wJ4q8TaF+w49
 4CDoPabtOIp8440iPKfIvuVRTcau4PadBacziSOD4iKYtVxN7bx3OIOqlEhOXZ1yERt9
 m+uQ/G1gNUTwNsOEabBxVNKtU6irG0asPFTiqQ8m3/hzLY240wwckO1Rg55FH9imNRMB
 ll30Vxz+JlzCf5fng6Ej1NDsDlqPUCBe+RHmXkc1cJH+U3bacIJQsZ0HOBfdnQ5kuUer
 cL9A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1713273231; x=1713878031;
 h=to:references:message-id:content-transfer-encoding:cc:date
 :in-reply-to:from:subject:mime-version:sender:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=9noO0lNpFsM500zn5nlsVjtI7XzE0d2aVvbtUOFAopk=;
 b=buBPxO202V95koKd9sO76HYBK4506EZd6cP28KAxebEDiIjdN6n7fbBaIsUeXPtWQm
 GRA5o8wVIAuZ3f0TiLTpn1XO34Xmya902+6uASk6jpBBlhioUxchatlayBjNnirW5qDW
 d+/9Zcn18a+hpeW0QNXxdir9zqriYWpu/Gq7rshGS4egl1yExzEnpmAjoV5q8t3SEmxJ
 pfei8GstgIHi7/knGrbAFXR2sCUlj/nkW/wjvnNZMQMDDZ7+X8hjryiUNRpVz14/jTg0
 MO1Zn7ItJNtu8ddnfKFyO0fMxGfgQ2s14UW8YMDBy5biB33EM+o1Cmp+rxelGmajp5gU
 AW7Q==
X-Forwarded-Encrypted: i=1;
 AJvYcCVthbDywkUJ4hIjzycI0kfBjsdwPOF5D8+BQBjQfKBaS8/0X8KJGYAxOe8qXr7TpC332hhi1eMo1b9/+cD4dBqxpnSmTHs=
X-Gm-Message-State: AOJu0YysM9A9YduU5MgCDkTc/cqvbCTeVktQUbnrKAp4XmbKBJeoRxR5
 TfxVZyzQUyT9l/JEp0kMV7Cky9SujwkfuqLd9cPO1lzAEd80i0l/
X-Google-Smtp-Source: AGHT+IEQqKKZnCsfUJxXSkzNj18pF7XKdPvDKi+FHlwp4f+bmX1drBJ1PNc5VOnA5viGf1mUF048yg==
X-Received: by 2002:a05:6512:3106:b0:518:930d:17c7 with SMTP id
 n6-20020a056512310600b00518930d17c7mr731377lfb.29.1713273230687; 
 Tue, 16 Apr 2024 06:13:50 -0700 (PDT)
Received: from smtpclient.apple (c80-217-1-132.bredband.tele2.se.
 [80.217.1.132]) by smtp.gmail.com with ESMTPSA id
 j5-20020ac25505000000b00517374e92ecsm1577823lfk.93.2024.04.16.06.13.50
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 16 Apr 2024 06:13:50 -0700 (PDT)
Content-Type: text/plain;
	charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\))
Subject: Re: bug#66416: 29.1; pgtk build crashes due to ftcrfont
From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= <mattias.engdegard@HIDDEN>
In-Reply-To: <86h6g1jyf2.fsf@HIDDEN>
Date: Tue, 16 Apr 2024 15:13:49 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <23AB6396-AC35-403A-A22B-F1DC02855D36@HIDDEN>
References: <865y3gq2in.fsf@lan> <875y39uidg.fsf@lan> <87mspui23l.fsf@>
 <86h6g1jyf2.fsf@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
X-Mailer: Apple Mail (2.3654.120.0.1.15)
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66416
Cc: Po Lu <luangruo@HIDDEN>,
 =?utf-8?Q?Bj=C3=B6rn_Bidar?= <bjorn.bidar@HIDDEN>, yguo@HIDDEN,
 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

16 apr. 2024 kl. 14.16 skrev Eli Zaretskii <eliz@HIDDEN>:

>> #71 0x000055fb2cc1435b in wrong_type_argument (predicate=3D<optimized =
out>, value=3D<optimized out>) at =
../../emacs-30.0.50.5934.0fab2649e28/src/data.c:142
>> #72 0x000055fb2cc16e84 in check_obarray_slow (obarray=3D<optimized =
out>) at /usr/src/debug/emacs-30.0.50.5990.9b755244bf0/src/lread.c:4914
>> #73 0x000055fb2ce36467 in check_obarray (obarray=3DXIL(0x55fc40b4ea8d))=
 at ../../emacs-30.0.50.5934.0fab2649e28/src/lisp.h:2465
>> #74 Fintern (string=3DXIL(0x55fb52250fe4), obarray=3D<optimized out>) =
at /usr/src/debug/emacs-30.0.50.5990.9b755244bf0/src/lread.c:5034
>> #75 0x000055fb2cdfb15d in funcall_subr (subr=3D0x55fb2d45dea0 =
<Sintern>, numargs=3Dnumargs@entry=3D2, args=3Dargs@entry=3D0x7ffdeb3b1448=
) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3092

It looks like `intern` was called with a second argument that wasn't of =
a valid type (obarray or nonempty vector starting with 0) but that's as =
far as it goes, and doesn't indicate anything wrong in the obarray code.

We would need to catch it in the act with a debugger attached, and/or =
know what Lisp code is being executed.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 16 Apr 2024 12:17:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 16 08:17:02 2024
Received: from localhost ([127.0.0.1]:43555 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rwhkD-000602-BI
	for submit <at> debbugs.gnu.org; Tue, 16 Apr 2024 08:17:02 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:54122)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rwhk8-0005xu-2G
 for 66416 <at> debbugs.gnu.org; Tue, 16 Apr 2024 08:16:59 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1rwhjn-0007Hh-7S; Tue, 16 Apr 2024 08:16:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=MYbsow2UMT/KR8XFi+6paB+SyyTbjzmfaHMewpxkff0=; b=oIUsfF8eupQbun1Vb1Mw
 wfkm3Nr1LP1FdhNNtfcAXRKPzwvzM6sKqV6sIBWrZxlXejPs/bxZ1borCw0Vjh8/8CBuvcAQ2dO/X
 FcajvB/p4Nm4HroIE7hDfs7SCWS+ocCTS+tvd5CcLIYTjfugdNrebn6QHMLZqHBX1TNV4oyS9j+6A
 TcU35Vmp28xEeDB5OmhTX/SU1OXJk3p841Kollw6XBnm+v3MfSGP9QZmI9nX3zlAoDpIcFqzrNxej
 tu+XOBkS4tJMRnZe6FIOjjfCyU9vbaUJVn62VWBa9ShNjKwsgV6QNkyTZkAdH3UiT9fGyoRKBHUgE
 5xCPw+4RLDYooQ==;
Date: Tue, 16 Apr 2024 15:16:01 +0300
Message-Id: <86h6g1jyf2.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?iso-8859-1?Q?Bj=F6rn?= Bidar <bjorn.bidar@HIDDEN>, Mattias
 =?iso-8859-1?Q?Engdeg=E5rd?= <mattiase@HIDDEN>
In-Reply-To: <87mspui23l.fsf@> (message from =?iso-8859-1?Q?Bj=F6rn?= Bidar
 on Tue, 16 Apr 2024 03:27:10 +0300)
Subject: Re: bug#66416: 29.1; pgtk build crashes due to ftcrfont
References: <865y3gq2in.fsf@lan> <875y39uidg.fsf@lan> <87mspui23l.fsf@>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: luangruo@HIDDEN, yguo@HIDDEN, 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Björn Bidar <bjorn.bidar@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>,  luangruo@HIDDEN,  66416 <at> debbugs.gnu.org
> Date: Tue, 16 Apr 2024 03:27:10 +0300
> 
> I'm not 100% sure if the crash I got is related but today I got a very similar backtrace
> but with the X11/Gtk build.
> Breakpoint 1 at 0x55fb2cc11ebd: file ../../emacs-30.0.50.5934.0fab2649e28/src/emacs.c, line 441.
> Breakpoint 2 at 0x55fb2cd23c00: file ../../emacs-30.0.50.5987.9a79db506e3/src/xterm.c, line 26990.
> #0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
> #1  0x00007f510aa94a73 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
> #2  0x00007f510aa41176 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
> #3  0x000055fb2cc11f70 in terminate_due_to_signal (sig=6, backtrace_limit=<optimized out>) at ../../emacs-30.0.50.5934.0fab2649e28/src/emacs.c:479
> #4  0x000055fb2cc1261c in emacs_abort () at ../../emacs-30.0.50.5934.0fab2649e28/src/sysdep.c:2391
> #5  0x000055fb2cc0e742 in redisplay_internal () at ../../emacs-30.0.50.5934.0fab2649e28/src/xdisp.c:16869
> #6  0x000055fb2cc5f26a in redisplay_preserve_echo_area (from_where=<optimized out>) at ../../emacs-30.0.50.5934.0fab2649e28/src/xdisp.c:17740
> #7  0x000055fb2ce5c5eb in Fdelete_process (process=XIL(0x55fc70bb3075)) at ../../emacs-30.0.50.5934.0fab2649e28/src/process.c:1146
> #8  0x000055fb2ce69cd5 in kill_buffer_processes (buffer=XIL(0)) at ../../emacs-30.0.50.5934.0fab2649e28/src/process.c:8288
> #9  0x000055fb2cd588fa in shut_down_emacs (sig=sig@entry=6, stuff=stuff@entry=XIL(0)) at ../../emacs-30.0.50.5934.0fab2649e28/src/emacs.c:3104
> #10 0x000055fb2cc11f3c in terminate_due_to_signal (sig=6, backtrace_limit=40) at ../../emacs-30.0.50.5934.0fab2649e28/src/emacs.c:462
> #11 0x000055fb2cc1261c in emacs_abort () at ../../emacs-30.0.50.5934.0fab2649e28/src/sysdep.c:2391
> #12 0x000055fb2cc0e742 in redisplay_internal () at ../../emacs-30.0.50.5934.0fab2649e28/src/xdisp.c:16869
> #13 0x000055fb2cc5f26a in redisplay_preserve_echo_area (from_where=<optimized out>) at ../../emacs-30.0.50.5934.0fab2649e28/src/xdisp.c:17740
> #14 0x000055fb2ce5c5eb in Fdelete_process (process=XIL(0x55fcae60bef5)) at ../../emacs-30.0.50.5934.0fab2649e28/src/process.c:1146
> #15 0x000055fb2ce69cd5 in kill_buffer_processes (buffer=XIL(0)) at ../../emacs-30.0.50.5934.0fab2649e28/src/process.c:8288
> #16 0x000055fb2cd588fa in shut_down_emacs (sig=0, stuff=XIL(0)) at ../../emacs-30.0.50.5934.0fab2649e28/src/emacs.c:3104
> #17 0x000055fb2cd23937 in x_connection_closed (dpy=<optimized out>, error_message=<optimized out>, ioerror=<optimized out>) at ../../emacs-30.0.50.5987.9a79db506e3/src/xterm.c:26819
> #18 0x000055fb2cd23c8a in x_error_quitter (display=0x55fb3ad0aa90, event=0x7ffdeb3a9570) at ../../emacs-30.0.50.5987.9a79db506e3/src/xterm.c:27013
> #19 0x000055fb2cd2415b in x_error_handler (display=0x55fb3ad0aa90, event=0x7ffdeb3a9570) at ../../emacs-30.0.50.5987.9a79db506e3/src/xterm.c:26978
> #20 0x00007f511519e3ab in _XError () at /lib64/libX11.so.6
> #21 0x00007f511519e4a7 in  () at /lib64/libX11.so.6
> #22 0x00007f511519e55d in  () at /lib64/libX11.so.6
> #23 0x00007f511519e5e2 in _XEventsQueued () at /lib64/libX11.so.6
> #24 0x00007f511519e985 in _XGetRequest () at /lib64/libX11.so.6
> #25 0x00007f511511bff8 in XRenderCompositeText16 () at /lib64/libXrender.so.1
> #26 0x00007f5115744c68 in  () at /lib64/libcairo.so.2
> #27 0x00007f5115703a8d in  () at /lib64/libcairo.so.2
> #28 0x00007f51156c9d87 in  () at /lib64/libcairo.so.2
> #29 0x00007f51156ca330 in  () at /lib64/libcairo.so.2
> #30 0x00007f5115676a31 in  () at /lib64/libcairo.so.2
> #31 0x00007f511570d430 in  () at /lib64/libcairo.so.2
> #32 0x00007f51156c9021 in  () at /lib64/libcairo.so.2
> #33 0x00007f51156854cf in  () at /lib64/libcairo.so.2
> #34 0x00007f51156d11c2 in cairo_show_glyphs () at /lib64/libcairo.so.2
> #35 0x000055fb2ceb3cce in ftcrfont_draw (s=0x7ffdeb3ae680, from=<optimized out>, to=<optimized out>, x=<optimized out>, y=<optimized out>, with_background=<optimized out>) at ../../emacs-30.0.50.5934.0fab2649e28/src/ftcrfont.c:622
> #36 0x000055fb2cd07e4d in x_draw_glyph_string_foreground (s=s@entry=0x7ffdeb3ae680) at ../../emacs-30.0.50.5987.9a79db506e3/src/xterm.c:8642
> #37 0x000055fb2cd0c3ea in x_draw_glyph_string (s=0x7ffdeb3ae680) at ../../emacs-30.0.50.5987.9a79db506e3/src/xterm.c:10912
> #38 0x000055fb2cc77064 in draw_glyphs (w=<optimized out>, x=1899, row=<optimized out>, area=<optimized out>, start=<optimized out>, end=<optimized out>, hl=<optimized out>, overlaps=<optimized out>) at ../../emacs-30.0.50.5934.0fab2649e28/src/xdisp.c:31204
> #39 0x000055fb2cc81f23 in gui_write_glyphs (w=0x55fcb07d2f28, updated_row=<optimized out>, start=<optimized out>, updated_area=TEXT_AREA, len=105) at ../../emacs-30.0.50.5934.0fab2649e28/src/xdisp.c:33346
> #40 0x000055fb2cc1dad1 in update_text_area (partial_p=<synthetic pointer>, vpos=955, updated_row=0x55fc6b5c6290, w=0x55fcb07d2f28) at ../../emacs-30.0.50.5934.0fab2649e28/src/dispnew.c:4033
> #41 update_window_line (w=w@entry=0x55fcb07d2f28, vpos=955, mouse_face_overwritten_p=mouse_face_overwritten_p@entry=0x7ffdeb3aee47) at ../../emacs-30.0.50.5934.0fab2649e28/src/dispnew.c:4291
> #42 0x000055fb2cc249ff in update_window (w=w@entry=0x55fcb07d2f28, force_p=force_p@entry=true) at ../../emacs-30.0.50.5934.0fab2649e28/src/dispnew.c:3718
> #43 0x000055fb2cc25f2b in update_window_tree (w=w@entry=0x55fcb07d2f28, force_p=force_p@entry=true) at ../../emacs-30.0.50.5934.0fab2649e28/src/dispnew.c:3488
> #44 0x000055fb2cc26c9d in update_frame (f=0x55fcb07d2cb0, force_p=true, inhibit_hairy_id_p=<optimized out>) at ../../emacs-30.0.50.5934.0fab2649e28/src/dispnew.c:3323
> #45 0x000055fb2cc5dcc4 in redisplay_internal () at ../../emacs-30.0.50.5934.0fab2649e28/src/xdisp.c:17461
> #46 0x000055fb2cd61b0f in redisplay () at ../../emacs-30.0.50.5934.0fab2649e28/src/xdisp.c:16562
> #47 read_char (commandflag=1, map=XIL(0x55fb30a6ce13), prev_event=XIL(0), used_mouse_menu=0x7ffdeb3b09eb, end_time=0x0) at ../../emacs-30.0.50.5987.9a79db506e3/src/keyboard.c:2677
> #48 0x000055fb2cd739ef in read_key_sequence (keybuf=0x7ffdeb3b0b80, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false) at ../../emacs-30.0.50.5987.9a79db506e3/src/keyboard.c:10722
> #49 0x000055fb2cd5ad97 in command_loop_1 () at ../../emacs-30.0.50.5987.9a79db506e3/src/keyboard.c:1428
> #50 0x000055fb2cdf7d07 in internal_condition_case (bfun=0x55fb2cd5abc0 <command_loop_1>, handlers=<optimized out>, hfun=0x55fb2cd59ca0 <cmd_error>) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:1537
> #51 0x000055fb2cd5a0de in command_loop_2 (handlers=handlers@entry=XIL(0x90)) at ../../emacs-30.0.50.5987.9a79db506e3/src/keyboard.c:1167
> #52 0x000055fb2cdf7c11 in internal_catch (tag=<optimized out>, func=0x55fb2cd5a0b0 <command_loop_2>, arg=XIL(0x90)) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:1217
> #53 0x000055fb2cd58bef in command_loop () at ../../emacs-30.0.50.5987.9a79db506e3/src/keyboard.c:1137
> #54 0x000055fb2cd59786 in recursive_edit_1 () at ../../emacs-30.0.50.5987.9a79db506e3/src/keyboard.c:753
> #55 0x000055fb2cd59b9c in Frecursive_edit () at ../../emacs-30.0.50.5987.9a79db506e3/src/keyboard.c:836
> #56 0x000055fb2cdfb24d in funcall_subr (subr=0x55fb2d44d7c0 <Srecursive_edit>, numargs=numargs@entry=0, args=args@entry=0x7ffdeb3b0fa0) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3088
> #57 0x000055fb2cdf8820 in funcall_general (fun=<optimized out>, numargs=numargs@entry=0, args=args@entry=0x7ffdeb3b0fa0) at ../../emacs-30.0.50.5987.9a79db506e3/src/lisp.h:2242
> #58 0x000055fb2cdf8a16 in Ffuncall (nargs=1, args=0x7ffdeb3b0f98) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3022
> #59 0x00007f51023f58f6 in F6465627567_debug_0 () at /usr/lib64/emacs/30.0.50/native-lisp/30.0.50-fe1371f1/debug-bee52b4d-b0c8a741.eln
> #60 0x000055fb2cdfb0fc in funcall_subr (subr=0x55fb349e9ad8, numargs=numargs@entry=2, args=args@entry=0x7ffdeb3b1108) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3113
> #61 0x000055fb2cdf8820 in funcall_general (fun=<optimized out>, numargs=numargs@entry=2, args=args@entry=0x7ffdeb3b1108) at ../../emacs-30.0.50.5987.9a79db506e3/src/lisp.h:2242
> #62 0x000055fb2cdf8a16 in Ffuncall (nargs=nargs@entry=3, args=0x7ffdeb3b1100) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3022
> #63 0x000055fb2cdf8e80 in Fapply (nargs=nargs@entry=2, args=args@entry=0x7ffdeb3b11b0) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:2693
> #64 0x000055fb2cdf9408 in apply1 (arg=XIL(0x55fb5213abe3), fn=<optimized out>) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:2907
> #65 call_debugger (arg=XIL(0x55fb5213abe3)) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:310
> #66 0x000055fb2cdf9cd5 in maybe_call_debugger (error=XIL(0x55fb5213ac13), conditions=XIL(0x7f5106d91a03)) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:2051
> #67 signal_or_quit (error_symbol=<optimized out>, data=<optimized out>, continuable=continuable@entry=false) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:1876
> #68 0x000055fb2cc15245 in Fsignal (error_symbol=<optimized out>, error_symbol@entry=XIL(0x12db0), data=<optimized out>) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:1746
> #69 0x000055fb2cc15463 in xsignal (data=<optimized out>, error_symbol=XIL(0x12db0)) at ../../emacs-30.0.50.5987.9a79db506e3/src/lisp.h:4808
> #70 xsignal2 (error_symbol=XIL(0x12db0), arg1=<optimized out>, arg2=<optimized out>) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:1912
> #71 0x000055fb2cc1435b in wrong_type_argument (predicate=<optimized out>, value=<optimized out>) at ../../emacs-30.0.50.5934.0fab2649e28/src/data.c:142
> #72 0x000055fb2cc16e84 in check_obarray_slow (obarray=<optimized out>) at /usr/src/debug/emacs-30.0.50.5990.9b755244bf0/src/lread.c:4914
> #73 0x000055fb2ce36467 in check_obarray (obarray=XIL(0x55fc40b4ea8d)) at ../../emacs-30.0.50.5934.0fab2649e28/src/lisp.h:2465
> #74 Fintern (string=XIL(0x55fb52250fe4), obarray=<optimized out>) at /usr/src/debug/emacs-30.0.50.5990.9b755244bf0/src/lread.c:5034
> #75 0x000055fb2cdfb15d in funcall_subr (subr=0x55fb2d45dea0 <Sintern>, numargs=numargs@entry=2, args=args@entry=0x7ffdeb3b1448) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3092

The above backtrace seems to tell the following story:

  . Emacs loaded some package
  . loading the package triggered its processing (including loading of
    some other package)
  . eventually, as part of processing the loaded packages, Emacs
    called 'intern' (frame #74), which called check_obarray, which
    signaled a wrong-type-argument error (frame #71)
  . the error handling called the Lisp debugger
  . the debugger caused redisplay, which called cairo_show_glyphs,
    which caused an X error (frame #19)
  . the X error caused the X connection to close
  . Emacs then tried to shut down in an orderly fashion, which again
    triggered redisplay, which aborted (most probably because
    X-related data structures are invalid, due to the closed X
    connection)

I suspect that the error we tried to signal in frame #71 has something
to do with the recent changes in obarray handling, with which the
package that is being loaded here does not comply.  So I added Mattias
to the discussion.

I also see that we detect recursive invocations of redisplay too late,
so I have now fixed that on master.

As for the cause of this -- some problem in ftcrfont_draw -- maybe Po
Lu can suggest some ideas.  I guess we should try to understand what
kind of X error was caused here?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 16 Apr 2024 00:27:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 15 20:27:38 2024
Received: from localhost ([127.0.0.1]:40508 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rwWff-00056g-2Z
	for submit <at> debbugs.gnu.org; Mon, 15 Apr 2024 20:27:38 -0400
Received: from thaodan.de ([2a03:4000:4f:f15::1]:35662)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bjorn.bidar@HIDDEN>) id 1rwWfa-00054x-0k
 for 66416 <at> debbugs.gnu.org; Mon, 15 Apr 2024 20:27:33 -0400
Received: from odin (dsl-trebng12-50dc75-154.dhcp.inet.fi [80.220.117.154])
 by thaodan.de (Postfix) with ESMTPSA id 8CAE1D0005C;
 Tue, 16 Apr 2024 03:27:11 +0300 (EEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail;
 t=1713227231; bh=3zJXc/PM35EiiBp2Mk8DDmH3d1iwvpTLXtmmk6Apc3U=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date;
 b=JSE8dYC++qGGHFuqN1Gy2VV/FZ0HKQaci8+unUH6B/PbYa5zGVaQNpYkXAavTPfTg
 zmswx+6LBSVC7x3WBbGLsknup4aBMrFArOe6P0eV1iSLtcitRLt4p7NLI8JQ6wQgvy
 Nk1xmfP2ZpvIeiVUec6bqEH72DUYu0ZWbf5YrNzZEPQZqqNWmEs9NHusRZnuJZXjeh
 fuqcOkw/20pssmIpZLJS3KDeZSFsddl3gxm1wWt8rXfcxfDxl+huXiSArkxWVWZXjB
 FQJ8334b28fYrmTdTmQKWrNBa68mWq6gkvig5FWyppvDY29adXWsGh5pK7BonLL0yF
 +RK6zxJJ/RGUAaY1hoeQnIWAIgJsbgxzxNzqqU0/F4sVR1b0H5FQi809fSSpkuCBd1
 MUM4P2VrAadSYyaK4HH9r23UKy80OA/KeyZ3Cey+QNVlgxS5FBcPQKXih6s4FAaOLF
 d1BNztfeS1a/4KvgUoCqAy4+yTpOaf933rr+bergdiud/U1OJ1E6/J5a78pnlqh4GZ
 cIdOJIbF6YdZr+kPWJ+ctfvIDenw44VQLL0Bq49zvzl3hYEeIhC5+SUl82KPKAkx5T
 6renFSAGuFLMct95Rxkf7oRAi9tSVj9hq7b9NMGqBF0CWFhVttm2yXIVbK4RK9RO7r
 BG3RfECWkjKv9yRDwXJ6x+A8=
From: =?utf-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
To: Yuchen Guo <yguo@HIDDEN>
Subject: Re: bug#66416: 29.1; pgtk build crashes due to ftcrfont
In-Reply-To: <875y39uidg.fsf@lan> (Yuchen Guo's message of "Sat, 14 Oct 2023
 19:14:03 +0000")
References: <865y3gq2in.fsf@lan> <875y39uidg.fsf@lan>
Autocrypt: addr=bjorn.bidar@HIDDEN; prefer-encrypt=nopreference; keydata=
 mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq
 w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV
 CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl
 HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8
 phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF
 CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h
 K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2
 cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC
 HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN
 XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg
 gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1+ntAhsDBQsJCAcCAiICBhUKCQgL
 AgQWAgMBAh4HAheAAAoJEFwbdKFlHF9oBgwA/iQHwe0VL4Df4GGTYlNjMSHFlIkBmN4UfYGLYj3E
 TrOUAQC51M+M3cjsL8WHdpBz6VAo6df9d+rVwhQ9vQuFHqevArg4BGTX6T4SCisGAQQBl1UBBQEB
 B0Cbohc3JEfn005/cm0AOGjSsW1ZxAkgaoVNjbpqk4MgNAMBCAeIeAQYFgoAIBYhBFHxdut1RzAe
 pymoq1wbdKFlHF9oBQJk1+k+AhsMAAoJEFwbdKFlHF9ooHABAKGmrGBic/Vys3BBrOQiRB3Z7izO
 HwhqTRpAqFZtXS2nAQDZhp/5aYw1TZjTzkm1KVt9QiYnjd/MvxRE9iaY6x4mDbgzBGTX6T4WCSsG
 AQQB2kcPAQEHQAgRJq/tMcCCB2XyA5WZpu7GvpRx0m9IPRWazeqhOq7uiO8EGBYKACAWIQRR8Xbr
 dUcwHqcpqKtcG3ShZRxfaAUCZNf71AIbIgCBCRBcG3ShZRxfaHYgBBkWCgAdFiEEUfF263VHMB6n
 KairXBt0oWUcX2gFAmTX+9QACgkQXBt0oWUcX2jeSwD6AtWn0cuo8IF35YRo4o3cDRJnUfJnbvJy
 GxyCDThR+zYBAKG6/jdwmZkBQZKslnDAbMMd2WfiZZT5JW3IWC4EaKMO7HkBAKYPGZ3UbfkRvfFK
 S+pQ9CgtNfkSJQBtT1Ob7Y6nsacgAQCpyXN7yppmhW/oBgivITPy9Lkg+V4NK9WZYZCU9Q7LBA==
Date: Tue, 16 Apr 2024 03:27:10 +0300
Message-ID: <87mspui23l.fsf@>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  I'm not 100% sure if the crash I got is related but today
 I got a very similar backtrace but with the X11/Gtk build. The bug happened
 during regular code browsing. I don't have a backtrace from a running version
 of Emacs but only a coredump. 
 Content analysis details:   (1.2 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 1.2 INVALID_MSGID          Message-Id is not valid, according to RFC 2822
X-Debbugs-Envelope-To: 66416
Cc: luangruo@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)

--=-=-=
Content-Type: text/plain


I'm not 100% sure if the crash I got is related but today I got a very similar backtrace
but with the X11/Gtk build.

The bug happened during regular code browsing. I don't
have a backtrace from a running version of Emacs but only a coredump.



--=-=-=
Content-Type: text/x-log
Content-Disposition: inline; filename=emacs.xconnection_closed.gdb.log

Warning: /home/bidar/../lwlib: No such file or directory.
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0
TERM = xterm-256color
Breakpoint 1 at 0x55fb2cc11ebd: file ../../emacs-30.0.50.5934.0fab2649e28/src/emacs.c, line 441.
Breakpoint 2 at 0x55fb2cd23c00: file ../../emacs-30.0.50.5987.9a79db506e3/src/xterm.c, line 26990.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007f510aa94a73 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007f510aa41176 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x000055fb2cc11f70 in terminate_due_to_signal (sig=6, backtrace_limit=<optimized out>) at ../../emacs-30.0.50.5934.0fab2649e28/src/emacs.c:479
#4  0x000055fb2cc1261c in emacs_abort () at ../../emacs-30.0.50.5934.0fab2649e28/src/sysdep.c:2391
#5  0x000055fb2cc0e742 in redisplay_internal () at ../../emacs-30.0.50.5934.0fab2649e28/src/xdisp.c:16869
#6  0x000055fb2cc5f26a in redisplay_preserve_echo_area (from_where=<optimized out>) at ../../emacs-30.0.50.5934.0fab2649e28/src/xdisp.c:17740
#7  0x000055fb2ce5c5eb in Fdelete_process (process=XIL(0x55fc70bb3075)) at ../../emacs-30.0.50.5934.0fab2649e28/src/process.c:1146
#8  0x000055fb2ce69cd5 in kill_buffer_processes (buffer=XIL(0)) at ../../emacs-30.0.50.5934.0fab2649e28/src/process.c:8288
#9  0x000055fb2cd588fa in shut_down_emacs (sig=sig@entry=6, stuff=stuff@entry=XIL(0)) at ../../emacs-30.0.50.5934.0fab2649e28/src/emacs.c:3104
#10 0x000055fb2cc11f3c in terminate_due_to_signal (sig=6, backtrace_limit=40) at ../../emacs-30.0.50.5934.0fab2649e28/src/emacs.c:462
#11 0x000055fb2cc1261c in emacs_abort () at ../../emacs-30.0.50.5934.0fab2649e28/src/sysdep.c:2391
#12 0x000055fb2cc0e742 in redisplay_internal () at ../../emacs-30.0.50.5934.0fab2649e28/src/xdisp.c:16869
#13 0x000055fb2cc5f26a in redisplay_preserve_echo_area (from_where=<optimized out>) at ../../emacs-30.0.50.5934.0fab2649e28/src/xdisp.c:17740
#14 0x000055fb2ce5c5eb in Fdelete_process (process=XIL(0x55fcae60bef5)) at ../../emacs-30.0.50.5934.0fab2649e28/src/process.c:1146
#15 0x000055fb2ce69cd5 in kill_buffer_processes (buffer=XIL(0)) at ../../emacs-30.0.50.5934.0fab2649e28/src/process.c:8288
#16 0x000055fb2cd588fa in shut_down_emacs (sig=0, stuff=XIL(0)) at ../../emacs-30.0.50.5934.0fab2649e28/src/emacs.c:3104
#17 0x000055fb2cd23937 in x_connection_closed (dpy=<optimized out>, error_message=<optimized out>, ioerror=<optimized out>) at ../../emacs-30.0.50.5987.9a79db506e3/src/xterm.c:26819
#18 0x000055fb2cd23c8a in x_error_quitter (display=0x55fb3ad0aa90, event=0x7ffdeb3a9570) at ../../emacs-30.0.50.5987.9a79db506e3/src/xterm.c:27013
#19 0x000055fb2cd2415b in x_error_handler (display=0x55fb3ad0aa90, event=0x7ffdeb3a9570) at ../../emacs-30.0.50.5987.9a79db506e3/src/xterm.c:26978
#20 0x00007f511519e3ab in _XError () at /lib64/libX11.so.6
#21 0x00007f511519e4a7 in  () at /lib64/libX11.so.6
#22 0x00007f511519e55d in  () at /lib64/libX11.so.6
#23 0x00007f511519e5e2 in _XEventsQueued () at /lib64/libX11.so.6
#24 0x00007f511519e985 in _XGetRequest () at /lib64/libX11.so.6
#25 0x00007f511511bff8 in XRenderCompositeText16 () at /lib64/libXrender.so.1
#26 0x00007f5115744c68 in  () at /lib64/libcairo.so.2
#27 0x00007f5115703a8d in  () at /lib64/libcairo.so.2
#28 0x00007f51156c9d87 in  () at /lib64/libcairo.so.2
#29 0x00007f51156ca330 in  () at /lib64/libcairo.so.2
#30 0x00007f5115676a31 in  () at /lib64/libcairo.so.2
#31 0x00007f511570d430 in  () at /lib64/libcairo.so.2
#32 0x00007f51156c9021 in  () at /lib64/libcairo.so.2
#33 0x00007f51156854cf in  () at /lib64/libcairo.so.2
#34 0x00007f51156d11c2 in cairo_show_glyphs () at /lib64/libcairo.so.2
#35 0x000055fb2ceb3cce in ftcrfont_draw (s=0x7ffdeb3ae680, from=<optimized out>, to=<optimized out>, x=<optimized out>, y=<optimized out>, with_background=<optimized out>) at ../../emacs-30.0.50.5934.0fab2649e28/src/ftcrfont.c:622
#36 0x000055fb2cd07e4d in x_draw_glyph_string_foreground (s=s@entry=0x7ffdeb3ae680) at ../../emacs-30.0.50.5987.9a79db506e3/src/xterm.c:8642
#37 0x000055fb2cd0c3ea in x_draw_glyph_string (s=0x7ffdeb3ae680) at ../../emacs-30.0.50.5987.9a79db506e3/src/xterm.c:10912
#38 0x000055fb2cc77064 in draw_glyphs (w=<optimized out>, x=1899, row=<optimized out>, area=<optimized out>, start=<optimized out>, end=<optimized out>, hl=<optimized out>, overlaps=<optimized out>) at ../../emacs-30.0.50.5934.0fab2649e28/src/xdisp.c:31204
#39 0x000055fb2cc81f23 in gui_write_glyphs (w=0x55fcb07d2f28, updated_row=<optimized out>, start=<optimized out>, updated_area=TEXT_AREA, len=105) at ../../emacs-30.0.50.5934.0fab2649e28/src/xdisp.c:33346
#40 0x000055fb2cc1dad1 in update_text_area (partial_p=<synthetic pointer>, vpos=955, updated_row=0x55fc6b5c6290, w=0x55fcb07d2f28) at ../../emacs-30.0.50.5934.0fab2649e28/src/dispnew.c:4033
#41 update_window_line (w=w@entry=0x55fcb07d2f28, vpos=955, mouse_face_overwritten_p=mouse_face_overwritten_p@entry=0x7ffdeb3aee47) at ../../emacs-30.0.50.5934.0fab2649e28/src/dispnew.c:4291
#42 0x000055fb2cc249ff in update_window (w=w@entry=0x55fcb07d2f28, force_p=force_p@entry=true) at ../../emacs-30.0.50.5934.0fab2649e28/src/dispnew.c:3718
#43 0x000055fb2cc25f2b in update_window_tree (w=w@entry=0x55fcb07d2f28, force_p=force_p@entry=true) at ../../emacs-30.0.50.5934.0fab2649e28/src/dispnew.c:3488
#44 0x000055fb2cc26c9d in update_frame (f=0x55fcb07d2cb0, force_p=true, inhibit_hairy_id_p=<optimized out>) at ../../emacs-30.0.50.5934.0fab2649e28/src/dispnew.c:3323
#45 0x000055fb2cc5dcc4 in redisplay_internal () at ../../emacs-30.0.50.5934.0fab2649e28/src/xdisp.c:17461
#46 0x000055fb2cd61b0f in redisplay () at ../../emacs-30.0.50.5934.0fab2649e28/src/xdisp.c:16562
#47 read_char (commandflag=1, map=XIL(0x55fb30a6ce13), prev_event=XIL(0), used_mouse_menu=0x7ffdeb3b09eb, end_time=0x0) at ../../emacs-30.0.50.5987.9a79db506e3/src/keyboard.c:2677
#48 0x000055fb2cd739ef in read_key_sequence (keybuf=0x7ffdeb3b0b80, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false) at ../../emacs-30.0.50.5987.9a79db506e3/src/keyboard.c:10722
#49 0x000055fb2cd5ad97 in command_loop_1 () at ../../emacs-30.0.50.5987.9a79db506e3/src/keyboard.c:1428
#50 0x000055fb2cdf7d07 in internal_condition_case (bfun=0x55fb2cd5abc0 <command_loop_1>, handlers=<optimized out>, hfun=0x55fb2cd59ca0 <cmd_error>) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:1537
#51 0x000055fb2cd5a0de in command_loop_2 (handlers=handlers@entry=XIL(0x90)) at ../../emacs-30.0.50.5987.9a79db506e3/src/keyboard.c:1167
#52 0x000055fb2cdf7c11 in internal_catch (tag=<optimized out>, func=0x55fb2cd5a0b0 <command_loop_2>, arg=XIL(0x90)) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:1217
#53 0x000055fb2cd58bef in command_loop () at ../../emacs-30.0.50.5987.9a79db506e3/src/keyboard.c:1137
#54 0x000055fb2cd59786 in recursive_edit_1 () at ../../emacs-30.0.50.5987.9a79db506e3/src/keyboard.c:753
#55 0x000055fb2cd59b9c in Frecursive_edit () at ../../emacs-30.0.50.5987.9a79db506e3/src/keyboard.c:836
#56 0x000055fb2cdfb24d in funcall_subr (subr=0x55fb2d44d7c0 <Srecursive_edit>, numargs=numargs@entry=0, args=args@entry=0x7ffdeb3b0fa0) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3088
#57 0x000055fb2cdf8820 in funcall_general (fun=<optimized out>, numargs=numargs@entry=0, args=args@entry=0x7ffdeb3b0fa0) at ../../emacs-30.0.50.5987.9a79db506e3/src/lisp.h:2242
#58 0x000055fb2cdf8a16 in Ffuncall (nargs=1, args=0x7ffdeb3b0f98) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3022
#59 0x00007f51023f58f6 in F6465627567_debug_0 () at /usr/lib64/emacs/30.0.50/native-lisp/30.0.50-fe1371f1/debug-bee52b4d-b0c8a741.eln
#60 0x000055fb2cdfb0fc in funcall_subr (subr=0x55fb349e9ad8, numargs=numargs@entry=2, args=args@entry=0x7ffdeb3b1108) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3113
#61 0x000055fb2cdf8820 in funcall_general (fun=<optimized out>, numargs=numargs@entry=2, args=args@entry=0x7ffdeb3b1108) at ../../emacs-30.0.50.5987.9a79db506e3/src/lisp.h:2242
#62 0x000055fb2cdf8a16 in Ffuncall (nargs=nargs@entry=3, args=0x7ffdeb3b1100) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3022
#63 0x000055fb2cdf8e80 in Fapply (nargs=nargs@entry=2, args=args@entry=0x7ffdeb3b11b0) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:2693
#64 0x000055fb2cdf9408 in apply1 (arg=XIL(0x55fb5213abe3), fn=<optimized out>) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:2907
#65 call_debugger (arg=XIL(0x55fb5213abe3)) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:310
#66 0x000055fb2cdf9cd5 in maybe_call_debugger (error=XIL(0x55fb5213ac13), conditions=XIL(0x7f5106d91a03)) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:2051
#67 signal_or_quit (error_symbol=<optimized out>, data=<optimized out>, continuable=continuable@entry=false) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:1876
#68 0x000055fb2cc15245 in Fsignal (error_symbol=<optimized out>, error_symbol@entry=XIL(0x12db0), data=<optimized out>) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:1746
#69 0x000055fb2cc15463 in xsignal (data=<optimized out>, error_symbol=XIL(0x12db0)) at ../../emacs-30.0.50.5987.9a79db506e3/src/lisp.h:4808
#70 xsignal2 (error_symbol=XIL(0x12db0), arg1=<optimized out>, arg2=<optimized out>) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:1912
#71 0x000055fb2cc1435b in wrong_type_argument (predicate=<optimized out>, value=<optimized out>) at ../../emacs-30.0.50.5934.0fab2649e28/src/data.c:142
#72 0x000055fb2cc16e84 in check_obarray_slow (obarray=<optimized out>) at /usr/src/debug/emacs-30.0.50.5990.9b755244bf0/src/lread.c:4914
#73 0x000055fb2ce36467 in check_obarray (obarray=XIL(0x55fc40b4ea8d)) at ../../emacs-30.0.50.5934.0fab2649e28/src/lisp.h:2465
#74 Fintern (string=XIL(0x55fb52250fe4), obarray=<optimized out>) at /usr/src/debug/emacs-30.0.50.5990.9b755244bf0/src/lread.c:5034
#75 0x000055fb2cdfb15d in funcall_subr (subr=0x55fb2d45dea0 <Sintern>, numargs=numargs@entry=2, args=args@entry=0x7ffdeb3b1448) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3092
#76 0x000055fb2cdf8820 in funcall_general (fun=<optimized out>, numargs=numargs@entry=2, args=args@entry=0x7ffdeb3b1448) at ../../emacs-30.0.50.5987.9a79db506e3/src/lisp.h:2242
#77 0x000055fb2cdf8a16 in Ffuncall (nargs=3, args=0x7ffdeb3b1440) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3022
#78 0x00007f51050ac210 in F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_0 () at /home/bidar/.local/etc/emacs/eln-cache/30.0.50-fe1371f1/smartrep-70f56f9b-e639e68e.eln
#79 0x000055fb2cdfdece in funcall_lambda (fun=<optimized out>, nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7ffdeb3b15c8) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3279
#80 0x000055fb2cdf86e9 in funcall_general (fun=<optimized out>, numargs=numargs@entry=1, args=args@entry=0x7ffdeb3b15c8) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:2984
#81 0x000055fb2cdf8a16 in Ffuncall (nargs=2, args=0x7ffdeb3b15c0) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3022
#82 0x000055fb2ce0a33b in mapcar1 (leni=4, vals=vals@entry=0x0, fn=fn@entry=XIL(0x55fb3a4d46bd), seq=seq@entry=XIL(0x55fb340224a3)) at ../../emacs-30.0.50.5934.0fab2649e28/src/fns.c:3343
#83 0x000055fb2ce0a8f0 in Fmapc (function=XIL(0x55fb3a4d46bd), sequence=XIL(0x55fb340224a3)) at ../../emacs-30.0.50.5934.0fab2649e28/src/fns.c:3480
#84 0x000055fb2cdfb15d in funcall_subr (subr=0x55fb2d45ac60 <Smapc>, numargs=numargs@entry=2, args=args@entry=0x7ffdeb3b1788) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3092
#85 0x000055fb2cdf8820 in funcall_general (fun=<optimized out>, numargs=numargs@entry=2, args=args@entry=0x7ffdeb3b1788) at ../../emacs-30.0.50.5987.9a79db506e3/src/lisp.h:2242
#86 0x000055fb2cdf8a16 in Ffuncall (nargs=3, args=0x7ffdeb3b1780) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3022
#87 0x00007f51050ac4cf in F736d6172747265702d646566696e652d6b6579_smartrep_define_key_0 () at /home/bidar/.local/etc/emacs/eln-cache/30.0.50-fe1371f1/smartrep-70f56f9b-e639e68e.eln
#88 0x000055fb2cdfdece in funcall_lambda (fun=<optimized out>, fun@entry=XIL(0x55fc510c2475), nargs=nargs@entry=3, arg_vector=arg_vector@entry=0x7ffdeb3b1860) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3279
#89 0x000055fb2cdfe029 in apply_lambda (fun=<optimized out>, args=<optimized out>, count=count@entry=...) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3144
#90 0x000055fb2cdfb74b in eval_sub (form=<optimized out>) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:2615
#91 0x000055fb2cdfc120 in Fprogn (body=<optimized out>) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:432
#92 0x000055fb2cdfbd76 in eval_sub (form=<optimized out>) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:2476
#93 0x000055fb2cdfde40 in Fprogn (body=<optimized out>) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:432
#94 funcall_lambda (fun=<optimized out>, nargs=nargs@entry=0, arg_vector=arg_vector@entry=0x7f51052000f0) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3273
#95 0x000055fb2cdf86e9 in funcall_general (fun=<optimized out>, numargs=0, args=0x7f51052000f0) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:2984
#96 0x000055fb2ce4ef71 in exec_byte_code (fun=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at ../../emacs-30.0.50.5934.0fab2649e28/src/bytecode.c:816
#97 0x000055fb2cdfde9a in funcall_lambda (fun=XIL(0x55fb43bdc4fd), nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7ffdeb3b1d48) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3190
#98 0x000055fb2cdf86e9 in funcall_general (fun=<optimized out>, numargs=numargs@entry=1, args=args@entry=0x7ffdeb3b1d48) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:2984
#99 0x000055fb2cdf8a16 in Ffuncall (nargs=2, args=0x7ffdeb3b1d40) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3022
#100 0x000055fb2cdf8b39 in funcall_nil (nargs=<optimized out>, args=<optimized out>) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:2704
#101 0x000055fb2cdfa971 in run_hook_with_args (nargs=2, args=0x7ffdeb3b1d40, funcall=funcall@entry=0x55fb2cdf8b30 <funcall_nil>) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:2881
#102 0x000055fb2cdfabd0 in Frun_hook_with_args (nargs=<optimized out>, args=<optimized out>) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:2746
#103 0x00007f510630166b in F646f2d61667465722d6c6f61642d6576616c756174696f6e_do_after_load_evaluation_0 () at /usr/bin/../lib64/emacs/30.0.50/native-lisp/30.0.50-fe1371f1/preloaded/subr-13adf6a6-e478be81.eln
#104 0x000055fb2cdfb146 in funcall_subr (subr=0x7f51065a4918, numargs=numargs@entry=1, args=args@entry=0x7ffdeb3b1fd8) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3090
#105 0x000055fb2cdf8820 in funcall_general (fun=<optimized out>, numargs=numargs@entry=1, args=args@entry=0x7ffdeb3b1fd8) at ../../emacs-30.0.50.5987.9a79db506e3/src/lisp.h:2242
#106 0x000055fb2cdf8a16 in Ffuncall (nargs=2, args=0x7ffdeb3b1fd0) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3022
#107 0x000055fb2ce34c24 in Fload (file=<optimized out>, noerror=<optimized out>, nomessage=<optimized out>, nosuffix=<optimized out>, must_suffix=<optimized out>) at /usr/src/debug/emacs-30.0.50.5990.9b755244bf0/src/lread.c:1807
#108 0x000055fb2cdf7488 in save_match_data_load (must_suffix=XIL(0x30), nosuffix=XIL(0), nomessage=XIL(0x30), noerror=XIL(0x30), file=XIL(0x55fb340e9944)) at /usr/src/debug/emacs-30.0.50.5990.9b755244bf0/src/lread.c:1841
#109 load_with_autoload_queue (file=XIL(0x55fb340e9944), noerror=XIL(0x30), nomessage=XIL(0x30), nosuffix=XIL(0), must_suffix=XIL(0x30)) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:2309
#110 0x000055fb2ce114ca in Frequire (feature=XIL(0x6c7eb20), filename=<optimized out>, noerror=XIL(0x30)) at ../../emacs-30.0.50.5934.0fab2649e28/src/fns.c:3762
#111 0x000055fb2cdfb171 in funcall_subr (subr=0x55fb2d45aa20 <Srequire>, numargs=<optimized out>, args=<optimized out>) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3094
#112 0x000055fb2ce4f078 in exec_byte_code (fun=<optimized out>, args_template=<optimized out>, args_template@entry=0, nargs=<optimized out>, nargs@entry=0, args=<optimized out>, args@entry=0x0) at ../../emacs-30.0.50.5934.0fab2649e28/src/lisp.h:2242
#113 0x000055fb2ce51eab in Fbyte_code (bytestr=<optimized out>, vector=XIL(0x55fc40b4e6f5), maxdepth=make_fixnum(18)) at ../../emacs-30.0.50.5934.0fab2649e28/src/bytecode.c:329
#114 0x000055fb2cdfbec9 in eval_sub (form=<optimized out>) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:2531
#115 0x000055fb2ce34465 in readevalloop (readcharfun=readcharfun@entry=XIL(0x88b0), infile0=infile0@entry=0x7ffdeb3b2490, sourcename=sourcename@entry=XIL(0x55fb520bad84), printflag=printflag@entry=false, unibyte=unibyte@entry=XIL(0), readfun=readfun@entry=XIL(0), start=XIL(0), end=<optimized out>) at /usr/src/debug/emacs-30.0.50.5990.9b755244bf0/src/lread.c:2601
#116 0x000055fb2ce35153 in Fload (file=<optimized out>, noerror=<optimized out>, nomessage=<optimized out>, nosuffix=<optimized out>, must_suffix=<optimized out>) at /usr/src/debug/emacs-30.0.50.5990.9b755244bf0/src/lread.c:1792
#117 0x000055fb2cdf7488 in save_match_data_load (must_suffix=XIL(0x30), nosuffix=XIL(0), nomessage=XIL(0x30), noerror=XIL(0), file=XIL(0x55fb2e05c264)) at /usr/src/debug/emacs-30.0.50.5990.9b755244bf0/src/lread.c:1841
#118 load_with_autoload_queue (file=XIL(0x55fb2e05c264), noerror=noerror@entry=XIL(0), nomessage=nomessage@entry=XIL(0x30), nosuffix=nosuffix@entry=XIL(0), must_suffix=must_suffix@entry=XIL(0x30)) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:2309
#119 0x000055fb2cdf8477 in Fautoload_do_load (fundef=XIL(0x7f5105002323), funname=funname@entry=XIL(0xbece20), macro_only=macro_only@entry=XIL(0)) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:2355
#120 0x000055fb2cdfb7d7 in eval_sub (form=<optimized out>) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:2584
#121 0x000055fb2cdfde40 in Fprogn (body=<optimized out>) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:432
#122 funcall_lambda (fun=<optimized out>, nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7ffdeb3b2910) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3273
#123 0x000055fb2cdf86e9 in funcall_general (fun=<optimized out>, numargs=numargs@entry=1, args=args@entry=0x7ffdeb3b2910) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:2984
#124 0x000055fb2cdf8a16 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7ffdeb3b2908) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3022
#125 0x000055fb2cdf8b1e in Ffuncall_interactively (nargs=2, args=0x7ffdeb3b2908) at ../../emacs-30.0.50.5987.9a79db506e3/src/callint.c:250
#126 0x000055fb2cdfb0fc in funcall_subr (subr=0x55fb2d4568e0 <Sfuncall_interactively>, numargs=numargs@entry=2, args=args@entry=0x7ffdeb3b2908) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3113
#127 0x000055fb2cdf8820 in funcall_general (fun=<optimized out>, numargs=numargs@entry=2, args=args@entry=0x7ffdeb3b2908) at ../../emacs-30.0.50.5987.9a79db506e3/src/lisp.h:2242
#128 0x000055fb2cdf8a16 in Ffuncall (nargs=nargs@entry=3, args=args@entry=0x7ffdeb3b2900) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3022
#129 0x000055fb2cdff273 in Fcall_interactively (function=<optimized out>, record_flag=<optimized out>, keys=<optimized out>) at ../../emacs-30.0.50.5987.9a79db506e3/src/callint.c:789
#130 0x00007f5106173a65 in F636f6d6d616e642d65786563757465_command_execute_0 () at /usr/bin/../lib64/emacs/30.0.50/native-lisp/30.0.50-fe1371f1/preloaded/simple-fab5b0cf-4bc03d0b.eln
#131 0x000055fb2cdfb195 in funcall_subr (subr=0x7f5106da1e68, numargs=numargs@entry=1, args=args@entry=0x7ffdeb3b2d48) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3096
#132 0x000055fb2cdf8820 in funcall_general (fun=<optimized out>, numargs=numargs@entry=1, args=args@entry=0x7ffdeb3b2d48) at ../../emacs-30.0.50.5987.9a79db506e3/src/lisp.h:2242
#133 0x000055fb2cdf8a16 in Ffuncall (nargs=2, args=0x7ffdeb3b2d40) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:3022
#134 0x000055fb2cd5afcf in command_loop_1 () at ../../emacs-30.0.50.5987.9a79db506e3/src/keyboard.c:1549
#135 0x000055fb2cdf7d07 in internal_condition_case (bfun=0x55fb2cd5abc0 <command_loop_1>, handlers=<optimized out>, hfun=0x55fb2cd59ca0 <cmd_error>) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:1537
#136 0x000055fb2cd5a0de in command_loop_2 (handlers=handlers@entry=XIL(0x90)) at ../../emacs-30.0.50.5987.9a79db506e3/src/keyboard.c:1167
#137 0x000055fb2cdf7c11 in internal_catch (tag=<optimized out>, func=0x55fb2cd5a0b0 <command_loop_2>, arg=XIL(0x90)) at ../../emacs-30.0.50.5987.9a79db506e3/src/eval.c:1217
#138 0x000055fb2cd58c49 in command_loop () at ../../emacs-30.0.50.5987.9a79db506e3/src/keyboard.c:1145
#139 0x000055fb2cd59786 in recursive_edit_1 () at ../../emacs-30.0.50.5987.9a79db506e3/src/keyboard.c:753
#140 0x000055fb2cd59b9c in Frecursive_edit () at ../../emacs-30.0.50.5987.9a79db506e3/src/keyboard.c:836
#141 0x000055fb2cc1cadc in main (argc=2, argv=0x7ffdeb3b3218) at ../../emacs-30.0.50.5934.0fab2649e28/src/emacs.c:2626
You can't do that without a process to debug.

Thread 7 (Thread 0x7f50fe8006c0 (LWP 35539)):
You can't do that without a process to debug.

--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 15 Oct 2023 05:54:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 15 01:54:39 2023
Received: from localhost ([127.0.0.1]:51113 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qru5G-0005wD-L5
	for submit <at> debbugs.gnu.org; Sun, 15 Oct 2023 01:54:38 -0400
Received: from mout01.posteo.de ([185.67.36.65]:38749)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yguo@HIDDEN>) id 1qru5B-0005vt-Fp
 for 66416 <at> debbugs.gnu.org; Sun, 15 Oct 2023 01:54:37 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 2D546240027
 for <66416 <at> debbugs.gnu.org>; Sun, 15 Oct 2023 07:54:03 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1697349243; bh=JdztFvPzSjpEwVBjl+rgmGlNpFpP9sAcNBsqi/fJuME=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From;
 b=YuTNlCWThEZxktSkWJSJQFFOu4WJDSrmoa54gtPpD2Am7/hsbjz1jigLc/2RHtHkx
 F9Eb6MArH0ja9MiKvkr2p2Nfb10KL4MX5uERIFrPcndGSzmDJVeWiruiTe5wbnNN0w
 3mQRVHeZHYjl4FhTpI3yw5T7q27JUHBVI3IZYOgHddGBjSXxPFUXB1LAGqCAw0MZzz
 qurFGpI8RQlNnyHL3HwJE77tqg/FEMFdNgwp6I4MHh06tG7exg3AErNjNBKYHWSxTR
 tp3oJnl1If3w/sHPTiXX/oFifY56L9PW3EDsyBg9fyI9vJv8mjVA1e9YGGZ+ujCP1j
 HE6Z8C4STXGNw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4S7TvZ4hcpz9rxL;
 Sun, 15 Oct 2023 07:54:02 +0200 (CEST)
From: Yuchen Guo <yguo@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
Subject: Re: bug#66416: GDB output from new crash
In-Reply-To: <87r0lw8zay.fsf@HIDDEN> (Po Lu's message of "Sun, 15 Oct 2023
 09:11:33 +0800")
References: <87il7cxoyc.fsf@lan> <87edi0xnqx.fsf@lan> <83wmvsta00.fsf@HIDDEN>
 <87jzrs3x14.fsf@lan> <83r0m0t436.fsf@HIDDEN>
 <878r88aqnj.fsf@HIDDEN> <875y3bhpfz.fsf@lan>
 <83wmvpqxhw.fsf@HIDDEN> <87cyxha1i9.fsf@HIDDEN>
 <87sf6dl6lm.fsf@lan> <878r859xvq.fsf@HIDDEN> <87mswll1u7.fsf@lan>
 <87r0lw8zay.fsf@HIDDEN>
Date: Sun, 15 Oct 2023 05:54:02 +0000
Message-ID: <87fs2cl9c5.fsf@lan>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: Eli Zaretskii <eliz@HIDDEN>, 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Po Lu <luangruo@HIDDEN> writes:

> What if you insert -fsanitize-recover=all in CFLAGS?

No luck, unfortunately.  The following text is the output with fsanitize-recover=all.

  ELC      textmodes/makeinfo.elc
  ELC      textmodes/mhtml-mode.elc
  ELC      textmodes/nroff-mode.elc
  ELC      textmodes/page-ext.elc

=================================================================
==14796==ERROR: LeakSanitizer: detected memory leaks

Indirect leak of 1528 byte(s) in 2 object(s) allocated from:
    #0 0x7ffff79d7de7 in __interceptor_calloc (/nix/store/xq05361kqwzcdamcsxr4gzg8ksxrb8sg-gcc-12.3.0-lib/lib/libasan.so.8+0xbbde7)
    #1 0x789f82 in lmalloc /build/source/src/alloc.c:1365

Indirect leak of 1392 byte(s) in 8 object(s) allocated from:
    #0 0x7ffff79d83ff in __interceptor_malloc (/nix/store/xq05361kqwzcdamcsxr4gzg8ksxrb8sg-gcc-12.3.0-lib/lib/libasan.so.8+0xbc3ff)
    #1 0x789faf in lmalloc /build/source/src/alloc.c:1365

SUMMARY: AddressSanitizer: 2920 byte(s) leaked in 10 allocation(s).
make[3]: *** [Makefile:332: progmodes/typescript-ts-mode.elc] Error 1
make[3]: *** Waiting for unfinished jobs....

=================================================================
==14882==ERROR: LeakSanitizer: detected memory leaks

Indirect leak of 1528 byte(s) in 2 object(s) allocated from:
    #0 0x7ffff79d7de7 in __interceptor_calloc (/nix/store/xq05361kqwzcdamcsxr4gzg8ksxrb8sg-gcc-12.3.0-lib/lib/libasan.so.8+0xbbde7)
    #1 0x789f82 in lmalloc /build/source/src/alloc.c:1365

Indirect leak of 1392 byte(s) in 8 object(s) allocated from:
    #0 0x7ffff79d83ff in __interceptor_malloc (/nix/store/xq05361kqwzcdamcsxr4gzg8ksxrb8sg-gcc-12.3.0-lib/lib/libasan.so.8+0xbc3ff)
    #1 0x789faf in lmalloc /build/source/src/alloc.c:1365

SUMMARY: AddressSanitizer: 2920 byte(s) leaked in 10 allocation(s).
make[3]: *** [Makefile:332: textmodes/mhtml-mode.elc] Error 1
make[3]: Leaving directory '/build/source/lisp'
make[2]: *** [Makefile:366: compile-main] Error 2
make[2]: Leaving directory '/build/source/lisp'
make[1]: *** [Makefile:533: lisp] Error 2




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 15 Oct 2023 01:12:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 14 21:12:18 2023
Received: from localhost ([127.0.0.1]:50995 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qrpg1-0004cz-Mm
	for submit <at> debbugs.gnu.org; Sat, 14 Oct 2023 21:12:18 -0400
Received: from sonic306-22.consmr.mail.ne1.yahoo.com ([66.163.189.84]:44461)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1qrpfy-0004cl-0O
 for 66416 <at> debbugs.gnu.org; Sat, 14 Oct 2023 21:12:16 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1697332304; bh=dP6JBTw1LvYx4oa/TLxLEehNfZol7QKoXvp1sG9oPsA=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=jZETHlRagUzLArEJZE1U+oOl/z8yGBlHl3ZKhoZWzspyBG50qCYhAuk2E6mUKAhyF5IqdUZoQn5GzXgbUi2eIz26RJCiXhc4fXCo7Kzmwe+RFU624CDrLwInLPWyPo/GWhEd0IsiWli8bOkfS3xzeMq+WsPTIe0NcGjePomTldBF2CKrlVpQ7zC3YqOYTfb3sx4Ood4k9XbEhnja5tOILK3MZrMDI8Cq0BoWOFZ9Nwuvz1otFO3BPKkZrPCRH0AAAtQ2Q+ZYCaN0xp0bhBogids5JS3fRwUJXth3Vg2Pl/cPVCQmUtUqJe6mdR5Q6XfTet8qZRKwo7Y+k2TWBsU4vA==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1697332304; bh=zg9Qs4yi4QY89WJHPTwgS8DEjTH+ghEyXVuR4VQQBw6=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=HUjAZhCKFCNK3mxNOhaxY3bqHrJeWkl3yKbSwXiphwJiqc+82n9gNIbcmSdDhImHDCNlIuJ11xJ/Z7EakNxf/HXI+nGHfhQ13sf3wEUSI/yyI69dQ+T/ULnpr45iRvZ0DD8PX9mse6REGlKDk6hU9I3kMdshmwVBN4bST0wgquOjwn1tvnEArRib9hZwJX+RAYw44kf714fsN7nkmYY9EnrOhdXqkARt8ejTK55wGvjlutoVBr7JLO6XGA9HwXC036f6NT/FlaiLvHAXvzhJtzJbAmLDQm+7xTQn4T8gNT4YIz7P6A11OBDTeyzZ9ROT2IgDtK8S/SVLYppDuOeXRQ==
X-YMail-OSG: f50KUUgVM1kVHqHD_4joouCOvynFAA8r7bYvavHfsuyNvXoTgiG2JLZz1UnyLwU
 0scUnmVVxDY8YsyPNoP.4fsA0C8lXwd3357bgkdeguE9yDaCe5DTmOtfcB8xED7yLFSmrdDOjGi9
 UYjUeTfXgWQaAmjxHLFWUrJlujznK0wviX8fCGBbUcMOBlC0DQP4TkVuUAjwFZftXbK.6VLsu_wA
 Q7NL0EVaTWbbNSYadeLA2Z2WU2gu.Fk0828U8usTZSsCA.r4Rz.sALf5D1Dr8WzJwk0J6PHaafkS
 U_V.4il1YMEE.faCoTWBaHeV4ql4VLixigY6lTmC6SAYinB_6yRk_bwk81d7EDi3LyJxMC4Qe59q
 wEuRydSJNcOW9tPDqOOlyM9XfK.N4hbP3GyaP.LcELgPTOwN7KYvyYD_pkBYEOKIlfotSabpkHNb
 8lv4p9NcMcQQefmdK7VFoY44RCxMljSI9zLnQWCCK5QPdBLqtBbRXlpvIkFmT0hLhpr8vTZjQmyI
 K87xLP1elUfN.PGJOXzw0kpJ3cqvic4_D_i_GiYTeXgK1qpWQIuP1DTV7un1sO3LamHWDD79S.rQ
 DaYXpEsy9aSfxDl.NSSCN83K3NZBhfWQAhC2AlWvM5aBsCct_HZq0s_QGLzzlbgjqwaEKIi4sy01
 jVMr2LTR3NcG0S1saVhSrpPpNqkVmD57xLb4eRJPFTTAZ8QYy4AApMBllqezCTYJRZ.ptjr7fob6
 pYSs.Q5wIe27vQ2SfFLEqZTWJvqHjnbtngOTmkw94mwAGOEfvaHP1.Y83p2OxyssC_aKrtJ.T7z.
 yT9UnuONhZEmiFKqUGGiHfJ8w21yOmklzTpYXpPneGzQPch9Ifm_nLRaw9hGicn8SKytysuhGC7a
 _hBx8IanMK3gwZu3V_9raP7fHiRuLhg.dhmgQ1Qf3BEQTFmU5EFv5wDt4DZrdAh5IlQ7nUlONU.k
 L1T11ylF26K7V7vXuwaY10zL6pld1niuSRaJi.dH3kI6KpDi1otad8o99peMWH6mcNGc933IwbJu
 7zadaIN4Eosza3PdBIMZFNYcjX7ydpLqYuCZ_5sPFMJb8bwozozZLOCNGZ6GPbd8IeCIq3bNXxgQ
 TTeLvKI1botJU0aV72nTZPMm2gR6sSJeimKolVFRJfKkZ6hRY4HkNECGuRDNGZAGZK5u1f5SFj.2
 AIloMNg9vGo6hmyCCd3IfgSQLjYWzIZw257CmE00lamAXckdBIGH.VlrKDdZXUahtNcjI51AYnLv
 1J8tUJ8dwb0uwB_qqLj9g2zdXKoksJQ5Jqo0UDc7DBoXkfXhgjFAcVfVqwri2C8V6ErZpAS1897x
 g2w4VhNlRrM.g6CP4NBieB.EZtdDd5iJxcHHcKgFLc121Q8FuBVKJHq9rysafyG9LFyaoOwMssJ1
 QJAZFeSc8rzLyBk1dGpVPLCRfSSJdUp.NOviBhGykMw04u.uPVb2AH3Z4CyCsOksIxc.PCA0j867
 OKh6Jcr.gmya0lpMDXdBwuAsWlK8vm50Li0Pd1n4N.vKCyC92BD95Zi6M1E6QY.YObgYLFRDFZff
 s2WvBekbailsAIaefHtkLHHYMOpmhvp36bNi.ywtuzS6pkfeUeXIOBYGI9fgrrtiEGy31u2bu66i
 45Hthtioxatj018M55hsfwoWpDDOPrDbu01IcrGfDn6C..obbDGUQjgkZT2QNchy2GBE_pa_BxoC
 QzsHTrI0esrICPbCRJbYXDiL_m28DS7NTP_bKXvfk_8v8rfUAK2FGM1bne.9aeY6.SN.FFxCrS9v
 MMHZ2oJinMLGlbSgQVTKz1zPQN_vNCmiodjHUG8PR4fGIRwpxOrtmxq3Mf3cIv5I3k45IpvghvAO
 LR48YCcp0DwxmrCLNfqhX3CIlu916vVigHmXkkWZHMRaRBE6qhxhCY_s5zwjHr0V_HG6ngIzn1EA
 D8PTCzZq1I3_tTfgGAgBuZg33cUfe2v74Yw_tvIC4310T581YOTroAtQMvwAIYQEWTVXnMDAZNay
 mn9iBer8Fx46VQv9DVQGig7i3od7OvjtyTSE5xJB7iZve_88yFzk5Ee_Vv.qKPolPbPVPzw9ExqV
 WY8XGm3AJb4do7X4l0VZolR7rZ98pgvfkQPXNd_NMNvOk_gx0BBdpG7NoEjNEijkPeh_VzZfZRPb
 1Skwby7vFOANiZooRKYoPbN2H7jw_9mKZECCLRYsGFsZRpvo_WltS0zn57_mc00paacxEUXJqrxN
 LRhvHiFFkPCHzHbu0YJyNEthPzXtltqhV8Tu0bfERL4iDs2xSdyY3du4kWMRR3nLjOE0-
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: b2c0a276-6ca7-4424-b93e-6b77b849840b
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic306.consmr.mail.ne1.yahoo.com with HTTP; Sun, 15 Oct 2023 01:11:44 +0000
Received: by hermes--production-sg3-57f7997989-fcsf4 (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 708db02049574acf70d44f6658ce07d0; 
 Sun, 15 Oct 2023 01:11:38 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Yuchen Guo <yguo@HIDDEN>
Subject: Re: bug#66416: GDB output from new crash
In-Reply-To: <87mswll1u7.fsf@lan> (Yuchen Guo's message of "Sat, 14 Oct 2023
 14:23:44 +0000")
References: <87il7cxoyc.fsf@lan> <87edi0xnqx.fsf@lan> <83wmvsta00.fsf@HIDDEN>
 <87jzrs3x14.fsf@lan> <83r0m0t436.fsf@HIDDEN>
 <878r88aqnj.fsf@HIDDEN> <875y3bhpfz.fsf@lan>
 <83wmvpqxhw.fsf@HIDDEN> <87cyxha1i9.fsf@HIDDEN>
 <87sf6dl6lm.fsf@lan> <878r859xvq.fsf@HIDDEN> <87mswll1u7.fsf@lan>
Date: Sun, 15 Oct 2023 09:11:33 +0800
Message-ID: <87r0lw8zay.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21797
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 2220
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 66416
Cc: Eli Zaretskii <eliz@HIDDEN>, 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

Yuchen Guo <yguo@HIDDEN> writes:

> I'm currently starting Emacs server with systemd and hoping it would
> crash sooner, but not when I'm writing assignments. ;-)
>
> Update: the rebuild failed with the following output:
>
>   ELC      textmodes/less-css-mode.elc
>   ELC      textmodes/makeinfo.elc
>   ELC      textmodes/mhtml-mode.elc
>   ELC      textmodes/nroff-mode.elc
>   ELC      textmodes/page-ext.elc
>   ELC      textmodes/picture.elc
>
> =================================================================
> ==14797==ERROR: LeakSanitizer: detected memory leaks
>
> Indirect leak of 1528 byte(s) in 2 object(s) allocated from:
>     #0 0x7ffff79d7de7 in __interceptor_calloc (/nix/store/xq05361kqwzcdamcsxr4gzg8ksxrb8sg-gcc-12.3.0-lib/lib/libasan.so.8+0xbbde7)
>     #1 0x74ddda in lmalloc /build/source/src/alloc.c:1365
>
> Indirect leak of 1392 byte(s) in 8 object(s) allocated from:
>     #0 0x7ffff79d83ff in __interceptor_malloc (/nix/store/xq05361kqwzcdamcsxr4gzg8ksxrb8sg-gcc-12.3.0-lib/lib/libasan.so.8+0xbc3ff)
>     #1 0x74de07 in lmalloc /build/source/src/alloc.c:1365
>
> SUMMARY: AddressSanitizer: 2920 byte(s) leaked in 10 allocation(s).
> make[3]: *** [Makefile:332: progmodes/typescript-ts-mode.elc] Error 1
> make[3]: *** Waiting for unfinished jobs....
>
> =================================================================
> ==14881==ERROR: LeakSanitizer: detected memory leaks
>
> Indirect leak of 1528 byte(s) in 2 object(s) allocated from:
>     #0 0x7ffff79d7de7 in __interceptor_calloc (/nix/store/xq05361kqwzcdamcsxr4gzg8ksxrb8sg-gcc-12.3.0-lib/lib/libasan.so.8+0xbbde7)
>     #1 0x74ddda in lmalloc /build/source/src/alloc.c:1365
>
> Indirect leak of 1392 byte(s) in 8 object(s) allocated from:
>     #0 0x7ffff79d83ff in __interceptor_malloc (/nix/store/xq05361kqwzcdamcsxr4gzg8ksxrb8sg-gcc-12.3.0-lib/lib/libasan.so.8+0xbc3ff)
>     #1 0x74de07 in lmalloc /build/source/src/alloc.c:1365
>
> SUMMARY: AddressSanitizer: 2920 byte(s) leaked in 10 allocation(s).
> make[3]: *** [Makefile:332: textmodes/mhtml-mode.elc] Error 1
> make[3]: Leaving directory '/build/source/lisp'
> make[2]: *** [Makefile:366: compile-main] Error 2

What if you insert -fsanitize-recover=all in CFLAGS?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 14 Oct 2023 19:14:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 14 15:14:39 2023
Received: from localhost ([127.0.0.1]:50540 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qrk5t-0006yy-W0
	for submit <at> debbugs.gnu.org; Sat, 14 Oct 2023 15:14:39 -0400
Received: from mout01.posteo.de ([185.67.36.65]:33555)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yguo@HIDDEN>) id 1qrk5q-0006yj-J7
 for 66416 <at> debbugs.gnu.org; Sat, 14 Oct 2023 15:14:36 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id D9AF0240029
 for <66416 <at> debbugs.gnu.org>; Sat, 14 Oct 2023 21:14:04 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1697310844; bh=FdWG1bC/hyMlOGsJyShJ5EftmwC1I82+pfyqNXkI/w4=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From;
 b=d0TTyGfIuWgK7/o30k64YB0QjPWBoESADPRPki9MeN07znvdEVzi8blqUEDIANM0u
 adjJ1rk82SHxmobQVNLZPUnQoMBwDErF77D+ugRikGeGGAx61zfcbJuyJUGOG7MXfq
 VrKFmQv1XFNFm2sLTdukRlpmuTt+FWiK0trkD77U0G0wMVAJe69f9lcsmjWsrgg2NK
 gGI7B924/ocpWtylQPZ1QGv09Tl9nwOlLa1L6mb94R5hsk28MbviojeSmc3sC1L7Wu
 IuUa4IK9kaSsChm9MVo5H3dxLG/vIThR4RIQr2IVbLuyLAOJM7vgSBzU13eX2xCN1R
 OGgDaMWlIY/xg==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4S7Cj81mCdz9rxL;
 Sat, 14 Oct 2023 21:14:04 +0200 (CEST)
From: Yuchen Guo <yguo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: 29.1; pgtk build crashes due to ftcrfont
Date: Sat, 14 Oct 2023 19:14:03 +0000
Message-ID: <875y39uidg.fsf@lan>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: luangruo@HIDDEN, 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

I took the liberty of using a more descriptive email subject.

The build without Native Compilation also crashed, with mostly
identical causes.  This confirms the previous crashes are not one-off
events caused by M-x butterfly.

Here are the usual outputs from

      (gdb) bt full
      (gdb) fr 8
      (gdb) p cache
      (gdb) p ftcrfont_info->metrics[row]
      (gdb) p *ftcrfont_info

#0  0x000069d2a5a93a8c in __pthread_kill_implementation () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
No symbol table info available.
#1  0x000069d2a5a44c86 in raise () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
No symbol table info available.
#2  0x0000000000522793 in terminate_due_to_signal (sig=sig@entry=11, backtrace_limit=backtrace_limit@entry=40) at emacs.c:464
No locals.
#3  0x000000000053de25 in handle_fatal_signal (sig=sig@entry=11) at sysdep.c:1783
No locals.
#4  0x000000000053de52 in deliver_thread_signal (sig=sig@entry=11, handler=handler@entry=0x53de17 <handle_fatal_signal>) at sysdep.c:1775
        old_errno = 13
#5  0x000000000053deb6 in deliver_fatal_thread_signal (sig=sig@entry=11) at sysdep.c:1795
No locals.
#6  0x000000000053dfa5 in handle_sigsegv (sig=11, siginfo=<optimized out>, arg=<optimized out>) at sysdep.c:1888
        fatal = <optimized out>
#7  <signal handler called>
No symbol table info available.
#8  ftcrfont_glyph_extents (font=0x3fe60998, glyph=1182, metrics=metrics@entry=0x0) at ftcrfont.c:94
        ftcrfont_info = 0x3fe60998
        row = 9
        col = 30
        cache = 0x12d
#9  0x0000000000616e8e in ftcrfont_draw (s=0x77801d4f6d50, from=0, to=<optimized out>, x=427, y=427, with_background=<optimized out>) at ftcrfont.c:604
        f = 0x42a23c18
        ftcrfont_info = 0x3fe60998
        cr = 0x3f4a1280
        glyphs = 0x77801d4f68a0
        len = 1
        i = 0
#10 0x000000000063d1f9 in pgtk_draw_composite_glyph_string_foreground (s=s@entry=0x77801d4f6d50) at pgtkterm.c:1536
        xoff = <optimized out>
        yoff = <optimized out>
        wadjust = 0
        gstring = XIL(0x3fe60f2d)
        glyph = <optimized out>
        y = 431
        width = <optimized out>
        i = 0
        j = <optimized out>
        x = 426
        font = 0x3fe60998
#11 0x00000000006401c3 in pgtk_draw_glyph_string (s=0x77801d4f6d50) at pgtkterm.c:2525
        relief_drawn_p = false
        cr = 0x3f4a1280
#12 0x00000000004b3264 in draw_glyphs (w=w@entry=0x426092e0, x=483, row=0x3f3ab600, area=area@entry=TEXT_AREA, start=<optimized out>, start@entry=0, end=<optimized out>, end@entry=39, hl=<optimized out>, overlaps=<optimized out>) at xdisp.c:30636
        head = 0x77801d4f8040
        tail = 0x77801d4f69d0
        s = 0x77801d4f6d50
        clip_head = 0x0
        clip_tail = 0x0
        i = <optimized out>
        j = <optimized out>
        x_reached = <optimized out>
        last_x = <optimized out>
        area_left = <optimized out>
        f = <optimized out>
        sa_avail = 15820
        sa_count = <optimized out>
#13 0x00000000004b34f0 in gui_write_glyphs (w=0x426092e0, updated_row=<optimized out>, start=<optimized out>, updated_area=TEXT_AREA, len=39) at xdisp.c:32699
        x = <optimized out>
        hpos = 0
        chpos = 0
#14 0x0000000000466ce1 in update_text_area (w=w@entry=0x426092e0, updated_row=updated_row@entry=0x3f3ab600, vpos=vpos@entry=10, partial_p=partial_p@entry=0x77801d4f8387) at dispnew.c:4001
        current_row = 0x3f3830f0
        desired_row = 0x3f3ab600
        rif = 0xb3e360 <pgtk_redisplay_interface>
        changed_p = false
#15 0x0000000000469f48 in update_window_line (w=w@entry=0x426092e0, vpos=vpos@entry=10, mouse_face_overwritten_p=mouse_face_overwritten_p@entry=0x77801d4f8407) at dispnew.c:4259
        current_row = 0x3f3830f0
        desired_row = 0x3f3ab600
        rif = 0xb3e360 <pgtk_redisplay_interface>
        changed_p = false
        partial_p = false
        was_stipple = <optimized out>
#16 0x000000000046d5ef in update_window (w=w@entry=0x426092e0, force_p=force_p@entry=true) at dispnew.c:3731
        vpos = 10
        i = <optimized out>
        end = 0x3f3ada00
        tab_line_row = <optimized out>
        mouse_face_overwritten_p = false
        n_updated = 0
        mode_line_row = 0x3f3ada00
        changed_p = true
        invisible_rows_marked = false
        row = 0x3f3ab600
        header_line_row = <optimized out>
        yb = <optimized out>
        desired_matrix = 0x4253a6a0
        paused_p = <optimized out>
        preempt_count = <optimized out>
        rif = <optimized out>
#17 0x000000000046d991 in update_window_tree (w=w@entry=0x426092e0, force_p=force_p@entry=true) at dispnew.c:3456
        paused_p = false
#18 0x000000000046da91 in update_frame (f=f@entry=0x42a23c18, force_p=true, force_p@entry=false, inhibit_hairy_id_p=inhibit_hairy_id_p@entry=false) at dispnew.c:3291
        paused_p = <optimized out>
        root_window = 0x426092e0
#19 0x00000000004abe90 in redisplay_internal () at xdisp.c:17122
        gcscrollbars = true
        f_redisplay_flag = false
        f = 0x42a23c18
        w = 0x426092e0
        sw = <optimized out>
        fr = <optimized out>
        pending = false
        must_finish = <optimized out>
        match_p = <optimized out>
        tlbufpos = <optimized out>
        tlendpos = <optimized out>
        number_of_visible_frames = <optimized out>
        sf = <optimized out>
        polling_stopped_here = true
        tail = <optimized out>
        frame = XIL(0x42a23c1d)
        MAX_HSCROLL_RETRIES = MAX_HSCROLL_RETRIES
        hscroll_retries = <optimized out>
        MAX_GARBAGED_FRAME_RETRIES = MAX_GARBAGED_FRAME_RETRIES
        garbaged_frame_retries = 0
        consider_all_windows_p = <optimized out>
        update_miniwindow_p = <optimized out>
        count = <optimized out>
        retry_frame = <optimized out>
#20 0x00000000004ac707 in redisplay () at xdisp.c:16225
No locals.
#21 0x0000000000531938 in read_char (commandflag=1, map=map@entry=XIL(0x428bf0f3), prev_event=XIL(0), used_mouse_menu=used_mouse_menu@entry=0x77801d4f9c0b, end_time=end_time@entry=0x0) at keyboard.c:2636
        echo_current = true
        c = <optimized out>
        local_getcjmp = {{
            __jmpbuf = {0, 131392131275168, 0, 36960, 12440512, 0, 2, 3822},
            __mask_was_saved = 1072989109,
            __saved_mask = {
              __val = {5823051, 36960, 131392131275312, 2, 5940859, 1058952896, 1062107776, 1049704224, 5821465, 0, 1058952896, 1057136819, 5821812, 1057136659, 5482667, 4294967296}
            }
          }}
        save_jump = {{
            __jmpbuf = {0, 40272, 0, 0, 0, 131392131275504, 0, 1111710579},
            __mask_was_saved = 1,
            __saved_mask = {
              __val = {10518585111937802752, 1, 1116467347, 0, 10518585111937802752, 1116467427, 4294967295, 48, 5483074, 0, 0, 1053901840, 10518585111937802752, 8194, 0, 0}
            }
          }}
        tem = <optimized out>
        save = <optimized out>
        previous_echo_area_message = XIL(0)
        also_record = XIL(0)
        reread = false
        recorded = false
        polling_stopped_here = false
        orig_kboard = 0x3f225150
        jmpcount = <optimized out>
#22 0x00000000005330f1 in read_key_sequence (keybuf=keybuf@entry=0x77801d4f9d10, prompt=prompt@entry=XIL(0), dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false) at keyboard.c:10084
        interrupted_kboard = 0x3f225150
        interrupted_frame = 0x42a23c18
        key = <optimized out>
        used_mouse_menu = false
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = 0
        new_binding = <optimized out>
        count = <optimized out>
        t = 0
        echo_start = 0
        keys_start = 0
        current_binding = XIL(0x428bf0f3)
        first_unbound = 31
        mock_input = 0
        used_mouse_menu_history = {false <repeats 30 times>}
        fkey = {
          parent = XIL(0x3f040773),
          map = XIL(0x3f040773),
          start = 0,
          end = 0
        }
        keytran = {
          parent = XIL(0x69d29fddb043),
          map = XIL(0x69d29fddb043),
          start = 0,
          end = 0
        }
        indec = {
          parent = XIL(0x3f0407c3),
          map = XIL(0x3f0407c3),
          start = 0,
          end = 0
        }
        shift_translated = false
        delayed_switch_frame = XIL(0)
        original_uppercase = XIL(0x9060)
        original_uppercase_position = -1
        dummyflag = false
        starting_buffer = 0x3ff483b0
        fake_prefixed_keys = XIL(0)
        first_event = XIL(0)
        second_event = <optimized out>
#23 0x0000000000534557 in command_loop_1 () at keyboard.c:1384
        cmd = <optimized out>
        keybuf = {make_fixnum(8), make_fixnum(104), XIL(0xa0), XIL(0x77801d4f9d80), make_fixnum(0), XIL(0x30), XIL(0), XIL(0x59cb1d), XIL(0x34e0), XIL(0x60), XIL(0), XIL(0), XIL(0), XIL(0x59df58), XIL(0xb), XIL(0xed90), XIL(0x30), XIL(0x3ff483b5), XIL(0), XIL(0x91f9856df0c3e200), XIL(0xbd1480), XIL(0x429b3943), XIL(0x60), XIL(0x529bcb), XIL(0), XIL(0x69d29f4a770d), XIL(0xbd1480), XIL(0x91f9856df0c3e200), XIL(0x60), XIL(0x69d29f76f0db)}
        i = <optimized out>
        prev_modiff = 24
        prev_buffer = 0x69d29f4a7708
#24 0x000000000059d1ac in internal_condition_case (bfun=bfun@entry=0x53431d <command_loop_1>, handlers=handlers@entry=XIL(0x90), hfun=hfun@entry=0x529a60 <cmd_error>) at eval.c:1474
        val = <optimized out>
        c = 0x3e3dcfe0
#25 0x0000000000524551 in command_loop_2 (handlers=handlers@entry=XIL(0x90)) at keyboard.c:1133
        val = <optimized out>
#26 0x000000000059d11a in internal_catch (tag=tag@entry=XIL(0xfc90), func=func@entry=0x524537 <command_loop_2>, arg=arg@entry=XIL(0x90)) at eval.c:1197
        val = <optimized out>
        c = 0x3e3f9630
#27 0x000000000052450e in command_loop () at keyboard.c:1111
No locals.
#28 0x000000000052960a in recursive_edit_1 () at keyboard.c:720
        count = <optimized out>
        val = <optimized out>
#29 0x0000000000529959 in Frecursive_edit () at keyboard.c:803
        count = <optimized out>
        buffer = <optimized out>
#30 0x0000000000523a4c in main (argc=2, argv=<optimized out>) at emacs.c:2521
        stack_bottom_variable = 0x69d2a24c9da0 <(anonymous namespace)::moneypunct_cache_ct>
        no_loadup = false
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0x0
        original_pwd = <optimized out>
        dump_mode = <optimized out>
        skip_args = 1
        temacs = 0x0
        attempt_load_pdump = <optimized out>
        only_version = false
        rlim = {
          rlim_cur = 10022912,
          rlim_max = 18446744073709551615
        }
        lc_all = <optimized out>
        sockfd = -1
        module_assertions = <optimized out>
You can't do that without a process to debug.
#8  ftcrfont_glyph_extents (font=0x3fe60998, glyph=1182, metrics=metrics@entry=0x0) at ftcrfont.c:94
warning: Source file is more recent than executable.
94	  if (METRICS_STATUS (cache) == METRICS_INVALID)
$1 = (struct font_metrics *) 0x12d
$2 = (struct font_metrics *) 0x1
$3 = {
  font = {
    header = {
      size = 4611686018997895185
    },
    props = {XIL(0x7c50), XIL(0x3e581280), XIL(0x41493ef0), XIL(0), XIL(0x9870), make_fixnum(20544), make_fixnum(25632), make_fixnum(25664), make_fixnum(27), XIL(0), XIL(0), make_fixnum(0), XIL(0x42277373), XIL(0), XIL(0x40229f14), XIL(0x40229ef4), XIL(0x402299a4)},
    min_width = 8,
    max_width = 29,
    pixel_size = 27,
    height = 39,
    space_width = 10,
    average_width = 15,
    ascent = 31,
    descent = 8,
    underline_thickness = 0,
    underline_position = 3,
    vertical_centering = false,
    baseline_offset = 0,
    relative_compose = 0,
    default_ascent = 0,
    encoding_charset = -1,
    repertory_charset = -1,
    driver = 0xc0ece0 <ftcrhbfont_driver>
  },
  ft_size = 0x0,
  index = 1072040480,
  matrix = {
    xx = 0,
    xy = 1109821571,
    yx = 5,
    yy = 0
  },
  hb_font = 0x0,
  cr_scaled_font = 0x4211a9e0,
  bitmap_position_unit = 0,
  metrics = 0x41412720,
  metrics_nrows = 10
}
quit
#0  0x00006e1dcf955a8c in __pthread_kill_implementation () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
No symbol table info available.
#1  0x00006e1dcf906c86 in raise () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
No symbol table info available.
#2  0x0000000000520389 in terminate_due_to_signal (sig=sig@entry=11, backtrace_limit=backtrace_limit@entry=40) at emacs.c:464
No locals.
#3  0x000000000053b9c3 in handle_fatal_signal (sig=sig@entry=11) at sysdep.c:1783
No locals.
#4  0x000000000053b9f0 in deliver_thread_signal (sig=sig@entry=11, handler=handler@entry=0x53b9b5 <handle_fatal_signal>) at sysdep.c:1775
        old_errno = 11
#5  0x000000000053ba54 in deliver_fatal_thread_signal (sig=sig@entry=11) at sysdep.c:1795
No locals.
#6  0x000000000053bb43 in handle_sigsegv (sig=11, siginfo=<optimized out>, arg=<optimized out>) at sysdep.c:1888
        fatal = <optimized out>
#7  <signal handler called>
No symbol table info available.
#8  ftcrfont_glyph_extents (font=0x20a9e158, glyph=1177, metrics=metrics@entry=0x0) at ftcrfont.c:94
        ftcrfont_info = 0x20a9e158
        row = 9
        col = 25
        cache = 0x1000100000000fa
#9  0x000000000060a433 in ftcrfont_draw (s=0x78f5309c62d0, from=0, to=<optimized out>, x=163, y=810, with_background=<optimized out>) at ftcrfont.c:604
        f = 0x2f2eec08
        ftcrfont_info = 0x20a9e158
        cr = 0x2f9c4350
        glyphs = 0x78f5309c5740
        len = 1
        i = 0
#10 0x000000000063079e in pgtk_draw_composite_glyph_string_foreground (s=s@entry=0x78f5309c62d0) at pgtkterm.c:1536
        xoff = <optimized out>
        yoff = <optimized out>
        wadjust = 0
        gstring = XIL(0x2fa14bb5)
        glyph = <optimized out>
        y = 810
        width = <optimized out>
        i = 0
        j = <optimized out>
        x = 148
        font = 0x20a9e158
#11 0x0000000000633768 in pgtk_draw_glyph_string (s=0x78f5309c62d0) at pgtkterm.c:2525
        relief_drawn_p = false
        cr = 0x2f9c4350
#12 0x00000000004b0e64 in draw_glyphs (w=w@entry=0x2f2eee50, x=677, row=0x2f1a1400, area=area@entry=TEXT_AREA, start=<optimized out>, start@entry=0, end=<optimized out>, end@entry=20, hl=<optimized out>, overlaps=<optimized out>) at xdisp.c:30636
        head = 0x78f5309c6590
        tail = 0x78f5309c5870
        s = 0x78f5309c62d0
        clip_head = 0x0
        clip_tail = 0x0
        i = <optimized out>
        j = <optimized out>
        x_reached = <optimized out>
        last_x = <optimized out>
        area_left = <optimized out>
        f = <optimized out>
        sa_avail = 16148
        sa_count = <optimized out>
#13 0x00000000004b10f0 in gui_write_glyphs (w=0x2f2eee50, updated_row=<optimized out>, start=<optimized out>, updated_area=TEXT_AREA, len=20) at xdisp.c:32699
        x = <optimized out>
        hpos = 0
        chpos = 0
#14 0x00000000004648e1 in update_text_area (w=w@entry=0x2f2eee50, updated_row=updated_row@entry=0x2f1a1400, vpos=vpos@entry=20, partial_p=partial_p@entry=0x78f5309c68d7) at dispnew.c:4001
        current_row = 0x351f5410
        desired_row = 0x2f1a1400
        rif = 0xb2d320 <pgtk_redisplay_interface>
        changed_p = false
#15 0x0000000000467b48 in update_window_line (w=w@entry=0x2f2eee50, vpos=vpos@entry=20, mouse_face_overwritten_p=mouse_face_overwritten_p@entry=0x78f5309c6957) at dispnew.c:4259
        current_row = 0x351f5410
        desired_row = 0x2f1a1400
        rif = 0xb2d320 <pgtk_redisplay_interface>
        changed_p = false
        partial_p = false
        was_stipple = <optimized out>
#16 0x000000000046b1ef in update_window (w=w@entry=0x2f2eee50, force_p=force_p@entry=true) at dispnew.c:3731
        vpos = 20
        i = <optimized out>
        end = 0x2f1a2e00
        tab_line_row = <optimized out>
        mouse_face_overwritten_p = false
        n_updated = 0
        mode_line_row = 0x2f1a2e00
        changed_p = true
        invisible_rows_marked = false
        row = 0x2f1a1400
        header_line_row = <optimized out>
        yb = <optimized out>
        desired_matrix = 0x2f28b710
        paused_p = <optimized out>
        preempt_count = <optimized out>
        rif = <optimized out>
#17 0x000000000046b591 in update_window_tree (w=w@entry=0x2f2eee50, force_p=force_p@entry=true) at dispnew.c:3456
        paused_p = false
#18 0x000000000046b691 in update_frame (f=f@entry=0x2f2eec08, force_p=true, force_p@entry=false, inhibit_hairy_id_p=inhibit_hairy_id_p@entry=false) at dispnew.c:3291
        paused_p = <optimized out>
        root_window = 0x2f2eee50
#19 0x00000000004a9e8c in redisplay_internal () at xdisp.c:17225
        mini_window = <optimized out>
        mini_frame = <optimized out>
        w = 0x2f2eee50
        sw = <optimized out>
        fr = <optimized out>
        pending = false
        must_finish = <optimized out>
        match_p = <optimized out>
        tlbufpos = <error reading variable tlbufpos (DWARF-2 expression error: DW_OP_GNU_uninit must always be the very last op.)>
        tlendpos = <optimized out>
        number_of_visible_frames = 2
        sf = <optimized out>
        polling_stopped_here = true
        tail = <optimized out>
        frame = <optimized out>
        MAX_HSCROLL_RETRIES = MAX_HSCROLL_RETRIES
        hscroll_retries = <optimized out>
        MAX_GARBAGED_FRAME_RETRIES = MAX_GARBAGED_FRAME_RETRIES
        garbaged_frame_retries = <optimized out>
        consider_all_windows_p = <optimized out>
        update_miniwindow_p = <optimized out>
        count = <optimized out>
        retry_frame = <optimized out>
#20 0x00000000004aa307 in redisplay () at xdisp.c:16225
No locals.
#21 0x000000000052f4d6 in read_char (commandflag=1, map=map@entry=XIL(0x25eaf2d3), prev_event=XIL(0), used_mouse_menu=used_mouse_menu@entry=0x78f5309c815b, end_time=end_time@entry=0x0) at keyboard.c:2636
        echo_current = true
        c = <optimized out>
        local_getcjmp = {{
            __jmpbuf = {2, 976, 563247573, 36960, 12323008, 0, 2, 6170},
            __mask_was_saved = 563247573,
            __saved_mask = {
              __val = {5811199, 36960, 132994477883264, 2, 0, 0, 5872571, 490317408, 96, 0, 545277696, 537969459, 5809960, 537969475, 5473353, 4294967296}
            }
          }}
        save_jump = {{
            __jmpbuf = {0, 40272, 0, 0, 0, 132994477883456, 0, 691299971},
            __mask_was_saved = 1,
            __saved_mask = {
              __val = {7914867513802438656, 1541, 636154787, 0, 7914867513802438656, 636154627, 4294967295, 48, 5473760, 0, 0, 484746464, 7914867513802438656, 6166, 0, 0}
            }
          }}
        tem = <optimized out>
        save = <optimized out>
        previous_echo_area_message = XIL(0)
        also_record = XIL(0)
        reread = false
        recorded = false
        polling_stopped_here = false
        orig_kboard = 0x1d0744c0
        jmpcount = <optimized out>
#22 0x0000000000530c8f in read_key_sequence (keybuf=keybuf@entry=0x78f5309c8260, prompt=prompt@entry=XIL(0), dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false) at keyboard.c:10084
        interrupted_kboard = 0x1d0744c0
        interrupted_frame = 0x2f2eec08
        key = <optimized out>
        used_mouse_menu = false
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = 0
        new_binding = <optimized out>
        count = <optimized out>
        t = 0
        echo_start = 0
        keys_start = 0
        current_binding = XIL(0x25eaf2d3)
        first_unbound = 31
        mock_input = 0
        used_mouse_menu_history = {false <repeats 30 times>}
        fkey = {
          parent = XIL(0x1ceebe33),
          map = XIL(0x1ceebe33),
          start = 0,
          end = 0
        }
        keytran = {
          parent = XIL(0x6e1dca15dd7b),
          map = XIL(0x6e1dca15dd7b),
          start = 0,
          end = 0
        }
        indec = {
          parent = XIL(0x1ceebed3),
          map = XIL(0x1ceebed3),
          start = 0,
          end = 0
        }
        shift_translated = false
        delayed_switch_frame = XIL(0)
        original_uppercase = XIL(0)
        original_uppercase_position = -1
        dummyflag = false
        starting_buffer = 0x219279d0
        fake_prefixed_keys = XIL(0)
        first_event = XIL(0)
        second_event = <optimized out>
#23 0x00000000005320f5 in command_loop_1 () at keyboard.c:1384
        cmd = <optimized out>
        keybuf = {make_fixnum(22), make_fixnum(104), XIL(0x3), XIL(0x78f5309c82d0), make_fixnum(0), XIL(0x30), XIL(0), XIL(0x599bbb), XIL(0x63f0), XIL(0x60), XIL(0), XIL(0), XIL(0), make_fixnum(1469437), XIL(0xb), XIL(0xed90), XIL(0x30), XIL(0x204c923d), XIL(0), XIL(0x6dd74211ac793800), XIL(0xbb49a0), XIL(0x26034ee3), XIL(0x60), XIL(0x527769), XIL(0), XIL(0x6e1dc99eb70d), XIL(0xbb49a0), XIL(0x6dd74211ac793800), XIL(0x60), XIL(0x6e1dca167b2b)}
        i = <optimized out>
        prev_modiff = 669
        prev_buffer = 0x219279d0
#24 0x000000000059a24a in internal_condition_case (bfun=bfun@entry=0x531ebb <command_loop_1>, handlers=handlers@entry=XIL(0x90), hfun=hfun@entry=0x5275fe <cmd_error>) at eval.c:1474
        val = <optimized out>
        c = 0x1c6b4d00
#25 0x00000000005220ef in command_loop_2 (handlers=handlers@entry=XIL(0x90)) at keyboard.c:1133
        val = <optimized out>
#26 0x000000000059a1b8 in internal_catch (tag=tag@entry=XIL(0xfc90), func=func@entry=0x5220d5 <command_loop_2>, arg=arg@entry=XIL(0x90)) at eval.c:1197
        val = <optimized out>
        c = 0x1c6743c0
#27 0x00000000005220ac in command_loop () at keyboard.c:1111
No locals.
#28 0x00000000005271a8 in recursive_edit_1 () at keyboard.c:720
        count = <optimized out>
        val = <optimized out>
#29 0x00000000005274f7 in Frecursive_edit () at keyboard.c:803
        count = <optimized out>
        buffer = <optimized out>
#30 0x0000000000521642 in main (argc=2, argv=0x78f5309c8618) at emacs.c:2521
        stack_bottom_variable = 0x6e1dcbef0da0 <(anonymous namespace)::moneypunct_cache_ct>
        no_loadup = false
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0x0
        original_pwd = <optimized out>
        dump_mode = <optimized out>
        skip_args = 1
        temacs = 0x0
        attempt_load_pdump = <optimized out>
        only_version = false
        rlim = {
          rlim_cur = 10022912,
          rlim_max = 18446744073709551615
        }
        lc_all = <optimized out>
        sockfd = -1
        module_assertions = <optimized out>
You can't do that without a process to debug.
#8  ftcrfont_glyph_extents (font=0x20a9e158, glyph=1177, metrics=metrics@entry=0x0) at ftcrfont.c:94
warning: Source file is more recent than executable.
94	  if (METRICS_STATUS (cache) == METRICS_INVALID)
$1 = (struct font_metrics *) 0x1000100000000fa
$2 = (struct font_metrics *) 0x100010000000000
$3 = {
  font = {
    header = {
      size = 4611686018997895185
    },
    props = {XIL(0x7c50), XIL(0x1c4b3380), XIL(0x1cccc130), XIL(0), XIL(0x9870), make_fixnum(20544), make_fixnum(25632), make_fixnum(25664), make_fixnum(27), XIL(0), XIL(0), make_fixnum(0), XIL(0x2938b6a3), XIL(0), XIL(0x2f874854), XIL(0x2f874874), XIL(0x2f0a7034)},
    min_width = 8,
    max_width = 29,
    pixel_size = 27,
    height = 39,
    space_width = 10,
    average_width = 15,
    ascent = 31,
    descent = 8,
    underline_thickness = 0,
    underline_position = 3,
    vertical_centering = false,
    baseline_offset = 0,
    relative_compose = 0,
    default_ascent = 0,
    encoding_charset = -1,
    repertory_charset = -1,
    driver = 0xbded80 <ftcrhbfont_driver>
  },
  ft_size = 0x0,
  index = 1,
  matrix = {
    xx = 0,
    xy = 1,
    yx = 1,
    yy = 0
  },
  hb_font = 0x0,
  cr_scaled_font = 0x2f0c5b30,
  bitmap_position_unit = 0,
  metrics = 0x206b8c60,
  metrics_nrows = 10
}
quit




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 14 Oct 2023 15:41:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 14 11:41:23 2023
Received: from localhost ([127.0.0.1]:50232 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qrglX-0008AD-AA
	for submit <at> debbugs.gnu.org; Sat, 14 Oct 2023 11:41:23 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:59248)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qrglV-0008A1-PA
 for 66416 <at> debbugs.gnu.org; Sat, 14 Oct 2023 11:41:22 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qrgl2-0006TA-Qy; Sat, 14 Oct 2023 11:40:52 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=YHmR10ikJ6Zy6RPniqdfm8dB3qBykL4HwWfTQ1S44cI=; b=OMj8frCqFUgN
 xjGxLYWin3BQ7LaraygR79JF3F5GL/pE46+R7fe7yFWPGqECvEUVTadu03Dqh+/md7mb+UBR4dfbc
 V0AQgL3zYCCiYjHqjNygYSuOJoeqyDoPz8anKgdJauA81GG0OCFtEhYZx0w1hLVq18QKQ+Im1kZOi
 3t4zvJhxQojK4i/zRtUDoMca2fw6nVn77cdjuUJA1d99p/7xe2+RwuY2XvPuRbbIue9i40/B4h5MN
 GuA/V4OJ1Gp2/t5B01tJxG3FNA4HJPMgW8C1otSbfzbKyzPN3psgPx02KcQRqYH1X5NLdlHvwa4V0
 eMHcWzXa+z2hT39E3VWd6Q==;
Date: Sat, 14 Oct 2023 18:40:53 +0300
Message-Id: <83o7h1qkje.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Yuchen Guo <yguo@HIDDEN>
In-Reply-To: <87mswll1u7.fsf@lan> (message from Yuchen Guo on Sat, 14 Oct 2023
 14:23:44 +0000)
Subject: Re: bug#66416: GDB output from new crash
References: <87il7cxoyc.fsf@lan> <87edi0xnqx.fsf@lan> <83wmvsta00.fsf@HIDDEN>
 <87jzrs3x14.fsf@lan> <83r0m0t436.fsf@HIDDEN>
 <878r88aqnj.fsf@HIDDEN> <875y3bhpfz.fsf@lan>
 <83wmvpqxhw.fsf@HIDDEN> <87cyxha1i9.fsf@HIDDEN>
 <87sf6dl6lm.fsf@lan> <878r859xvq.fsf@HIDDEN> <87mswll1u7.fsf@lan>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: luangruo@HIDDEN, 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Yuchen Guo <yguo@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>,  66416 <at> debbugs.gnu.org
> Date: Sat, 14 Oct 2023 14:23:44 +0000
> 
> Po Lu <luangruo@HIDDEN> writes:
> 
> > Is it possible to build Emacs with -fsanitize=address?
> 
> Yes, I've added this argument to CFLAGS and am rebuilding now.
> 
> Of note, I rebuilt pgtk Emacs without native compilation in order to
> save time. Emacs has not yet crashed since that rebuild.  Don't know if
> this might be related.
> 
> > This is further expounded upon in the GCC manual, and IME generally
> > proves fruitful for such spasmodic bugs, since you can run Emacs with
> > address sanitization enabled for extended periods of time as your
> > "daily driver" (vis-a-vis tools such as Valgrind, which incur a
> > prohibitive performance penalty).
> 
> I'm currently starting Emacs server with systemd and hoping it would
> crash sooner, but not when I'm writing assignments. ;-)
> 
> Update: the rebuild failed with the following output:
> 
>   ELC      textmodes/less-css-mode.elc
>   ELC      textmodes/makeinfo.elc
>   ELC      textmodes/mhtml-mode.elc
>   ELC      textmodes/nroff-mode.elc
>   ELC      textmodes/page-ext.elc
>   ELC      textmodes/picture.elc
> 
> =================================================================
> ==14797==ERROR: LeakSanitizer: detected memory leaks
> 
> Indirect leak of 1528 byte(s) in 2 object(s) allocated from:
>     #0 0x7ffff79d7de7 in __interceptor_calloc (/nix/store/xq05361kqwzcdamcsxr4gzg8ksxrb8sg-gcc-12.3.0-lib/lib/libasan.so.8+0xbbde7)
>     #1 0x74ddda in lmalloc /build/source/src/alloc.c:1365
> 
> Indirect leak of 1392 byte(s) in 8 object(s) allocated from:
>     #0 0x7ffff79d83ff in __interceptor_malloc (/nix/store/xq05361kqwzcdamcsxr4gzg8ksxrb8sg-gcc-12.3.0-lib/lib/libasan.so.8+0xbc3ff)
>     #1 0x74de07 in lmalloc /build/source/src/alloc.c:1365
> 
> SUMMARY: AddressSanitizer: 2920 byte(s) leaked in 10 allocation(s).
> make[3]: *** [Makefile:332: progmodes/typescript-ts-mode.elc] Error 1
> make[3]: *** Waiting for unfinished jobs....
> 
> =================================================================
> ==14881==ERROR: LeakSanitizer: detected memory leaks
> 
> Indirect leak of 1528 byte(s) in 2 object(s) allocated from:
>     #0 0x7ffff79d7de7 in __interceptor_calloc (/nix/store/xq05361kqwzcdamcsxr4gzg8ksxrb8sg-gcc-12.3.0-lib/lib/libasan.so.8+0xbbde7)
>     #1 0x74ddda in lmalloc /build/source/src/alloc.c:1365
> 
> Indirect leak of 1392 byte(s) in 8 object(s) allocated from:
>     #0 0x7ffff79d83ff in __interceptor_malloc (/nix/store/xq05361kqwzcdamcsxr4gzg8ksxrb8sg-gcc-12.3.0-lib/lib/libasan.so.8+0xbc3ff)
>     #1 0x74de07 in lmalloc /build/source/src/alloc.c:1365
> 
> SUMMARY: AddressSanitizer: 2920 byte(s) leaked in 10 allocation(s).
> make[3]: *** [Makefile:332: textmodes/mhtml-mode.elc] Error 1
> make[3]: Leaving directory '/build/source/lisp'
> make[2]: *** [Makefile:366: compile-main] Error 2

I think it is best to suppress memory-leak testing at this stage,
since the problems we are investigating cannot be caused by leaks (if
these leaks are real leaks at all).




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 14 Oct 2023 14:24:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 14 10:24:18 2023
Received: from localhost ([127.0.0.1]:50073 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qrfYw-0005dS-75
	for submit <at> debbugs.gnu.org; Sat, 14 Oct 2023 10:24:18 -0400
Received: from mout02.posteo.de ([185.67.36.66]:59955)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yguo@HIDDEN>) id 1qrfYt-0005dE-9v
 for 66416 <at> debbugs.gnu.org; Sat, 14 Oct 2023 10:24:17 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id BA4F0240106
 for <66416 <at> debbugs.gnu.org>; Sat, 14 Oct 2023 16:23:45 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1697293425; bh=IVPUh1aa+O286oLsCe4wJYDpFp3J8TGsvOOO5qAIJvI=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From;
 b=i1YNF0NJeIKY112YkluIFGpb65Pe5j+7G/RCjsGNGHibIXg7MO91vP058mgoJ3ucy
 6FNxj7vRifKAG/QjT0y2EHsYACjaRPDScmZ3+VpuZEkFLpru6gQGb9XefizrjzrR2O
 qwxQPXHEKNdJ3fw6m7FoYbYp0kwdBJa2Da/2t8faz8D5ZjB2G91Bi93MGrq28zY5t/
 WfCPNpgG0U8GCSxuRqhvGCROH9iQnhVPRoS7ODbxqEb00lKr83pmJ3QE8Q6Wkw/L45
 vRY5ViGWBibFljr3+CaxRl3o32Qqah74qTxSnnaWsHKj5XIDO+aSenhVT0TmCp2ZQ+
 xOCjPEw0zcMwA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4S75G91tt1z6tvq;
 Sat, 14 Oct 2023 16:23:45 +0200 (CEST)
From: Yuchen Guo <yguo@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
Subject: Re: bug#66416: GDB output from new crash
In-Reply-To: <878r859xvq.fsf@HIDDEN> (Po Lu's message of "Sat, 14 Oct 2023
 20:44:41 +0800")
References: <87il7cxoyc.fsf@lan> <87edi0xnqx.fsf@lan> <83wmvsta00.fsf@HIDDEN>
 <87jzrs3x14.fsf@lan> <83r0m0t436.fsf@HIDDEN>
 <878r88aqnj.fsf@HIDDEN> <875y3bhpfz.fsf@lan>
 <83wmvpqxhw.fsf@HIDDEN> <87cyxha1i9.fsf@HIDDEN>
 <87sf6dl6lm.fsf@lan> <878r859xvq.fsf@HIDDEN>
Date: Sat, 14 Oct 2023 14:23:44 +0000
Message-ID: <87mswll1u7.fsf@lan>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: Eli Zaretskii <eliz@HIDDEN>, 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Po Lu <luangruo@HIDDEN> writes:

> Is it possible to build Emacs with -fsanitize=address?

Yes, I've added this argument to CFLAGS and am rebuilding now.

Of note, I rebuilt pgtk Emacs without native compilation in order to
save time. Emacs has not yet crashed since that rebuild.  Don't know if
this might be related.

> This is further expounded upon in the GCC manual, and IME generally
> proves fruitful for such spasmodic bugs, since you can run Emacs with
> address sanitization enabled for extended periods of time as your
> "daily driver" (vis-a-vis tools such as Valgrind, which incur a
> prohibitive performance penalty).

I'm currently starting Emacs server with systemd and hoping it would
crash sooner, but not when I'm writing assignments. ;-)

Update: the rebuild failed with the following output:

  ELC      textmodes/less-css-mode.elc
  ELC      textmodes/makeinfo.elc
  ELC      textmodes/mhtml-mode.elc
  ELC      textmodes/nroff-mode.elc
  ELC      textmodes/page-ext.elc
  ELC      textmodes/picture.elc

=================================================================
==14797==ERROR: LeakSanitizer: detected memory leaks

Indirect leak of 1528 byte(s) in 2 object(s) allocated from:
    #0 0x7ffff79d7de7 in __interceptor_calloc (/nix/store/xq05361kqwzcdamcsxr4gzg8ksxrb8sg-gcc-12.3.0-lib/lib/libasan.so.8+0xbbde7)
    #1 0x74ddda in lmalloc /build/source/src/alloc.c:1365

Indirect leak of 1392 byte(s) in 8 object(s) allocated from:
    #0 0x7ffff79d83ff in __interceptor_malloc (/nix/store/xq05361kqwzcdamcsxr4gzg8ksxrb8sg-gcc-12.3.0-lib/lib/libasan.so.8+0xbc3ff)
    #1 0x74de07 in lmalloc /build/source/src/alloc.c:1365

SUMMARY: AddressSanitizer: 2920 byte(s) leaked in 10 allocation(s).
make[3]: *** [Makefile:332: progmodes/typescript-ts-mode.elc] Error 1
make[3]: *** Waiting for unfinished jobs....

=================================================================
==14881==ERROR: LeakSanitizer: detected memory leaks

Indirect leak of 1528 byte(s) in 2 object(s) allocated from:
    #0 0x7ffff79d7de7 in __interceptor_calloc (/nix/store/xq05361kqwzcdamcsxr4gzg8ksxrb8sg-gcc-12.3.0-lib/lib/libasan.so.8+0xbbde7)
    #1 0x74ddda in lmalloc /build/source/src/alloc.c:1365

Indirect leak of 1392 byte(s) in 8 object(s) allocated from:
    #0 0x7ffff79d83ff in __interceptor_malloc (/nix/store/xq05361kqwzcdamcsxr4gzg8ksxrb8sg-gcc-12.3.0-lib/lib/libasan.so.8+0xbc3ff)
    #1 0x74de07 in lmalloc /build/source/src/alloc.c:1365

SUMMARY: AddressSanitizer: 2920 byte(s) leaked in 10 allocation(s).
make[3]: *** [Makefile:332: textmodes/mhtml-mode.elc] Error 1
make[3]: Leaving directory '/build/source/lisp'
make[2]: *** [Makefile:366: compile-main] Error 2




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 14 Oct 2023 12:45:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 14 08:45:25 2023
Received: from localhost ([127.0.0.1]:48095 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qre1F-0004I2-KX
	for submit <at> debbugs.gnu.org; Sat, 14 Oct 2023 08:45:25 -0400
Received: from sonic314-20.consmr.mail.ne1.yahoo.com ([66.163.189.146]:41677)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1qre1D-0004Hm-FH
 for 66416 <at> debbugs.gnu.org; Sat, 14 Oct 2023 08:45:24 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1697287494; bh=+7AMjiFlXopOfE8LPluJB7uwRonmiI4W6YeZ4m0KiSs=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=V7OPulotGl/gRQS9p2EwD+kNB5rDygAhGGp+Dx+ATwhzqMzb3i0I6ny97UHKc96BUEMf8FLXHb/qxQSecIlauvadgQG84FVTqWWHHwbGt98DhhHAKCjBpWMsL7WCay1yEWuF3Sta6k+G5uD7JA6kB82jOFkTxak3SoRmcWeCYVA6eT/EYJ3AI3+XIyjO3L4TU4hqC+yj1OZ0KKMyreylctBwI9E8jGCd0CBv+teFkBH4m3o8koFZVb8QTuJKMcNB0g3wP64q1Nkyhq1Lnnbp66Txudekhq9fyf39VGOHwbDkmobDC8QzOdzc6P/2gNVuqZodIBAi4eOyJCy4tqzgHQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1697287494; bh=bK6qcXI2LD4NFza6eWb+xr5I7gW4gBc4a8zm8Jia6SD=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=ioGGdL3ZGhPFQ6wAZhoiVY0ElGHy9KmdeOlY4goVcUOOKJYFzzsu5gCc0WXsf6+ZlHSyIfJBy3/xs/UnuatgVSKleNysWmFRH/k9ecp5MD9/hkSRJsDPGa0vifubKzK9f65D/mQYLDBRmjh/JVwWa3mmfNajuK93vB1XQiQoVSq6e85tGOah4Zm1PS6iHhdFaxyVbT/LL6MK/VnH3ZNyk4MrfiarQb86hnjqUp16goVR22vJlFti5iNkFSeloGISvpxKm7MWee8McMUR43qs1VrGyXeq+sPErdev6MYNzZ6rwVUWkdv+6o5rLEJqZdEKau3a9zDW8CM4/XGT0QLXVw==
X-YMail-OSG: jVIBaZIVM1kdz4oU4vVdD4N9iIcXyxHp4Fk8eM7Nd5LCy.StT96LE_NUNOLzgWN
 j4stj6Douuk0wT1NYEF2PLA7cLy5ra6f4OJ3wSqf_U51up1.RCFgVFBxU06CoogUToSYRPQT2D0S
 k9i5VffKBZlTmx62yZE.3PeEW1LE5m3pH6a8stFhAGW.utzWOiDZlnJk1T5BpNqGWfHG8tIBAuwL
 bIlF1m2ftwq1D_xR7GDj90CycfCgWm632ndeQf7HiNGA5zxZBK0bTsK20UE_HX2BxOlaKK5g1uFI
 6rZSC1yuLqM.mOFB7Ht_2itdQcDEJDOi9CHaMBcfoLeKxxKWC83R_XdVN3Tco48FZbYmGkAW56C5
 YAkqRyfM2.Xig2fkX046seqiJn9tmDForYyyuF_QH10N1Ey61kegtOknMOiXDm5MUMDJRRFjNbwN
 ncb4Kc5bQPAKQm5pgA45SMR_em38aQ6DiD2oQTG6TCbbUu1n4aVrez58oxVkXxdT_bZ6DhAYJ_mI
 EuWSb55s3UsaNWa4ACY94aPriM7E2K1CVzk9kdDsTwYX9DXXjqwuUsZr7YeOUoLiSwl97pmSwdBI
 5Qt4.3NbITkPDmzAqRogkJu3zCCNOkn8J.YPCi.E2Qn9IH9Hn9t5ew._LwdnyaimSkIr3jG0VZwe
 rmw8CRfapvNuz1DQsL7QNOGP2zxpL2jLjhvPDwbrkGCiE3_FuuZLqrwAGnRhr9mMEC05VDNWZyU_
 Z.aGenjZjKEtENT2TjQrvSms.AKgbHCTo0p3pCwMP5T_wh_FkO7vce9EvIlCP5bzkkuz86fwnXHl
 _jTJxLew_MFvEzZ87Wq8Z3FBOC4RycUxC0UIKHwHA3.3YsEZCiXbIp3gyk8dLjhUgeYm3LcrJMIQ
 o4w_67NGs2y1NkREx4xuuxpfeOPF9Rn0TtZ3xPdDm3gXJuxVHhnKwgzuL6fX2etXWRA17IFhlGa1
 C6GE1FTvJsAeofC9boktcbMSRvL2lQgBDJV7kzmk5O6NFlTq8Uv7s81rTN7UOCxhViDx.PccdJiD
 .pmBVzr4IRhAqFFtGM9mIu.WKgZT0fuHTStqTgxNyRs5O1XpYhxiIt_mu3kuDJDoB1Nc5a7qY6US
 e6qGQ3E.znV4zksT8rneyihltWAmuLmMaBgWeU_hRViEfVz_LOpYnINLImTWkiDI0muoGykK0MBL
 HY5ebMAGgSAlj7NQT6uXne7MLxKIEtpGxOD4HVJVKYKydX1igZyYyJq7cN1cxWTgsHaQqgLsRivf
 NyA057_2.BNICVatCXnSEPNaNy9.nqpgiyT0jMFIuIjpAagNRY5oeVAs_AGOk4lrGw1loEZ7W80u
 wvhifhwFk0GxSQ3YoWRJF6n3YOlHWyKoA0LNOAYmPMFj_pynblA5eIWtfaQVe.vlTb3W1KxqTr0l
 52BLzZ_qfLvtan8Dxv3S6M8gvmfls_CGCjm9N85Jvrm2tmUhCz2KiHH54h_Bk1Xa4I9MOj0RLpx6
 d5yOR_r6NVPYWpWR0yG58EpPeq8LWqei3gUHHUINfbXnwmcEsdtAu6uIUW32Y8yRo7wbGHO5xSWZ
 dqyETo3yjWkw96EgI4Zn1Sv68eQjg51yiaoVXmxmKSUQzBS3xs4KAtu2r8NYXOcLlwd6JQQvQwVE
 SeQmPff2UJbmJ85oh.3_vUP4yqVk4beKyhwITcW4gkp9qZ_hUHtwGxuI9wDRkb_1ZJgQaGqOK4E6
 fMROwoobRfg8JKiy_R.cKghou5Hj40.C2GnIuNdHfDrVSadrRqFRd1ESMtt4XuiZzswuOWKxSeVS
 Y2De01QioWb4EDJJPAkZzuaPEnjbq7r66cefFn0FxedTEKDKyqbCkjvh.rJ9JwUIr5NjXfTvjkm5
 UU4osaEnDextPLi6IEXC.gw5x3kCtokVujMxE93ZpGLsDFnsARSDBy0TkQccXqmtIYysNHsoziwx
 82g2afJhRU_DaYBB4gcM833FsAKnA3gNd.Eq7dZiiSrapbESXsFMR9Sth1uPzYgB9xyA0PueAFAd
 ctd2703sQvDt5YUhDpdS2PNcuMfuxShEHYT4ULrmP60Ck2nDyfR0kXELianLJrpSFIGIJtoISuGX
 UcwePEIcVF.V3TJpCqncBorvL.7kwh8Xed7ozHJNBpOMYjDItZZC7FeJ1U5q4ngmrhw906sPNye4
 GziO.Ey6XF6QXn7obz_2Jop8TXxI3s0hH44JiCrCbbi_hq_zzdjPOnxnSU8i6Z6K1QAGZ4ofUjpn
 L1raQhZzcXroioeRP.PkskfzvpolDaDkT0RsGqE48xgvlfZoxfHfoOKmRknzcwLp9yT2f
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 1bd635d8-b64f-479c-867a-c5c3ac601dfd
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic314.consmr.mail.ne1.yahoo.com with HTTP; Sat, 14 Oct 2023 12:44:54 +0000
Received: by hermes--production-sg3-57f7997989-ct6zm (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 0e9008d6f01815e97954f3254e1c0c7f; 
 Sat, 14 Oct 2023 12:44:49 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Yuchen Guo <yguo@HIDDEN>
Subject: Re: bug#66416: GDB output from new crash
In-Reply-To: <87sf6dl6lm.fsf@lan> (Yuchen Guo's message of "Sat, 14 Oct 2023
 12:40:53 +0000")
References: <87il7cxoyc.fsf@lan> <87edi0xnqx.fsf@lan> <83wmvsta00.fsf@HIDDEN>
 <87jzrs3x14.fsf@lan> <83r0m0t436.fsf@HIDDEN>
 <878r88aqnj.fsf@HIDDEN> <875y3bhpfz.fsf@lan>
 <83wmvpqxhw.fsf@HIDDEN> <87cyxha1i9.fsf@HIDDEN>
 <87sf6dl6lm.fsf@lan>
Date: Sat, 14 Oct 2023 20:44:41 +0800
Message-ID: <878r859xvq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21797
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 742
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 66416
Cc: Eli Zaretskii <eliz@HIDDEN>, 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

Yuchen Guo <yguo@HIDDEN> writes:

> Po Lu <luangruo@HIDDEN> writes:
>
>> Eli Zaretskii <eliz@HIDDEN> writes:
>>
>>> Thanks.  Po Lu, any ideas?
>>
>> None, sorry.  Do you know which font that is?  If so, perhaps I can
>> reproduce the crash myself.
>
> How can I deduce the font name from the coredump?  And curiously this
> crash only happens after using Emacs for sometime.

Is it possible to build Emacs with -fsanitize=address?  This is further
expounded upon in the GCC manual, and IME generally proves fruitful for
such spasmodic bugs, since you can run Emacs with address sanitization
enabled for extended periods of time as your "daily driver" (vis-a-vis
tools such as Valgrind, which incur a prohibitive performance penalty).




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 14 Oct 2023 12:41:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 14 08:41:29 2023
Received: from localhost ([127.0.0.1]:48085 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qrdxQ-0004BH-NI
	for submit <at> debbugs.gnu.org; Sat, 14 Oct 2023 08:41:29 -0400
Received: from mout01.posteo.de ([185.67.36.65]:56327)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yguo@HIDDEN>) id 1qrdxM-0004B1-1K
 for 66416 <at> debbugs.gnu.org; Sat, 14 Oct 2023 08:41:27 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id C821F24002A
 for <66416 <at> debbugs.gnu.org>; Sat, 14 Oct 2023 14:40:54 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1697287254; bh=DfbP+jA8EOaYlWC6Nu5M0EiHkvc3mReeEq9n250K7fk=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From;
 b=awn4OuaLZkpbFl8gxkupCVP1+9xsv4EpgSb/gHXdSM+hgiSo3M2Tr0gunabm3iv/E
 FwFzaXXZ4M2nXhF9KuloMV3Lgc8VnkHhfrnUyNzyBf+hIzSD0F5N7kqUP1kumxCsNM
 j7AOCZUYVMEkyIrcurtQVesud+dj4rbwmE2xdmYcnoEPul3SygdpQSStqm8ayJYQfI
 hp7kdlbhQXuJ3loymp+NQXWhpI8pMw7E84Uk3YjKSABzN1qg/zdPGQT0uqajynMpJO
 sH9oSZtiW7Y91ZorzdlxKLJfzNZIWD4BbLpjvyWrWpE8P1GoIXTAgD4/nFiFVaAcQg
 tFHUsXlqlaCuw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4S72zV1Fmwz9rxN;
 Sat, 14 Oct 2023 14:40:54 +0200 (CEST)
From: Yuchen Guo <yguo@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
Subject: Re: bug#66416: GDB output from new crash
In-Reply-To: <87cyxha1i9.fsf@HIDDEN> (Po Lu's message of "Sat, 14 Oct 2023
 19:26:22 +0800")
References: <87il7cxoyc.fsf@lan> <87edi0xnqx.fsf@lan> <83wmvsta00.fsf@HIDDEN>
 <87jzrs3x14.fsf@lan> <83r0m0t436.fsf@HIDDEN>
 <878r88aqnj.fsf@HIDDEN> <875y3bhpfz.fsf@lan>
 <83wmvpqxhw.fsf@HIDDEN> <87cyxha1i9.fsf@HIDDEN>
Date: Sat, 14 Oct 2023 12:40:53 +0000
Message-ID: <87sf6dl6lm.fsf@lan>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: Eli Zaretskii <eliz@HIDDEN>, 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Po Lu <luangruo@HIDDEN> writes:

> Eli Zaretskii <eliz@HIDDEN> writes:
>
>> Thanks.  Po Lu, any ideas?
>
> None, sorry.  Do you know which font that is?  If so, perhaps I can
> reproduce the crash myself.

How can I deduce the font name from the coredump?  And curiously this
crash only happens after using Emacs for sometime.  Viewing HELLO does
not crash Emacs out of the box.

Here is a full list of fonts on my machine, as produced by fc-list:

https://codeberg.org/m0p/ublock-origin-mirror/raw/branch/main/fc-list.txt

Alternatively, you can view the list of font packages installed, as
described by Nix:

https://codeberg.org/m0p/dotfiles/src/commit/460d5e9bb068368c6d38b546852f70d67730c65e/imports/desktop.nix

Line 217-247 and 403-408.

Worth noting is that I installed quite a few fonts from CTAN
(Comprehensive TeX Archive Network) into my system font path.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 14 Oct 2023 12:39:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 14 08:39:05 2023
Received: from localhost ([127.0.0.1]:48080 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qrdv7-00047N-72
	for submit <at> debbugs.gnu.org; Sat, 14 Oct 2023 08:39:05 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:42884)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qrdv5-00046t-5S
 for 66416 <at> debbugs.gnu.org; Sat, 14 Oct 2023 08:39:04 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qrduc-0000MN-5o; Sat, 14 Oct 2023 08:38:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=82+uDJcNfndwRQg8KC/N76i7EognxTiQpfZVUCO0RFs=; b=XwAXfG7i0vrH
 0MBPMOpDlP/LXm60jlbn2lOqUGxLjKE9dlT9hgZM2dgdOTqce2V9wHHPzIhuouUFb0eaLl3TYzMek
 kbetJbwigCZe0zDYRGjmao/ev1s5hQpLwbkwi1s5iIxKyyn+RaDcfhUj3MIUAZSZgbzzGmPXVt6bm
 60CgZP9Y88iou5iU4bbE+FjoUtn81kA6K6c1qXWw7yGVAyViEYNkmzlZtdN8SA4J9y00XD9ef3TLL
 oiyVaBa99LtMZXG3oFOUyuhcoa0f+ryE4vMTHUYSBclIWvw2ZmS8l3xO6k1mkpIEIWzcjEVbu5dTH
 dnd4Cc9Z60kfx58mkFZYJA==;
Date: Sat, 14 Oct 2023 15:38:34 +0300
Message-Id: <83r0lxqsz9.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87cyxha1i9.fsf@HIDDEN> (message from Po Lu on Sat, 14 Oct
 2023 19:26:22 +0800)
Subject: Re: bug#66416: GDB output from new crash
References: <87il7cxoyc.fsf@lan> <87edi0xnqx.fsf@lan> <83wmvsta00.fsf@HIDDEN>
 <87jzrs3x14.fsf@lan> <83r0m0t436.fsf@HIDDEN>
 <878r88aqnj.fsf@HIDDEN> <875y3bhpfz.fsf@lan>
 <83wmvpqxhw.fsf@HIDDEN> <87cyxha1i9.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: yguo@HIDDEN, 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Po Lu <luangruo@HIDDEN>
> Cc: Yuchen Guo <yguo@HIDDEN>,  66416 <at> debbugs.gnu.org
> Date: Sat, 14 Oct 2023 19:26:22 +0800
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> From: Yuchen Guo <yguo@HIDDEN>
> >> Cc: Eli Zaretskii <eliz@HIDDEN>,  66416 <at> debbugs.gnu.org
> >> Date: Thu, 12 Oct 2023 14:42:56 +0000
> >> 
> >> Here is the same information, with .gdbinit loaded, output from
> >> 
> >>      (gdb) bt full
> >>      (gdb) fr 8
> >>      (gdb) p cache
> >>      (gdb) p ftcrfont_info->metrics[row]
> >>      (gdb) p *ftcrfont_info
> >
> > Thanks.  Po Lu, any ideas?
> 
> None, sorry.  Do you know which font that is?  If so, perhaps I can
> reproduce the crash myself.

I don't know, but the configuration was posted at the beginning of
this discussion:

  https://codeberg.org/m0p/dotfiles/raw/commit/62d1a6008c0e391a33239a809aee92e4c03f14b5/imports/not-nix-config-files/emacs-init.el





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 14 Oct 2023 11:27:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 14 07:27:07 2023
Received: from localhost ([127.0.0.1]:48013 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qrcnT-0007gn-D6
	for submit <at> debbugs.gnu.org; Sat, 14 Oct 2023 07:27:07 -0400
Received: from sonic306-20.consmr.mail.ne1.yahoo.com ([66.163.189.82]:36224)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1qrcnP-0007gF-BS
 for 66416 <at> debbugs.gnu.org; Sat, 14 Oct 2023 07:27:05 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1697282794; bh=G4EQCksqcShkprP6lke8ty6Xc6BbfJdSccGsocp4rek=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=T+R85QjGu8B7yv6dznRfQkPwAjULnkeDU3ceSgaVUVoelS4u9ml+LvrAb0dbrhzKekz1wFLdfxE9IwS5CQU5VAjPLUQC4YOor5iJ80Y8zMqMeQFoR3Mvqld9rb84HJUWvUvzwwpUZax9YPt9nKpE6UY8D4fFXNpUaRFx3tmK+Z3qjcj2eiVaVMaPfG47EcLmkHmAQyuflK5zWceLdNWOflCCzx0bGpyDHs1Z2Mf9mf6QqP8mNgUOGgpHguxgEPbj1BiClHOT/AvDn3steGW1YPFy0KJjc5txOVTpZPnNYQNk1lbfwSrNdaPHC1BPp9ktwb2w0xUlrSPHiPDchG6uhA==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1697282794; bh=LeepDzB8IAOC5hA3yb09cGKs5u7S5wzUA5GttQofa+k=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=hfvjgG4TTN+WxP0iWJ7jwoyu0gpJNXurTJuVddJIsz6/QG6RFlzxXKBS9Q1QMeip/snCBReiAhScxjR2CnwBflsIp89OqX/BRSA/rZTUGKmSf2yUOmGQNtOkYU0R2Jqt7S84vmpFu0XTqYmjf+X8dWZ2gROnPY47TbcyCJkM5jO4bpctSpd9CNoQ9gYeQ7GqYBV0ehTw9hYJEw+H8S+wnlu/ue0GgCxqwHgyGGrxSgRXgLW4HfGuXfyztSkXtOuL2rvvT1UVyTfLxbxEjrz1HFFqsXkBvZM6qlRRsmwN5b72BreVef9iuMMs+HRWpafegTMbbB9zE2I+jl4hRgjACg==
X-YMail-OSG: ep_Fmy8VM1lJqb1tGJBmOOidP6tlsc8v3VZSsGp_Sz3qhZ0PF8XA86RmnL3L7t9
 Dzl4_MnQGy3snUdBxmHl1L.M1s631z5kSfoZpbl0DtORYdmwScb_n.hD1AsNlb0lIV2AFOlr4ev1
 Xv487OVdPNj77YzJyy2yihCaw1j1BZno0nqJWDcm2wTceObA.jSWNNZD03sQ9mC2TpxBHKUjLtLg
 P93zZVE97_W7w5k_CrtZfweYDbTHDLjTXR2NUcy94ml19kXU5Vjj3KEwqerlZ9_17TtYK1eABqyK
 GXBW9JJTjlsSYYFmXVMl9QAGFzcCyx58C4A06nCWuvAmK9vxwikix2qIAEP0S7HJ9HB5z.y63tJM
 4Swyk8p7ESLpH2N7cYrMLoRgipHrJgIM4LRzReLusvoIAgFMdV6cVTQYKFgn.E2myEGqfcbGRrMl
 Ocfko1DP.9F9ti74746muniJdw35aDoVHB2PL2MnhEy4P9X65qsOIcHRB5b42vtgzNBcWj93rd6R
 gmPZv9RZfM828SpzE4TRVZy4QSPQ6X6bIVUYsmnq4Z8GBpC2dSYKKIT.Yu4vfpBMHOR6XMJVtKt2
 Zbz5VQchR6IP7snW_YwvTOmokEuAt33rrDPcT53e0PFRKoRvaA4p.MBBlhoRIVk9OkroTS2Da3BB
 kxEIgS8hknEZtWHt_F_lV4Wo0nuVPl.yRVvCKTpylMMtE_DXvR5CSjkpAlKZelsfvZNUgcHYO3U6
 QG.8BA_vg7AwZatlbMi.oHdHTRk8uKisRiowvFhbhkcUkuKd4TegX6bcTCspTCsm5WbSuDL3HiAM
 yI9lIB9qUoWwNLR.eaM0RLKFqehzE0Y1vki06wK5oNPJdzkbladgst91PaXkmxJjiLQdy7fgi6GU
 oUlFGIorJMOybkKCWh3kBVQgTS5GKFvJeokeUQFvXvLTDQGLmT3KDUIvrsu_3o2lkI6DAOvUfCYs
 m5Xpm_B8yKmoPfK04BlXWAfPjDtwDOtZwxRT.NR_32iMJvSqADZKKA6ib.WskCWdhMFPqEbrxf7n
 tzZGpkxhyIqCSQ1Gbp_gppczC5p4zVXgmbX3_JSsUWlNj7MpagI9w7cxAjNW0Rlj4j6caEBl0umz
 EG8pj0HCl3Ju5n6FkBknuF_VMSxyuXJ4Zx.RlK7d.deAiCAXW5vSNpY3KE90473yOb_.j0PlqGB3
 s.LfJr7rR3nsiaHFhuDNShrx_y9lH5ghOJN.9aAMsvOzvjbvZ2SLFAE9BjKO6TFzlOuoau2sHA3j
 jXPpSBgUBZzrH4uhuzubYqFkOoKQNaOeaKtKgVJy22pZy1t7DsJQ3g55Zadw6Ygp3eG4d7k5h5Ja
 LhOQ4LFC8swHJEAlwiGtFiyqf2zjZuBY83r6RzcHj9h7G1H3JwxUpfNogxcZWsP9jFIVSOnraxL3
 8C7IZFAm.mJhfz8MFQjNcc_.AicLQqs8UbzUYeG.OCavvMgSW2wnJOsibU5DsxyLXFgKQK7ZkROn
 sQKwZeVPfjvj.t2l91jr3tIKdTDiArC2YuFYD9hBNi0UweVFoLYT2ME8aV.Bwav0yO2RyvWRfd7U
 qwM094s9UwrFRubmVQQRKejK0k.OEyZJy3VJ5I4I9EQUIuhfrCTpM_4eqJszKPf7CrSxMSXHsdzH
 kEQTwp1qEcrj8qohbtgGoxyErbVOY65mx1Cjz8_lEknkEeAGHW0I.Ke9gRnYsyxhN6TBE3Bq_6LA
 .aB0E5mD_pCS0vY31ymbcZnY9VmGfmT0stcfNJ4ftIEGcdGbhuvSbWWZh0D09jkRD7H3JgX0rOrP
 bfcntLfWZIRwIdZMqWqYSIkPj3Kzd5QQWeHSYogpVBzgZC779BUhWdHz9ReBrD6E9NDx632jSljk
 Q1QsGApjCUQymU7WRa4idX6YZDDSoMIHiYLH.XRHGSkN7ZDafZ83Gu4FCUIUQumJnWy4C36t.mnS
 9KJGFemNbxkX2Xsj7xC93idm26DeC.EQqlXA6ISHpcu8OrhlL.bRNHSx3eIffOJdRtRuqnBu14rZ
 F0QE2P2OFteDT04Ejzj8H5fCsbjZLC5uS5rD5Bq.BNEzDauAw0lE9SQ56PPJRrb6nk4hpwyZrvUO
 vgPJdhFEmnS.J0pZmLvmErFNeUHdf5pxmHBN_84YHibHw8keooNLnaba2qm2nWrk3khQeO5vZjqu
 EEcKjG3fkLr.jpO20SRSty37_2UmekDXkwLN_knZRkG7.aRItlA2B5OaRHr5uYkSFvsVlROLaP8K
 pV2sEhuN5VbWPfiVK7qMH85JjiFvIbu_9TZ3Q4G6QkRaFJxjSdliitfOc14m8jPoe3Uc-
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 8c4281ca-febf-414b-bded-e9a5ac895e75
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic306.consmr.mail.ne1.yahoo.com with HTTP; Sat, 14 Oct 2023 11:26:34 +0000
Received: by hermes--production-sg3-57f7997989-b8zls (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID dac4466ca895ed06fcaaee809a7e5846; 
 Sat, 14 Oct 2023 11:26:28 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#66416: GDB output from new crash
In-Reply-To: <83wmvpqxhw.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 14 Oct
 2023 14:00:59 +0300")
References: <87il7cxoyc.fsf@lan> <87edi0xnqx.fsf@lan> <83wmvsta00.fsf@HIDDEN>
 <87jzrs3x14.fsf@lan> <83r0m0t436.fsf@HIDDEN>
 <878r88aqnj.fsf@HIDDEN> <875y3bhpfz.fsf@lan>
 <83wmvpqxhw.fsf@HIDDEN>
Date: Sat, 14 Oct 2023 19:26:22 +0800
Message-ID: <87cyxha1i9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21797
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 518
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 66416
Cc: Yuchen Guo <yguo@HIDDEN>, 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Yuchen Guo <yguo@HIDDEN>
>> Cc: Eli Zaretskii <eliz@HIDDEN>,  66416 <at> debbugs.gnu.org
>> Date: Thu, 12 Oct 2023 14:42:56 +0000
>> 
>> Here is the same information, with .gdbinit loaded, output from
>> 
>>      (gdb) bt full
>>      (gdb) fr 8
>>      (gdb) p cache
>>      (gdb) p ftcrfont_info->metrics[row]
>>      (gdb) p *ftcrfont_info
>
> Thanks.  Po Lu, any ideas?

None, sorry.  Do you know which font that is?  If so, perhaps I can
reproduce the crash myself.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 14 Oct 2023 11:01:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 14 07:01:33 2023
Received: from localhost ([127.0.0.1]:47991 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qrcOj-0006wW-GL
	for submit <at> debbugs.gnu.org; Sat, 14 Oct 2023 07:01:33 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:58602)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qrcOh-0006wH-4M
 for 66416 <at> debbugs.gnu.org; Sat, 14 Oct 2023 07:01:31 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qrcOC-00076D-UN; Sat, 14 Oct 2023 07:01:00 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=MNHHsasNVYg4TX0CB6wGIg6Dw3Sx5CGNeNDM9HI57rk=; b=qn3aR+YepZQo
 4bh45T8MUEgC+N31NF1nJ8KzFcKLb8l2AglQ0mYkFBJTPkTHWQ1vrKg3Ogk4xX5+2i3bAXm2Xd0Nb
 ARzmBI1myfjPVUbCoyuFsboHt7GouXMGspIm89NKxh+C94vmb+qgWQ48ECubCMrj5YSpNddrAAfaI
 6hURWeeBcyp1LbfB5mlGdhMyI5v6fHsIbeUewTBkfwyoJ0rJ63rIgSPDR24DaBlSNHiFN1D91//0y
 AnHNFpavqBbl0qmH/XcvPAK1c02qXOQlHozDbj6W9YoZEwtRv3jRLf4523J3L/WiW2CI08Op0F61z
 wg/yVVUw6IHbfElUwgY9ow==;
Date: Sat, 14 Oct 2023 14:00:59 +0300
Message-Id: <83wmvpqxhw.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Yuchen Guo <yguo@HIDDEN>
In-Reply-To: <875y3bhpfz.fsf@lan> (message from Yuchen Guo on Thu, 12 Oct 2023
 14:42:56 +0000)
Subject: Re: bug#66416: GDB output from new crash
References: <87il7cxoyc.fsf@lan> <87edi0xnqx.fsf@lan> <83wmvsta00.fsf@HIDDEN>
 <87jzrs3x14.fsf@lan> <83r0m0t436.fsf@HIDDEN>
 <878r88aqnj.fsf@HIDDEN> <875y3bhpfz.fsf@lan>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: luangruo@HIDDEN, 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Yuchen Guo <yguo@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>,  66416 <at> debbugs.gnu.org
> Date: Thu, 12 Oct 2023 14:42:56 +0000
> 
> Here is the same information, with .gdbinit loaded, output from
> 
>      (gdb) bt full
>      (gdb) fr 8
>      (gdb) p cache
>      (gdb) p ftcrfont_info->metrics[row]
>      (gdb) p *ftcrfont_info

Thanks.  Po Lu, any ideas?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 12 Oct 2023 14:43:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 12 10:43:29 2023
Received: from localhost ([127.0.0.1]:44041 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qqwuO-0004z9-QZ
	for submit <at> debbugs.gnu.org; Thu, 12 Oct 2023 10:43:29 -0400
Received: from mout01.posteo.de ([185.67.36.65]:42053)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yguo@HIDDEN>) id 1qqwuL-0004yv-Qo
 for 66416 <at> debbugs.gnu.org; Thu, 12 Oct 2023 10:43:27 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 65489240028
 for <66416 <at> debbugs.gnu.org>; Thu, 12 Oct 2023 16:42:57 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1697121777; bh=iGSu1jCC+m0iufDzb86ot/34YcwAnpXkIv5iQqfxohU=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From;
 b=jGqvFPhsew/zDtVIazn16tt6Lm2CaPpD33LbyOVyJcTyZrvQiO0ZlHuRQPtncdReq
 WRhekXFuh0TyIQRoKgkft6kgO9QDBz01JS42M5h0X+1xhZ1RT5B/7mJub2O+7oWg+U
 kOl95Ij03ksG6mebkY6v3ZmgeJqYVOFetDb5S76SvB8Wx5rVZG7zAg3sltxyv+flsf
 mQFQziyvF7YDAwlO8JjOqcruQIVMqZcxaPJi/ZOxw252utVeVPuVX6qq36OwnGBWTM
 cbW8ko0Qz2q6EpX1VhnvNbSpZYR92kTe1KQQD5ymnCMgs3YFo6M/6bT2dkJY+4jtGE
 N3AVI/Or1ikSA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4S5snD6j0xz6tx3;
 Thu, 12 Oct 2023 16:42:56 +0200 (CEST)
From: Yuchen Guo <yguo@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
Subject: Re: bug#66416: GDB output from new crash
In-Reply-To: <878r88aqnj.fsf@HIDDEN> (Po Lu's message of "Thu, 12 Oct 2023
 21:58:40 +0800")
References: <87il7cxoyc.fsf@lan> <87edi0xnqx.fsf@lan> <83wmvsta00.fsf@HIDDEN>
 <87jzrs3x14.fsf@lan> <83r0m0t436.fsf@HIDDEN>
 <878r88aqnj.fsf@HIDDEN>
Date: Thu, 12 Oct 2023 14:42:56 +0000
Message-ID: <875y3bhpfz.fsf@lan>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: Eli Zaretskii <eliz@HIDDEN>, 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Here is the same information, with .gdbinit loaded, output from

     (gdb) bt full
     (gdb) fr 8
     (gdb) p cache
     (gdb) p ftcrfont_info->metrics[row]
     (gdb) p *ftcrfont_info

#0  0x000069d2a5a93a8c in __pthread_kill_implementation () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
No symbol table info available.
#1  0x000069d2a5a44c86 in raise () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
No symbol table info available.
#2  0x0000000000522793 in terminate_due_to_signal (sig=sig@entry=11, backtrace_limit=backtrace_limit@entry=40) at emacs.c:464
No locals.
#3  0x000000000053de25 in handle_fatal_signal (sig=sig@entry=11) at sysdep.c:1783
No locals.
#4  0x000000000053de52 in deliver_thread_signal (sig=sig@entry=11, handler=handler@entry=0x53de17 <handle_fatal_signal>) at sysdep.c:1775
        old_errno = 13
#5  0x000000000053deb6 in deliver_fatal_thread_signal (sig=sig@entry=11) at sysdep.c:1795
No locals.
#6  0x000000000053dfa5 in handle_sigsegv (sig=11, siginfo=<optimized out>, arg=<optimized out>) at sysdep.c:1888
        fatal = <optimized out>
#7  <signal handler called>
No symbol table info available.
#8  ftcrfont_glyph_extents (font=0x3fe60998, glyph=1182, metrics=metrics@entry=0x0) at ftcrfont.c:94
        ftcrfont_info = 0x3fe60998
        row = 9
        col = 30
        cache = 0x12d
#9  0x0000000000616e8e in ftcrfont_draw (s=0x77801d4f6d50, from=0, to=<optimized out>, x=427, y=427, with_background=<optimized out>) at ftcrfont.c:604
        f = 0x42a23c18
        ftcrfont_info = 0x3fe60998
        cr = 0x3f4a1280
        glyphs = 0x77801d4f68a0
        len = 1
        i = 0
#10 0x000000000063d1f9 in pgtk_draw_composite_glyph_string_foreground (s=s@entry=0x77801d4f6d50) at pgtkterm.c:1536
        xoff = <optimized out>
        yoff = <optimized out>
        wadjust = 0
        gstring = XIL(0x3fe60f2d)
        glyph = <optimized out>
        y = 431
        width = <optimized out>
        i = 0
        j = <optimized out>
        x = 426
        font = 0x3fe60998
#11 0x00000000006401c3 in pgtk_draw_glyph_string (s=0x77801d4f6d50) at pgtkterm.c:2525
        relief_drawn_p = false
        cr = 0x3f4a1280
#12 0x00000000004b3264 in draw_glyphs (w=w@entry=0x426092e0, x=483, row=0x3f3ab600, area=area@entry=TEXT_AREA, start=<optimized out>, start@entry=0, end=<optimized out>, end@entry=39, hl=<optimized out>, overlaps=<optimized out>) at xdisp.c:30636
        head = 0x77801d4f8040
        tail = 0x77801d4f69d0
        s = 0x77801d4f6d50
        clip_head = 0x0
        clip_tail = 0x0
        i = <optimized out>
        j = <optimized out>
        x_reached = <optimized out>
        last_x = <optimized out>
        area_left = <optimized out>
        f = <optimized out>
        sa_avail = 15820
        sa_count = <optimized out>
#13 0x00000000004b34f0 in gui_write_glyphs (w=0x426092e0, updated_row=<optimized out>, start=<optimized out>, updated_area=TEXT_AREA, len=39) at xdisp.c:32699
        x = <optimized out>
        hpos = 0
        chpos = 0
#14 0x0000000000466ce1 in update_text_area (w=w@entry=0x426092e0, updated_row=updated_row@entry=0x3f3ab600, vpos=vpos@entry=10, partial_p=partial_p@entry=0x77801d4f8387) at dispnew.c:4001
        current_row = 0x3f3830f0
        desired_row = 0x3f3ab600
        rif = 0xb3e360 <pgtk_redisplay_interface>
        changed_p = false
#15 0x0000000000469f48 in update_window_line (w=w@entry=0x426092e0, vpos=vpos@entry=10, mouse_face_overwritten_p=mouse_face_overwritten_p@entry=0x77801d4f8407) at dispnew.c:4259
        current_row = 0x3f3830f0
        desired_row = 0x3f3ab600
        rif = 0xb3e360 <pgtk_redisplay_interface>
        changed_p = false
        partial_p = false
        was_stipple = <optimized out>
#16 0x000000000046d5ef in update_window (w=w@entry=0x426092e0, force_p=force_p@entry=true) at dispnew.c:3731
        vpos = 10
        i = <optimized out>
        end = 0x3f3ada00
        tab_line_row = <optimized out>
        mouse_face_overwritten_p = false
        n_updated = 0
        mode_line_row = 0x3f3ada00
        changed_p = true
        invisible_rows_marked = false
        row = 0x3f3ab600
        header_line_row = <optimized out>
        yb = <optimized out>
        desired_matrix = 0x4253a6a0
        paused_p = <optimized out>
        preempt_count = <optimized out>
        rif = <optimized out>
#17 0x000000000046d991 in update_window_tree (w=w@entry=0x426092e0, force_p=force_p@entry=true) at dispnew.c:3456
        paused_p = false
#18 0x000000000046da91 in update_frame (f=f@entry=0x42a23c18, force_p=true, force_p@entry=false, inhibit_hairy_id_p=inhibit_hairy_id_p@entry=false) at dispnew.c:3291
        paused_p = <optimized out>
        root_window = 0x426092e0
#19 0x00000000004abe90 in redisplay_internal () at xdisp.c:17122
        gcscrollbars = true
        f_redisplay_flag = false
        f = 0x42a23c18
        w = 0x426092e0
        sw = <optimized out>
        fr = <optimized out>
        pending = false
        must_finish = <optimized out>
        match_p = <optimized out>
        tlbufpos = <optimized out>
        tlendpos = <optimized out>
        number_of_visible_frames = <optimized out>
        sf = <optimized out>
        polling_stopped_here = true
        tail = <optimized out>
        frame = XIL(0x42a23c1d)
        MAX_HSCROLL_RETRIES = MAX_HSCROLL_RETRIES
        hscroll_retries = <optimized out>
        MAX_GARBAGED_FRAME_RETRIES = MAX_GARBAGED_FRAME_RETRIES
        garbaged_frame_retries = 0
        consider_all_windows_p = <optimized out>
        update_miniwindow_p = <optimized out>
        count = <optimized out>
        retry_frame = <optimized out>
#20 0x00000000004ac707 in redisplay () at xdisp.c:16225
No locals.
#21 0x0000000000531938 in read_char (commandflag=1, map=map@entry=XIL(0x428bf0f3), prev_event=XIL(0), used_mouse_menu=used_mouse_menu@entry=0x77801d4f9c0b, end_time=end_time@entry=0x0) at keyboard.c:2636
        echo_current = true
        c = <optimized out>
        local_getcjmp = {{
            __jmpbuf = {0, 131392131275168, 0, 36960, 12440512, 0, 2, 3822},
            __mask_was_saved = 1072989109,
            __saved_mask = {
              __val = {5823051, 36960, 131392131275312, 2, 5940859, 1058952896, 1062107776, 1049704224, 5821465, 0, 1058952896, 1057136819, 5821812, 1057136659, 5482667, 4294967296}
            }
          }}
        save_jump = {{
            __jmpbuf = {0, 40272, 0, 0, 0, 131392131275504, 0, 1111710579},
            __mask_was_saved = 1,
            __saved_mask = {
              __val = {10518585111937802752, 1, 1116467347, 0, 10518585111937802752, 1116467427, 4294967295, 48, 5483074, 0, 0, 1053901840, 10518585111937802752, 8194, 0, 0}
            }
          }}
        tem = <optimized out>
        save = <optimized out>
        previous_echo_area_message = XIL(0)
        also_record = XIL(0)
        reread = false
        recorded = false
        polling_stopped_here = false
        orig_kboard = 0x3f225150
        jmpcount = <optimized out>
#22 0x00000000005330f1 in read_key_sequence (keybuf=keybuf@entry=0x77801d4f9d10, prompt=prompt@entry=XIL(0), dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false) at keyboard.c:10084
        interrupted_kboard = 0x3f225150
        interrupted_frame = 0x42a23c18
        key = <optimized out>
        used_mouse_menu = false
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = 0
        new_binding = <optimized out>
        count = <optimized out>
        t = 0
        echo_start = 0
        keys_start = 0
        current_binding = XIL(0x428bf0f3)
        first_unbound = 31
        mock_input = 0
        used_mouse_menu_history = {false <repeats 30 times>}
        fkey = {
          parent = XIL(0x3f040773),
          map = XIL(0x3f040773),
          start = 0,
          end = 0
        }
        keytran = {
          parent = XIL(0x69d29fddb043),
          map = XIL(0x69d29fddb043),
          start = 0,
          end = 0
        }
        indec = {
          parent = XIL(0x3f0407c3),
          map = XIL(0x3f0407c3),
          start = 0,
          end = 0
        }
        shift_translated = false
        delayed_switch_frame = XIL(0)
        original_uppercase = XIL(0x9060)
        original_uppercase_position = -1
        dummyflag = false
        starting_buffer = 0x3ff483b0
        fake_prefixed_keys = XIL(0)
        first_event = XIL(0)
        second_event = <optimized out>
#23 0x0000000000534557 in command_loop_1 () at keyboard.c:1384
        cmd = <optimized out>
        keybuf = {make_fixnum(8), make_fixnum(104), XIL(0xa0), XIL(0x77801d4f9d80), make_fixnum(0), XIL(0x30), XIL(0), XIL(0x59cb1d), XIL(0x34e0), XIL(0x60), XIL(0), XIL(0), XIL(0), XIL(0x59df58), XIL(0xb), XIL(0xed90), XIL(0x30), XIL(0x3ff483b5), XIL(0), XIL(0x91f9856df0c3e200), XIL(0xbd1480), XIL(0x429b3943), XIL(0x60), XIL(0x529bcb), XIL(0), XIL(0x69d29f4a770d), XIL(0xbd1480), XIL(0x91f9856df0c3e200), XIL(0x60), XIL(0x69d29f76f0db)}
        i = <optimized out>
        prev_modiff = 24
        prev_buffer = 0x69d29f4a7708
#24 0x000000000059d1ac in internal_condition_case (bfun=bfun@entry=0x53431d <command_loop_1>, handlers=handlers@entry=XIL(0x90), hfun=hfun@entry=0x529a60 <cmd_error>) at eval.c:1474
        val = <optimized out>
        c = 0x3e3dcfe0
#25 0x0000000000524551 in command_loop_2 (handlers=handlers@entry=XIL(0x90)) at keyboard.c:1133
        val = <optimized out>
#26 0x000000000059d11a in internal_catch (tag=tag@entry=XIL(0xfc90), func=func@entry=0x524537 <command_loop_2>, arg=arg@entry=XIL(0x90)) at eval.c:1197
        val = <optimized out>
        c = 0x3e3f9630
#27 0x000000000052450e in command_loop () at keyboard.c:1111
No locals.
#28 0x000000000052960a in recursive_edit_1 () at keyboard.c:720
        count = <optimized out>
        val = <optimized out>
#29 0x0000000000529959 in Frecursive_edit () at keyboard.c:803
        count = <optimized out>
        buffer = <optimized out>
#30 0x0000000000523a4c in main (argc=2, argv=<optimized out>) at emacs.c:2521
        stack_bottom_variable = 0x69d2a24c9da0 <(anonymous namespace)::moneypunct_cache_ct>
        no_loadup = false
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0x0
        original_pwd = <optimized out>
        dump_mode = <optimized out>
        skip_args = 1
        temacs = 0x0
        attempt_load_pdump = <optimized out>
        only_version = false
        rlim = {
          rlim_cur = 10022912,
          rlim_max = 18446744073709551615
        }
        lc_all = <optimized out>
        sockfd = -1
        module_assertions = <optimized out>
You can't do that without a process to debug.
#8  ftcrfont_glyph_extents (font=0x3fe60998, glyph=1182, metrics=metrics@entry=0x0) at ftcrfont.c:94
warning: Source file is more recent than executable.
94	  if (METRICS_STATUS (cache) == METRICS_INVALID)
$1 = (struct font_metrics *) 0x12d
$2 = (struct font_metrics *) 0x1
$3 = {
  font = {
    header = {
      size = 4611686018997895185
    },
    props = {XIL(0x7c50), XIL(0x3e581280), XIL(0x41493ef0), XIL(0), XIL(0x9870), make_fixnum(20544), make_fixnum(25632), make_fixnum(25664), make_fixnum(27), XIL(0), XIL(0), make_fixnum(0), XIL(0x42277373), XIL(0), XIL(0x40229f14), XIL(0x40229ef4), XIL(0x402299a4)},
    min_width = 8,
    max_width = 29,
    pixel_size = 27,
    height = 39,
    space_width = 10,
    average_width = 15,
    ascent = 31,
    descent = 8,
    underline_thickness = 0,
    underline_position = 3,
    vertical_centering = false,
    baseline_offset = 0,
    relative_compose = 0,
    default_ascent = 0,
    encoding_charset = -1,
    repertory_charset = -1,
    driver = 0xc0ece0 <ftcrhbfont_driver>
  },
  ft_size = 0x0,
  index = 1072040480,
  matrix = {
    xx = 0,
    xy = 1109821571,
    yx = 5,
    yy = 0
  },
  hb_font = 0x0,
  cr_scaled_font = 0x4211a9e0,
  bitmap_position_unit = 0,
  metrics = 0x41412720,
  metrics_nrows = 10
}
quit




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 12 Oct 2023 14:29:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 12 10:29:26 2023
Received: from localhost ([127.0.0.1]:43990 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qqwgo-0004Ri-Di
	for submit <at> debbugs.gnu.org; Thu, 12 Oct 2023 10:29:26 -0400
Received: from mout01.posteo.de ([185.67.36.65]:51723)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yguo@HIDDEN>) id 1qqwgm-0004RT-8z
 for 66416 <at> debbugs.gnu.org; Thu, 12 Oct 2023 10:29:25 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id C6D1C240027
 for <66416 <at> debbugs.gnu.org>; Thu, 12 Oct 2023 16:28:55 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1697120935; bh=CKSnf6M5ldHPyQ6AFOBQ/zQbIGQCRNQCmn77AG/HwV0=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From;
 b=COCPNuBIgv7bz9VDQK/CkY6eS++v2M/tMKDQeUv8YNR+U8Pd4oZVj/M404VSuXXTq
 GH6sZqHxwFCr9RdoVFS1l/Dkxlo6owgJcEjjs2XSNk3kXXW3cDcui3bf+zt25VmI5A
 R8CK/QCQvFAikiJNNk9FKjKGKOCRYuLC3SzsnIqnkH/Id7ZXJwyi8ZIikDlVE/fwkc
 VzUKwtsfsg7nmnGL4J4RN8GxEwrnTqt5uDOPLI1HDs4diGiqL7ycrqKO6CJwGtTYFb
 01SzFAsM3Fefn2lw8IMzdEF7fGY3KK5eJ7SOAk2FZkX0yCH4NiNLQ81j5GStR+O6yT
 LklqyJLwflYAQ==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4S5sT31yQjz6tvJ;
 Thu, 12 Oct 2023 16:28:55 +0200 (CEST)
From: Yuchen Guo <yguo@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
Subject: Re: bug#66416: GDB output from new crash
In-Reply-To: <878r88aqnj.fsf@HIDDEN> (Po Lu's message of "Thu, 12 Oct 2023
 21:58:40 +0800")
References: <87il7cxoyc.fsf@lan> <87edi0xnqx.fsf@lan> <83wmvsta00.fsf@HIDDEN>
 <87jzrs3x14.fsf@lan> <83r0m0t436.fsf@HIDDEN>
 <878r88aqnj.fsf@HIDDEN>
Date: Thu, 12 Oct 2023 14:28:54 +0000
Message-ID: <87edhzhq3d.fsf@lan>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: Eli Zaretskii <eliz@HIDDEN>, 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Po Lu <luangruo@HIDDEN> writes:

>   (gdb) p *ftcrfont_info
>
> should prove illuminating.
Output:

{font =
    {header = {size = 4611686018997895185},
     props = {0x7c50, 0x3e581280, 0x41493ef0, 0x0, 0x9870, 0x14102,
    0x19082, 0x19102, 0x6e, 0x0, 0x0, 0x2, 0x42277373, 0x0,
    0x40229f14, 0x40229ef4, 0x402299a4},
     min_width = 8,
     max_width = 29,
     pixel_size = 27,
     height = 39,
     space_width = 10,
     average_width = 15,
     ascent = 31,
     descent = 8,
     underline_thickness = 0,
     underline_position = 3,
     vertical_centering = false,
     baseline_offset = 0,
     relative_compose = 0,
     default_ascent = 0,
     encoding_charset = -1,
     repertory_charset = -1,
     driver = 0xc0ece0 <ftcrhbfont_driver>
    },
    ft_size = 0x0,
    index = 1072040480,
    matrix = {xx = 0, xy = 1109821571, yx = 5, yy = 0},
    hb_font = 0x0,
    cr_scaled_font = 0x4211a9e0,
    bitmap_position_unit = 0,
    metrics = 0x41412720,
    metrics_nrows = 10
    }




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 12 Oct 2023 13:59:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 12 09:59:23 2023
Received: from localhost ([127.0.0.1]:43910 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qqwDi-0003UA-TR
	for submit <at> debbugs.gnu.org; Thu, 12 Oct 2023 09:59:23 -0400
Received: from sonic313-56.consmr.mail.ne1.yahoo.com ([66.163.185.31]:44372)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1qqwDf-0003Rv-05
 for 66416 <at> debbugs.gnu.org; Thu, 12 Oct 2023 09:59:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1697119131; bh=Ndmq46182bO1pUGfJDrDr7t4qyQgmOuuxGJLRXcNiNw=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=c3okQxQoUk5KhK5FpCPVNOr++jt0xAKWaNnFl3eInmngbOM9wPeGPRxnDmEs4MXzXv0vXojUTxBnX9jbGcXOtGhwmzQUNTfjWJm6/cgSQuJE7oM226HJxqfs5W+waiOP0wsb+7im+6GTOaNlWivNf1dSAFSUQx2Bi2ZbY7azRexIqyQVFJZjzAXUV09Ku0x6q3HQY2O6HsnwFjv1WcStWpi61K9EcjyRYGkwTAsvG9AfrpcNoxPD5zY+PU+HlMwHgg+Fu55YxGy+PU+iGxlbdPYVPrzwfpMIkKNvHiDzW6nSnNGE6uudwGq9W2056KaxXeZIDlx4ENDCWKan742NqQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1697119131; bh=jmAatpI8LqrgbjtYp3E0XSGgZ2kVDMiOfTmxHuUaRPJ=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=NAKmYr/+rYUyESHg71/zJ7OaciWV/zeQNZw6ZOYJkW+pSajkaIK65bn0UvB4FJ9zlckxUxL24R2b8dQYvvg54Mk6XVEEPtRNnexQrY+cF66M3//DMWUkLcq8rt4/aufqHR0194BNUwekLXfsPTJEL0mx0S8RfWZDleLnWCUKjirOu7Ko4jz76q3VqfpidKizdL8sUpzgvUplMnhyaNvo3UgGWBtLlp38p9s/cJVFqrR//o3bu2rShAmb+Cl1HU1oXy0ZGSRxv7WL8ddXIXBbDzfcG5whgFMbaBw5fvs+Li8Rz1NaXN1S2zAfDMUl0VkYHCGoSZdrFrEIgBQvjfzlxg==
X-YMail-OSG: QAWHAMUVM1lPZHUvRb5jPybfGSuTBXlc_B71IAaVhC2xGzjdEZMHjCOOA1jdOtt
 OwozXB5kuJD4CyTqX08EW6nDFBzp95J9rh_m9eVoxcxzh8Rd_In76VJkElxVxe6xWMaG3rsW8bvd
 PeSGSLCgVt9mRms5LRKUhzjEH5ncmgUM0klcaMi8o9kFikX7NBaeD._xHaP13FsN0hd1k7d5Imj0
 4ZbOVFRNHjRa4XhIgg0nQO3o3te9aDKSSF39SgW.2.vAcngm5LSg8fMceM3UnBvKED0Ggg9ij56l
 ayD6DBky4nxnAj8RnsNJliXLapcn46ZXQ2MeCx7t7qLk7Zar8zlYW3AAprXufdojtooHQ6wsPunt
 WUQFRzorROPC8uk0.NuGLwLYZVfzCU1.kVoXxJYVi80lUiPcLhk6XYwnxMkCivuBqo_DeKUVbMhs
 QVpcLX5KDUZXTfnG5KouFbrDgqEz8Woi_jQdIc2JT6B4mZrWZG0AXXR8z.jUmQGOHY1n3GXVSOa4
 PJBFt7cIJBq87NRCQ.ToGNqr82XY709Xp5vEb4u8Be9UM6ZOsEyecQ8H4r1G1zEre1J1STHgxjk4
 DSDR1i7KOHUwWkXV5Q56LhvCz2SlWbz3QUyQPPDYiDlupG1Qr.lFjaMr3Dt5xR99yq5_Va0z_Kq_
 AgdjE_oVyRWHDR_auIDxuZPDSUC.TBtt13nFpNZNzryMsvZukAuHqhEoRIKKQwIdKrJ80MP5WKrq
 YLtSfaJjV_IeoZ2bXU1vfNbqSKHuY4cKh1MP9V7vFsC9vXVwMxiThH_p3dhB8gMrlR3eriBHyxQH
 tgDv99WM.KF29IFUx.LsQi7mKPAW4bOt2eWrLV2RVlMRbpGcccGWrzCcRfS7MN.jQd5q3jKJr3JU
 sBc9qHrZF7NQ1_TLE4Z7khLgCWEd5oWdLDwwjMG4HYCqpAB.i8uV4Q4VhTU88FKxOIrtmg9ckljp
 DG8hYDPkRfKf9Av4Ujt6zrfv3o.n5xlKRAr__LoFkUmnise6tWl1Sei07TAtNbg3IhdsZUjA2SmX
 56CTKFLoxM_SVlZuMqyHf2v7ytDR18QG88gql8ViYlK2uJKCM4RQz1J6OtrHrNVDghSCKWXdjcmI
 e1bqz8ags3qX6kbU7qx8WPJABjfQYWSzpoC1qDFcMAf3LdkYhMYewWPADyjFd1h346hdyGqf5Ign
 dW2zsKmovY29dwtTKdQ5O5PCzYu9cOoiaiirjusZbcVXIGkUx7s1gp5EYn5qQXU8SZQCNt7Q.s.v
 2.Xz.K_0SZHcUc7Y5.XobZXEdq0JwktkLU5lOSPxrbXt6bBdW7zXjy39DclKzbqPz9jdGBT_mBSE
 KWlvBJpBAlJxa4m_Hibr_24ytFYirTykMIUnkueN1mMat4oBasEEmadNYv2_PvCJsrKTJmkjLbyv
 W1mbLmnYJwRD4R0ufCKrbwdhjhusx3CKSnzCUIdcisF7xOw5tGIl6JBv3tdltC7xee1GDi.72iSu
 xCq_ACL9Pa4crjwtVzeh_CJ0HyqtRw0ymOa43h._obZF5FPdgBN4.lPu79ORAh0agkyYhZpIj4rS
 OuLOXjy8AHRcG3UaPmiGRdz.t2X3LBaGW0.IykHBaGyLXpQu42eKjA4rraA3ZcNsQ9.Rv2wlmZnP
 xeCfY8jRcbZCSTCpvRe8vYCwtdKAwkDWUY5oV8d3TI7njIq6jsqeLw.2PUvQ2aKujBeiDkQALkrE
 dzFaUuCZNmJBEQDdYhEkU9.hbA7NEjHylyMG49N0uJ5u4RY.XrXj878zM9h3jKQZSvWvLz13qviA
 ENUIuYw.Sqw0BLI9yyEowJln7_b6raX.k3mW1qNU3O0r.AtpP70esYLBXxIsl7NExnre77RHCj.Y
 7m9lUDNEAocqZyd8guY0qOsDcOYzHTcozBFKD6ghWFc_pcv9w54Yb8HvBRSb5uSxYLZV5GnZ7Rjd
 SjmJQ7PED2tTsfCFJs7vq8rIqpW6S49aY3sqNdDvDPjOQdG957I47i4eG5Iek_oXmNDYk_SkMN72
 8sw4zfE4HjjoYQyoQgdFRN20SxU0W2DMBl0Jm7ZCE_K3tkTa86qhqRaeWdbImXJmd1s8MV46patC
 zL3lZbLuzrRTf7AND0wEm729KFzRPK1A2bwWnf.I7ttfptc049LpNSoo4_ynpaqai7FxGvTnB1Ww
 MowsE7VjHmMeYHugwveBx_GyBBpm89cHd04rZopCc.WLS8wmV0SLc4zd2i3mW8osc3_2CVSoZ6B6
 A5RYd0Za6W66dDT7j1Rgd2D5U5DjRrHhBsYXJaLd.8NVZWlbYwtZxSVFxZt4w_A--
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: ae8f93c4-397e-48cd-ac5e-06ab412bd4aa
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic313.consmr.mail.ne1.yahoo.com with HTTP; Thu, 12 Oct 2023 13:58:51 +0000
Received: by hermes--production-sg3-64dc67fbb6-hc6gk (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID b984d6c18538c2deba0a36a747c5fe64; 
 Thu, 12 Oct 2023 13:58:48 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#66416: GDB output from new crash
In-Reply-To: <83r0m0t436.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 12 Oct
 2023 15:31:09 +0300")
References: <87il7cxoyc.fsf@lan> <87edi0xnqx.fsf@lan> <83wmvsta00.fsf@HIDDEN>
 <87jzrs3x14.fsf@lan> <83r0m0t436.fsf@HIDDEN>
Date: Thu, 12 Oct 2023 21:58:40 +0800
Message-ID: <878r88aqnj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21797
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 295
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 66416
Cc: Yuchen Guo <yguo@HIDDEN>, 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> Po Lu, any idea what happened here?  ftcrfont_info->metrics is clearly
> bogus, but how did it happen and why?  The argument FONT seems to be
> valid.

I can't be certain at this time of the day, but:

  (gdb) p *ftcrfont_info

should prove illuminating.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 12 Oct 2023 12:31:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 12 08:31:50 2023
Received: from localhost ([127.0.0.1]:41227 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qquqz-0000Hi-RH
	for submit <at> debbugs.gnu.org; Thu, 12 Oct 2023 08:31:50 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:53904)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qququ-0000HQ-NU
 for 66416 <at> debbugs.gnu.org; Thu, 12 Oct 2023 08:31:48 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qquqR-0004lh-Ly; Thu, 12 Oct 2023 08:31:15 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=l0MXGcevrnrGM6mp3jwb/5cPRuXqRFq36yYRLu1WgYs=; b=LJsOpTso/8mW
 RyBc/nE+ORgTMMBWL1urM3C7vkBLj+3S9TSSLH55v039e3+rwwvhAfcdzLT0PQxbP/x2RiXDR8ByF
 rWqFfGJ6SvFkbggTgOxzOqo+15Kkl5f2czDGXgdD2L6VkbIJ9cIelgrDp3lMVWjCp3a0sN65QJSWo
 v/wggfgsbGNQUBMbnQCR0BzaBgEPRI48q8XBiSObQh4dc19SVoC0HINSG7hgOwBmVM/ujozxttvn7
 gFJ2OF7wNLvQkrgquqoq2cxCE9mfzt/RKjeyVODcbYYoqnvey20BPdd9K2T+tKBdqaUWHGWTCZVRY
 8zqAweENs766SlhdNXzvUg==;
Date: Thu, 12 Oct 2023 15:31:09 +0300
Message-Id: <83r0m0t436.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Yuchen Guo <yguo@HIDDEN>, Po Lu <luangruo@HIDDEN>
In-Reply-To: <87jzrs3x14.fsf@lan> (message from Yuchen Guo on Thu, 12 Oct 2023
 11:22:47 +0000)
Subject: Re: bug#66416: GDB output from new crash
References: <87il7cxoyc.fsf@lan> <87edi0xnqx.fsf@lan> <83wmvsta00.fsf@HIDDEN>
 <87jzrs3x14.fsf@lan>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Yuchen Guo <yguo@HIDDEN>
> Cc: 66416 <at> debbugs.gnu.org
> Date: Thu, 12 Oct 2023 11:22:47 +0000
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > Assuming you still have this session caught in GDB, please type at the
> > GDB prompt:
> >
> >   (gdb) fr 8
> >   (gdb) p cache
> >   (gdb) p ftcrfont_info->metrics[row]
> >
> > and post the results here.
> >
> > Thanks.
> 
> #8  ftcrfont_glyph_extents (font=0x3fe60998, glyph=1182, metrics=metrics@entry=0x0) at ftcrfont.c:94
> warning: Source file is more recent than executable.
> 94	  if (METRICS_STATUS (cache) == METRICS_INVALID)
> $1 = (struct font_metrics *) 0x12d
> $2 = (struct font_metrics *) 0x1
> quit

Po Lu, any idea what happened here?  ftcrfont_info->metrics is clearly
bogus, but how did it happen and why?  The argument FONT seems to be
valid.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 12 Oct 2023 11:44:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 12 07:44:24 2023
Received: from localhost ([127.0.0.1]:41195 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qqu76-0006zP-60
	for submit <at> debbugs.gnu.org; Thu, 12 Oct 2023 07:44:24 -0400
Received: from mout02.posteo.de ([185.67.36.66]:49617)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yguo@HIDDEN>) id 1qqu72-0006yz-BJ
 for 66416 <at> debbugs.gnu.org; Thu, 12 Oct 2023 07:44:23 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id DDA6D240101
 for <66416 <at> debbugs.gnu.org>; Thu, 12 Oct 2023 13:43:51 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1697111031; bh=VyZHSF4wF2z8/upWvghmo5B0FJ8IEuzyQw4LePzjxt0=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From;
 b=jjKt6gcmZlm9WPKxMCs2l07Oncy1BZcHHcfq7J1EeuLv9m+zQnznfCJfpk8uB65t3
 bUwadpyco/ov9ZqTopFpLTsA81qCOpT8vl6m1vHR+AmYHu4luJ+id7lPBAztFfUCDP
 paODgcWE1gez0F/B8AIVdIL8p/SrHy5kIZhuh05pbPhhwPTiVJUeoJ8XLW5E05J3A8
 rJFrYhY4p2hfTzzCKjR2R2bajPxSRZFitVzfM2mZHyKuuCK10mryY6pJHTziAjFGQU
 OoH2AGL6nAJ5Bepz9Q5mCD6mAex7R9gFw20oqJEE/vtsK17YxENSXrvLjyoba4uu8T
 NvKl/HpF5eCvg==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4S5npb2kwgz9rxB;
 Thu, 12 Oct 2023 13:43:51 +0200 (CEST)
From: Yuchen Guo <yguo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#66416: GDB output from new crash
In-Reply-To: <83wmvsta00.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 12 Oct
 2023 13:23:27 +0300")
References: <87il7cxoyc.fsf@lan> <87edi0xnqx.fsf@lan> <83wmvsta00.fsf@HIDDEN>
Date: Thu, 12 Oct 2023 11:43:50 +0000
Message-ID: <87edi03w21.fsf@lan>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


> Assuming you still have this session caught in GDB, please type at the
> GDB prompt:

By the way, I'm using Emacs server service, started by systemd.

When Emacs crashes, systemd logs the crash and gives me a
zstd-compressed coredump, located under /var/lib/systemd/coredump/.  All
outputs are obtained by running gdb on this coredump.  Don't know if
this matters, just stating a fact.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 12 Oct 2023 11:23:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 12 07:23:22 2023
Received: from localhost ([127.0.0.1]:41185 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qqtmj-0003g6-JN
	for submit <at> debbugs.gnu.org; Thu, 12 Oct 2023 07:23:22 -0400
Received: from mout01.posteo.de ([185.67.36.65]:54853)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yguo@HIDDEN>) id 1qqtmf-0003fm-3q
 for 66416 <at> debbugs.gnu.org; Thu, 12 Oct 2023 07:23:20 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id C84E8240028
 for <66416 <at> debbugs.gnu.org>; Thu, 12 Oct 2023 13:22:48 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1697109768; bh=tOjo4gLGW5URhpTe5RcUNka2OqrA1NeZznKzDTtdB+I=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From;
 b=JmzGqboB8Up3q0EdHIMx9npkVB2SBjty7fj2ki6xKqvuF4h0pf6etoe2Oy9sMUUnC
 7ub3brTrYiDGChYm7/NuMLJXmCkT8xfjqgFlDg6qffOx9fpSowqkwguW6vZvGlBTG1
 YNJXlC2WIdEdY2rGAlvIrF9gdLxdRl9p8Citc/n/sF2c3gDLFBfqSmKSo4PITLbF1+
 cs1lmoxXqG1CZ93P+juwX1grM6qHb3d7s81WkGTD7I4/mwL+vLznQyL/NtdeVmBSm9
 s86UrL67XEl8TmcHA6WOr0nWdPlVnKwrCdDK+E+5c15I3pSoFzMeBijsowwIsEzS3B
 FyKWaRCaFxm0w==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4S5nLJ1zthz9rxN;
 Thu, 12 Oct 2023 13:22:48 +0200 (CEST)
From: Yuchen Guo <yguo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#66416: GDB output from new crash
In-Reply-To: <83wmvsta00.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 12 Oct
 2023 13:23:27 +0300")
References: <87il7cxoyc.fsf@lan> <87edi0xnqx.fsf@lan> <83wmvsta00.fsf@HIDDEN>
Date: Thu, 12 Oct 2023 11:22:47 +0000
Message-ID: <87jzrs3x14.fsf@lan>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

> Assuming you still have this session caught in GDB, please type at the
> GDB prompt:
>
>   (gdb) fr 8
>   (gdb) p cache
>   (gdb) p ftcrfont_info->metrics[row]
>
> and post the results here.
>
> Thanks.

#8  ftcrfont_glyph_extents (font=0x3fe60998, glyph=1182, metrics=metrics@entry=0x0) at ftcrfont.c:94
warning: Source file is more recent than executable.
94	  if (METRICS_STATUS (cache) == METRICS_INVALID)
$1 = (struct font_metrics *) 0x12d
$2 = (struct font_metrics *) 0x1
quit




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 12 Oct 2023 10:24:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 12 06:24:21 2023
Received: from localhost ([127.0.0.1]:41143 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qqsrc-0001Rc-Q7
	for submit <at> debbugs.gnu.org; Thu, 12 Oct 2023 06:24:21 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:50476)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qqsrZ-0001OC-V0
 for 66416 <at> debbugs.gnu.org; Thu, 12 Oct 2023 06:24:19 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qqsr7-0006Zy-W3; Thu, 12 Oct 2023 06:23:50 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=JBBB7RTbPBlDGr825RI3/ne60qf8AFQGLkHx7PNWzI0=; b=lIjbYK/1nNvY
 MxiMeSyktfVaauKIUtFJB0avUDifnBv9nn3vZhnlIzB0Yl8vvDV42x1gr4Tke5bQmihs7Usl/IwfY
 ZtaZQh0YeaI0IInnyT0OYIb8OOA5KdAnVC4rV3B3WZrWqZ8iaebLs5LGC6s9M/7F708/WDRzFjV/f
 6dnE4II+NpTkUoq4dr3vGHaNqgPO7dcAPaA3lkLuBpf3lE7xssZms+fVOqlwr9hKjUY+71eIP6w5o
 xjXHnvIsfcHsnANvCSZNMHEbpkpeJC0ZOWHSRwfTb0Et+eBzKBBP2g5KWNcy9tVv1LhHkCw5oUXbH
 9FsxpMiqbeljJRfPgSWkmA==;
Date: Thu, 12 Oct 2023 13:23:27 +0300
Message-Id: <83wmvsta00.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Yuchen Guo <yguo@HIDDEN>
In-Reply-To: <87edi0xnqx.fsf@lan> (message from Yuchen Guo on Thu, 12 Oct 2023
 08:12:54 +0000)
Subject: Re: bug#66416: GDB output from new crash
References: <87il7cxoyc.fsf@lan> <87edi0xnqx.fsf@lan>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Yuchen Guo <yguo@HIDDEN>
> Date: Thu, 12 Oct 2023 08:12:54 +0000
> 
> Thread 1 (Thread 0x69d2a03d7240 (LWP 4178)):
> #0  0x000069d2a5a93a8c in __pthread_kill_implementation () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
> No symbol table info available.
> #1  0x000069d2a5a44c86 in raise () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
> No symbol table info available.
> #2  0x0000000000522793 in terminate_due_to_signal (sig=sig@entry=11, backtrace_limit=backtrace_limit@entry=40) at emacs.c:464
> No locals.
> #3  0x000000000053de25 in handle_fatal_signal (sig=sig@entry=11) at sysdep.c:1783
> No locals.
> #4  0x000000000053de52 in deliver_thread_signal (sig=sig@entry=11, handler=handler@entry=0x53de17 <handle_fatal_signal>) at sysdep.c:1775
>         old_errno = 13
> #5  0x000000000053deb6 in deliver_fatal_thread_signal (sig=sig@entry=11) at sysdep.c:1795
> No locals.
> #6  0x000000000053dfa5 in handle_sigsegv (sig=11, siginfo=<optimized out>, arg=<optimized out>) at sysdep.c:1888
>         fatal = <optimized out>
> #7  <signal handler called>
> No symbol table info available.
> #8  ftcrfont_glyph_extents (font=0x3fe60998, glyph=1182, metrics=metrics@entry=0x0) at ftcrfont.c:94
>         ftcrfont_info = 0x3fe60998
>         row = 9
>         col = 30
>         cache = 0x12d
> #9  0x0000000000616e8e in ftcrfont_draw (s=0x77801d4f6d50, from=0, to=<optimized out>, x=427, y=427, with_background=<optimized out>) at ftcrfont.c:604
>         f = 0x42a23c18
>         ftcrfont_info = 0x3fe60998
>         cr = 0x3f4a1280
>         glyphs = 0x77801d4f68a0
>         len = 1
>         i = 0

Assuming you still have this session caught in GDB, please type at the
GDB prompt:

  (gdb) fr 8
  (gdb) p cache
  (gdb) p ftcrfont_info->metrics[row]

and post the results here.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 12 Oct 2023 08:13:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 12 04:13:29 2023
Received: from localhost ([127.0.0.1]:40579 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qqqoy-0001BV-41
	for submit <at> debbugs.gnu.org; Thu, 12 Oct 2023 04:13:29 -0400
Received: from mout01.posteo.de ([185.67.36.65]:59679)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yguo@HIDDEN>) id 1qqqot-0001BG-U1
 for 66416 <at> debbugs.gnu.org; Thu, 12 Oct 2023 04:13:26 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 46A14240028
 for <66416 <at> debbugs.gnu.org>; Thu, 12 Oct 2023 10:12:55 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1697098375; bh=hlCZGRSmWMgQucKv3U8P9XecOnDRxMtjJnDQuq3t6DM=;
 h=From:To:Subject:Date:Message-ID:MIME-Version:From;
 b=jj+pd6Z4dpbwnyYQCTLH7J4PcAmd0NHgtdllizbnmvhvHbSY6HjnCF9f9seHtYJgm
 MZzya0IXd9OrNaIVFGlFKguhWZ6JK8hpYYdfqayi0jb3/nSTY9d5lHLhRvIQ8wMems
 DwdlCltHSygFZ5NtiMbiABa7sTGMVdWk4QbsdAF5agiyJjR+lqzx2d98FFgfL0lMD7
 CtqgmrxyJ0OOBMGkw/0WiApdRNJG0GVi2y6lShH2h/iWnivYIYo61YE2d0/jo/K3zE
 mTt6bAUhGE3TJNH5YgfOpO29/L4elDLx+YZkQnWw56/FrOss1wVnf3Ymd9+JoGq5xa
 kdbtaWfBlYdBw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4S5j7B5d5yz9rxQ
 for <66416 <at> debbugs.gnu.org>; Thu, 12 Oct 2023 10:12:54 +0200 (CEST)
From: Yuchen Guo <yguo@HIDDEN>
To: 66416 <at> debbugs.gnu.org
Subject: GDB output from new crash
In-Reply-To: <87il7cxoyc.fsf@lan> (Yuchen Guo's message of "Thu, 12 Oct 2023
 09:46:51 +0200")
References: <87il7cxoyc.fsf@lan>
Date: Thu, 12 Oct 2023 08:12:54 +0000
Message-ID: <87edi0xnqx.fsf@lan>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Full text
# output from `thread apply all bt full'
# https://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=eedd9db6190a7f69403aefe8098a554ef2b51371
# init.el from
# https://codeberg.org/m0p/dotfiles/raw/commit/d88fdd1451f867b1f6295e94b3cc9ad79e21072d/imports/not-nix-config-files/emacs-init.el

Thread 5 (Thread 0x69d28ffff6c0 (LWP 4727)):
#0  0x000069d2a5b0677f in poll () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
No symbol table info available.
#1  0x000069d2af4c30ce in g_main_context_iterate.constprop () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
No symbol table info available.
#2  0x000069d2af4c340f in g_main_loop_run () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
No symbol table info available.
#3  0x000069d2af7309f6 in gdbus_shared_thread_func () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libgio-2.0.so.0
No symbol table info available.
#4  0x000069d2af4ef7cd in g_thread_proxy () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
No symbol table info available.
#5  0x000069d2a5a91dd4 in start_thread () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
No symbol table info available.
#6  0x000069d2a5b139b0 in clone3 () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
No symbol table info available.

Thread 4 (Thread 0x69d29d8846c0 (LWP 4724)):
#0  0x000069d2a5b0bd8d in syscall () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
No symbol table info available.
#1  0x000069d2af51cc30 in g_cond_wait () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
No symbol table info available.
#2  0x000069d2af48d05b in g_async_queue_pop_intern_unlocked () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
No symbol table info available.
#3  0x000069d2af4efe12 in g_thread_pool_spawn_thread () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
No symbol table info available.
#4  0x000069d2af4ef7cd in g_thread_proxy () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
No symbol table info available.
#5  0x000069d2a5a91dd4 in start_thread () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
No symbol table info available.
#6  0x000069d2a5b139b0 in clone3 () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
No symbol table info available.

Thread 3 (Thread 0x69d28f7fe6c0 (LWP 4728)):
#0  0x000069d2a5b0677f in poll () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
No symbol table info available.
#1  0x000069d2af4c30ce in g_main_context_iterate.constprop () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
No symbol table info available.
#2  0x000069d2af4c31ec in g_main_context_iteration () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
No symbol table info available.
#3  0x000069d29c0718ad in dconf_gdbus_worker_thread () from /nix/store/74z0q6qcc86xrf5k95g398ydrvz7sa3m-dconf-0.40.0-lib/lib/gio/modules/libdconfsettings.so
No symbol table info available.
#4  0x000069d2af4ef7cd in g_thread_proxy () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
No symbol table info available.
#5  0x000069d2a5a91dd4 in start_thread () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
No symbol table info available.
#6  0x000069d2a5b139b0 in clone3 () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
No symbol table info available.

Thread 2 (Thread 0x69d29d0836c0 (LWP 4725)):
#0  0x000069d2a5b0677f in poll () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
No symbol table info available.
#1  0x000069d2af4c30ce in g_main_context_iterate.constprop () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
No symbol table info available.
#2  0x000069d2af4c31ec in g_main_context_iteration () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
No symbol table info available.
#3  0x000069d2af4c3231 in glib_worker_main () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
No symbol table info available.
#4  0x000069d2af4ef7cd in g_thread_proxy () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
No symbol table info available.
#5  0x000069d2a5a91dd4 in start_thread () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
No symbol table info available.
#6  0x000069d2a5b139b0 in clone3 () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
No symbol table info available.

Thread 1 (Thread 0x69d2a03d7240 (LWP 4178)):
#0  0x000069d2a5a93a8c in __pthread_kill_implementation () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
No symbol table info available.
#1  0x000069d2a5a44c86 in raise () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
No symbol table info available.
#2  0x0000000000522793 in terminate_due_to_signal (sig=sig@entry=11, backtrace_limit=backtrace_limit@entry=40) at emacs.c:464
No locals.
#3  0x000000000053de25 in handle_fatal_signal (sig=sig@entry=11) at sysdep.c:1783
No locals.
#4  0x000000000053de52 in deliver_thread_signal (sig=sig@entry=11, handler=handler@entry=0x53de17 <handle_fatal_signal>) at sysdep.c:1775
        old_errno = 13
#5  0x000000000053deb6 in deliver_fatal_thread_signal (sig=sig@entry=11) at sysdep.c:1795
No locals.
#6  0x000000000053dfa5 in handle_sigsegv (sig=11, siginfo=<optimized out>, arg=<optimized out>) at sysdep.c:1888
        fatal = <optimized out>
#7  <signal handler called>
No symbol table info available.
#8  ftcrfont_glyph_extents (font=0x3fe60998, glyph=1182, metrics=metrics@entry=0x0) at ftcrfont.c:94
        ftcrfont_info = 0x3fe60998
        row = 9
        col = 30
        cache = 0x12d
#9  0x0000000000616e8e in ftcrfont_draw (s=0x77801d4f6d50, from=0, to=<optimized out>, x=427, y=427, with_background=<optimized out>) at ftcrfont.c:604
        f = 0x42a23c18
        ftcrfont_info = 0x3fe60998
        cr = 0x3f4a1280
        glyphs = 0x77801d4f68a0
        len = 1
        i = 0
#10 0x000000000063d1f9 in pgtk_draw_composite_glyph_string_foreground (s=s@entry=0x77801d4f6d50) at pgtkterm.c:1536
        xoff = <optimized out>
        yoff = <optimized out>
        wadjust = 0
        gstring = 0x3fe60f2d
        glyph = <optimized out>
        y = 431
        width = <optimized out>
        i = 0
        j = <optimized out>
        x = 426
        font = 0x3fe60998
#11 0x00000000006401c3 in pgtk_draw_glyph_string (s=0x77801d4f6d50) at pgtkterm.c:2525
        relief_drawn_p = false
        cr = 0x3f4a1280
#12 0x00000000004b3264 in draw_glyphs (w=w@entry=0x426092e0, x=483, row=0x3f3ab600, area=area@entry=TEXT_AREA, start=<optimized out>, start@entry=0, end=<optimized out>, end@entry=39, hl=<optimized out>, overlaps=<optimized out>) at xdisp.c:30636
        head = 0x77801d4f8040
        tail = 0x77801d4f69d0
        s = 0x77801d4f6d50
        clip_head = 0x0
        clip_tail = 0x0
        i = <optimized out>
        j = <optimized out>
        x_reached = <optimized out>
        last_x = <optimized out>
        area_left = <optimized out>
        f = <optimized out>
        sa_avail = 15820
        sa_count = <optimized out>
#13 0x00000000004b34f0 in gui_write_glyphs (w=0x426092e0, updated_row=<optimized out>, start=<optimized out>, updated_area=TEXT_AREA, len=39) at xdisp.c:32699
        x = <optimized out>
        hpos = 0
        chpos = 0
#14 0x0000000000466ce1 in update_text_area (w=w@entry=0x426092e0, updated_row=updated_row@entry=0x3f3ab600, vpos=vpos@entry=10, partial_p=partial_p@entry=0x77801d4f8387) at dispnew.c:4001
        current_row = 0x3f3830f0
        desired_row = 0x3f3ab600
        rif = 0xb3e360 <pgtk_redisplay_interface>
        changed_p = false
#15 0x0000000000469f48 in update_window_line (w=w@entry=0x426092e0, vpos=vpos@entry=10, mouse_face_overwritten_p=mouse_face_overwritten_p@entry=0x77801d4f8407) at dispnew.c:4259
        current_row = 0x3f3830f0
        desired_row = 0x3f3ab600
        rif = 0xb3e360 <pgtk_redisplay_interface>
        changed_p = false
        partial_p = false
        was_stipple = <optimized out>
#16 0x000000000046d5ef in update_window (w=w@entry=0x426092e0, force_p=force_p@entry=true) at dispnew.c:3731
        vpos = 10
        i = <optimized out>
        end = 0x3f3ada00
        tab_line_row = <optimized out>
        mouse_face_overwritten_p = false
        n_updated = 0
        mode_line_row = 0x3f3ada00
        changed_p = true
        invisible_rows_marked = false
        row = 0x3f3ab600
        header_line_row = <optimized out>
        yb = <optimized out>
        desired_matrix = 0x4253a6a0
        paused_p = <optimized out>
        preempt_count = <optimized out>
        rif = <optimized out>
#17 0x000000000046d991 in update_window_tree (w=w@entry=0x426092e0, force_p=force_p@entry=true) at dispnew.c:3456
        paused_p = false
#18 0x000000000046da91 in update_frame (f=f@entry=0x42a23c18, force_p=true, force_p@entry=false, inhibit_hairy_id_p=inhibit_hairy_id_p@entry=false) at dispnew.c:3291
        paused_p = <optimized out>
        root_window = 0x426092e0
#19 0x00000000004abe90 in redisplay_internal () at xdisp.c:17122
        gcscrollbars = true
        f_redisplay_flag = false
        f = 0x42a23c18
        w = 0x426092e0
        sw = <optimized out>
        fr = <optimized out>
        pending = false
        must_finish = <optimized out>
        match_p = <optimized out>
        tlbufpos = <optimized out>
        tlendpos = <optimized out>
        number_of_visible_frames = <optimized out>
        sf = <optimized out>
        polling_stopped_here = true
        tail = <optimized out>
        frame = 0x42a23c1d
        MAX_HSCROLL_RETRIES = MAX_HSCROLL_RETRIES
        hscroll_retries = <optimized out>
        MAX_GARBAGED_FRAME_RETRIES = MAX_GARBAGED_FRAME_RETRIES
        garbaged_frame_retries = 0
        consider_all_windows_p = <optimized out>
        update_miniwindow_p = <optimized out>
        count = <optimized out>
        retry_frame = <optimized out>
#20 0x00000000004ac707 in redisplay () at xdisp.c:16225
No locals.
#21 0x0000000000531938 in read_char (commandflag=1, map=map@entry=0x428bf0f3, prev_event=0x0, used_mouse_menu=used_mouse_menu@entry=0x77801d4f9c0b, end_time=end_time@entry=0x0) at keyboard.c:2636
        echo_current = true
        c = <optimized out>
        local_getcjmp = {{__jmpbuf = {0, 131392131275168, 0, 36960, 12440512, 0, 2, 3822}, __mask_was_saved = 1072989109, __saved_mask = {__val = {5823051, 36960, 131392131275312, 2, 5940859, 1058952896, 1062107776, 1049704224, 5821465, 0, 1058952896, 1057136819, 5821812, 1057136659, 5482667, 4294967296}}}}
        save_jump = {{__jmpbuf = {0, 40272, 0, 0, 0, 131392131275504, 0, 1111710579}, __mask_was_saved = 1, __saved_mask = {__val = {10518585111937802752, 1, 1116467347, 0, 10518585111937802752, 1116467427, 4294967295, 48, 5483074, 0, 0, 1053901840, 10518585111937802752, 8194, 0, 0}}}}
        tem = <optimized out>
        save = <optimized out>
        previous_echo_area_message = 0x0
        also_record = 0x0
        reread = false
        recorded = false
        polling_stopped_here = false
        orig_kboard = 0x3f225150
        jmpcount = <optimized out>
#22 0x00000000005330f1 in read_key_sequence (keybuf=keybuf@entry=0x77801d4f9d10, prompt=prompt@entry=0x0, dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false) at keyboard.c:10084
        interrupted_kboard = 0x3f225150
        interrupted_frame = 0x42a23c18
        key = <optimized out>
        used_mouse_menu = false
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = 0
        new_binding = <optimized out>
        count = <optimized out>
        t = 0
        echo_start = 0
        keys_start = 0
        current_binding = 0x428bf0f3
        first_unbound = 31
        mock_input = 0
        used_mouse_menu_history = {false <repeats 30 times>}
        fkey = {parent = 0x3f040773, map = 0x3f040773, start = 0, end = 0}
        keytran = {parent = 0x69d29fddb043, map = 0x69d29fddb043, start = 0, end = 0}
        indec = {parent = 0x3f0407c3, map = 0x3f0407c3, start = 0, end = 0}
        shift_translated = false
        delayed_switch_frame = 0x0
        original_uppercase = 0x9060
        original_uppercase_position = -1
        dummyflag = false
        starting_buffer = 0x3ff483b0
        fake_prefixed_keys = 0x0
        first_event = 0x0
        second_event = <optimized out>
#23 0x0000000000534557 in command_loop_1 () at keyboard.c:1384
        cmd = <optimized out>
        keybuf = {0x22, 0x1a2, 0xa0, 0x77801d4f9d80, 0x2, 0x30, 0x0, 0x59cb1d <do_one_unbind+287>, 0x34e0, 0x60, 0x0, 0x0, 0x0, 0x59df58 <unbind_to+105>, 0xb, 0xed90, 0x30, 0x3ff483b5, 0x0, 0x91f9856df0c3e200, 0xbd1480 <globals>, 0x429b3943, 0x60, 0x529bcb <cmd_error+363>, 0x0, 0x69d29f4a770d, 0xbd1480 <globals>, 0x91f9856df0c3e200, 0x60, 0x69d29f76f0db}
        i = <optimized out>
        prev_modiff = 24
        prev_buffer = 0x69d29f4a7708
#24 0x000000000059d1ac in internal_condition_case (bfun=bfun@entry=0x53431d <command_loop_1>, handlers=handlers@entry=0x90, hfun=hfun@entry=0x529a60 <cmd_error>) at eval.c:1474
        val = <optimized out>
        c = 0x3e3dcfe0
#25 0x0000000000524551 in command_loop_2 (handlers=handlers@entry=0x90) at keyboard.c:1133
        val = <optimized out>
#26 0x000000000059d11a in internal_catch (tag=tag@entry=0xfc90, func=func@entry=0x524537 <command_loop_2>, arg=arg@entry=0x90) at eval.c:1197
        val = <optimized out>
        c = 0x3e3f9630
#27 0x000000000052450e in command_loop () at keyboard.c:1111
No locals.
#28 0x000000000052960a in recursive_edit_1 () at keyboard.c:720
        count = <optimized out>
        val = <optimized out>
#29 0x0000000000529959 in Frecursive_edit () at keyboard.c:803
        count = <optimized out>
        buffer = <optimized out>
#30 0x0000000000523a4c in main (argc=2, argv=<optimized out>) at emacs.c:2521
        stack_bottom_variable = 0x69d2a24c9da0 <(anonymous namespace)::moneypunct_cache_ct>
        no_loadup = false
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0x0
        original_pwd = <optimized out>
        dump_mode = <optimized out>
        skip_args = 1
        temacs = 0x0
        attempt_load_pdump = <optimized out>
        only_version = false
        rlim = {rlim_cur = 10022912, rlim_max = 18446744073709551615}
        lc_all = <optimized out>
        sockfd = -1
        module_assertions = <optimized out>
quit




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 12 Oct 2023 07:47:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 12 03:47:24 2023
Received: from localhost ([127.0.0.1]:40544 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qqqPk-0000Hg-9o
	for submit <at> debbugs.gnu.org; Thu, 12 Oct 2023 03:47:24 -0400
Received: from mout02.posteo.de ([185.67.36.66]:47097)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yguo@HIDDEN>) id 1qqqPg-0000HR-TE
 for 66416 <at> debbugs.gnu.org; Thu, 12 Oct 2023 03:47:23 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id C1125240104
 for <66416 <at> debbugs.gnu.org>; Thu, 12 Oct 2023 09:46:52 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1697096812; bh=y/95ZupcODIJP/v+Dqmb3dvsQntWuV/yDSAzAcdiPgk=;
 h=From:To:Subject:Date:Message-ID:MIME-Version:From;
 b=mS5JlOXveui6h4y2gQxkySBXWrQKMCMs506SAlXUfRJpxhZ81p2H81rUTZS4C60OW
 0cB00XtpUIl05by+Cw5Wh8ubowU8W8aHI1imxhMt7enwswJFDBTHTZ/a2RqFthLRPk
 K1cRmRkQ2I9DRf9781ey3M32HoC30Cf2clU/GTc9H9mTpBGDvocTqqk3eQMulLWKT2
 NiAn6FLEvqZ6EJqTg0y7XY6f0btJI3VWpkXniPbJ4ydZ4tKc0t1bkjajvf0dpsrUNC
 JhSae6sbpOmKxAmAw8oU7glWlmm6sybAPL2cmnyPXqLVjtgwxnybtRa3hVl/zoze8v
 UwCWBajQo+y+Q==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4S5hY837S9z9rxV
 for <66416 <at> debbugs.gnu.org>; Thu, 12 Oct 2023 09:46:52 +0200 (CEST)
From: Yuchen Guo <yguo@HIDDEN>
To: 66416 <at> debbugs.gnu.org
Subject: GDB output from new crash
Date: Thu, 12 Oct 2023 07:46:51 +0000
Message-ID: <87il7cxoyc.fsf@lan>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

The build from latest commit in emacs-29 branch crashed after attempting
to view HELLO file.

GDB output:
https://codeberg.org/m0p/ublock-origin-mirror/raw/branch/main/gdb-2.txt




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 11 Oct 2023 13:12:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 11 09:12:55 2023
Received: from localhost ([127.0.0.1]:37781 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qqZ1C-0005Dc-NT
	for submit <at> debbugs.gnu.org; Wed, 11 Oct 2023 09:12:55 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52252)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qqZ18-0005DJ-8U
 for 66416 <at> debbugs.gnu.org; Wed, 11 Oct 2023 09:12:53 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qqZ0g-0001sd-4V; Wed, 11 Oct 2023 09:12:22 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=fJ5Svf4EdpD0gzA93YwYqQoUoJWjLQV2GOa5ZV8klhk=; b=bBOR1Y9XvBoj
 k5oDnn0KtTWbJcA4B8e968QE2KACWmi99LK2Opbraz0IuPffFUknEj8aiNXwA6fY3/LQYvYJBWUWw
 w97S5a9cD3m0edRsa2E3qtp0BafbEh+h1dCz7y7OTSDysZRieZf1anjkuML7prqoPSwHoj19wabsT
 /YNidXeerOi316X1CTWPZv2mUjN0LK2NGEpLYhTE2NgVKNGJc2Kos2s4aZyLmSyaoeYksu6Za4Ive
 GJBJ/dth0J2AidY0V7upFOwXPFyiKwgSN29D/DItkewgVz7UKiNZnVT2erbAMkMW778BeiJhpNXO6
 3abLiYTGYdaqW27ogj18+Q==;
Date: Wed, 11 Oct 2023 16:12:10 +0300
Message-Id: <8334yhuwut.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Yuchen Guo <yguo@HIDDEN>
In-Reply-To: <86r0m1coop.fsf@lan> (message from Yuchen Guo on Wed, 11 Oct 2023
 12:45:58 +0000)
Subject: Re: bug#66416: 29.1; Crashes when visiting HELLO file with pgtk on
 Wayland
References: <865y3gq2in.fsf@lan> <83mswsvy0p.fsf@HIDDEN> <87bkd7k6b8.fsf@lan>
 <831qe3ws6d.fsf@HIDDEN> <87mswr4ntw.fsf@lan>
 <83wmvvus3w.fsf@HIDDEN>
 <87cyxnoxp3.fsf@lan> <83pm1mvfw4.fsf@HIDDEN> <875y3ews35.fsf@lan>
 <83h6myvbmh.fsf@HIDDEN> <86y1gajve8.fsf@lan> <838r89v1iv.fsf@HIDDEN>
 <86r0m1coop.fsf@lan>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Yuchen Guo <yguo@HIDDEN>
> Cc: 66416 <at> debbugs.gnu.org
> Date: Wed, 11 Oct 2023 12:45:58 +0000
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > Try font-info instead, and look at the last, 13th, element of the
> > vector it returns.  The doc string of font-info describes what it can
> > tell you.
> 
> I obtained the following output for the Simplified Chinese Serif font:
> 
> (opentype
>  ((DFLT (nil aalt calt ccmp dlig fwid hist hwid liga pwid ruby vert
>              vrt2))
>   (cyrl (nil aalt calt ccmp dlig fwid hist hwid liga locl pwid ruby
>              vert vrt2)
>         (JAN\  aalt calt ccmp dlig fwid hist hwid liga locl pwid ruby
>                vert vrt2)
>         (KOR\  aalt calt ccmp dlig fwid hist hwid liga locl pwid
>                ruby vert vrt2)
>         (ZHH\  aalt calt ccmp dlig fwid hist hwid liga locl pwid
>                ruby vert vrt2)
>         (ZHS\  aalt calt ccmp dlig fwid hist hwid liga locl pwid
>                ruby vert vrt2)
>         (ZHT\  aalt calt ccmp dlig fwid hist hwid liga locl pwid
>                ruby vert vrt2))...)
> 
> ...500+ lines omitted...
> 
> It seems to me that the font declares support for all CJK scripts.

And you are saying that this font is not appropriate for your
language-environment, contrary to what the font declares?  If so, you
could try telling Emacs to ignore than font, using face-ignored-fonts.

> Back to the original bug report:
> 
> Emacs has not crashed since the rebuild from latest commit in emacs-29
> branch.  Previously Emacs server was crashing every few hours.
> 
> If there is no more crashes in the coming week, then I think this issue
> can be closed.

Thanks, so please come back and report in a week or so, or when it
does crash, whichever happens earlier.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 11 Oct 2023 12:46:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 11 08:46:41 2023
Received: from localhost ([127.0.0.1]:37753 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qqYbg-0004Gc-K9
	for submit <at> debbugs.gnu.org; Wed, 11 Oct 2023 08:46:41 -0400
Received: from mout01.posteo.de ([185.67.36.65]:36555)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yguo@HIDDEN>) id 1qqYbb-0004G3-PO
 for 66416 <at> debbugs.gnu.org; Wed, 11 Oct 2023 08:46:31 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id E7029240027
 for <66416 <at> debbugs.gnu.org>; Wed, 11 Oct 2023 14:45:59 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1697028359; bh=QkL3Z0k8ZHatprbL8boYmYnndcJCT4p/zAEd3w6Haq8=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From;
 b=iutKi1z78vwCDBAhQWCsXhhp3Ol22bfeQ655SxSXNMXZSpisZASu70oB75Sqex/YR
 XsM9p2rDX+DPoqnqPue0ne6HqGU9l18/LDqCG2Pb2unU205CtckPPPgv8VjNpzA3Uh
 Nx9IUAQdK/vXM2FwFltrQ9J50VnkBMHDx4Uc1EWK70jPw86bqUGpqyp/dAm2fRjbXU
 hEP3Y6mVwoW7p1ei3ZjSPvNr3sHA5HDGtQXoY3I5jcaiCcUikGXC9AJTquk0BVrXL7
 bMu8Lv1M4JMVQefkB1ElynBuMh57czJNcFbI/u14Uht38VYenGGKBjDsiZez58+icV
 9FXEXvEVFGsVA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4S5CDl1pJjz6tvt;
 Wed, 11 Oct 2023 14:45:59 +0200 (CEST)
From: Yuchen Guo <yguo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#66416: 29.1; Crashes when visiting HELLO file with pgtk on
 Wayland
In-Reply-To: <838r89v1iv.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 11 Oct
 2023 14:31:20 +0300")
References: <865y3gq2in.fsf@lan> <83mswsvy0p.fsf@HIDDEN> <87bkd7k6b8.fsf@lan>
 <831qe3ws6d.fsf@HIDDEN> <87mswr4ntw.fsf@lan>
 <83wmvvus3w.fsf@HIDDEN>
 <87cyxnoxp3.fsf@lan> <83pm1mvfw4.fsf@HIDDEN> <875y3ews35.fsf@lan>
 <83h6myvbmh.fsf@HIDDEN> <86y1gajve8.fsf@lan> <838r89v1iv.fsf@HIDDEN>
Date: Wed, 11 Oct 2023 12:45:58 +0000
Message-ID: <86r0m1coop.fsf@lan>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

> Try font-info instead, and look at the last, 13th, element of the
> vector it returns.  The doc string of font-info describes what it can
> tell you.

I obtained the following output for the Simplified Chinese Serif font:

(opentype
 ((DFLT (nil aalt calt ccmp dlig fwid hist hwid liga pwid ruby vert
             vrt2))
  (cyrl (nil aalt calt ccmp dlig fwid hist hwid liga locl pwid ruby
             vert vrt2)
        (JAN\  aalt calt ccmp dlig fwid hist hwid liga locl pwid ruby
               vert vrt2)
        (KOR\  aalt calt ccmp dlig fwid hist hwid liga locl pwid
               ruby vert vrt2)
        (ZHH\  aalt calt ccmp dlig fwid hist hwid liga locl pwid
               ruby vert vrt2)
        (ZHS\  aalt calt ccmp dlig fwid hist hwid liga locl pwid
               ruby vert vrt2)
        (ZHT\  aalt calt ccmp dlig fwid hist hwid liga locl pwid
               ruby vert vrt2))...)

...500+ lines omitted...

It seems to me that the font declares support for all CJK scripts.

> font-spec

Thanks for the detailed suggestions, but I think I will not tweak that
any further at the moment, since I still do not have sufficient
knowledge for doing so.  Besides, I am already able to sit back and
enjoy variable pitch font in its full 4K-resolution, pure GTK on Wayland
glory.

By God, I was writing TeX in TUI Emacs for a whole year!  I didn't know
what was missing in my life.  Obligatory screenshot:

https://codeberg.org/m0p/ublock-origin-mirror/raw/branch/main/4k.png

===================================================

Back to the original bug report:

Emacs has not crashed since the rebuild from latest commit in emacs-29
branch.  Previously Emacs server was crashing every few hours.

If there is no more crashes in the coming week, then I think this issue
can be closed.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 11 Oct 2023 11:32:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 11 07:32:05 2023
Received: from localhost ([127.0.0.1]:37646 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qqXRc-0007bt-Nf
	for submit <at> debbugs.gnu.org; Wed, 11 Oct 2023 07:32:05 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33266)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qqXRY-0007YV-Kg
 for 66416 <at> debbugs.gnu.org; Wed, 11 Oct 2023 07:32:04 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qqXR6-0003EC-5D; Wed, 11 Oct 2023 07:31:32 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=nAz7eUOXkgOSDWKnTVHnfQcHB1h/eSvSoPSyBU6+DPg=; b=QFCeNYckIC1U4hZnDL/w
 Ve7FoxS4OWOP7BphAaXc443x8AQcdJv5VN7V63Xdk0uYBYP/6TN1A+tX8xdBuZjXdXKuL8cItSP1E
 E/M4BFw6oHOJvr6VKT3DayyjDp5Xqno46uVmMQTTbKc/Yc96h4gc9j9X/k1HZAnTHeO0An5d8RbrE
 IHYXfTjGEF+DGvO7IvOzYuEEqzVrD9N76lJg14ffvdF87VF3YGTfqjQBdRhbqT2yDJwR1WCOptUB/
 +I1pUA9CCEakAjaemhxGxNZSEzmO5r7h6lfZ40VQm3WqVGZ3nXan+TY6SelGDfCQOj5FT/C/qNVAX
 TF6p4Y4SXzG3XA==;
Date: Wed, 11 Oct 2023 14:31:20 +0300
Message-Id: <838r89v1iv.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Yuchen Guo <yguo@HIDDEN>
In-Reply-To: <86y1gajve8.fsf@lan> (message from Yuchen Guo on Tue, 10 Oct 2023
 16:26:55 +0000)
Subject: Re: bug#66416: 29.1; Crashes when visiting HELLO file with pgtk on
 Wayland
References: <865y3gq2in.fsf@lan> <83mswsvy0p.fsf@HIDDEN> <87bkd7k6b8.fsf@lan>
 <831qe3ws6d.fsf@HIDDEN> <87mswr4ntw.fsf@lan>
 <83wmvvus3w.fsf@HIDDEN>
 <87cyxnoxp3.fsf@lan> <83pm1mvfw4.fsf@HIDDEN> <875y3ews35.fsf@lan>
 <83h6myvbmh.fsf@HIDDEN> <86y1gajve8.fsf@lan>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66416
Cc: 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Yuchen Guo <yguo@HIDDEN>
> Cc: 66416 <at> debbugs.gnu.org
> Date: Tue, 10 Oct 2023 16:26:55 +0000
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > Do the fonts that you want to use have such language tags?  If they
> > do, which language tags correspond to what language-environments in
> > Emacs?
> 
> How can I check this?  I tried `describe-font' on the font I wish to
> use, the output is the following

Try font-info instead, and look at the last, 13th, element of the
vector it returns.  The doc string of font-info describes what it can
tell you.

> > So if certain language tags should be required from Chinese fonts in
> > specific Chinese language-environments, we can express that in our
> > default fontset, so that the need for configuring fonts manually is
> > avoided in more cases.
> >
> > ...
> > See above: is it really impossible?
> 
> I'm now convinced that this is indeed possible.  Thanks for the
> detailed explanation, and apologies for not reading `(emacs)Language Environments'
> earlier.  But now I'm unsure whether this is a problem on the part of
> the font, or something that could be fixed in Emacs.

See above.

If the fonts you want to use indeed have the appropriate
language-system tags, then you can request those tags to be present
via set-fontest-font, by using the font-spec function to specify the
FONT-SPEC argument.  See the doc string of font-spec for how to
specify language-system tags.

> The selection of Free-as-in-Freedom CJK fonts is already too
> few, good ones even less, we could ill afford to lose more of them due
> to trivial configuration problems.

The beauty of using font-spec is that you don't have to name the fonts
or their family names, only specify their properties and features, and
Emacs will find the right font(s) automatically (or at least it
should).

> In the meantime, I'm using the following snippet for fallback.  I've
> removed all other configuration:
> 	
> 	(defun my-configure-font (frame)
> 	  "Configure font given initial non-daemon FRAME.
> 	Intended for `after-make-frame-functions'."
> 	  ;; 简体中文与标点。
> 	  (set-fontset-font t 'han (font-spec :family "Noto Serif CJK SC" :weight 'medium))
> 	  (set-fontset-font t 'cjk-misc (font-spec :family "Noto Serif CJK SC" :weight 'medium))
> 	  (remove-hook 'after-make-frame-functions #'my-configure-font))
> 	
> 	(add-hook 'after-make-frame-functions #'my-configure-font)
> 
> Does this make any sense?

Yes, I think so.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 10 Oct 2023 16:27:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 10 12:27:30 2023
Received: from localhost ([127.0.0.1]:36807 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qqFZx-0007m5-TZ
	for submit <at> debbugs.gnu.org; Tue, 10 Oct 2023 12:27:30 -0400
Received: from mout02.posteo.de ([185.67.36.66]:34399)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yguo@HIDDEN>) id 1qqFZs-0007lo-CI
 for 66416 <at> debbugs.gnu.org; Tue, 10 Oct 2023 12:27:28 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 1F063240104
 for <66416 <at> debbugs.gnu.org>; Tue, 10 Oct 2023 18:26:57 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1696955217; bh=fdZghCF16rAKDsReLiJcrigRmVaARCQJEHC8zd13VrY=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:
 Content-Transfer-Encoding:From;
 b=JBHeIL24j6bbNSMvrctAoZymQpOy3aUfv/htJKdjSQuh3p5Vzyxehg8D51sj5vNVG
 8l6vzs43BAvveM3KXFerMPxhZKtzfWXTP5DgNtguM7kWNpTk4jKMiFf7+YC+j/WqSe
 U3kL8dGL0ai6Q54akEx8q4YwzCFInQT1ZceMCHq1z+357Pl8rtx/AsI5uXn7fisqNN
 621Bjt0INdz7M5w4Z4jhdP2KI+vqVdUzp4aoQ4oV6BSEjSSGFttLhS3r7qZtYWSSR3
 7nP7EImNoduTUKrE0pbEHe+X25QOq3LZzNw5s2pohMln6JY4LbB2LxaUks97gwKzXv
 blTBVj4UZWgOQ==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4S4hB8408sz9rxf;
 Tue, 10 Oct 2023 18:26:56 +0200 (CEST)
From: Yuchen Guo <yguo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#66416: 29.1; Crashes when visiting HELLO file with pgtk on
 Wayland
In-Reply-To: <83h6myvbmh.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 10 Oct
 2023 16:40:54 +0300")
References: <865y3gq2in.fsf@lan> <83mswsvy0p.fsf@HIDDEN> <87bkd7k6b8.fsf@lan>
 <831qe3ws6d.fsf@HIDDEN> <87mswr4ntw.fsf@lan>
 <83wmvvus3w.fsf@HIDDEN>
 <87cyxnoxp3.fsf@lan> <83pm1mvfw4.fsf@HIDDEN> <875y3ews35.fsf@lan>
 <83h6myvbmh.fsf@HIDDEN>
Date: Tue, 10 Oct 2023 16:26:55 +0000
Message-ID: <86y1gajve8.fsf@lan>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

> Do the fonts that you want to use have such language tags?  If they
> do, which language tags correspond to what language-environments in
> Emacs?

How can I check this?  I tried `describe-font' on the font I wish to
use, the output is the following

name (opened by): -GOOG-Noto Serif CJK SC-medium-normal-normal-*-48-*-*-*-*=
-0-iso10646-1
       full name: Noto Serif CJK SC:pixelsize=3D48:foundry=3DGOOG:weight=3D=
medium:slant=3Dnormal:width=3Dnormal:scalable=3Dtrue
       file name: /.../share/fonts/opentype/noto-cjk/NotoSerifCJK-VF.otf.ttc

`fc-match' from fontconfig says

        familylang: "en"(s)
        stylelang: "en"(s)
        fullnamelang: "en"(s)
        lang: aa|ay|bg|bi|bin|br|ch|da|de|en|es|eu|fj|fo|fur
        fy|gd|gl|gn|gv|haw|ho|ia|ig|id|ie|io|is|it|ja|ki|ko|kum|lb|mg|nb|nds
        nl|nn|no|nr|oc|om|os|pt|rm|ru|sel|sm|sma|smj|so|sq|ss|st|sv|sw|tl|to
        ts|uz|vo|wa|xh|yap|zh-cn|zh-hk|zh-mo|zh-sg|zh-tw|zu|an|fil|ht|jv|kj=
|kwm
        li|ms|na|ng|pap-an|pap-aw|rn|rw|sc|sg|sn|su|za(s)
        namelang: "en"(s)

Does this mean that the font itself is broken?

> These all are different language-environments in Emacs.  Type
>
>   C-x RET l Chinese TAB
>
> and you will see the Chinese language-environments that Emacs
> supports.  When Emacs starts, the initial language-environment is
> determined from the system locale, and the default fontset is arranged
> accordingly.
>
> So if certain language tags should be required from Chinese fonts in
> specific Chinese language-environments, we can express that in our
> default fontset, so that the need for configuring fonts manually is
> avoided in more cases.
>
> ...
> See above: is it really impossible?

I'm now convinced that this is indeed possible.  Thanks for the
detailed explanation, and apologies for not reading `(emacs)Language Enviro=
nments'
earlier.  But now I'm unsure whether this is a problem on the part of
the font, or something that could be fixed in Emacs.

The selection of Free-as-in-Freedom CJK fonts is already too
few, good ones even less, we could ill afford to lose more of them due
to trivial configuration problems.

In the meantime, I'm using the following snippet for fallback.  I've
removed all other configuration:
=09
	(defun my-configure-font (frame)
	  "Configure font given initial non-daemon FRAME.
	Intended for `after-make-frame-functions'."
	  ;; =E7=AE=80=E4=BD=93=E4=B8=AD=E6=96=87=E4=B8=8E=E6=A0=87=E7=82=B9=E3=80=
=82
	  (set-fontset-font t 'han (font-spec :family "Noto Serif CJK SC" :weight =
'medium))
	  (set-fontset-font t 'cjk-misc (font-spec :family "Noto Serif CJK SC" :we=
ight 'medium))
	  (remove-hook 'after-make-frame-functions #'my-configure-font))
=09
	(add-hook 'after-make-frame-functions #'my-configure-font)

Does this make any sense?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 10 Oct 2023 13:41:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 10 09:41:35 2023
Received: from localhost ([127.0.0.1]:34347 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qqCzP-0004I2-4L
	for submit <at> debbugs.gnu.org; Tue, 10 Oct 2023 09:41:35 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:50612)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qqCzM-0004Ho-FR
 for 66416 <at> debbugs.gnu.org; Tue, 10 Oct 2023 09:41:33 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qqCyu-0007A7-RI; Tue, 10 Oct 2023 09:41:04 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=pMqujslqkKAcgrUy2CAHm0XnJE6n52w0LZiwiNnPLD4=; b=o6vp3WCFatyB
 URCXkPrFeaLhgd54zcAlZyI4m3UYBpl9vpRFm6Ee1WKDe3FGZu/W0yQ09r5Q1x6WYkzr2IhtJml21
 4VRNmYRVpjVL9s+7EdI4O+WCpatTc1VlgUXt/RaiccbhPKQOvFHMdHlwmVR2O3HsmFtTbMlymhHmi
 3qImLqc+gEnJ1Z3cecEcuixCLAnhfGiQCfcxtCcOG+6AuBx33teEDX3kIQfYGZYn9q6RUoIy8azKL
 4nnoCtWbJLOjP9pWrqBOoDZ4d39x3/2q7ELIQtOS3Ayfyx76CUj64DV3SvMA3qpiRI0YFKGsnQCwL
 vALuJz3s7FbArU2+rgYbQw==;
Date: Tue, 10 Oct 2023 16:40:54 +0300
Message-Id: <83h6myvbmh.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Yuchen Guo <yguo@HIDDEN>
In-Reply-To: <875y3ews35.fsf@lan> (message from Yuchen Guo on Tue, 10 Oct 2023
 12:59:58 +0000)
Subject: Re: bug#66416: 29.1; Crashes when visiting HELLO file with pgtk on
 Wayland
References: <865y3gq2in.fsf@lan> <83mswsvy0p.fsf@HIDDEN> <87bkd7k6b8.fsf@lan>
 <831qe3ws6d.fsf@HIDDEN> <87mswr4ntw.fsf@lan>
 <83wmvvus3w.fsf@HIDDEN>
 <87cyxnoxp3.fsf@lan> <83pm1mvfw4.fsf@HIDDEN> <875y3ews35.fsf@lan>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Yuchen Guo <yguo@HIDDEN>
> Cc: 66416 <at> debbugs.gnu.org
> Date: Tue, 10 Oct 2023 12:59:58 +0000
> 
> > Thanks.  The question is: how can Emacs distinguish between these
> > fonts and decide that one of them is not suitable.
> 
> I think this is not possible without the user explicitly specifying
> which variant is needed.  In HTML this is done with language tags, such
> as lang="zh-Hans", but this strategy only covers a minority of cases,
> because
> 
> - the author of the HTML document has to specify this language tag
> - the browser must understand this tag
> - only applies to HTML documents
> 
> In most other cases, such as the user interface of an Android phone, the
> default variant is chosen during language configuration.  If a non-CJK
> language was chosen, such as en-US for American English (I do this), it
> will behave in the same manner as Emacs.

Emacs has something similar, it can access the language tags of the
font.  If the font specifies a language tag, we can configure the
default fontset in a way that in specific language-environments the
fonts with corresponding language tags are moved to the front of the
fontset.

Do the fonts that you want to use have such language tags?  If they
do, which language tags correspond to what language-environments in
Emacs?

> > In general, Emacs picks up the first font that matches the fontset's
> > spec, so we need to come up with two things: (a) the way for Emacs to
> > distinguish between these fonts, and (b) the way to encode the
> > requirements for a "good" font in our default fontset.  Then Emacs
> > will be able to pick up the correct font automatically.
> 
> "Good" is, in this case, defined by user.  One font suitable for
> Mainland China users is not suitable for Taiwan, Hong Kong or Japan
> users, and vice versa.

These all are different language-environments in Emacs.  Type

  C-x RET l Chinese TAB

and you will see the Chinese language-environments that Emacs
supports.  When Emacs starts, the initial language-environment is
determined from the system locale, and the default fontset is arranged
accordingly.

So if certain language tags should be required from Chinese fonts in
specific Chinese language-environments, we can express that in our
default fontset, so that the need for configuring fonts manually is
avoided in more cases.

> In other words, it is impossible for Emacs to determine what variant
> does a given user prefer.

See above: is it really impossible?

> But there's good news.  I've rebuilt Emacs from latest commit (9 hours
> ago) in the emacs-29 branch, with debug symbols enabled.  Fresh out of
> the oven!  This was all made very simple and declarative thanks to the
> Nix package manager:
> 
> https://codeberg.org/m0p/dotfiles/commit/e1fb4ffc4b4ce3a914adbd4c4a49863b2a48afeb
> 
> with the following init.el
> 
> https://codeberg.org/m0p/dotfiles/raw/commit/eec25a4ae443de78ea3d8ea3d94541060d7861d7/imports/not-nix-config-files/emacs-init.el
> 
> We will see if Emacs crashes again.  So far with (4 hours, 43 minutes, 3
> seconds) uptime.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 10 Oct 2023 13:00:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 10 09:00:31 2023
Received: from localhost ([127.0.0.1]:34270 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qqCLf-0000Qz-FM
	for submit <at> debbugs.gnu.org; Tue, 10 Oct 2023 09:00:31 -0400
Received: from mout02.posteo.de ([185.67.36.66]:50789)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yguo@HIDDEN>) id 1qqCLb-0000Qe-Pw
 for 66416 <at> debbugs.gnu.org; Tue, 10 Oct 2023 09:00:29 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id B19E4240104
 for <66416 <at> debbugs.gnu.org>; Tue, 10 Oct 2023 14:59:59 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1696942799; bh=ySczAILrhKgdO2Q+02Fex9LULfRMfRpcUwlHZXyrUM4=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From;
 b=SxzFAig40wjFDwKhVJmRnA7O1750zsKAIl7bs+wius1QRslCeL7l/64sj3gn6G2v4
 Qw8prawYuoOYbao2qR3dWGOQsIqB1DNdLpvMRQhE8Wai4sdMQC/4h+5pzMM96jZLet
 /3mhHzkk1/NaxyMt2TbKAPZF42KBYj8qxKOldsPAlKus8J4cWS6Pt1HzNw35GO5aj4
 /OeLvMdbHoz1MyArWvxF2EDpG/jewWc3Us/hk027t5U+qWPKescgGq9iWyqlf+4Vp5
 I6AlrhG4Ui+o0wvjOG6ccO+edJpRdrAz/OBgnG4lx6kJGu1XMdnR4XvkKlP1GdFE2u
 Zb0oP6n6LLGag==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4S4bbM0zTLz9s08;
 Tue, 10 Oct 2023 14:59:58 +0200 (CEST)
From: Yuchen Guo <yguo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#66416: 29.1; Crashes when visiting HELLO file with pgtk on
 Wayland
In-Reply-To: <83pm1mvfw4.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 10 Oct
 2023 15:08:43 +0300")
References: <865y3gq2in.fsf@lan> <83mswsvy0p.fsf@HIDDEN> <87bkd7k6b8.fsf@lan>
 <831qe3ws6d.fsf@HIDDEN> <87mswr4ntw.fsf@lan>
 <83wmvvus3w.fsf@HIDDEN>
 <87cyxnoxp3.fsf@lan> <83pm1mvfw4.fsf@HIDDEN>
Date: Tue, 10 Oct 2023 12:59:58 +0000
Message-ID: <875y3ews35.fsf@lan>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

> You do have the freedom, and Emacs gives users more freedom in
> customizing fonts than most other GUI apps.

In my experience, Emacs is certainly one of, if not the most effective
at customizing fonts, made even more impressive considering the fact
that everything is controlled by elisp.

Kudos to you for making a truly wonderful GUI possible!

> You just need to know very well what you are doing to exercise that
> freedom, so we are trying hard to make the need for that as small and
> rare as possible.

Yes.  In a previous reply you mentioned that this configuration is
non-trivial, and indeed a perfect out-of-the-box experience is a noble
goal in itself.

Alas, some of us users would still try to customize the fonts with very
little understanding of the intricacies of Emacs internals.

> Thanks.  The question is: how can Emacs distinguish between these
> fonts and decide that one of them is not suitable.

I think this is not possible without the user explicitly specifying
which variant is needed.  In HTML this is done with language tags, such
as lang="zh-Hans", but this strategy only covers a minority of cases,
because

- the author of the HTML document has to specify this language tag
- the browser must understand this tag
- only applies to HTML documents

In most other cases, such as the user interface of an Android phone, the
default variant is chosen during language configuration.  If a non-CJK
language was chosen, such as en-US for American English (I do this), it
will behave in the same manner as Emacs.

> In general, Emacs picks up the first font that matches the fontset's
> spec, so we need to come up with two things: (a) the way for Emacs to
> distinguish between these fonts, and (b) the way to encode the
> requirements for a "good" font in our default fontset.  Then Emacs
> will be able to pick up the correct font automatically.

"Good" is, in this case, defined by user.  One font suitable for
Mainland China users is not suitable for Taiwan, Hong Kong or Japan
users, and vice versa.  In other words, it is impossible for Emacs to
determine what variant does a given user prefer.

But there's good news.  I've rebuilt Emacs from latest commit (9 hours
ago) in the emacs-29 branch, with debug symbols enabled.  Fresh out of
the oven!  This was all made very simple and declarative thanks to the
Nix package manager:

https://codeberg.org/m0p/dotfiles/commit/e1fb4ffc4b4ce3a914adbd4c4a49863b2a48afeb

with the following init.el

https://codeberg.org/m0p/dotfiles/raw/commit/eec25a4ae443de78ea3d8ea3d94541060d7861d7/imports/not-nix-config-files/emacs-init.el

We will see if Emacs crashes again.  So far with (4 hours, 43 minutes, 3
seconds) uptime.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 10 Oct 2023 12:09:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 10 08:09:32 2023
Received: from localhost ([127.0.0.1]:34188 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qqBYK-00078M-Ip
	for submit <at> debbugs.gnu.org; Tue, 10 Oct 2023 08:09:32 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49072)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qqBYF-000784-TK
 for 66416 <at> debbugs.gnu.org; Tue, 10 Oct 2023 08:09:31 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qqBXg-0003ES-OE; Tue, 10 Oct 2023 08:09:00 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=ky4jS9HP6OoppRcBvC4fbiH1rXt9HDBCFz0YkcYoU2Y=; b=ZEJ6uomNJ+WY
 nwgDXN7k7w5ndxWRgFwAk/Zw/R6DqaPKzU9bXobpoNqIHX2mUQvAq8nz6NgBr7t0/AyTBen7o9vM1
 UyC2ceHA69MAYd6c418X60BGirNk2rpD968bk+9wfgjrWBZnPePDbfYsBuDyTbeFA3/sQ2KcsNW3S
 FJ8g4QVv7d98+DngGOpgDXCYG7Q+wHwkXuE1P4VpdLQx1o5TZ0i69e1cyTWuHjJqCyOQ+KS2z68qy
 y887QLYb1bbgwxyTlD2vExtgd3IROn11nYl9ciphMHauHtcgUlzTlN+OkhMW756fFX+hb2xGyUlJy
 YneyIQX36heJ9kDwiya+lg==;
Date: Tue, 10 Oct 2023 15:08:43 +0300
Message-Id: <83pm1mvfw4.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Yuchen Guo <yguo@HIDDEN>
In-Reply-To: <87cyxnoxp3.fsf@lan> (message from Yuchen Guo on Tue, 10 Oct 2023
 05:26:00 +0000)
Subject: Re: bug#66416: 29.1; Crashes when visiting HELLO file with pgtk on
 Wayland
References: <865y3gq2in.fsf@lan> <83mswsvy0p.fsf@HIDDEN> <87bkd7k6b8.fsf@lan>
 <831qe3ws6d.fsf@HIDDEN> <87mswr4ntw.fsf@lan>
 <83wmvvus3w.fsf@HIDDEN> <87cyxnoxp3.fsf@lan>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Yuchen Guo <yguo@HIDDEN>
> Cc: 66416 <at> debbugs.gnu.org
> Date: Tue, 10 Oct 2023 05:26:00 +0000
> 
> Besides, in my not so humble opinion, I think Emacs users should have
> the freedom of choosing the preferred font without crashing Emacs,
> regardless of defaults.  Font is a personal matter and one shouldn't be
> dragged by others by the nose, as a Chinese idiom would say.

You do have the freedom, and Emacs gives users more freedom in
customizing fonts than most other GUI apps.  You just need to know
very well what you are doing to exercise that freedom, so we are
trying hard to make the need for that as small and rare as possible.

> > Can you show screenshots of the same text as Emacs displays by
> > default, and as it should display according to your preferences?
> 
> Sure.  Here I made a GIF from the screenshots, hope you can spot the
> difference.
> 
> https://codeberg.org/m0p/ublock-origin-mirror/raw/branch/main/cjk-good-vs-bad.gif

Thanks.  The question is: how can Emacs distinguish between these
fonts and decide that one of them is not suitable.  In general, Emacs
picks up the first font that matches the fontset's spec, so we need to
come up with two things: (a) the way for Emacs to distinguish between
these fonts, and (b) the way to encode the requirements for a "good"
font in our default fontset.  Then Emacs will be able to pick up the
correct font automatically.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 10 Oct 2023 05:26:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 10 01:26:34 2023
Received: from localhost ([127.0.0.1]:33813 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qq5GM-0004ut-Cd
	for submit <at> debbugs.gnu.org; Tue, 10 Oct 2023 01:26:34 -0400
Received: from mout01.posteo.de ([185.67.36.65]:34589)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yguo@HIDDEN>) id 1qq5GH-0004uY-JC
 for 66416 <at> debbugs.gnu.org; Tue, 10 Oct 2023 01:26:33 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 2BAC1240028
 for <66416 <at> debbugs.gnu.org>; Tue, 10 Oct 2023 07:26:02 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1696915562; bh=ZWalfYd94OHs76Dynxw3ngf3a+vBQ7oI0zIhdHAx+3s=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From;
 b=cIlr3HfEEalWdGOe2jahzzg+yKzTIxOUL4PfdY8dhkAkWp4y89EvrFb6gX08VadKN
 pbQsioCty7qrIrncFNFbSQdpqP4i5+LVVSCdCcK3QN7rO5UX2oeL9D34hYixw0Mzrl
 K+tYm1KLJxGrZPwiecVRyNFkUbT/lVZJq0jzZCLxhGV4Ux9w9BD/TP1gJ9Ohm0l0jM
 BnL8AFQjXzLAt5YvLGGI9rlwXEdddzWX294+r9N0oobmOERvjVIven0i6n4fYZih/3
 dX21tFVZDJvNkKVu5nd2SJOC/kOeu76hZHndE4kvNC/xvebN31aHf3QnXL7aKDWC32
 0r4/eHOe4fYdQ==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4S4PWY4kVBz6tw4;
 Tue, 10 Oct 2023 07:26:01 +0200 (CEST)
From: Yuchen Guo <yguo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#66416: 29.1; Crashes when visiting HELLO file with pgtk on
 Wayland
In-Reply-To: <83wmvvus3w.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 10 Oct
 2023 05:30:11 +0300")
References: <865y3gq2in.fsf@lan> <83mswsvy0p.fsf@HIDDEN> <87bkd7k6b8.fsf@lan>
 <831qe3ws6d.fsf@HIDDEN> <87mswr4ntw.fsf@lan>
 <83wmvvus3w.fsf@HIDDEN>
Date: Tue, 10 Oct 2023 05:26:00 +0000
Message-ID: <87cyxnoxp3.fsf@lan>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66416
Cc: 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

> Thanks.  ... Is it possible for you to rebuild Emacs with -g3 compiler
> switch and then try to reproduce the problem?
>
> Alternatively, can you build the current emacs-29 branch of the Emacs
> Git repository, and see if the problem reproduces there?

Will build from latest emacs-29 with -g3 and see if it still crashes.
 
> Please explain why you want to use these and not the default fonts
> Emacs uses on your platform.

I have configured gsettings/dconf to use aforementioned Monospace and
Proportional fonts, and that works fine in pure GTK Emacs in most cases.

But the important edge cases, such as the fallback to Simplified Chinese
font and AUCTeX prettify mathematical symbols with variable-pitch-mode
enabled, fails.

(The latter can be remedied by setting font-latex-math-face to something
else, but it still does not solve the fallback problem.)

This var-pitch fallback problem is also related to scaling.  I have
GDK_DPI_SCALE=2 set, and Monospaced font looks fine in HELLO, but
variable-pitch-mode causes several scripts to be displayed extremely
small.  You can see this here:

https://codeberg.org/m0p/ublock-origin-mirror/raw/branch/main/HELLO-mono.png
https://codeberg.org/m0p/ublock-origin-mirror/raw/branch/main/HELLO-proportional.png
https://codeberg.org/m0p/ublock-origin-mirror/raw/branch/main/HELLO-too-small.png

Besides, in my not so humble opinion, I think Emacs users should have
the freedom of choosing the preferred font without crashing Emacs,
regardless of defaults.  Font is a personal matter and one shouldn't be
dragged by others by the nose, as a Chinese idiom would say.

> Can you show screenshots of the same text as Emacs displays by
> default, and as it should display according to your preferences?

Sure.  Here I made a GIF from the screenshots, hope you can spot the
difference.

https://codeberg.org/m0p/ublock-origin-mirror/raw/branch/main/cjk-good-vs-bad.gif




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 10 Oct 2023 04:40:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 10 00:40:35 2023
Received: from localhost ([127.0.0.1]:33784 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qq4Xr-0003aU-Fd
	for submit <at> debbugs.gnu.org; Tue, 10 Oct 2023 00:40:35 -0400
Received: from sonic315-22.consmr.mail.ne1.yahoo.com ([66.163.190.148]:42862)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1qq4Xo-0003aF-8j
 for 66416 <at> debbugs.gnu.org; Tue, 10 Oct 2023 00:40:33 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1696912805; bh=7Ksl54PhhetjCo3bT4tLqZcgXzQkUHbeyVB735+poio=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=BpfC2KHhZ5g3uaAoNj2Rs7IbR7bFWwhSTd7ZIlr5Dsp6WgHxK08oGt8HWNrv6oABQ6cEE2mPirvkZXKyM3gecTBsWIeDE5z2fLXfNlIwow6gIve1jvlHuFZ0dTO+61vfQ+zjEau6WDf6xeEoa93iHpb/nwi6+hSutsi2n0qZOssIR77Nt5es52ZbJEwJPZqmBxwFKISOKEAeu9EH749+Xrb46JuIRAYDEZyqZtg8PbwXvwIzAQ6dd37v04NY0wcOO7Xa7Ikx/FRMdY5VAlOdYv13n2AvPXnI4bgM81sc+xm80p7LZgjdbilyj6aEaQYeounGG9npIoiLQfoupUPpkg==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1696912805; bh=px99UvWy69CSEdyuPOV6UG5vdUtgcvLJt6oXWJQwCYf=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=kTKVL2RXaE8Q26w/GRFn5tlw9o87nI9miv7Qr9rG8iJNE9v1kACBedfHHunygjPLmvRGJ0IJDMTKO9X3/uF5hsAU8vfB8JZ/lfk3dHy/pPhwmhi4kOPDWKe3d6x39/dcRXVxqu8pZM2geevwkJ1hCqCtR3P6Blm0kWh0Idwr4fADPyPu1DJjt9f3HYMicxTpBGMNHxWgPA1jvqxfojG+KMpfsqREyuqCSZDbhrzh7U0ZXRdvaCVaTf0L/qtnKDCXez08K/cLjhXDVrN2Oes0XWd7l7JmVgSHsLLxdMD+KtgCYY4l06+U2NoYY0Zt161igVdMHqZbq9JPqyimzd490Q==
X-YMail-OSG: XGSbULAVM1kuxL5hV8UOBVzjVx_mBMJEUz.KX_y4okPM1cUmQ.dBvD.5NOxZx9F
 YA1ckttpOFnubjeU3DCf8RaiQaBpubaIYEpLOdAiGXtXr7PY177jarrxSGKURgUZNeumQ2ltRf_K
 37CushrqVJb1QwaBaF4daxSkd.ajlGwnmfNEiO8dDjAlr6lIDemqiIlOaFLLkOXfLYt0JmFhyIl5
 Pv9ADUYCHDHIlAJ8rl6c4R52wpapsb6n_AVGLfPN1POx8zCTv7b7kP_tFDGQju.G82bHxyAReN.C
 5feRb_1IokdlFvgUuNAHkUCAV79cltW.8cro6DeRV4Kpp0asZGptQ3MP1IMxReSgkLs4uHBnLEsV
 5g97hoJuSuQvY_7Such5VaYX60QUuFyOwRlzdha3SYbTuheZ30vJ5Z38YNzGZMIvi_k6hD2GJVYg
 i2b1rbhyK25AVnlPUEefQziT.g4dsEshUM2rJtPNwgBvbYr_eLUeF450QJJPwjQfSmzbwEZ8gGhs
 aFabU_4SYm6ir0IoaKZKz5XQIfRah6FTosh4A6oe1HbB2tom6IcATuIOLqk5m2imbBlfSS0zpd_i
 EO5Qy1FGphzhx0KEQp9evMF_WKa20IiPbltcYSliakxN_yLlemNGRVQaIzaq9tsZzxp0_..aU.nI
 xCPSTpwYTiOPxdcdSbZ.At9fJXyAFLATvCLjO7n38zEQqlbzkSyOTr8uOMacyMlmkP5lic.UM_VL
 A9u1YU_OEH_Ao0fFlBwSCr4fUvrrBLiphHt0dgP7Sem8EwkTxvFXNmfCnLOKwbv8H7WZmSjYhZr2
 tR_Qdqlqeg36e53VCeaoxdWleqrSDvuR0EgktCXefaQB1uzT.YCGyA9qRCPp0jHCNoWUkEGbBbZL
 T_OMWpZViNibZOhMTbuIPGTJpDdlcCQAgBkP9SofCq5aCi02HzNom0EfhONc9wN9zyw.J6TqeeHT
 IRIqLq0xe3dPw5sJQKSIH5jZzR_uD3Lrjg6UAKIzSGjfb0Vej4ifMxADzu3RbvbH2NwLZKOBy_Vq
 HlJ.IJLEbfxr4946a4N8wLHEo26aJKZlo45o_g0TzszHf.Namg9btzsRrQs4.A6p1Fnb3Pjxx0nf
 zfk5RyRmP0QqAHpaEhdg2KghyVQvThT2UB_HpJfhb90WUfYtWqFZc4DkL5zBmy8JJ0gpQKBqJNiH
 dEvJyRT3LMqO6rbARLPt.ztMCJdjMP1jFBzVmrZb2v.AiohE1lRl5rl5ypA.c5Bd3WCMZx.4pMnp
 jATW26x8ws1heuH0jn.EDHUaapDTmX9OTgYuZiONbud.I9zQZHglUW_Lc.FdURm7w79vXYFwcNE5
 a.ouYUdSVB0dPvgw8aF1Ih6HUDEWxINvHZKJRCSFbKeS5aveyvmI0aLthmFJ_r7yC0eD8YYP0anM
 j_cJe3GJVH7XOBuMw0ykVb21BgyRU9PfL3kwcYJsCi2kw26_wsEcJesl2FlS6CULUCTzWkt5_sbi
 F5zPtYU8f6zfjxoPHBB4bs9op0WiIprF52B0QWzIATPDc6sAn8vJgZNtB_fnbSvNfIQNrImZWQyT
 zbl5Fyi2Jd73ocB7m9IdTttiFRenI5ZmmfqvylmeoBHQ03g1AU4Ns2KeVoRFaMu2mNOnFMzd1T6v
 I3dH.ImmaJ55Ao3wO8rH7TMf.BrDwruTgaHV30u7LiiDDNb46IqQB8ZXZLG.LRGsrkPcjPP3VqE5
 rlND0RRAUf4eI7Krv0VjUvFYEC2ebsvHOefFdAtVoXntQ.D77dehsEH0DbbBW70V3OD4ePeFlgKM
 SDVEhhQeYSdefWTtY44Dvkqvpd0ZubPtDDq9oO5KEeLAEtNvMNp1oUxW5Vmw5TbT8DbUgkPwvelq
 o86bTK2DjExAj5gVXWnbO9vcXrDR.q4LfsIeOIg4g6GZDjf_4ZmuJJJoBLj6c5geoHVLtKF1Lnjz
 Ou6XM2_LuU8U9ej4JesmpmaPKERl0qcQnEQNu2KvLwSA.OAwxUtPUzvnyVutODLvFPBtu3O6uNVz
 yayUvlhFjclkDi8xcfBuWnANXlkRXY8uQr6opMKT2mQ0NLl2m80K5Ze9IMQ4BCtzT7U_Fw0qXZCz
 tP.bBQZcQ8_0FdxuYHfYyQlaD6MgGfWF7a82tOQ0_g3vEYxCLJH5qJCsY565mp4CHwtLAQcyvPJW
 qhzVe9NJDfUJ2UPJPaRYEMAeyJc2dC.JdP6u.HyEGBrLhUNiqIGK.zbv4MXegijVsEYfI7ZvYQfb
 FBWfRcH0K4BzXxLToaryZ6O5R0_FMFe1Syqx9fNN5KfwiHcRwP6tPn_QGBxVIyQdORJkG
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 0498fd70-b2c0-4ced-8651-3e8021fa050a
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic315.consmr.mail.ne1.yahoo.com with HTTP; Tue, 10 Oct 2023 04:40:05 +0000
Received: by hermes--production-sg3-64dc67fbb6-xhcmk (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 04d8e45857d2c3d7a52caa25f60ad964; 
 Tue, 10 Oct 2023 04:39:59 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Yuchen Guo <yguo@HIDDEN>
Subject: Re: bug#66416: 29.1; Crashes when visiting HELLO file with pgtk on
 Wayland
In-Reply-To: <87mswr4ntw.fsf@lan> (Yuchen Guo's message of "Mon, 09 Oct 2023
 19:07:07 +0000")
References: <865y3gq2in.fsf@lan> <83mswsvy0p.fsf@HIDDEN> <87bkd7k6b8.fsf@lan>
 <831qe3ws6d.fsf@HIDDEN> <87mswr4ntw.fsf@lan>
Date: Tue, 10 Oct 2023 12:39:53 +0800
Message-ID: <87cyxnay5i.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21797
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 978
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 66416
Cc: Eli Zaretskii <eliz@HIDDEN>, 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)


Yuchen Guo <yguo@HIDDEN> writes:

> Emacs just crashed again after sending you the last email.
> Here is the output from gdb
>
>      https://codeberg.org/m0p/ublock-origin-mirror/raw/branch/main/gdb-1.txt

Thanks, but debuginfo is absent from your backtrace.  Please compile
Emacs with CFLAGS set to `-Og -g3', and ack with a backtrace from that
build.

> Namely, I am a Chinese speaker, of the Simpified variety on the
> Mainland.  Emacs invariably chooses HK or JP glyphs by default, which I
> do not understand. (I understand neither the behavior of Emacs nor the
> glyphs.) I configured Simplified Chinese [SC] as fallback in fontconfig
> and this works with firefox and terminal emulator.

This boils down to the absence of support for stylistic sets within
Emacs.  I'd advise you to replace Noto Sans CJK with a CJK font family
that segregates stylistic variants of glyphs representing identical
characters into separate font files; such as PingFang SC, inter alia.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 10 Oct 2023 02:31:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 09 22:31:01 2023
Received: from localhost ([127.0.0.1]:33709 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qq2WS-00008E-Ip
	for submit <at> debbugs.gnu.org; Mon, 09 Oct 2023 22:31:01 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55016)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qq2WO-00007p-G8
 for 66416 <at> debbugs.gnu.org; Mon, 09 Oct 2023 22:30:59 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qq2Vy-0003PK-1C; Mon, 09 Oct 2023 22:30:30 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=Beo6PX5JVjAou8SdkWWJYIytS88YCU+Oi8z89Cqv5NA=; b=WESxsB2ahqb6
 y3773nIX4ElrF/KjYXwTB2gK+YrvoWoBin2Ob63yQ+g34mqSkKNVSbTsof36VbsF+UEabu7VS+QHQ
 dmex88hn365ytE4WmLVCrD0iRMc0HXJZTmIg3Y2VJ63I4X6qWsaNxGaRq+Hsn9TSVwKZJ5FYwXjvV
 TF8XRvvuGkmt32AK2Yo9Pv4WTVmzKOUlghehNv1m7SAtMqK538ZKUwI0GcaGah4+RqifHaa6iPx+F
 oGGN0zKAIuAwc1UkGb6xpM1cwgrExYxxES7qlzNj+nyrLzjdKvEe+XZHlBEH4EBB1Slcf0XsXMEE9
 1nVucGX5gHv+69mT9egC4A==;
Date: Tue, 10 Oct 2023 05:30:11 +0300
Message-Id: <83wmvvus3w.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Yuchen Guo <yguo@HIDDEN>
In-Reply-To: <87mswr4ntw.fsf@lan> (message from Yuchen Guo on Mon, 09 Oct 2023
 19:07:07 +0000)
Subject: Re: bug#66416: 29.1; Crashes when visiting HELLO file with pgtk on
 Wayland
References: <865y3gq2in.fsf@lan> <83mswsvy0p.fsf@HIDDEN> <87bkd7k6b8.fsf@lan>
 <831qe3ws6d.fsf@HIDDEN> <87mswr4ntw.fsf@lan>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Yuchen Guo <yguo@HIDDEN>
> Cc: 66416 <at> debbugs.gnu.org
> Date: Mon, 09 Oct 2023 19:07:07 +0000
> 
> > Regardless of this, we would still like to see a full human-readable
> > backtrace with your original setup, so that we could prevent those
> > crashes if that is feasible.
> 
> Emacs just crashed again after sending you the last email.
> Here is the output from gdb
> 
>      https://codeberg.org/m0p/ublock-origin-mirror/raw/branch/main/gdb-1.txt

Thanks.  It sounds like your Emacs has most of its debug info removed,
so the backtrace supplies only a partial information.  Is it possible
for you to rebuild Emacs with -g3 compiler switch and then try to
reproduce the problem?

Alternatively, can you build the current emacs-29 branch of the Emacs
Git repository, and see if the problem reproduces there?  A similar
bug was fixed after Emacs 29.1 was released, so it is possible that
these crashes are already fixed in Git.

> > If the default configuration somehow didn't work for you, please
> > describe the problems, and we will see if the defaults need some
> > changes.
> 
> I would like to use
> 
> - NewComputerModernMono10 as default Monospace font,
> - Tex Gyre Schola as both Serif and Sans Serif font,
> - Fallback to STIX Two Math for missing mathematical symbols
> - Fallback to Noto Serif CJK SC for missing 'han and 'cjk-misc glyphs

Please explain why you want to use these and not the default fonts
Emacs uses on your platform.

> > What are the issues with font setup that Han Unification causes to
> > Emacs users?
> 
> Namely, I am a Chinese speaker, of the Simpified variety on the
> Mainland.  Emacs invariably chooses HK or JP glyphs by default, which I
> do not understand. (I understand neither the behavior of Emacs nor the
> glyphs.) I configured Simplified Chinese [SC] as fallback in fontconfig
> and this works with firefox and terminal emulator.

Can you show screenshots of the same text as Emacs displays by
default, and as it should display according to your preferences?

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 9 Oct 2023 21:36:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 09 17:36:58 2023
Received: from localhost ([127.0.0.1]:33609 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qpxvt-0008KR-R7
	for submit <at> debbugs.gnu.org; Mon, 09 Oct 2023 17:36:58 -0400
Received: from mout01.posteo.de ([185.67.36.65]:44321)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yguo@HIDDEN>) id 1qpvbL-00006K-JX
 for 66416 <at> debbugs.gnu.org; Mon, 09 Oct 2023 15:07:38 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 77CF124002E
 for <66416 <at> debbugs.gnu.org>; Mon,  9 Oct 2023 21:07:08 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1696878428; bh=k3X1by+DdPewMzBAB7+weiZiZV449ZpXIrl0qeMFcCY=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From;
 b=OE1wiOBo4w5xeXk7PcPnTPI9lzDi9xhrD2yWubQC0g8miLNrVQy/YJ3FRH0YYhDVJ
 07GQv/ljeniCmcSpA4XUqDu5JLhKo0e2v9ujvBWkeaUXgTODwxhjDr0/BZ4LLJ6miL
 6sxIixmbfLlkhpcD+4MMG8U6abY8c2FI1XME5jDDTvaEWCafjUha8c1PTWdhZOM3kP
 YZWQqUf0HSnb+F3HmY0Qvr+xkIZagzBMuLnq3517vCz0oKTQva/A4gxCSJziznd2XO
 F/Ulp8gYV8Oyc80vy+ikoWlqGcWwY185xoC7E9hRy23MurZhUwEvHRQQyytlG82dwx
 9MXlDUuSmTk/w==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4S47nR4H6Lz6tm4;
 Mon,  9 Oct 2023 21:07:07 +0200 (CEST)
From: Yuchen Guo <yguo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#66416: 29.1; Crashes when visiting HELLO file with pgtk on
 Wayland
In-Reply-To: <831qe3ws6d.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 09 Oct
 2023 21:45:46 +0300")
References: <865y3gq2in.fsf@lan> <83mswsvy0p.fsf@HIDDEN> <87bkd7k6b8.fsf@lan>
 <831qe3ws6d.fsf@HIDDEN>
Date: Mon, 09 Oct 2023 19:07:07 +0000
Message-ID: <87mswr4ntw.fsf@lan>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66416
X-Mailman-Approved-At: Mon, 09 Oct 2023 17:36:54 -0400
Cc: 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

> [Pleased use Reply All to reply, so that the bug tracker is CC'ed.]

Thanks.  Haven't pressed `F' (wide-reply) in Gnus before.  Still learning.

> Regardless of this, we would still like to see a full human-readable
> backtrace with your original setup, so that we could prevent those
> crashes if that is feasible.

Emacs just crashed again after sending you the last email.
Here is the output from gdb

     https://codeberg.org/m0p/ublock-origin-mirror/raw/branch/main/gdb-1.txt

> If the default configuration somehow didn't work for you, please
> describe the problems, and we will see if the defaults need some
> changes.

I would like to use

- NewComputerModernMono10 as default Monospace font,
- Tex Gyre Schola as both Serif and Sans Serif font,
- Fallback to STIX Two Math for missing mathematical symbols
- Fallback to Noto Serif CJK SC for missing 'han and 'cjk-misc glyphs

The interface looks like this when configured, but Emacs continues to
crash with this setup:

https://codeberg.org/m0p/ublock-origin-mirror/raw/branch/main/correct-font.png
https://codeberg.org/m0p/ublock-origin-mirror/raw/branch/main/auctex-1.png
https://codeberg.org/m0p/ublock-origin-mirror/raw/branch/main/auctex-stix.png

> What are the issues with font setup that Han Unification causes to
> Emacs users?

Namely, I am a Chinese speaker, of the Simpified variety on the
Mainland.  Emacs invariably chooses HK or JP glyphs by default, which I
do not understand. (I understand neither the behavior of Emacs nor the
glyphs.) I configured Simplified Chinese [SC] as fallback in fontconfig
and this works with firefox and terminal emulator.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 9 Oct 2023 21:36:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 09 17:36:57 2023
Received: from localhost ([127.0.0.1]:33607 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qpxvs-0008KJ-9R
	for submit <at> debbugs.gnu.org; Mon, 09 Oct 2023 17:36:57 -0400
Received: from mout02.posteo.de ([185.67.36.66]:42593)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yguo@HIDDEN>) id 1qpvG0-0007h5-GF
 for 66416 <at> debbugs.gnu.org; Mon, 09 Oct 2023 14:45:36 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 1D5DC240111
 for <66416 <at> debbugs.gnu.org>; Mon,  9 Oct 2023 20:45:04 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1696877105; bh=rWGOCN8fW49q275aozW94KuOa+HEJTC0xvXTShmbPYI=;
 h=From:To:Subject:Date:Message-ID:MIME-Version:From;
 b=nZNVmYOWVrZ0NPqCaSrkeRFK49UlRYxdUje6DA3Ssf7rH9aMU6JOE6jz28+mLMQ0X
 NXnEqM4IEfK9zJwFDkcl+HHVRwO+coVcUZsMsND/T/6jZbnYK1xusYtD4UMvI8BN4H
 vOSI9LBg7idFbzz/tZYUys3Fisdr3uI0YNsDi+77uVN0RvDV7gGYHulSg9TNWU054g
 jzxamkJWEmrWYqD03UhYclqOO4jyd8tjogi31V4nRqdTgov07ms/O1pslQ4mo9uA/Z
 EUF+QvBajYGnZMKRdSvKkfT2kzHy/+bgnSpCCzUkp4XEtsPAzSwQs5GQsstQg1Clxr
 RN4401YyQnAWA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4S47Hw3l3Nz9s39
 for <66416 <at> debbugs.gnu.org>; Mon,  9 Oct 2023 20:45:00 +0200 (CEST)
From: Yuchen Guo <yguo@HIDDEN>
To: 66416 <at> debbugs.gnu.org
Subject: Coredump
Date: Mon, 09 Oct 2023 18:44:59 +0000
Message-ID: <87ttqz4ous.fsf@lan>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
X-Mailman-Approved-At: Mon, 09 Oct 2023 17:36:54 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Crashed again with

https://codeberg.org/m0p/dotfiles/raw/commit/df09d92304f3545f86c2d1dba78a8e61e3411cf0/imports/not-nix-config-files/emacs-init.el

(gdb) thread apply all bt

Thread 5 (Thread 0x6bc9a52ff6c0 (LWP 15642)):
#0  0x00006bc9aed4b77f in poll () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
#1  0x00006bc9b87080ce in g_main_context_iterate.constprop () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
#2  0x00006bc9b870840f in g_main_loop_run () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
#3  0x00006bc9b89759f6 in gdbus_shared_thread_func () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libgio-2.0.so.0
#4  0x00006bc9b87347cd in g_thread_proxy () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
#5  0x00006bc9aecd6dd4 in start_thread () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
#6  0x00006bc9aed589b0 in clone3 () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6

Thread 4 (Thread 0x6bc9a4aea6c0 (LWP 15643)):
#0  0x00006bc9aed4b77f in poll () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
#1  0x00006bc9b87080ce in g_main_context_iterate.constprop () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
#2  0x00006bc9b87081ec in g_main_context_iteration () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
#3  0x00006bc9a4af78ad in dconf_gdbus_worker_thread () from /nix/store/74z0q6qcc86xrf5k95g398ydrvz7sa3m-dconf-0.40.0-lib/lib/gio/modules/libdconfsettings.so
#4  0x00006bc9b87347cd in g_thread_proxy () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
#5  0x00006bc9aecd6dd4 in start_thread () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
#6  0x00006bc9aed589b0 in clone3 () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6

Thread 3 (Thread 0x6bc9a630a6c0 (LWP 15640)):
#0  0x00006bc9aed4b77f in poll () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
#1  0x00006bc9b87080ce in g_main_context_iterate.constprop () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
#2  0x00006bc9b87081ec in g_main_context_iteration () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#3  0x00006bc9b8708231 in glib_worker_main () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
#4  0x00006bc9b87347cd in g_thread_proxy () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
#5  0x00006bc9aecd6dd4 in start_thread () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
#6  0x00006bc9aed589b0 in clone3 () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6

Thread 2 (Thread 0x6bc9a6b0b6c0 (LWP 15639)):
#0  0x00006bc9aed50d8d in syscall () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
#1  0x00006bc9b8761c30 in g_cond_wait () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
#2  0x00006bc9b86d205b in g_async_queue_pop_intern_unlocked () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
#3  0x00006bc9b8734e12 in g_thread_pool_spawn_thread () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
#4  0x00006bc9b87347cd in g_thread_proxy () from /nix/store/1c6x8n47mq5rcivsp72b0dyqgjghi6yx-glib-2.76.4/lib/libglib-2.0.so.0
#5  0x00006bc9aecd6dd4 in start_thread () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
#6  0x00006bc9aed589b0 in clone3 () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6

Thread 1 (Thread 0x6bc9a961c240 (LWP 15629)):
#0  0x00006bc9aecd8a8c in __pthread_kill_implementation () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
#1  0x00006bc9aec89c86 in raise () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
#2  0x0000000000468178 in terminate_due_to_signal ()
#3  0x00000000004686ac in handle_fatal_signal ()
#4  0x000000000057c1c8 in deliver_thread_signal.constprop ()
#5  0x000000000057c24c in handle_sigsegv ()
#6  <signal handler called>
#7  0x000000000068912d in ftcrfont_glyph_extents ()
#8  0x0000000000689521 in ftcrfont_draw ()
#9  0x00000000006b76df in pgtk_draw_composite_glyph_string_foreground ()
--Type <RET> for more, q to quit, c to continue without paging--
#10 0x00000000006b9cfa in pgtk_draw_glyph_string ()
#11 0x00000000004cb024 in draw_glyphs ()
#12 0x00000000004cd7b1 in gui_write_glyphs ()
#13 0x000000000047343f in update_window_line ()
#14 0x0000000000479694 in update_window ()
#15 0x000000000047b183 in update_window_tree ()
#16 0x000000000047b37b in update_frame ()
#17 0x00000000004c3a9e in redisplay_internal ()
#18 0x000000000056b9a0 in read_char ()
#19 0x000000000056e046 in read_key_sequence ()
#20 0x0000000000570006 in command_loop_1 ()
#21 0x00000000005eb85f in internal_condition_case ()
#22 0x000000000055b376 in command_loop_2 ()
#23 0x00000000005eb7c3 in internal_catch ()
#24 0x000000000055b311 in command_loop ()
#25 0x000000000055fbbb in recursive_edit_1 ()
#26 0x000000000055ff3f in Frecursive_edit ()
#27 0x000000000047174f in main ()
(gdb)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 9 Oct 2023 18:46:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 09 14:46:31 2023
Received: from localhost ([127.0.0.1]:33158 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qpvGw-0007jS-M5
	for submit <at> debbugs.gnu.org; Mon, 09 Oct 2023 14:46:31 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:50668)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qpvGu-0007ip-0D
 for 66416 <at> debbugs.gnu.org; Mon, 09 Oct 2023 14:46:29 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qpvGR-0001Ii-36; Mon, 09 Oct 2023 14:46:01 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=7QxeSMAqr7aq0u8YWspuF/OsYd1idHz8atVwYCCE+X4=; b=fXsVb2tD5zFO
 IGDQlBL8nVHPFw/GAQh323a4gE1TNix5dCpoUW0cXF9s3XG+B0L6hO3yS6MoUSWb4x12z8tU4cEeD
 8/4R/TbOQeF48iWl7K/ndDoL5QzpfaX9jVNyjMraoyw3i8HGsnAZx7UPrzpfWuagy0idS8L5txJ3/
 Ar3kdet7UeNBjIOI2Bvz87xK5AUYndtXAeBzinQcLwXflb64l7q7ePvu7r/uaShPyXIBOxoFAQxcA
 HyGmRU7MNWdSHwVoeuFSMLyuamkGYEqkt931uaulLOr0C5Batem18UZ9rbwaDYX/AjOgM2ULZY+4s
 Iy6liECuhhKCmrjByxVHMA==;
Date: Mon, 09 Oct 2023 21:45:46 +0300
Message-Id: <831qe3ws6d.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Yuchen Guo <yguo@HIDDEN>
In-Reply-To: <87bkd7k6b8.fsf@lan> (message from Yuchen Guo on Mon, 09 Oct 2023
 18:18:51 +0000)
Subject: Re: bug#66416: 29.1; Crashes when visiting HELLO file with pgtk on
 Wayland
References: <865y3gq2in.fsf@lan> <83mswsvy0p.fsf@HIDDEN> <87bkd7k6b8.fsf@lan>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

[Pleased use Reply All to reply, so that the bug tracker is CC'ed.]

> From: Yuchen Guo <yguo@HIDDEN>
> Date: Mon, 09 Oct 2023 18:18:51 +0000
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > Regardless of our attempts to understand the immediate reason(s) for
> > these crashes and try preventing them, your setup, viz.:
> > ...
> > is not a good idea, to say the least.
> 
> After setting up Emacs exactly the way you described, the original
> problem is fully resolved, it seems.  Again, this is my new config[1].

Regardless of this, we would still like to see a full human-readable
backtrace with your original setup, so that we could prevent those
crashes if that is feasible.

> I think it is advisable to include information on how to properly
> configure font fallback in the manual.  As someone who had just
> completed (eintr), it was indeed a frustrating experience trying to get
> the font fallback correctly configured.

Emacs is supposed to be properly configured regarding fonts out of the
box.  If the default configuration somehow didn't work for you, please
describe the problems, and we will see if the defaults need some
changes.

Setting the font sets manually is a tricky business which requires
some non-trivial understanding of scripts, fonts, text-shaping
requirements and expectations, etc., and is quite hard to explain in a
comprehensive way that will cover enough use cases.  Therefore, we try
to have the defaults that work for the users, such that manual
customizations are reserved for rare cases and for people who know
what they are doing.  We don't want to confuse users with too many
technical explanations and details about font setup.

> CJK users would appreciate such instructions due to Han Unification[2].

What are the issues with font setup that Han Unification causes to
Emacs users?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 9 Oct 2023 11:26:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 09 07:26:09 2023
Received: from localhost ([127.0.0.1]:59420 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qpoOm-0005AO-Oc
	for submit <at> debbugs.gnu.org; Mon, 09 Oct 2023 07:26:09 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49092)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qpoOi-00059p-1L
 for 66416 <at> debbugs.gnu.org; Mon, 09 Oct 2023 07:26:07 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qpoOI-0008Sf-0q; Mon, 09 Oct 2023 07:25:38 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=phTjKvC1EqQCOfS8LUxSKLxAoquWyXMLMzwfeOykms0=; b=fc1oI/JOZa0L
 mu7z/i9igeVyVbudbuw26KON0202aYIuoSC5zmR7Z88UmuqUq6lbp3ABpM3jx0pAS/y4Jvi6Cw8M9
 ZORF+2kM3SGSZ5r5v4npWDI3FYuYm9nl7viM+2j8Nf+zAjZIOTA+zxf9kC4i89m/hZWp+mjX8jUrv
 hEUq6cMIJNLrUvLtYF7s9I5nijfCZtBGUAvkxnYzh6VQuZkKGzf6YB01/HEaf3cvtMryjsyWuwf3O
 scobw4z5IXLvJqJNWrHdzDQH3B9Wha9DkDNddX7cf85y2OvgnwR7AEyYUZ3TYoudl1hdwrbm5xv9K
 eUejZ7TFoUXXvGC0rs5FiQ==;
Date: Mon, 09 Oct 2023 14:24:54 +0300
Message-Id: <83mswsvy0p.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Yuchen Guo <yguo@HIDDEN>
In-Reply-To: <865y3gq2in.fsf@lan> (message from Yuchen Guo on Sun, 08 Oct 2023
 20:32:00 +0000)
Subject: Re: bug#66416: 29.1;
 Crashes when visiting HELLO file with pgtk on Wayland
References: <865y3gq2in.fsf@lan>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Yuchen Guo <yguo@HIDDEN>
> Date: Sun, 08 Oct 2023 20:32:00 +0000
> 
> 
> Emacs occasionally crashes when displaying multi-lingual text.  It has
> crashed several times in the last few days, such as visiting HELLO file
> or browsing a web page with eww.  Sometime it crashes immediately when
> the HELLO file is visited,  other times it crashes when I scroll the
> screen.
> 
> Worth mentioning is that, to deal with font fallback, I have configured
> a custom fontset:
>   https://codeberg.org/m0p/dotfiles/raw/commit/62d1a6008c0e391a33239a809aee92e4c03f14b5/imports/not-nix-config-files/emacs-init.el

Regardless of our attempts to understand the immediate reason(s) for
these crashes and try preventing them, your setup, viz.:

  (create-fontset-from-fontset-spec
   ;; derived from standard-fontset-spec
   "-*-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-custom")
  (setq my-font-list
	'("NewComputerModernMono10"
	  "STIX Two Math"
	  "Noto Sans Mono CJK SC"))
  (dolist (font my-font-list)
    (set-fontset-font "fontset-custom" 'unicode (font-spec :name font) nil 'append))
  (add-to-list 'default-frame-alist
	       '(font . "fontset-custom"))

is not a good idea, to say the least.  Since 'unicode' is a script
that includes all the characters supported by Emacs, the above
basically tells Emacs that each of the 3 fonts you name support the
entire Unicode range of characters, and that cannot be right.

The correct way of customizing your fonts is set a single
ASCII-compatible font as the default font (in your case, this is
probably NewComputerModernMono10), and then use set-fontset-font to
add the other two fonts for specific scripts or ranges of character
codepoints, not for the entire Unicode space.  For each such font use
only the range of characters that it supports well, and that other
fonts don't cover or cover less well.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 9 Oct 2023 11:20:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 09 07:20:05 2023
Received: from localhost ([127.0.0.1]:59414 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qpoIu-0004zY-TF
	for submit <at> debbugs.gnu.org; Mon, 09 Oct 2023 07:20:05 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:34886)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qpoIq-0004yw-9A
 for 66416 <at> debbugs.gnu.org; Mon, 09 Oct 2023 07:20:04 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qpoIQ-0006sZ-7p; Mon, 09 Oct 2023 07:19:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=g3CltpdOgy3DjmVA6Gr8qJEgWl6jjrCHm4yDZrCwbZI=; b=jUC9bszl25aw
 xydeAod7/jo+W2D5167aBK8QFEAl3wzva308oWr55aH0u/1cEV3XJls3jXS8JS//bMwqBIrWGJ9N0
 BL63TSybn8Bq5FS2wpwoRSuBYdsNF22ImmGYnkJvLoDtqiMHoZFUGWny1GUTpGkSZxc1a30wrMvZq
 TqWaKk0PHdPp/bJD1zAIXn0A3D3CLVTld31trgug/Anwv/tT2l1wg9Tr5/QOaPymG8BvVP2mAEEAf
 sdNqONBfUzupK3h1P1IyZzKNqVT7YcwNsAtfI6kiB2g7/KeVJmrb4zjQ09pwMfiOWeYi8FyssrpBU
 U4ylMaZh5KPqgG5I1ObWog==;
Date: Mon, 09 Oct 2023 14:19:22 +0300
Message-Id: <83o7h8vy9x.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87leccaxy9.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#66416: 29.1;
 Crashes when visiting HELLO file with pgtk on Wayland
References: <865y3gq2in.fsf@lan> <87leccaxy9.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66416
Cc: yguo@HIDDEN, 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: 66416 <at> debbugs.gnu.org
> Date: Mon, 09 Oct 2023 18:31:58 +0800
> From:  Po Lu via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> Thanks, but the backtrace you have provided is of no use to us, as
> should have been apparent from the absence of information within.
> Please follow the steps illustrated within (emacs)Crashing to transform
> it into a complete backtrace incorporating both symbol information and
> line numbers.

Either that, or start Emacs from GDB, and when it crashes type

  (gdb) thread apply all bt

and post here everything that GDB produces as result.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at 66416 <at> debbugs.gnu.org:


Received: (at 66416) by debbugs.gnu.org; 9 Oct 2023 10:32:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 09 06:32:38 2023
Received: from localhost ([127.0.0.1]:59376 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qpnYz-0003K0-Md
	for submit <at> debbugs.gnu.org; Mon, 09 Oct 2023 06:32:38 -0400
Received: from sonic317-34.consmr.mail.ne1.yahoo.com ([66.163.184.45]:36626)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1qpnYw-0003G4-AV
 for 66416 <at> debbugs.gnu.org; Mon, 09 Oct 2023 06:32:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1696847527; bh=4JNQ3bMrcs+bcwAys8Ls4NDbakjhAd3Bw2jSulNcjGk=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=GijXWxAe5RaUjY/BwnQpsnHPa77fbMXWUWz0k/Ecoqx826pxqouTGExIMUrvlOwyx0zyewf5c6MZ9r2tx+PwXcj6ekmCAplYaVjlvFJA+FJ8rPjS3wOAn7hwya1++ae9+I6cK0mViztk6EqbbvM9vLMe5WuWuCxMqvVMt8VhjnHM8JtzQKbYCKHE80lM8a8xscOv0y2XmteLK/QjqwHks7+Bx6PMm7VzglTivZKnXSkOc5UUHORlFMdJ2g2xuejrfVXY3R+sG0EXS3MCDYxGfxlgvEyA0kw0S5IaNygug8IP4Io8c0P0OsSHrMsB4vsJo+85c1w4uXOLOtBXCle2qQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1696847527; bh=n3fpiKePSambGcOIkwqb2ondyT1XVqXfRywv77dwYyx=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=Br/PZw0jxaaHqz3KKMpDk2qRYq+ZajwOzC0tyYiAchxoRtQcwMT1Mg1LXlE3c9B+1yhmx8amb5p32TfQrsbnrOyxpWnPrDxqPlpdgBI6Fv7oC22Y4qlGDzJYfFBRRR4AV+XBsVVaBEfAAMJhqnL4pEWgfIC3PysZ640WV+vcou0dZOMTzzfpIjUNlxv/aRo8djWzjUU02+KEUvBDM+knEI9n8MBHJcfPtNOoKM4zbbP8fk+1RGs16NA/YuUyvGWVtw/zSjv/UbJp5xcCH+RihgNrid5uzw1IEEfOxnI8BpO8FGbeW0r/TNg+qB+kQdjNafY6+rmSdkLoYsBIFYpiEw==
X-YMail-OSG: CC10Ba8VM1n9ry_5F3z4w1UcXtDr3qGwG2iVEHH55hHFbkBY1AQv3haFQyxXpoc
 uWKcdSTl3auVdfyKdjAwojjiJpm6f4j2sb.cryuZedsN_jCyw0xsmp1vLb1pghi0KwVqLP3Cr36z
 4QKeY5cXi3Oqtd9eYZgXm3q8ObapEiUXlJw_GfG.P8FkWUOGYlyP5fOzb40MxNl31wWY6duNr.DS
 pIKkd0O5GDKTHgXSvYwpbHH5Cp_Ckicc_ZD..MPr0cyiYwd_iw5gsBcUdDYOTT.0LkNS7Ag74QV5
 dsizwD2cLXL1RCZQ1VyGaa2B6Oagskx69XhLh2IqRL9J_4WRVG5c0CU_QtvoeX54LnULIphro8gv
 ao7ZCQJLZCOZc9gLVdrobk7R4bwfoaX40H6lkiaQtjnyUaVTraoOo4i2w.lS_dHZMVGMWea3xmAL
 35s.41WI90fUsILMA6Ij88K8iWP0bg3ZNw9.taDT8eadQ9Tu7tPxKrZ2oEPOcln1YlPqhHWCmGHL
 D7tfiL3fVVPXoGmH5X380YpbJUrstiaBuisHONY676n5TfTmQSPrEj9K6La8iFU9NSaZzovO2cD0
 k9y2QdCGkB0KlTAYmBOwt140h8izv5tprBdD_TZ2XtaWRSO7d4NaUwGHdp0VCV6YixHR0KSiXCBZ
 GF4Xy1TnMeCNKyACZFSnJXvkM4y3sXDsOfOmiWuudi6Bg200w81SR7cFKhp_zPVcSjXUSqkS2VeS
 JIl9heYG4A4KashvO_uIaMhrp4NXV_8BC0GqZaWdmzRZcqb.xbm86MOzJRiUODTAgkMpK4L9rsvs
 cReYYtoVmFig33atcNWQ4YpclIKqlfOJ9HOPxyLnBbj3jxbtXn9sK.Kd81w0f7zndjdaztGL20Re
 jcrKoOH4eA30yVCUAHGfkPoKhVFwK7ZMMAw1lITFpL0MwmSjR0mmBW33Injv0R3D3DQASo4rnqyV
 AITYcWhGtKiHktNauyWgNZJA_MawsoWcB5vxRf7.YWFJJwSov4Zxq5Ulgsvnjh0_EHF2M34W3n2E
 CxqQbvcEDIy0WzJU48knirkFpkz4rNx9V7rfFylcufvZGqSR9Rs0SypQ3EcjFqWmRBfeugbdwwHy
 _QN1DmwCC0vFFNpbpILJoM6GQ1OHWjx1dgQqKM0X1FHE1tCIKouLnEOgO6GaVOa3IHk8Agk4cg86
 0_eb6WoOlffkASz_xAUMoFz6ECq5PbH.yF01tI56iQmGjSc0iDK2MJdJ3T3.7V2IpamfiMrVhPxb
 UQXt2khK9oByMIYCnXtcuqlSCHznDtOGT3heTZt6eSqvimcLUcIa0qvbAAOX4XMsGmjK4D4ZTpX_
 Yl2fciHm0fhZXxBuqX.YceTkDElHrPuD76Y0ExGA1z75i_0Sv.r6RtxicJBL0Hua4l.uBJ40KOWE
 Yxczcvny_Ta_6ktAeSSVOyd1XKGX4Nrp6UKDXEDAyTwdgf8SE6bnE9zabJ0oEhtetA4p0zGfuhF4
 WuU4DWwR.fgd_B8BDaCFvGhYz2YY0D5YyP8PT_t9o4PZVWuNuzDe_iJQOTEKmFVw2UoPzf0VJcRN
 l0_SgyD0OMpRlAjwDvaKsiIIxlFQFnbswMffMes3WVMN1AQxJDhkWXwS1ytU8HFSWZD208y7GwT0
 SEG7BS9wZrq4Jqww0s1zyhxz0_s3sWSZ9rr2MWOg_gMFtzip4_dUcoqegcuGWD1IwGc8m4pNLh1p
 LXvxFi0yBr6.E5tr9XNPpy029NjUmycAPHNUIERJfTc.lg5acEKesen0Gt6sSqjK510hXqrXGp0o
 LQj9MGcxVO1vPpWLDcf_LXaIKFIYOgZH11_cGbtiRu5cdTC283q7fPrPLGmVzp4B0cvERRT99MxG
 67xfDColW0FYGM4baB3T64Au.JWsoG84t264SMgHhPvseg5WGtiJRiXIqWWQiVx1v_OMxEwMUvQ9
 xXLx1BebSsywFdc8kWCyHlWGihuf98PYv6QwOKe4ZXyAX9R16vGD3CWNfXCvfg5DHNCzryoOsGjB
 Ybpi4jlijG.veM7UOFtNdV6Nax25K5mleOBpH_lSm5_L6yIr8.49YbohdWk7jSuQJxmfmlePaHUW
 G4klW_y_UiZoq.hTvB4a2C1YBfBdr6X3_G2_DgL5cKZBb74HJt23Jg3jz7SvVOyUsI2YjrOuE8ws
 TLb.0nL2Es.2.tsA5y.kL_A_iLZxRhp6419bHz4DWXwYKZsYlu1ePJ6nkayBoIl0IMAdK9qaGG0z
 VYat5cDQ0YpsREsZXL0Uha9mHNNAfWyzA9a2yep5Iv7Im9ETqwMK7tRumgzboU0Ik
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 34f5b473-4977-430c-a008-137972c8ca60
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic317.consmr.mail.ne1.yahoo.com with HTTP; Mon, 9 Oct 2023 10:32:07 +0000
Received: by hermes--production-sg3-64dc67fbb6-sr8p6 (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 44dd2b140504ba1db8df17578984edb9; 
 Mon, 09 Oct 2023 10:32:04 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Yuchen Guo <yguo@HIDDEN>
Subject: Re: bug#66416: 29.1; Crashes when visiting HELLO file with pgtk on
 Wayland
In-Reply-To: <865y3gq2in.fsf@lan> (Yuchen Guo's message of "Sun, 08 Oct 2023
 20:32:00 +0000")
References: <865y3gq2in.fsf@lan>
Date: Mon, 09 Oct 2023 18:31:58 +0800
Message-ID: <87leccaxy9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21797
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 2229
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 66416
Cc: 66416 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

Yuchen Guo <yguo@HIDDEN> writes:

> Emacs occasionally crashes when displaying multi-lingual text.  It has
> crashed several times in the last few days, such as visiting HELLO file
> or browsing a web page with eww.  Sometime it crashes immediately when
> the HELLO file is visited,  other times it crashes when I scroll the
> screen.
>
> Worth mentioning is that, to deal with font fallback, I have configured
> a custom fontset:
>   https://codeberg.org/m0p/dotfiles/raw/commit/62d1a6008c0e391a33239a809aee92e4c03f14b5/imports/not-nix-config-files/emacs-init.el
>
>
> I can not reliably reproduce the crash. In most cases, the text in HELLO
> would be displayed with a delay.  The backtrace is the following:
>
> Backtrace:
> /bin/emacs(emacs_backtrace+0x48)[0x57e268]
> /bin/emacs(terminate_due_to_signal+0x8b)[0x46814b]
> /bin/emacs[0x4686ac]
> /bin/emacs[0x57c1c8]
> /bin/emacs[0x57c24c]
> /lib/libc.so.6(+0x38d30)[0x6593484e9d30]
> /bin/emacs[0x68912d]
> /bin/emacs[0x689521]
> /bin/emacs[0x6b76df]
> /bin/emacs[0x6b9cfa]
> /bin/emacs[0x4cb024]
> /bin/emacs(gui_write_glyphs+0x91)[0x4cd7b1]
> /bin/emacs[0x47343f]
> /bin/emacs[0x479694]
> /bin/emacs[0x47b183]
> /bin/emacs(update_frame+0x1cb)[0x47b37b]
> /bin/emacs[0x4c2e07]
> /bin/emacs(read_char+0xe60)[0x56b9a0]
> /bin/emacs[0x56e046]
> /bin/emacs[0x570006]
> /bin/emacs(internal_condition_case+0x5f)[0x5eb85f]
> /bin/emacs(command_loop_2+0x26)[0x55b376]
> /bin/emacs(internal_catch+0x33)[0x5eb7c3]
> /bin/emacs[0x55b311]
> /bin/emacs(recursive_edit_1+0x9b)[0x55fbbb]
> /bin/emacs(Frecursive_edit+0xdf)[0x55ff3f]
> /bin/emacs(main+0x1faf)[0x47174f]
> /lib/libc.so.6(+0x23ace)[0x6593484d4ace]
> /lib/libc.so.6(__libc_start_main+0x89)[0x6593484d4b89]
> /bin/emacs(_start+0x25)[0x471d45]
> Process 5932 (.emacs-29.1-wra) of user 1001 dumped core.
> emacs.service: Main process exited, code=dumped, status=11/SEGV
> systemd[5840]: emacs.service: Failed with result 'core-dump'.

Thanks, but the backtrace you have provided is of no use to us, as
should have been apparent from the absence of information within.
Please follow the steps illustrated within (emacs)Crashing to transform
it into a complete backtrace incorporating both symbol information and
line numbers.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 9 Oct 2023 07:34:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 09 03:34:08 2023
Received: from localhost ([127.0.0.1]:59109 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qpkmF-0002zw-3c
	for submit <at> debbugs.gnu.org; Mon, 09 Oct 2023 03:34:08 -0400
Received: from lists.gnu.org ([2001:470:142::17]:45284)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yguo@HIDDEN>) id 1qpaSF-0002si-CI
 for submit <at> debbugs.gnu.org; Sun, 08 Oct 2023 16:32:48 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yguo@HIDDEN>) id 1qpaRp-00017o-Px
 for bug-gnu-emacs@HIDDEN; Sun, 08 Oct 2023 16:32:21 -0400
Received: from mout02.posteo.de ([185.67.36.66])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yguo@HIDDEN>) id 1qpaRi-0004Ef-Gr
 for bug-gnu-emacs@HIDDEN; Sun, 08 Oct 2023 16:32:20 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 23FE1240104
 for <bug-gnu-emacs@HIDDEN>; Sun,  8 Oct 2023 22:32:10 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1696797130; bh=vVX5QuyPe8Y0LRkxWBCpnqfc7Fs/jb4+KBDS4SYfurg=;
 h=From:To:Subject:Date:Message-ID:MIME-Version:From;
 b=OnKKK5wPmbvyTUMYbD1TyzAbbhyJrLjJcsBidUGBckRpAmj2KZVVKtHpKrcxz37/K
 VPEAZ5piqSGhk0kiS7dXNsFkqMs1ygV+yy4F+MzEEFyeJs8mdEXdJt1qi04nEG5IHA
 4TTNZ4zGZpMfx/DKi5y/jw5GbwfQzf9MHR8ju1loeFARQjdkuEHRaD8jyTW5r1yJJt
 Gk9g2kv8/JYNp0OHYK1cm9d4m7/TZ67SNi1KVRrjJczIcR8Ir9smt6IwHrluGCAtfI
 EnRPJEYeKHiInIfoKTuN5fHiHV/kyiL0nHZRzdHh0934SGHnkTtDZ8hjAlShKY0d7f
 3EiER05qJ2+AQ==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4S3Yk15kDLz9rxR
 for <bug-gnu-emacs@HIDDEN>; Sun,  8 Oct 2023 22:32:09 +0200 (CEST)
From: Yuchen Guo <yguo@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 29.1; Crashes when visiting HELLO file with pgtk on Wayland
Date: Sun, 08 Oct 2023 20:32:00 +0000
Message-ID: <865y3gq2in.fsf@lan>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=185.67.36.66; envelope-from=yguo@HIDDEN;
 helo=mout02.posteo.de
X-Spam_score_int: -53
X-Spam_score: -5.4
X-Spam_bar: -----
X-Spam_report: (-5.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 09 Oct 2023 03:34:05 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)


Emacs occasionally crashes when displaying multi-lingual text.  It has
crashed several times in the last few days, such as visiting HELLO file
or browsing a web page with eww.  Sometime it crashes immediately when
the HELLO file is visited,  other times it crashes when I scroll the
screen.

Worth mentioning is that, to deal with font fallback, I have configured
a custom fontset:
  https://codeberg.org/m0p/dotfiles/raw/commit/62d1a6008c0e391a33239a809aee92e4c03f14b5/imports/not-nix-config-files/emacs-init.el


I can not reliably reproduce the crash. In most cases, the text in HELLO
would be displayed with a delay.  The backtrace is the following:

Backtrace:
/bin/emacs(emacs_backtrace+0x48)[0x57e268]
/bin/emacs(terminate_due_to_signal+0x8b)[0x46814b]
/bin/emacs[0x4686ac]
/bin/emacs[0x57c1c8]
/bin/emacs[0x57c24c]
/lib/libc.so.6(+0x38d30)[0x6593484e9d30]
/bin/emacs[0x68912d]
/bin/emacs[0x689521]
/bin/emacs[0x6b76df]
/bin/emacs[0x6b9cfa]
/bin/emacs[0x4cb024]
/bin/emacs(gui_write_glyphs+0x91)[0x4cd7b1]
/bin/emacs[0x47343f]
/bin/emacs[0x479694]
/bin/emacs[0x47b183]
/bin/emacs(update_frame+0x1cb)[0x47b37b]
/bin/emacs[0x4c2e07]
/bin/emacs(read_char+0xe60)[0x56b9a0]
/bin/emacs[0x56e046]
/bin/emacs[0x570006]
/bin/emacs(internal_condition_case+0x5f)[0x5eb85f]
/bin/emacs(command_loop_2+0x26)[0x55b376]
/bin/emacs(internal_catch+0x33)[0x5eb7c3]
/bin/emacs[0x55b311]
/bin/emacs(recursive_edit_1+0x9b)[0x55fbbb]
/bin/emacs(Frecursive_edit+0xdf)[0x55ff3f]
/bin/emacs(main+0x1faf)[0x47174f]
/lib/libc.so.6(+0x23ace)[0x6593484d4ace]
/lib/libc.so.6(__libc_start_main+0x89)[0x6593484d4b89]
/bin/emacs(_start+0x25)[0x471d45]
Process 5932 (.emacs-29.1-wra) of user 1001 dumped core.
emacs.service: Main process exited, code=dumped, status=11/SEGV
systemd[5840]: emacs.service: Failed with result 'core-dump'.

In GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38,
cairo version 1.16.0)
System Description: NixOS 23.11 (Tapir)

Configured using:
 'configure
 --prefix=/nix/store/jafxp698l6f4wxzkmw48vg9nixjfd2qh-emacs-pgtk-29.1
 --disable-build-details --with-modules --with-pgtk
 --with-native-compilation --with-tree-sitter --with-xwidgets'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON
LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER
PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
TREE_SITTER WEBP XIM XWIDGETS GTK3 ZLIB

Important settings:
  value of $EMACSLOADPATH: 
  value of $EMACSNATIVELOADPATH: 
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  server-mode: t
  pdf-occur-global-minor-mode: t
  override-global-mode: t
  pixel-scroll-precision-mode: t
  electric-pair-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  global-prettify-symbols-mode: t
  prettify-symbols-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  line-number-mode: t
  auto-fill-function: do-auto-fill
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/nix/store/fdprfbhw9zcghxj2wz9nbv8sab90zaym-emacs-packages-deps/share/emacs/site-lisp/site-start hides /nix/store/jafxp698l6f4wxzkmw48vg9nixjfd2qh-emacs-pgtk-29.1/share/emacs/site-lisp/site-start
/nix/store/fdprfbhw9zcghxj2wz9nbv8sab90zaym-emacs-packages-deps/share/emacs/site-lisp/elpa/transient-20230915.1911/transient hides /nix/store/jafxp698l6f4wxzkmw48vg9nixjfd2qh-emacs-pgtk-29.1/share/emacs/29.1/lisp/transient
/nix/store/fdprfbhw9zcghxj2wz9nbv8sab90zaym-emacs-packages-deps/share/emacs/site-lisp/elpa/let-alist-1.0.6/let-alist hides /nix/store/jafxp698l6f4wxzkmw48vg9nixjfd2qh-emacs-pgtk-29.1/share/emacs/29.1/lisp/emacs-lisp/let-alist

Features:
(shadow sort face-remap mail-extr emacsbug message yank-media puny
rfc822 mml mml-sec epa derived epg rfc6068 epg-config mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums comp comp-cstr warnings rx server
pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist advice
tablist-filter semantic/wisent/comp semantic/wisent
semantic/wisent/wisent semantic/util-modes semantic/util semantic
semantic/tag semantic/lex semantic/fw mode-local find-func cedet
pdf-isearch let-alist pdf-misc imenu pdf-tools compile comint ansi-osc
ansi-color cus-edit icons pdf-view bookmark pp jka-compr pdf-cache
pdf-info tq pdf-util format-spec pdf-macs image-mode dired
dired-loaddefs exif pyim-basedict pyim-dict gnus nnheader gnus-util
text-property-search time-date mail-utils range mm-util mail-prsvr
wid-edit edmacro kmacro cl-extra help-mode use-package-bind-key bind-key
easy-mmode use-package-core modus-operandi-theme modus-themes
pixel-scroll cua-base ring elec-pair cus-load auctex-autoloads tex-site
magit-autoloads pcase git-commit-autoloads nix-mode-autoloads
magit-section-autoloads dash-autoloads pdf-tools-autoloads
pyim-autoloads async-autoloads pyim-basedict-autoloads tablist-autoloads
transient-autoloads with-editor-autoloads info compat-autoloads
xr-autoloads package browse-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie generate-lisp-file url-domsuf
url-util mailcap url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp
byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv
eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq
simple cl-generic indonesian philippine cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button
loaddefs theme-loaddefs faces cus-face macroexp files window
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget keymap hashtable-print-readable backquote threads
xwidget-internal dbusbind inotify dynamic-setting system-font-setting
font-render-setting cairo gtk pgtk multi-tty make-network-process
native-compile emacs)

Memory information:
((conses 16 274697 10668)
 (symbols 48 19084 0)
 (strings 32 51565 2840)
 (string-bytes 1 1784963)
 (vectors 16 30611)
 (vector-slots 8 566632 13506)
 (floats 8 170 34)
 (intervals 56 302 0)
 (buffers 984 14))




Acknowledgement sent to Yuchen Guo <yguo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#66416; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 2 May 2024 08:45:01 UTC

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