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#9436: 24.0.50; Segmentation fault during redisplay Date: Mon, 05 Sep 2011 00:20:23 -0400 Message-ID: References: <83d3fgyxqi.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1315196497 4890 80.91.229.12 (5 Sep 2011 04:21:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 5 Sep 2011 04:21:37 +0000 (UTC) Cc: 9436@debbugs.gnu.org To: Helmut Eller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 05 06:21:31 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R0Qgc-0005N7-BT for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Sep 2011 06:21:30 +0200 Original-Received: from localhost ([::1]:37788 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0QgZ-0005YV-G5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Sep 2011 00:21:27 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0QgW-0005YK-4h for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2011 00:21:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R0QgV-0008Lq-9B for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2011 00:21:24 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0QgV-0008Lm-7i for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2011 00:21:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R0Qk2-0005OL-Et; Mon, 05 Sep 2011 00:25:02 -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: Mon, 05 Sep 2011 04:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9436 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9436-submit@debbugs.gnu.org id=B9436.131519664520657 (code B ref 9436); Mon, 05 Sep 2011 04:25:02 +0000 Original-Received: (at 9436) by debbugs.gnu.org; 5 Sep 2011 04:24:05 +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 1R0Qj6-0005N8-Kc for submit@debbugs.gnu.org; Mon, 05 Sep 2011 00:24:05 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R0Qj4-0005N0-Jq for 9436@debbugs.gnu.org; Mon, 05 Sep 2011 00:24:03 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R0QfX-0006Mj-4Z; Mon, 05 Sep 2011 00:20:23 -0400 In-reply-to: (message from Helmut Eller on Mon, 05 Sep 2011 00:35:34 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 05 Sep 2011 00:25:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.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:50593 Archived-At: > From: Helmut Eller > Date: Mon, 05 Sep 2011 00:35:34 +0200 > > I updated the source tree and configured with > `configure '--with-gif=no' '--with-gnutls=no' 'CFLAGS=-g3 -O0'' Please reconfigure like this: configure --enable-asserts --enable-checking --with-gif=no --with-gnutls=no 'CFLAGS=-g3 -O0' This will enable several important sanity checks and hopefully allow us to see why the frame pointer is NULL. Please try again after rebuilding Emacs, and see if you get an abort somewhere, or the same segfault. > Then started Emacs from gdb. After a while the it occurred again. > it->f seems to be 0 here too: > > (gdb) frame 0 > #0 0x0807e455 in move_it_to (it=0xbfffd9d0, to_charpos=1688, to_x=-1, > to_y=-1, to_vpos=-1, op=8) at xdisp.c:8444 > 8444 if (!FRAME_WINDOW_P (it->f) > (gdb) p it->f > $5 = (struct frame *) 0x0 If you go up 1 frame to here: > #1 0x080865e7 in redisplay_internal () at xdisp.c:12814 And display w->frame there, is it also NULL? If so, can you display the contents of the structure pointed to by w, and also compare that with selected_window? Also, what is the value of current_buffer and selected_frame? When this happened, is it possible that you did something that modified the display configuration, like killed a window or a frame or changed the display dimensions?