seanjensengrey / mosh-scheme

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

error loading compiled library from cache #104

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Unpack the attached archive "virtual-proof.tar.gz".
2. Run the program "prog.sps" twice.

What is the expected output? What do you see instead?
It should print 123 for both the executions. The first execution prints
123, the second one prints:

 Condition components:
 1. &assertion
 2. &who             who: "apply"
 3. &message         message: "invalid application"
 4. &irritants       irritants: (#f)

 Exception:
     error in raise: returned from non-continuable exception

 Stack trace:
    1. throw: <subr>
    2. (raise c):  compiler-with-library.scm:942
    3. eval: <subr>
    4. (<top-level>): <unknown location>

all the subsequent executions (without touching the code) print the same
error; by touching a file:

  $ touch lib.sls

and then running the program it prints:

WARNING: library (def) has an inconsistent dependency on library (lib);
file "./def.sls" will be recompiled from source. l=#<library> label=f19
(library-id l)=h19
123

and running the program again prints the same error message as before.

What version of the product are you using? On what operating system?
Mosh revision 2132. i686-pc-linux-gnu.

Please provide any additional information below.
I stumbled by pure chance on a reproducible error I described in the PS of
Issue 102; the attached archive "cache.tar.gz" holds a ".mosh" cache
directory with the precompiled libraries produced by running the program
the first time.

Original issue reported on code.google.com by mrc....@gmail.com on 6 Oct 2009 at 6:44

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by hige...@gmail.com on 16 Nov 2009 at 4:34

GoogleCodeExporter commented 9 years ago
Pending.

Original comment by hige...@gmail.com on 18 Nov 2009 at 3:31

GoogleCodeExporter commented 9 years ago

Original comment by hige...@gmail.com on 18 Nov 2009 at 3:34

GoogleCodeExporter commented 9 years ago
Hi.
I'm sorry for this late reply.

I think this is the same issue as following.
  http://www.mail-archive.com/larceny-users@lists.ccs.neu.edu/msg00662.html

Side effects on "expand" causes strange behaviour on Mosh or other 
implmentations.
Since it requires great care to fix or aggree with some spec, for now, we do 
nothing 
at all.

Cheers.

Original comment by hige...@gmail.com on 30 Mar 2010 at 2:35