[Openmcl-devel] "Error: value NIL is not of the expected type CCL::RECURSIVE-LOCK" while executing a saved app

Andrei Stebakov lispercat at gmail.com
Fri Aug 7 10:20:34 PDT 2009


With (rebuild-ccl :clean t) it works now!
Now I see it's in the http://trac.clozure.com/openmcl/wiki/WindowsNotes,
shame on me that I didn't read it!

Thank you so much,
Andrei

On Fri, Aug 7, 2009 at 1:08 PM, R. Matthew Emerson <rme at clozure.com> wrote:

>
> On Aug 7, 2009, at 11:27 AM, Andrei Stebakov wrote:
>
>  I got a svn version with svn co
>> http://svn.clozure.com/publicsvn/openmcl/release/1.3/windows/ccl
>> I still have the same problem.
>>
>
> I tried your example, and it worked for me.
>
> Be sure to run (rebuild-ccl :clean t) after you do an svn checkout or
> update.  (Non-Windows users would use :full t instead of :clean t). We
> generally don't check in new heap images unless there is some really major
> change that prevents the checked-in binaries from compiling the current
> sources.  It's therefore necessary to rebuild the lisp to pick up the bug
> fixes.
>
> (On Windows, we try to be a little more diligent about keeping the lisp
> kernel up-to-date in svn, because it's a bit of a pain to set up a C
> development toolchain on Windows.)
>
> http://trac.clozure.com/openmcl/wiki/UpdatingFromSource
> http://trac.clozure.com/openmcl/wiki/WindowsNotes
>
> By the way, the bug you're seeing is described in
> http://trac.clozure.com/openmcl/ticket/464
>
>
>
>
>  On Thu, Aug 6, 2009 at 6:58 PM, Gary Byers <gb at clozure.com> wrote:
>> I believe that this was fixed in svn a few months ago; please
>> do an "svn update" and try again.
>>
>>
>> On Thu, 6 Aug 2009, Andrei Stebakov wrote:
>>
>> I downloaded the 1.3 release for windows, made a simple app:
>> (defun test ()
>>  (format t "Hello!") 0)
>>
>> Saved it with (ccl:save-application "test.exe" :toplevel-function #'test
>> :prepend-kernel t :error-handler :quiet)
>>
>> It prints Hello!, then it prints a long list of:
>> > Error: value NIL is not of the expected type CCL::RECURSIVE-LOCK.
>> > While executing: CCL::RECURSIVE-LOCK-PTR, in process Initial(0).
>> > Type :POP to abort, :R for a list of available restarts.
>>
>> Then it hangs. What am I missing to get it to work?
>>
>> Thank you,
>> Andrei
>>
>>
>>
>> _______________________________________________
>> Openmcl-devel mailing list
>> Openmcl-devel at clozure.com
>> http://clozure.com/mailman/listinfo/openmcl-devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20090807/b9bfc8ef/attachment.htm>


More information about the Openmcl-devel mailing list