From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#30874: 27.0.50; Emacs crashes Date: Mon, 26 Mar 2018 22:17:50 +0200 Message-ID: <87fu4m1tht.fsf@gmail.com> 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> <83605ig2se.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1522095390 1863 195.159.176.226 (26 Mar 2018 20:16:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Mar 2018 20:16:30 +0000 (UTC) Cc: 30874@debbugs.gnu.org, jsynacek@redhat.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 26 22:16:26 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 1f0YXW-0000LU-D5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Mar 2018 22:16:22 +0200 Original-Received: from localhost ([::1]:58952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0YZZ-0002wc-MI for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Mar 2018 16:18:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51000) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0YZC-0002nf-SV for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 16:18:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0YZ8-0007OV-My for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 16:18:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46985) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0YZ8-0007ON-IZ for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 16:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f0YZ8-0008Ib-AN for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 16:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Mar 2018 20:18:02 +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.152209548131894 (code B ref 30874); Mon, 26 Mar 2018 20:18:02 +0000 Original-Received: (at 30874) by debbugs.gnu.org; 26 Mar 2018 20:18:01 +0000 Original-Received: from localhost ([127.0.0.1]:54882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0YZ7-0008IM-09 for submit@debbugs.gnu.org; Mon, 26 Mar 2018 16:18:01 -0400 Original-Received: from mail-wm0-f54.google.com ([74.125.82.54]:55573) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0YZ4-0008I4-7J for 30874@debbugs.gnu.org; Mon, 26 Mar 2018 16:17:59 -0400 Original-Received: by mail-wm0-f54.google.com with SMTP id t7so17768374wmh.5 for <30874@debbugs.gnu.org>; Mon, 26 Mar 2018 13:17:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version; bh=qidueycuv7sBSdOXrhkRrOU33sNLtYN3W8gwFFRwKts=; b=YUN0JY2ckli5lNR+98IQwwgFyPs3hN0Zx2W/pYBo81ve83QBny5a8k0bi8vkKLekNb t6ZpaF5W9e89TtSlwqZ6Nw+s7MlQPj7e9musbveCzrQ8aVPtBjyskjFblcbdiy7EwvrM 96/JxE8Vxn8oYUCdqBYsomuUTwT9k25mGXfL/5Xok/E9/RP6z3ns5/4Nm9qz7ktluVvz mkIZB6O9tu5XXjIALIgOJW+PqYsmeAE9bCa3y7EU4CJLPsWmIiSBz78HLqihJQ+plYBQ PqkWNC4QdvoAnnO5w82GKX1WdCk2GUZrrRmk55UTtbT0DhC1xUWHVWIV/O2v5stz9zv6 x0JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version; bh=qidueycuv7sBSdOXrhkRrOU33sNLtYN3W8gwFFRwKts=; b=GWv9V4L3vXPdnzrSCXWGOiNYcyX5nkYEXmrQX/m+R9DN3v+JoOjITKvJsNALbmKCnb lGjoJERqQZsGIpCdWu7QFKUGXupelZ17KyBGxHW1QUHF67e39tSVeZxRGQsfbs3NZlY4 63sD1j4Ut4EF1QwOML1N5gYAmlCXp+rFz/nwkGsHJRKa21oS00xUQwlk9Rb8clnrjhLq 4LxiEvXK8iRtXvpN6yPwNW7VENBSj8IqtDDndD8xVd1HmWMNY/POglKBlfRGoTreSMHI Tx2Z+VC1QpIPmnHkhMncTHvFrk/dtNcVmOyT/Psrxe3uZf+ke8ZF1aiQg9Kp+L8iTy4F YG6Q== X-Gm-Message-State: AElRT7HpHlf1sS9r2CTqzw0rBTbLt6kTbxjLcjEwIpsaba499vjFZzib wUiltQqWWBToJPFDNgY8/zw= X-Google-Smtp-Source: AIpwx49v4zvCRx1iey1IXCgpGoB2ywEa/CcvlwqBeyxIIuk8Dw/vIyoByCHBM0p00L0IkRfLUsQyWw== X-Received: by 10.28.137.68 with SMTP id l65mr514006wmd.57.1522095472108; Mon, 26 Mar 2018 13:17:52 -0700 (PDT) Original-Received: from rpluim (vav06-1-78-207-202-134.fbx.proxad.net. [78.207.202.134]) by smtp.gmail.com with ESMTPSA id y75sm18091947wme.13.2018.03.26.13.17.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Mar 2018 13:17:51 -0700 (PDT) In-Reply-To: <83605ig2se.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 26 Mar 2018 20:33:21 +0300") 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:144638 Archived-At: Eli Zaretskii writes: >> 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. Yes. Looks like Xft is stuck waiting on a futex somewhere. >> 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'? No, not for 'a'. I do see it for #x700. XftTextExtents8 does get called a bunch of times during startup though. >> > 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. You're in a maze of twisty pointers, all subtly different and half-opaque. I may end up having to build my own Xft lib. Robert