From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: [Stephen.Berman@gmx.net: Emacs hangs while edebugging recentf.el] Date: Mon, 05 Dec 2005 20:42:48 -0500 Message-ID: References: <20123679.1132565664852.JavaMail.www@wwinf1507> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1133833569 30848 80.91.229.2 (6 Dec 2005 01:46:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Dec 2005 01:46:09 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 06 02:46:08 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EjRsK-0005EU-Nh for ged-emacs-devel@m.gmane.org; Tue, 06 Dec 2005 02:44:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EjRsU-0000LT-Op for ged-emacs-devel@m.gmane.org; Mon, 05 Dec 2005 20:44:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EjRrW-00005T-VE for emacs-devel@gnu.org; Mon, 05 Dec 2005 20:43:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EjRrW-000051-35 for emacs-devel@gnu.org; Mon, 05 Dec 2005 20:43:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EjRrW-00004y-0f for emacs-devel@gnu.org; Mon, 05 Dec 2005 20:43:22 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EjRs6-0007fK-OV for emacs-devel@gnu.org; Mon, 05 Dec 2005 20:43:58 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EjRqy-0008Qs-E5; Mon, 05 Dec 2005 20:42:48 -0500 Original-to: emacs-devel@gnu.org In-reply-to: <20123679.1132565664852.JavaMail.www@wwinf1507> (message from David PONCE on Mon, 21 Nov 2005 10:34:24 +0100 (CET)) 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:47031 Archived-At: I reproduced the error and also found that Emacs hangs in the built-in function `prin1-to-string' when it tries to print the value the function `widget-create' returns, which contains a lot of circular references in a deeply nested list. If I don't interrupt the hang, after some time, the function fails with a "Memory exhausted" message. Notice that the widgets are correctly created in the "*Open Recent*" buffer. This is only the edebug prin1 function that hangs. When I set the value of `edebug-print-level' to 10 instead of the default value of 50, Emacs no more hangs. Maybe there is a bug in the prin1-to-string function? Unfortunately I don't know how to fix it. Can someone investigate that bug? David Ponce said he can't.