unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: Andy Wingo <wingo@pobox.com>
Cc: Neil Jerram <neil@ossau.uklinux.net>, guile-devel <guile-devel@gnu.org>
Subject: Re: autocompilation support in master
Date: Tue, 9 Jun 2009 14:47:24 -0400	[thread overview]
Message-ID: <20090609184723.GA3694@fibril.netris.org> (raw)
In-Reply-To: <m3ab4hx3x2.fsf@pobox.com>

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 #<program 4060aa30 at ice-9/psyntax-pp.scm:4:2061 (x415)> ((# . #))]
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 #<program 405fa110 at ice-9/psyntax-pp.scm:4:2061 (x415)> ((# . #))]
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 #<program 405fee40 at ice-9/psyntax-pp.scm:4:2061 (x415)> ((# . #))]
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 #<program 405fb0e0 at ice-9/psyntax-pp.scm:4:2061 (x415)> ((# . #))]
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 #<program 405fc9f0 at ice-9/psyntax-pp.scm:4:2061 (x415)> ((# . #))]
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 #<program 40608020 at ice-9/psyntax-pp.scm:4:2061 (x415)> ((# . #))]
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 #<program 40540cf0 at ice-9/psyntax-pp.scm:4:2061 (x415)> ((# . #))]
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 #<program 4060a130 at ice-9/psyntax-pp.scm:4:2061 (x415)> ((# . #))]
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 #<program 406020c0 at ice-9/psyntax-pp.scm:4:2061 (x415)> ((# . #))]
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 #<program 405f6ed0 at ice-9/psyntax-pp.scm:4:2061 (x415)> ((# . #))]
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 #<program 4060cf40 at ice-9/psyntax-pp.scm:4:2061 (x415)> ((# . #))]
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 #<program 40605410 at ice-9/psyntax-pp.scm:4:2061 (x415)> ((# . #))]
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 #<program 405fac30 at ice-9/psyntax-pp.scm:4:2061 (x415)> ((# . #))]
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 #<program 4053e7f0 at ice-9/psyntax-pp.scm:4:2061 (x415)> ((# . #))]
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 #<program 40607af0 at ice-9/psyntax-pp.scm:4:2061 (x415)> ((# . #))]
In ice-9/psyntax-pp.scm:
  24: 330* [# # # # ...]
In ice-9/psyntax-pp.scm:
  20: 331  [chi-let1039 (# # #) (# # # # ...) (()) ...]
In unknown file:
   ?: 332* [map #<program 406074d0 at ice-9/psyntax-pp.scm:19:3699 (x1053)> (#)]
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 #<program 4060ab10 at ice-9/psyntax-pp.scm:4:2061 (x415)> (#)]
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 #<program 4060d010 at ice-9/psyntax-pp.scm:4:2061 (x415)> (#)]
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 #<program 4053d830 at ice-9/psyntax-pp.scm:4:2061 (x415)> (#)]
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 #<program 4053a290 at ice-9/psyntax-pp.scm:4:2061 (x415)> (#)]
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 #<program 405452f0 at ice-9/psyntax-pp.scm:4:2061 (x415)> (#)]
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 #<program 405438e0 at ice-9/psyntax-pp.scm:4:2061 (x415)> (#)]
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 #<program 4053f8e0 at ice-9/psyntax-pp.scm:4:2061 (x415)> ((# . #))]
In ice-9/psyntax-pp.scm:
   6: 359* [# comp #]
In unknown file:
   ?: 360* [map #<program 405f8900 at ice-9/psyntax-pp.scm:5:820 (e452)> (# e)]
In ice-9/psyntax-pp.scm:
   6: 361* [# # #]
In unknown file:
   ?: 362* [map #<program 405ffc20 at ice-9/psyntax-pp.scm:5:820 (e452)> (# # #)]
In ice-9/psyntax-pp.scm:
   6: 363* [# # #]
In unknown file:
   ?: 364* [map #<program 405ff6a0 at ice-9/psyntax-pp.scm:5:820 (e452)> (# # #)]
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




  reply	other threads:[~2009-06-09 18:47 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-03 22:07 autocompilation support in master Andy Wingo
2009-06-05 22:12 ` Neil Jerram
2009-06-05 22:15   ` Neil Jerram
2009-06-08 23:24   ` Neil Jerram
2009-06-09  0:52     ` Mark H Weaver
2009-06-09  7:27       ` Andy Wingo
2009-06-09 18:47         ` Mark H Weaver [this message]
2009-06-09 21:39           ` Andy Wingo
2009-06-10  2:39             ` Mark H Weaver
2009-06-11 21:50             ` Neil Jerram
2009-06-10  3:39           ` Mark H Weaver
2009-06-10  4:11             ` Mark H Weaver
2009-06-10  4:29               ` Mark H Weaver
2009-06-11 22:23                 ` Neil Jerram
2009-06-09 10:31       ` dsmich
2009-06-06 13:19 ` Ludovic Courtès
2009-06-06 23:43   ` Andy Wingo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090609184723.GA3694@fibril.netris.org \
    --to=mhw@netris.org \
    --cc=guile-devel@gnu.org \
    --cc=neil@ossau.uklinux.net \
    --cc=wingo@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).