From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.devel Subject: Re: autocompilation support in master Date: Tue, 9 Jun 2009 14:47:24 -0400 Message-ID: <20090609184723.GA3694@fibril.netris.org> References: <87hbyujpof.fsf@arudy.ossau.uklinux.net> <87vdn6gvgf.fsf@arudy.ossau.uklinux.net> <20090609005226.GA3468@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 1244573265 26101 80.91.229.12 (9 Jun 2009 18:47:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Jun 2009 18:47:45 +0000 (UTC) Cc: Neil Jerram , guile-devel To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jun 09 20:47:43 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 1ME6MI-0004TN-CM for guile-devel@m.gmane.org; Tue, 09 Jun 2009 20:47:42 +0200 Original-Received: from localhost ([127.0.0.1]:60748 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ME6MH-0006xG-I1 for guile-devel@m.gmane.org; Tue, 09 Jun 2009 14:47:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ME6ME-0006x1-Da for guile-devel@gnu.org; Tue, 09 Jun 2009 14:47:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ME6M8-0006qv-Gi for guile-devel@gnu.org; Tue, 09 Jun 2009 14:47:37 -0400 Original-Received: from [199.232.76.173] (port=59311 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ME6M8-0006ql-DQ for guile-devel@gnu.org; Tue, 09 Jun 2009 14:47:32 -0400 Original-Received: from world.peace.net ([204.107.200.8]:35893) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ME6M7-0002Vi-RY for guile-devel@gnu.org; Tue, 09 Jun 2009 14:47:32 -0400 Original-Received: from localhost ([127.0.0.1] helo=fibril.netris.org ident=hope6) by world.peace.net with esmtp (Exim 4.69) (envelope-from ) id 1ME6M3-00035b-2Y; Tue, 09 Jun 2009 14:47:27 -0400 Content-Disposition: inline In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:8652 Archived-At: 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. 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) The resulting backtrace follows. This is git master from a few days ago, commit 12798872ff39e27dbcf90675c3d3554ae27df750. Mark 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 # ((# . #))] In ice-9/psyntax-pp.scm: 24: 274* [# # # # ...] In ice-9/psyntax-pp.scm: 20: 275 [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 5: 276 [# core-form # # ...] In unknown file: ?: 277* [map # ((# . #))] In ice-9/psyntax-pp.scm: 24: 278* [# # # # ...] In ice-9/psyntax-pp.scm: 20: 279 [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 5: 280 [# core-form # # ...] In unknown file: ?: 281* [map # ((# . #))] In ice-9/psyntax-pp.scm: 24: 282* [# # # # ...] In ice-9/psyntax-pp.scm: 20: 283 [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 5: 284 [# core-form # # ...] In unknown file: ?: 285* [map # ((# . #))] In ice-9/psyntax-pp.scm: 24: 286* [# # # # ...] In ice-9/psyntax-pp.scm: 20: 287 [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 5: 288 [# core-form # # ...] In unknown file: ?: 289* [map # ((# . #))] In ice-9/psyntax-pp.scm: 24: 290* [# # # # ...] In ice-9/psyntax-pp.scm: 20: 291 [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 5: 292 [# core-form # # ...] In unknown file: ?: 293* [map # ((# . #))] In ice-9/psyntax-pp.scm: 24: 294* [# # # # ...] In ice-9/psyntax-pp.scm: 20: 295 [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 5: 296 [# core-form # # ...] In unknown file: ?: 297* [map # ((# . #))] In ice-9/psyntax-pp.scm: 24: 298* [# # # # ...] In ice-9/psyntax-pp.scm: 20: 299 [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 5: 300 [# core-form # # ...] In unknown file: ?: 301* [map # ((# . #))] In ice-9/psyntax-pp.scm: 24: 302* [# # # # ...] In ice-9/psyntax-pp.scm: 20: 303 [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 5: 304 [# core-form # # ...] In unknown file: ?: 305* [map # ((# . #))] In ice-9/psyntax-pp.scm: 24: 306* [# # # # ...] In ice-9/psyntax-pp.scm: 20: 307 [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 5: 308 [# core-form # # ...] In unknown file: ?: 309* [map # ((# . #))] In ice-9/psyntax-pp.scm: 24: 310* [# # # # ...] In ice-9/psyntax-pp.scm: 20: 311 [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 5: 312 [# core-form # # ...] In unknown file: ?: 313* [map # ((# . #))] In ice-9/psyntax-pp.scm: 24: 314* [# # # # ...] In ice-9/psyntax-pp.scm: 20: 315 [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 5: 316 [# core-form # # ...] In unknown file: ?: 317* [map # ((# . #))] In ice-9/psyntax-pp.scm: 24: 318* [# # # # ...] In ice-9/psyntax-pp.scm: 20: 319 [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 5: 320 [# core-form # # ...] In unknown file: ?: 321* [map # ((# . #))] In ice-9/psyntax-pp.scm: 24: 322* [# # # # ...] In ice-9/psyntax-pp.scm: 20: 323 [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 5: 324 [# core-form # # ...] In unknown file: ?: 325* [map # ((# . #))] In ice-9/psyntax-pp.scm: 24: 326* [# # # # ...] In ice-9/psyntax-pp.scm: 20: 327 [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 5: 328 [# core-form # # ...] In unknown file: ?: 329* [map # ((# . #))] In ice-9/psyntax-pp.scm: 24: 330* [# # # # ...] In ice-9/psyntax-pp.scm: 20: 331 [chi-let1039 (# # #) (# # # # ...) (()) ...] In unknown file: ?: 332* [map # (#)] In ice-9/psyntax-pp.scm: 20: 333* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 5: 334 [# core-form # # ...] In unknown file: ?: 335* [map # (#)] In ice-9/psyntax-pp.scm: 24: 336* [# # # # ...] In ice-9/psyntax-pp.scm: 20: 337 [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 5: 338 [# core-form # # ...] In unknown file: ?: 339* [map # (#)] In ice-9/psyntax-pp.scm: 24: 340* [# # # # ...] In ice-9/psyntax-pp.scm: 24: 341 [# # # # ...] In ice-9/psyntax-pp.scm: 20: 342 [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 5: 343 [# core-form # # ...] In unknown file: ?: 344* [map # (#)] In ice-9/psyntax-pp.scm: 20: 345* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 5: 346 [# core-form # # ...] In unknown file: ?: 347* [map # (#)] In ice-9/psyntax-pp.scm: 24: 348* [# # # # ...] In ice-9/psyntax-pp.scm: 20: 349 [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 5: 350 [# core-form # # ...] In unknown file: ?: 351* [map # (#)] In ice-9/psyntax-pp.scm: 20: 352* [chi-let1039 (# # #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 5: 353 [# core-form # # ...] In unknown file: ?: 354* [map # (#)] In ice-9/psyntax-pp.scm: 24: 355* [# # # # ...] In ice-9/psyntax-pp.scm: 20: 356 [chi-let1039 (# () #) (# # # # ...) (() # # # ...) ...] In ice-9/psyntax-pp.scm: 5: 357 [# global-call # # ...] In unknown file: ?: 358* [map # ((# . #))] In ice-9/psyntax-pp.scm: 6: 359* [# comp #] In unknown file: ?: 360* [map # (# e)] In ice-9/psyntax-pp.scm: 6: 361* [# # #] In unknown file: ?: 362* [map # (# # #)] In ice-9/psyntax-pp.scm: 6: 363* [# # #] In unknown file: ?: 364* [map # (# # #)] In ice-9/psyntax-pp.scm: 6: 365* [chi150 (# #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 8: 366 [syntax-type148 (# #) (# # # # ...) (()) ...] In ice-9/psyntax-pp.scm: 7: 367 [syntax-type148 quote (# # # # ...) (# shift # # ...) ...] In ice-9/psyntax-pp.scm: 16: 368 [lookup111 quote (# # # # ...) (hygiene guile)] In ice-9/psyntax-pp.scm: 18: 369 [get-global-definition-hook79 quote (hygiene guile)] In ice-9/boot-9.scm: 1952: 370 [# #] ERROR: Stack overflow make: *** [language/ecmascript/spec.go] Error 1