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: Mon, 13 Mar 2006 15:47:52 -0500 Message-ID: <87wteyysuf.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 1142360037 11169 80.91.229.2 (14 Mar 2006 18:13:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Mar 2006 18:13:57 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 14 19:13:55 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 1FJDw8-000171-5o for ged-emacs-devel@m.gmane.org; Tue, 14 Mar 2006 19:08:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJDw7-0002rC-NC for ged-emacs-devel@m.gmane.org; Tue, 14 Mar 2006 13:07:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FItux-0000T5-Vr for emacs-devel@gnu.org; Mon, 13 Mar 2006 15:45:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FItuw-0000Qi-H5 for emacs-devel@gnu.org; Mon, 13 Mar 2006 15:45:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FItuw-0000QX-Br for emacs-devel@gnu.org; Mon, 13 Mar 2006 15:45:26 -0500 Original-Received: from [18.19.6.82] (helo=localhost.localdomain) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FItyz-0000sd-5G for emacs-devel@gnu.org; Mon, 13 Mar 2006 15:49:37 -0500 Original-Received: by localhost.localdomain (Postfix, from userid 1000) id DBAA8120508; Mon, 13 Mar 2006 15:47:52 -0500 (EST) Original-To: Nick Roberts In-Reply-To: <17429.54459.803236.351040@kahikatea.snap.net.nz> (Nick Roberts's message of "Tue, 14 Mar 2006 09:23:23 +1300") 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:51612 Archived-At: Nick Roberts writes: > I've had Emacs crash/hang in three different ways in recent days. It would > appear to be less stable than it was two years ago: > > 1) It hangs with some kind of mutex lock which I don't understand with a brief > backtrace of three functions in libc, I think. The only thing I can do, > after attaching with GDB, is kill it. > > 2) A garbage collection related crash where mark_object is called recursively > literally thousands of times, Kim Storm reported some similar crashes around the beginning of March. Unfortunately, the only big change landed to the src/ directory around that time was my x_catch_errors change to avoid using record_unwind_protect. I've gone over those changes several times, but no luck: I don't see how they can possbily lead to garbage collection bugs. The only possibility I can think of is the change to struct specbinding and specpdl_ptr to make them non-volatile, which is supposedly OK since record_unwind_protect can no longer be called in a signal handler. Could that lead to problems elsewhere in Emacs? (The only other big checkin during that period was Luc's load-file-rep-suffixes change, but that's even less likely to be the caused.)