unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* Re: Segmentation fault
@ 2007-10-10 18:01 frank schwidom
  2007-10-18 22:45 ` Neil Jerram
  2007-10-18 23:31 ` Neil Jerram
  0 siblings, 2 replies; 17+ messages in thread
From: frank schwidom @ 2007-10-10 18:01 UTC (permalink / raw)
  To: bug-guile

-------- Original-Nachricht --------
Datum: Wed, 10 Oct 2007 18:27:42 +0200
Von: "frank schwidom" <schwidom@gmx.net>
An: bug-guile@gnu.org
Betreff: Segmentation fault

Hi

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

currently the shortest Variant:
----------------
(let ((f (lambda (g) (delay (g)))))
  (force (f error)))
----------------

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


^ permalink raw reply	[flat|nested] 17+ messages in thread
* Segmentation Fault
@ 2011-02-07 12:26 Nigel Warner
  2011-02-08 22:00 ` Andy Wingo
  0 siblings, 1 reply; 17+ messages in thread
From: Nigel Warner @ 2011-02-07 12:26 UTC (permalink / raw)
  To: bug-guile

Hi all,

With gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3 and 1.9.15

(define (test-proc)
 (display "some text"))

(procedure test-proc)

produces a segfault. I forgot the ? on the end of procedure?
which is how I found this out.

Regards,

Nigel Warner



^ permalink raw reply	[flat|nested] 17+ messages in thread
* Segmentation fault
@ 2007-10-10 16:27 frank schwidom
  0 siblings, 0 replies; 17+ messages in thread
From: frank schwidom @ 2007-10-10 16:27 UTC (permalink / raw)
  To: bug-guile

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2011-02-08 22:00 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2011-02-07 12:26 Segmentation Fault Nigel Warner
2011-02-08 22:00 ` Andy Wingo
2007-10-10 16:27 Segmentation fault frank schwidom

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).