unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: nalaginrut <nalaginrut@gmail.com>
To: Andy Wingo <wingo@pobox.com>
Cc: "Ludovic Courtès" <ludo@gnu.org>,
	"Jim Bender" <benderjg2@aol.com>,
	guile-devel@gnu.org
Subject: Re: VM stack overflow while calling sxml-match within let* or car
Date: Sun, 27 Mar 2011 22:25:05 +0800	[thread overview]
Message-ID: <1301235905.3581.6.camel@Renee-desktop> (raw)
In-Reply-To: <m3y640btpd.fsf@unquote.localdomain>

> On Sun 27 Mar 2011 13:56, Andy Wingo <wingo@pobox.com> writes:
> 
> > On Sun 27 Mar 2011 13:30, Andy Wingo <wingo@pobox.com> writes:
> >
> >>> (And Guile crashes upon ,bt.)
> >>
> >> I wonder if this indicates some compilation bug.
> >
> > Indeed it does; it's a bug in Guile, not sxml-match.
> >
> > The following expression exhibits this bug:
> >
> > (car
> >  (letrec ((f (lambda ()
> >                (call-with-prompt
> >                 'p
> >                 (lambda () #t)
> >                 (lambda (k) #f)))))
> >    (f)))
> 
> Fixed in git.  Thanks for the amusing bug, Mr. Turing!
> 
> Andy

Well~it's a nice news. My code was modified to an more ugly style to
make it work because of this bug. But I think it's cure now. :-)

-- 
GNU Powered it
GPL Protected it
GOD Blessed it

HFG - NalaGinrut




  reply	other threads:[~2011-03-27 14:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-14  9:42 VM stack overflow while calling sxml-match within let* or car nalaginrut
2011-03-14 17:40 ` Ludovic Courtès
2011-03-27 11:30   ` Andy Wingo
2011-03-27 11:56     ` Andy Wingo
2011-03-27 13:04       ` Andy Wingo
2011-03-27 14:25         ` nalaginrut [this message]
2011-03-27 15:04         ` Ludovic Courtès

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=1301235905.3581.6.camel@Renee-desktop \
    --to=nalaginrut@gmail.com \
    --cc=benderjg2@aol.com \
    --cc=guile-devel@gnu.org \
    --cc=ludo@gnu.org \
    --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).