david135 / mosh-scheme

Automatically exported from code.google.com/p/mosh-scheme
Other
0 stars 0 forks source link

crash in some case of DEFINE in the body of a function #194

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Dowload the following tarball:

http://github.com/downloads/marcomaggi/nausicaa/prorec6-0.1d0.tar.gz

2. Unpack and run "make mtest", it should run fine showing 53 passed tests.

3. Open "prorec6.sls" search for the string "CRASH MOSH", there are two 
definitions for parent-constructor-wrapper: comment out the uncommented, 
uncomment the commented.

4. Run again "make mtest".

What is the expected output? What do you see instead?
It should work.  It crashes with:

MOSH_LOADPATH=.:/usr/local/lib/scheme mosh ./test-synrec6.sps;
*** ASSERT failure src/VM-Run.cpp:975: fpObject.isObjectPointer()
    dc_ = (lambda list-of-field-values-lists) : unknown location
    cl_=(lambda list-of-field-values-lists) : unknown location

What version of the product are you using? On what operating system?
Mosh R6RS scheme interpreter, version 0.2.6 (revision master 2011/02/18 
21:39:43 mosh-0.2.5-432-g850fb36).  i686-pc-linux-gnu.

Please provide any additional information below.
I have no time to investigate this further...

Original issue reported on code.google.com by mrc....@gmail.com on 27 Feb 2011 at 11:44

GoogleCodeExporter commented 9 years ago

Original comment by hige...@gmail.com on 27 Feb 2011 at 1:08

GoogleCodeExporter commented 9 years ago
Confirmed. psyntax-mosh only. (nmosh works fine here)

Original comment by oku...@gmail.com on 27 Feb 2011 at 2:23

GoogleCodeExporter commented 9 years ago

Original comment by oku...@gmail.com on 11 Sep 2011 at 3:51