From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.bugs Subject: bug#21394: 25.0.50; Segfault when displaying unprintable character in echo area while frames are being created Date: Wed, 2 Sep 2015 16:08:08 +0000 Message-ID: References: <83y4gqaxhs.fsf@gnu.org> <83twreau6e.fsf@gnu.org> <83io7uaq37.fsf@gnu.org> <838u8oc0mx.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=089e01182a345df30e051ec5df06 X-Trace: ger.gmane.org 1441210161 26353 80.91.229.3 (2 Sep 2015 16:09:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Sep 2015 16:09:21 +0000 (UTC) Cc: 21394@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 02 18:09:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZXAb0-0004tg-S7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Sep 2015 18:09:11 +0200 Original-Received: from localhost ([::1]:39245 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXAb0-0000Nl-Mq for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Sep 2015 12:09:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXAaw-0000NV-Jy for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2015 12:09:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXAas-00063w-K1 for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2015 12:09:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54425) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXAas-00063e-GM for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2015 12:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZXAar-00053b-VD for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2015 12:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Sep 2015 16:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21394 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21394-submit@debbugs.gnu.org id=B21394.144121009519379 (code B ref 21394); Wed, 02 Sep 2015 16:09:01 +0000 Original-Received: (at 21394) by debbugs.gnu.org; 2 Sep 2015 16:08:15 +0000 Original-Received: from localhost ([127.0.0.1]:46635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZXAa7-00052V-4c for submit@debbugs.gnu.org; Wed, 02 Sep 2015 12:08:15 -0400 Original-Received: from mail-ig0-f173.google.com ([209.85.213.173]:36886) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZXAa0-00052J-T6 for 21394@debbugs.gnu.org; Wed, 02 Sep 2015 12:08:13 -0400 Original-Received: by igbni9 with SMTP id ni9so17701966igb.0 for <21394@debbugs.gnu.org>; Wed, 02 Sep 2015 09:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=BK7SQkSHlzZxRJHSx63FGrDRu2x6vibm5hpzeFghoJA=; b=RuUWYVKjgpMyfRO2z5f0M8lQ/anDpCntA7IiwVNNyhVfBXMT+lz4RfkPyqaF8w5LW1 ezvjq0fcMEb7Sg7jlP7oCzUkoYpeEFfBeQBl4kDjubB49sjhebB5CpAGYt3AsH0GJbn/ DNlkN3GvOtsjLYI26bxLnjlwIZSzkZFO5HdZ8qgZ11SJsH2zP/p2VGWmjpiQm1U72OoB v1F5MPTvFKUkiuVc6B8zDKqs6lqiFpnRvHELCeT353GrGml6IRChftpe3pkS+woMI65U 3MsOSvDVjXke3r+P0PGfs2FiKQ3T4GZGD3dp5Pc0Jxn/J4aZfxWtD2Z4x05ZU21QjSae CbDw== X-Received: by 10.50.17.9 with SMTP id k9mr4072696igd.93.1441210088333; Wed, 02 Sep 2015 09:08:08 -0700 (PDT) Original-Received: by 10.79.78.66 with HTTP; Wed, 2 Sep 2015 09:08:08 -0700 (PDT) In-Reply-To: <838u8oc0mx.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:106091 Archived-At: --089e01182a345df30e051ec5df06 Content-Type: multipart/alternative; boundary=089e01182a345df30a051ec5df04 --089e01182a345df30a051ec5df04 Content-Type: text/plain; charset=UTF-8 On Wed, Sep 2, 2015 at 3:16 PM, Eli Zaretskii wrote: > > This patch appears, so far, to run without a segfault > No segfault overnight. > Can you please verify that when the (unmodified) code does segfault, > the offending face ID is indeed stored in > last_escape_glyph_merged_face_id? I'd like to be sure we have really > found the source of that face ID. > It is, indeed, and last_escape_glyph_frame also equals it->f. Revised patch attached. --089e01182a345df30a051ec5df04 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable --089e01182a345df30a051ec5df04-- --089e01182a345df30e051ec5df06 Content-Type: text/x-patch; charset=US-ASCII; name="0001-Forget-cached-face-ids-when-displaying-echo-area-mes.patch" Content-Disposition: attachment; filename="0001-Forget-cached-face-ids-when-displaying-echo-area-mes.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ie2za3v80 RnJvbSBhMjQ1NzIyNTYzYzViOTA0MzEzZjJmMGZlOWNhMTg3ZjZkYWFjYWUyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBQaGlsaXAgPHBpcGNldEBnbWFpbC5jb20+CkRhdGU6IFdlZCwg MiBTZXAgMjAxNSAxNTo1ODoxNiArMDAwMApTdWJqZWN0OiBbUEFUQ0hdIEZvcmdldCBjYWNoZWQg ZmFjZSBpZHMgd2hlbiBkaXNwbGF5aW5nIGVjaG8gYXJlYSBtZXNzYWdlcwogKEJ1ZyMyMTM5NCkK CgkqIHhkaXNwLmMgKHVuY2FjaGVfZmFjZXMpOiBOZXcgZnVuY3Rpb24uCgkoZGlzcGxheV9lY2hv X2FyZWFfMSk6IENhbGwgYHVuY2FjaGVfZmFjZXMnLgoJKHJlZGlzcGxheV9pbnRlcm5hbCk6IENh bGwgYHVuY2FjaGVfZmFjZXMnLgotLS0KIHNyYy94ZGlzcC5jIHwgMjAgKysrKysrKysrKysrKysr LS0tLS0KIDEgZmlsZSBjaGFuZ2VkLCAxNSBpbnNlcnRpb25zKCspLCA1IGRlbGV0aW9ucygtKQoK ZGlmZiAtLWdpdCBhL3NyYy94ZGlzcC5jIGIvc3JjL3hkaXNwLmMKaW5kZXggOWZmOWY2Yy4uYzY4 YzdlMSAxMDA2NDQKLS0tIGEvc3JjL3hkaXNwLmMKKysrIGIvc3JjL3hkaXNwLmMKQEAgLTY3ODcs NiArNjc4NywxNSBAQCBtZXJnZV9nbHlwaGxlc3NfZ2x5cGhfZmFjZSAoc3RydWN0IGl0ICppdCk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