From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30874: 27.0.50; Emacs crashes Date: Mon, 26 Mar 2018 20:33:21 +0300 Message-ID: <83605ig2se.fsf@gnu.org> References: <837eq7lzr4.fsf@gnu.org> <831sgencgb.fsf@gnu.org> <83woy4i7rz.fsf@gnu.org> <83vadoi2ia.fsf@gnu.org> <878taf2kj5.fsf@gmail.com> <83d0zqg8p8.fsf@gnu.org> <87o9ja230e.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1522085532 14607 195.159.176.226 (26 Mar 2018 17:32:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Mar 2018 17:32:12 +0000 (UTC) Cc: 30874@debbugs.gnu.org, jsynacek@redhat.com To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 26 19:32:08 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0VyY-0003dp-Ad for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Mar 2018 19:32:06 +0200 Original-Received: from localhost ([::1]:58234 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0W0b-0003X7-Lf for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Mar 2018 13:34:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0W0V-0003Wh-5M for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 13:34:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0W0Q-00083T-8n for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 13:34:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46758) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0W0Q-00083L-5b for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 13:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f0W0P-0004H8-Su for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 13:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Mar 2018 17:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 30874-submit@debbugs.gnu.org id=B30874.152208560616392 (code B ref 30874); Mon, 26 Mar 2018 17:34:01 +0000 Original-Received: (at 30874) by debbugs.gnu.org; 26 Mar 2018 17:33:26 +0000 Original-Received: from localhost ([127.0.0.1]:54655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0Vzq-0004GK-6j for submit@debbugs.gnu.org; Mon, 26 Mar 2018 13:33:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0Vzo-0004G9-VR for 30874@debbugs.gnu.org; Mon, 26 Mar 2018 13:33:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0Vzj-0007mW-3b for 30874@debbugs.gnu.org; Mon, 26 Mar 2018 13:33:19 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0Vzc-0007jR-4D; Mon, 26 Mar 2018 13:33:12 -0400 Original-Received: from [176.228.60.248] (port=3220 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f0Vzb-000285-EU; Mon, 26 Mar 2018 13:33:11 -0400 In-reply-to: <87o9ja230e.fsf@gmail.com> (message from Robert Pluim on Mon, 26 Mar 2018 18:52:17 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:144636 Archived-At: > From: Robert Pluim > Cc: 30874@debbugs.gnu.org, jsynacek@redhat.com > Date: Mon, 26 Mar 2018 18:52:17 +0200 > > > But now that I actually see it, I don't think I understand the reason: > > the call to XftTextExtents8 asks the xft font back-end to produce the > > extents for an all-ASCII string, so the fact that it may not have > > glyphs for some exotic non-ASCII characters couldn't be the culprit. > > OK. Is it possible that because we're in synchronous mode that the > signal has been received just at an inopportune moment? I doubt that: the backtrace looks very much like describing the actual call into the X libraries. > It doesn't crash if I do eg (insert-char ?a), nor (insert-char #x700). As expected. But if you put a breakpoint at line 378 of xftfont.c, do you see the same call to XftTextExtents8 with the same arguments in the case of 'a'? > > Can you figure out what's going on here, and why? > > Looks like I'll have to go poking around in the guts of Xft. Pointers > appreciated. Sorry, I don't know enough about the xftfont back-end to provide any pointers. Maybe someone else here would.