From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Emacs crashes Date: Tue, 14 Mar 2006 11:07:00 -0500 Message-ID: <874q21t3h7.fsf@stupidchicken.com> References: <17429.54459.803236.351040@kahikatea.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142352730 15235 80.91.229.2 (14 Mar 2006 16:12:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Mar 2006 16:12:10 +0000 (UTC) Cc: Nick Roberts , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 14 17:11:53 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 1FJC3H-0000H1-VY for ged-emacs-devel@m.gmane.org; Tue, 14 Mar 2006 17:07:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJC3H-00053Y-B3 for ged-emacs-devel@m.gmane.org; Tue, 14 Mar 2006 11:07:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FJC34-0004zo-FP for emacs-devel@gnu.org; Tue, 14 Mar 2006 11:07:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FJC33-0004yU-DC for emacs-devel@gnu.org; Tue, 14 Mar 2006 11:07:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJC33-0004yD-7P for emacs-devel@gnu.org; Tue, 14 Mar 2006 11:07:01 -0500 Original-Received: from [18.95.6.188] (helo=outgoing.mit.edu) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FJC7H-0003je-Bd for emacs-devel@gnu.org; Tue, 14 Mar 2006 11:11:23 -0500 Original-Received: by outgoing.mit.edu (Postfix, from userid 1000) id B9AAB1E41AF; Tue, 14 Mar 2006 11:07:00 -0500 (EST) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: (Kim F. Storm's message of "Mon, 13 Mar 2006 23:06:33 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:51599 Archived-At: storm@cua.dk (Kim F. Storm) writes: > Nick Roberts writes: > >> I've had Emacs crash/hang in three different ways in recent days. > > I can second that. I had another crash today, so it has crashed on me > four times in the last week. > > I suspect the recent changes to the handling (unwind etc) of x errors, > but I have no proof, as there is no similarity to the crashes (except > that it has now crashed twice in malloc_consolidate (libc internal) > called from emacs_blocked_malloc called from XtVaGetValues in > x_set_toolkit_scroll_bar_thumb. You could revert those changes (if you like, I can send you a single patch reverting just my changes), run Emacs for a while, and see if the crashes still happen. If it is really the cause, I could change the x_catch_errors so that it doesn't use malloc; maybe that will help.