From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: autocompilation support in master Date: Tue, 09 Jun 2009 23:39:45 +0200 Message-ID: References: <87hbyujpof.fsf@arudy.ossau.uklinux.net> <87vdn6gvgf.fsf@arudy.ossau.uklinux.net> <20090609005226.GA3468@fibril.netris.org> <20090609184723.GA3694@fibril.netris.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1244584235 29107 80.91.229.12 (9 Jun 2009 21:50:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Jun 2009 21:50:35 +0000 (UTC) Cc: Neil Jerram , guile-devel To: Mark H Weaver Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jun 09 23:50:32 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ME9D8-0003JL-Sc for guile-devel@m.gmane.org; Tue, 09 Jun 2009 23:50:27 +0200 Original-Received: from localhost ([127.0.0.1]:49306 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ME9D8-0006DX-AX for guile-devel@m.gmane.org; Tue, 09 Jun 2009 17:50:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ME92m-00054h-QJ for guile-devel@gnu.org; Tue, 09 Jun 2009 17:39:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ME92h-000524-Q9 for guile-devel@gnu.org; Tue, 09 Jun 2009 17:39:44 -0400 Original-Received: from [199.232.76.173] (port=39742 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ME92h-00051x-Hp for guile-devel@gnu.org; Tue, 09 Jun 2009 17:39:39 -0400 Original-Received: from a-sasl-fastnet.sasl.smtp.pobox.com ([207.106.133.19]:33209 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ME92h-0005HB-7N for guile-devel@gnu.org; Tue, 09 Jun 2009 17:39:39 -0400 Original-Received: from localhost.localdomain (unknown [127.0.0.1]) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id E50A3BA1B2; Tue, 9 Jun 2009 17:39:36 -0400 (EDT) Original-Received: from unquote (unknown [81.39.159.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTPSA id 791E3BA1AF; Tue, 9 Jun 2009 17:39:33 -0400 (EDT) In-Reply-To: <20090609184723.GA3694@fibril.netris.org> (Mark H. Weaver's message of "Tue, 9 Jun 2009 14:47:24 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Pobox-Relay-ID: 0773BD36-553E-11DE-9819-97731A10BFE7-02397024!a-sasl-fastnet.pobox.com X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:8655 Archived-At: On Tue 09 Jun 2009 20:47, Mark H Weaver writes: > On Tue, Jun 09, 2009 at 09:27:37AM +0200, Andy Wingo wrote: >> It's a strange thing, and I don't see it on my x86-32 laptop running >> Fedora. But I've heard reports of this. A backtrace at the time of stack >> overflow would be helpful. > > Strangely, the stack overflow doesn't happen when I run the compile > command (as echoed by make) directly from the command line. I only > see it happen when compiling via make. Hm, that is indeed odd. Also odd is that here, I only get errors building this if I set my ulimit below 128 *kilo*bytes. gcc (GCC) 4.4.0 20090506 (Red Hat 4.4.0-4) > To generate the backtrace, I added the following lines near the top of > guile-tools. Is there a better way? > > (debug-enable 'debug) > (debug-enable 'backtrace) > (debug-set! depth 100) > (write (debug-options-interface)) > (newline) No, this is the best way we have currently. As I understand it, the debugging evaluator is slower than the normal one -- but at this point, who cares? With the VM we are already faster and we keep backtraces. We should have backtraces on, always. Does anyone have objections to that? If not, I'll make that change within the week. > GUILE_AUTO_COMPILE=0 ../meta/uninstalled-env guile-tools compile -o "language/ecmascript/spec.go" "language/ecmascript/spec.scm" > (show-file-name #t stack 40000 debug backtrace depth 100 maxdepth 1000 frames 3 indent 10 width 79 procnames cheap) > Backtrace: > In ice-9/psyntax-pp.scm: > 20: 271 [chi-let1039 (# # #) (# # # # ...) (()) ...] > In ice-9/psyntax-pp.scm: > 5: 272 [# core-form # # ...] > In unknown file: > ?: 273* [map # (x415)> ((# . #))] Hmmmmmmm. I'll poke some options. Thanks for the BT. Andy -- http://wingolog.org/