From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21394: 25.0.50; Segfault when displaying unprintable character in echo area while frames are being created Date: Tue, 01 Sep 2015 21:08:57 +0300 Message-ID: <83twreau6e.fsf@gnu.org> References: <83y4gqaxhs.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1441130961 4389 80.91.229.3 (1 Sep 2015 18:09:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Sep 2015 18:09:21 +0000 (UTC) Cc: 21394@debbugs.gnu.org To: Pip Cet Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 01 20:09:10 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 1ZWpza-0003oM-Ci for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Sep 2015 20:09:10 +0200 Original-Received: from localhost ([::1]:56623 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWpza-0000o3-B7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Sep 2015 14:09:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWpzX-0000nt-10 for bug-gnu-emacs@gnu.org; Tue, 01 Sep 2015 14:09:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZWpzT-0006mg-82 for bug-gnu-emacs@gnu.org; Tue, 01 Sep 2015 14:09:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWpzS-0006mc-V3 for bug-gnu-emacs@gnu.org; Tue, 01 Sep 2015 14:09:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZWpzS-0003Fq-Gz for bug-gnu-emacs@gnu.org; Tue, 01 Sep 2015 14:09: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: Tue, 01 Sep 2015 18:09:02 +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.144113093012484 (code B ref 21394); Tue, 01 Sep 2015 18:09:02 +0000 Original-Received: (at 21394) by debbugs.gnu.org; 1 Sep 2015 18:08:50 +0000 Original-Received: from localhost ([127.0.0.1]:45341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZWpzF-0003FI-LL for submit@debbugs.gnu.org; Tue, 01 Sep 2015 14:08:49 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:49229) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZWpzC-0003F7-Hr for 21394@debbugs.gnu.org; Tue, 01 Sep 2015 14:08:47 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NU000K00FD0WI00@a-mtaout23.012.net.il> for 21394@debbugs.gnu.org; Tue, 01 Sep 2015 21:08:45 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NU000KCMFQKUS30@a-mtaout23.012.net.il>; Tue, 01 Sep 2015 21:08:45 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il 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:106068 Archived-At: > Date: Tue, 1 Sep 2015 17:33:10 +0000 > From: Pip Cet > > This is the full log, including all my backspacing (so the end might be more > readable in the edited log I've sent to the list). I'm not sure what the size > limits are for sending attachments to the list. > [...] > (gdb) p face > $1787 = (struct face *) 0x0 > (gdb) p it > $1788 = (struct it *) 0x7fffffff9de0 > (gdb) p it->face_id > $1789 = 18 > $1790 = (struct frame *) 0x129f9e0 > (gdb) p it->f->face_cache->used > $1791 = 15 I see the problematic face always has face ID of 18, and the 'used' field is always 15 when the segfault strikes. So I guess the next step is to make the breakpoint in cache_face conditional on i being 18, and then see whether c->used is set to 19 during that call to cache_face. If it does, then a watchpoint (by location) on c->used should show which code makes the value smaller.