unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Dmitry Bogatov <KAction@gnu.org>
To: "guile-devel" <guile-devel@gnu.org>
Subject: Guile interpeter crash
Date: Tue, 01 Oct 2013 19:15:41 +0400	[thread overview]
Message-ID: <87vc1hrpia.fsf@gnu.org> (raw)

[-- 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 --]

             reply	other threads:[~2013-10-01 15:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-01 15:15 Dmitry Bogatov [this message]
     [not found] ` <CAMFYt2avxvU_Vd-oBObtNq43qaU9wCLq=K=AHaLWJMmvrzq=pA@mail.gmail.com>
2013-10-01 16:42   ` Fwd: Guile interpeter crash Panicz Maciej Godek
2013-10-01 20:34     ` Mark H Weaver
2013-10-02  7:13       ` Dmitry Bogatov

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=87vc1hrpia.fsf@gnu.org \
    --to=kaction@gnu.org \
    --cc=guile-devel@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).