From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: emacs from head segfaults when run with -nw Date: Mon, 05 Apr 2010 18:24:54 +0300 Message-ID: <831vetzzuh.fsf@gnu.org> References: <83bpdyz2vz.fsf@gnu.org> <837homyowe.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1270481130 11448 80.91.229.12 (5 Apr 2010 15:25:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 5 Apr 2010 15:25:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: ams@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 05 17:25:28 2010 Return-path: Envelope-to: ged-emacs-devel@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 1NyoB6-0000he-3L for ged-emacs-devel@m.gmane.org; Mon, 05 Apr 2010 17:25:28 +0200 Original-Received: from localhost ([127.0.0.1]:42183 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NyoB5-0002D6-ES for ged-emacs-devel@m.gmane.org; Mon, 05 Apr 2010 11:25:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NyoAb-0001oP-RU for emacs-devel@gnu.org; Mon, 05 Apr 2010 11:24:57 -0400 Original-Received: from [140.186.70.92] (port=56374 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NyoAa-0001md-FB for emacs-devel@gnu.org; Mon, 05 Apr 2010 11:24:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NyoAZ-0001dQ-Gx for emacs-devel@gnu.org; Mon, 05 Apr 2010 11:24:56 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:59125) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NyoAW-0001co-TX; Mon, 05 Apr 2010 11:24:53 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L0E00L00TC4C100@a-mtaout22.012.net.il>; Mon, 05 Apr 2010 18:24:51 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.124.92.42]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L0E00JLLTHBZ260@a-mtaout22.012.net.il>; Mon, 05 Apr 2010 18:24:48 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:123200 Archived-At: > From: "Alfred M. Szmidt" > CC: emacs-devel@gnu.org > Date: Mon, 05 Apr 2010 11:03:20 -0400 > > Thanks. It's different from what I see, but given that this seems to > be a Heisenbug (it disappears in a non-optimized build), perhaps it is > not surprising. > > Can you see if this is the first GC since startup? It is for me: if > I set a breakpoint in Fgarbage_collect, it breaks only once, and if I > let Emacs continue from there, it crashes in a subroutine of GC. > > Also, do you get the crash in a non-optimized (-O0) build? It's hard > to do anything with all those "value optimized out" variables. > > Yeah I do, I'll see if I can get some time to make a patch. Here is > the backtrace of -Q -nw compiled with -ggdb3 -O0: Thanks. But where's the Lisp backtrace (xbacktrace)? Is this also during startup, or did you manage to invoke some command after it started? It looks like it crashed inside where-is, not in GC.