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#5856: 24.0.50; Crash in redisplay Date: Thu, 08 Apr 2010 02:49:11 -0400 Message-ID: References: <4BBCD8D1.1060400@swipnet.se> <83hbnn1000.fsf@gnu.org> <4BBD74AD.2080305@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1270709924 18797 80.91.229.12 (8 Apr 2010 06:58:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 8 Apr 2010 06:58:44 +0000 (UTC) Cc: 5856@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 08 08:58:42 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NzlhK-0003a1-8U for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Apr 2010 08:58:42 +0200 Original-Received: from localhost ([127.0.0.1]:36932 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzlhJ-0004J5-OK for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Apr 2010 02:58:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzlhE-0004Iz-JF for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 02:58:36 -0400 Original-Received: from [140.186.70.92] (port=49444 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzlhC-0004Ir-Ss for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 02:58:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzlhB-0001OW-5Z for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 02:58:34 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56355) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzlhB-0001OR-2I for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 02:58:33 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NzlYx-0000gl-UQ; Thu, 08 Apr 2010 02:50:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Apr 2010 06:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5856 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5856-submit@debbugs.gnu.org id=B5856.12707093582622 (code B ref 5856); Thu, 08 Apr 2010 06:50:03 +0000 Original-Received: (at 5856) by debbugs.gnu.org; 8 Apr 2010 06:49:18 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzlYE-0000gF-FG for submit@debbugs.gnu.org; Thu, 08 Apr 2010 02:49:18 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzlYB-0000g2-9U for 5856@debbugs.gnu.org; Thu, 08 Apr 2010 02:49:16 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NzlY7-0003YD-9R; Thu, 08 Apr 2010 02:49:11 -0400 In-reply-to: <4BBD74AD.2080305@swipnet.se> (message from Jan =?UTF-8?Q?Dj=C3=A4rv?= on Thu, 08 Apr 2010 08:16:13 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 08 Apr 2010 02:50:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36041 Archived-At: > Date: Thu, 08 Apr 2010 08:16:13 +0200 > From: Jan Djärv > CC: 5856@debbugs.gnu.org > > >> 12775 if (!(BUFFERP (glyph->object) && glyph->charpos == pt_old) > > > > Ouch! My bad, probably. > > > > First, what caused the crash? I think it's BUFFERP, so please tell > > what is glyph->object. > > > > (gdb) whatis glyph->object > type = Lisp_Object > (gdb) p glyph->object > $4 = 8079492959817000301 > (gdb) pp glyph->object > # Yep, it's an invalid object, somehow. I wonder how did that happen... (Btw, in a crashed session, it is not safe to use pp and pr: they call functions in Emacs, which could themselves crash, depending on the extent of damage caused by the original crash. It is better to use "xtype" followed by an xSOMETHING command, where SOMETHING depends on what "xtype" prints; for example, "xbuffer" if "xtype" says the object is a buffer.) > It is correct, I did C-x b and typed an x in the minibuffer when the crash > occurred. The contents of the minibuffer is two lines. And it looks like you are using some optional feature for minibuffer completion? IOW, what should I do in "emacs -Q" to see the possible completions as I see them in the output of "pgrow", viz. Switch to buffer (default xsettings.h): x(settings.c,lwmenu.c,lwmenu.h,fns.c,te I'd like to try to reproduce this problem. Thanks.