From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Emacs crashes accidentally Date: Fri, 08 Sep 2006 07:55:59 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1157716743 14239 80.91.229.2 (8 Sep 2006 11:59:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Sep 2006 11:59:03 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 08 13:59:02 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GLf0Q-0007VD-58 for ged-emacs-devel@m.gmane.org; Fri, 08 Sep 2006 13:58:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLf0P-0004pE-Kg for ged-emacs-devel@m.gmane.org; Fri, 08 Sep 2006 07:58:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GLexl-0000KV-27 for emacs-devel@gnu.org; Fri, 08 Sep 2006 07:56:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GLexk-0000JX-EF for emacs-devel@gnu.org; Fri, 08 Sep 2006 07:56:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLexk-0000JE-2G for emacs-devel@gnu.org; Fri, 08 Sep 2006 07:56:00 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GLeyK-0007m1-EF for emacs-devel@gnu.org; Fri, 08 Sep 2006 07:56:36 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1GLexj-0007Lo-7n; Fri, 08 Sep 2006 07:55:59 -0400 Original-To: "Herbert Euler" In-reply-to: (herberteuler@hotmail.com) 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:59552 Archived-At: "SDATA (string)" shall be 0x243d8ac, but value of the first argument (PTR) of STROUT is 0x2469648. This is the reason why Emacs crashed. But, why this happened? Memory leak? I don't see how a memory leak could possibly have such an effect. Please examine the value of printcharfun and figure out what Lisp object it is. That way we can tell what path the code took through strout. And what is the value of `i' in strout's frame? strout increments PTR as it runs. Maybe it has incremented PTR too far. Or maybe message_dolog somehow clobbered the stack and altered PTR. Basically I am as puzzled as you are. We need more facts.