From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Yet another profiler crash [Was: Re: Issues for 24.3] Date: Mon, 28 Jan 2013 17:38:58 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <83622jjfnl.fsf@gnu.org> <51060E8A.6030902@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1359362349 3745 80.91.229.3 (28 Jan 2013 08:39:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jan 2013 08:39:09 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 28 09:39:29 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TzkFS-0008Md-K7 for ged-emacs-devel@m.gmane.org; Mon, 28 Jan 2013 09:39:26 +0100 Original-Received: from localhost ([::1]:39839 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzkFA-00086Q-Si for ged-emacs-devel@m.gmane.org; Mon, 28 Jan 2013 03:39:08 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzkF7-00086L-Mk for emacs-devel@gnu.org; Mon, 28 Jan 2013 03:39:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TzkF6-0005ix-7e for emacs-devel@gnu.org; Mon, 28 Jan 2013 03:39:05 -0500 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:60958) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzkF3-0005iE-ER; Mon, 28 Jan 2013 03:39:01 -0500 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 1CF1BC055D; Mon, 28 Jan 2013 17:38:58 +0900 (JST) In-Reply-To: <51060E8A.6030902@yandex.ru> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 133.82.132.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:156698 Archived-At: >>>>> On Mon, 28 Jan 2013 09:37:14 +0400, Dmitry Antipov said: >>> Crash related to new profiler? >>> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13545 >> >> A recipe was requested, but no response. > This crash is likely caused by C stack overflow and may be really > hard to reproduce. Can we make sure that keys (backtraces?) in the hash tables used in the profiler are always acyclic? Otherwise, using the `equal' test for such keys are wrong and may lead to stack overflow, because an error signal triggers another hash table operation in the profiler. I noticed that the emacs-24 branch used the `equal' test, but the trunk used a specialized function (cmpfn_profiler) for comparing keys. Probably the issue is fixed in the trunk. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp