From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#42943: 28.0.50; Emacsclient crashes in ftcrfont_glyph_extents Date: Thu, 20 Aug 2020 17:28:44 +0300 Message-ID: <83blj5crxf.fsf@gnu.org> References: <877dtuta6z.fsf@tcd.ie> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18368"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 42943@debbugs.gnu.org To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 20 16:30:19 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8la6-0004gN-US for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Aug 2020 16:30:18 +0200 Original-Received: from localhost ([::1]:56562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8la5-0007Ty-0M for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Aug 2020 10:30:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8lZq-0007Se-LF for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 10:30:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60001) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k8lZq-0001Dr-Al for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 10:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k8lZq-0006mf-3K for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 10:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Aug 2020 14:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42943 X-GNU-PR-Package: emacs Original-Received: via spool by 42943-submit@debbugs.gnu.org id=B42943.159793374325975 (code B ref 42943); Thu, 20 Aug 2020 14:30:02 +0000 Original-Received: (at 42943) by debbugs.gnu.org; 20 Aug 2020 14:29:03 +0000 Original-Received: from localhost ([127.0.0.1]:43314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8lYt-0006kt-1c for submit@debbugs.gnu.org; Thu, 20 Aug 2020 10:29:03 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8lYo-0006kG-MA for 42943@debbugs.gnu.org; Thu, 20 Aug 2020 10:29:01 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41878) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8lYj-00016m-8R; Thu, 20 Aug 2020 10:28:53 -0400 Original-Received: from [176.228.60.248] (port=1339 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k8lYi-0003GF-49; Thu, 20 Aug 2020 10:28:52 -0400 In-Reply-To: <877dtuta6z.fsf@tcd.ie> (contovob@tcd.ie) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:185699 Archived-At: > From: "Basil L. Contovounesios" > Date: Thu, 20 Aug 2020 01:47:32 +0100 > > --8<---------------cut here---------------start------------->8--- > glyph 7 row 0 col 7 nrows 1 m 0x5555561a7660 r 0x555556495210 c 0x555556495256 > > glyph 7 row 0 col 7 nrows 1 m 0x5555561a7660 r 0x555556495210 c 0x555556495256 > > glyph 63 row 0 col 63 nrows 1 m 0x5555561a7660 r 0x555556495210 c 0x555556495486 > sz 24 len 1 from 0 i 0 > glyph 3 row 0 col 3 nrows 1 m 0x5555561a7660 r 0x555556495210 c 0x55555649522e > sz 24 len 1 from 0 i 0 > glyph 1135 row 8 col 111 nrows 10 m 0x5555562304d0 r 0x2073756c50656d55 c 0x2073756c506571ab > --8<---------------cut here---------------end--------------->8--- Is 0x2073756c506571ab a bogus pointer, i.e. it cannot be dereferenced? If so, you need to figure out where did it come from. It could have come from the xmalloc call, but then why the trace around that call are not shown in your printfs? And what is sizeof(struct font_metrics) there? I see no printfs which show that, so I can only guess.