From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Emacs hung, have attached debugger Date: Fri, 06 Jun 2014 09:33:59 +0200 Organization: Organization?!? Message-ID: <87tx7y3314.fsf@fencepost.gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1402040080 20136 80.91.229.3 (6 Jun 2014 07:34:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2014 07:34:40 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 06 09:34:33 2014 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 1WsofX-0002O1-TI for ged-emacs-devel@m.gmane.org; Fri, 06 Jun 2014 09:34:32 +0200 Original-Received: from localhost ([::1]:45623 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsofX-0005pB-H5 for ged-emacs-devel@m.gmane.org; Fri, 06 Jun 2014 03:34:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsofM-0005op-UG for emacs-devel@gnu.org; Fri, 06 Jun 2014 03:34:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsofF-0004Wr-Ce for emacs-devel@gnu.org; Fri, 06 Jun 2014 03:34:20 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:53819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsofE-0004Ty-Vq for emacs-devel@gnu.org; Fri, 06 Jun 2014 03:34:13 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WsofD-0002C1-E7 for emacs-devel@gnu.org; Fri, 06 Jun 2014 09:34:11 +0200 Original-Received: from x2f3ebf3.dyn.telefonica.de ([2.243.235.243]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Jun 2014 09:34:11 +0200 Original-Received: from dak by x2f3ebf3.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Jun 2014 09:34:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: x2f3ebf3.dyn.telefonica.de X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:bR/UJ2c/Qe1EPNQafNgqS9bR4BU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:172383 Archived-At: Geoff Shannon writes: > So I've got a hung emacs that I have attached to in a debugger. I opened a > new emacs to use report-emacs-bug; following the instructions I was going > to include the output of 'bt full'. Except that it's about 17500 lines > long... > > I took a look at the backtrace as well, and of the 3800 calls on the > list, ~3700 of them are from either mark_object or mark_vectorlike. There will be likely a lot of repetition here as this sounds like an infinite recursion. Just the end and the start of the traceback (enough to recognize the pattern in the middle) should be enough. The traceback will likely be because of stack overflow. You can use ulimit (see its man page) to limit the available stack space in advance: that should allow you to get a backtrace that is reasonably short even without manual intervention. Just be sure that it's not bombing out because of a regular operation. > I submitted a report to debbugs with the interesting portions of the > backtrace output. Sounds good. -- David Kastrup