unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: "frank schwidom" <schwidom@gmx.net>
To: bug-guile@gnu.org
Subject: Segmentation fault
Date: Wed, 10 Oct 2007 18:27:42 +0200	[thread overview]
Message-ID: <20071010162742.61050@gmx.net> (raw)

Hi

the following code leads to an segmentation fault in guile-1.6 and guile-1.8, when executed with --debug

----------------
(define (println x) (display x) (newline))

(let ((y (lambda (f)
           ((lambda (g) (g g))
            (lambda (g) (f (lambda (x) ((g g) x)))))))
      (streamof
        (lambda (f) (lambda (x) (cons x (delay (f x)))))))
  (force (cdr ((y streamof) 1)))  ;; without this line a correct errormessage will arise; actually a segfault happens

  (println 1 2)) ;; error expexted, but segfault arises

----------------

A discussion appeared already in http://paste.lisp.org/display/48972
(only for interest)

So long
Frank Schwidom
-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail


_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile


             reply	other threads:[~2007-10-10 16:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-10 16:27 frank schwidom [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-10-10 18:01 Segmentation fault frank schwidom
2007-10-18 22:45 ` Neil Jerram
2007-10-18 23:31 ` Neil Jerram
2007-10-19  8:26   ` Ludovic Courtès
2007-10-19 21:33     ` Neil Jerram
2007-10-20  9:16       ` Ludovic Courtès
2007-10-21 20:56         ` Neil Jerram
2007-10-21 21:42           ` Ludovic Courtès
2007-10-24 10:18             ` Neil Jerram
2007-10-24 11:10               ` Ludovic Courtès
2007-10-24 11:59                 ` Neil Jerram
2007-10-20 10:11     ` Neil Jerram
2007-10-21 13:07       ` Ludovic Courtès
2007-10-21 20:53         ` Neil Jerram
2011-02-07 12:26 Segmentation Fault Nigel Warner
2011-02-08 22:00 ` 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=20071010162742.61050@gmx.net \
    --to=schwidom@gmx.net \
    --cc=bug-guile@gnu.org \
    /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).