unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Guile interpeter crash
@ 2013-10-01 15:15 Dmitry Bogatov
       [not found] ` <CAMFYt2avxvU_Vd-oBObtNq43qaU9wCLq=K=AHaLWJMmvrzq=pA@mail.gmail.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Bogatov @ 2013-10-01 15:15 UTC (permalink / raw)
  To: guile-devel

[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]


Here is code that results crash (return 134). Hope it is interesting.

guile (GNU Guile) 2.0.9
Copyright (C) 2013 Free Software Foundation, Inc.

(define *define-count* 0)
(define-syntax define#
    (syntax-rules ()
	((_ obj ...)
	 (begin
	     (set! *define-count* (1+ *define-count*))
	     (define obj ...)))))
(define-syntax define
    (syntax-rules ()
	((_ obj ...)
	 (define# obj ...))))
(define# foo 2)
(display *define-count*)

$ guile --no-auto-compile crash.scm
Backtrace:
In ice-9/psyntax.scm:
  976:  19 Aborted
$ guile --auto-compile crash.scm
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /share/home/kaction/build/crash.scm
;;; WARNING: compilation of /share/home/kaction/build/crash.scm failed:
;;; ERROR: Throw to key `vm-error' with args `(vm-run "VM: Stack overflow" ())'.
aborted

--
Best regards, Dmitry Bogatov <KAction@gnu.org>,
Free Software supporter and netiquette guardian.
	git clone git://kaction.name/rc-files.git --depth 1
	GPG: 54B7F00D
Html mail and proprietary format attachments are forwarded to /dev/null.

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

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

end of thread, other threads:[~2013-10-02  7:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-01 15:15 Guile interpeter crash Dmitry Bogatov
     [not found] ` <CAMFYt2avxvU_Vd-oBObtNq43qaU9wCLq=K=AHaLWJMmvrzq=pA@mail.gmail.com>
2013-10-01 16:42   ` Fwd: " Panicz Maciej Godek
2013-10-01 20:34     ` Mark H Weaver
2013-10-02  7:13       ` Dmitry Bogatov

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