From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Emacs WIN32 crashes on reinitialzing of lisp process using slime Date: Thu, 12 Apr 2007 23:13:28 +0100 Message-ID: <461EAF08.1050202@gnu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1176416030 26498 80.91.229.12 (12 Apr 2007 22:13:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Apr 2007 22:13:50 +0000 (UTC) Cc: cb , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 13 00:13:47 2007 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.50) id 1Hc7Y1-0002Xc-6M for ged-emacs-devel@m.gmane.org; Fri, 13 Apr 2007 00:13:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hc7cC-0005pO-Tb for ged-emacs-devel@m.gmane.org; Thu, 12 Apr 2007 18:18:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hc7c9-0005lW-Ex for emacs-devel@gnu.org; Thu, 12 Apr 2007 18:18:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hc7c8-0005h9-0n for emacs-devel@gnu.org; Thu, 12 Apr 2007 18:18:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hc7c7-0005gL-NZ for emacs-devel@gnu.org; Thu, 12 Apr 2007 18:17:59 -0400 Original-Received: from outmail1.freedom2surf.net ([194.106.33.237]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hc7Xs-0007Ns-UH; Thu, 12 Apr 2007 18:13:37 -0400 Original-Received: from [127.0.0.1] (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail1.freedom2surf.net (Postfix) with ESMTP id 3920A50390; Thu, 12 Apr 2007 23:13:34 +0100 (BST) User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: X-detected-kernel: Linux 2.4-2.6 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:69355 Archived-At: Eli Zaretskii wrote: >> From: cb >> Date: Thu, 12 Apr 2007 05:31:32 +0000 (UTC) >> >> No, but I could not reproduce the crash without it. Slime can be found on >> "http://common-lisp.net/project/slime" >> > > Can't you reduce slime to some minimally self-contained recipe, so > that one wouldn't have to install a package just to debug a crash? > I have narrowed down the crash to a call to free_buffer_text(b) on line 4967 of buffer.c. It seems to be inlined, so in the stack trace it claims to be in Fkill_buffer, but the line number appears to be correct, as there is a call to r_alloc_free on that line, which is where the abort is coming from, apparently because b->text->beg (which we are freeing) is NULL. Changing r_alloc_free to handle freeing NULL silently will get rid of the crash, but may disguise other bugs.