Open kini opened 7 years ago
I should also mention, as I did on IRC, that I was using a single threaded version of ACL2 (though I understand that CCL uses multiple threads under the hood even if there's only one user thread), and also that the contents of *features*
is as follows:
? *features*
(:PRIMARY-CLASSES :COMMON-LISP :OPENMCL :CCL :CCL-1.2 :CCL-1.3 :CCL-1.4 :CCL-1.5 :CCL-1.6 :CCL-1.7 :CCL-1.8 :CCL-1.9 :CCL-1.10 :CCL-1.11 :CCL-1.12 :CLOZURE :CLOZURE-COMMON-LISP :ANSI-CL :UNIX :OPENMCL-UNICODE-STRINGS :IPV6 :OPENMCL-NATIVE-THREADS :OPENMCL-PARTIAL-MOP :MCL-COMMON-MOP-SUBSET :OPENMCL-MOP-2 :OPENMCL-PRIVATE-HASH-TABLES :STATIC-CONSES-SHOULD-WORK-WITH-EGC-IN-CCL :X86-64 :X86_64 :X86-TARGET :X86-HOST :X8664-TARGET :X8664-HOST :LINUX-HOST :LINUX-TARGET :LINUXX86-TARGET :LINUXX8664-TARGET :LINUXX8664-HOST :64-BIT-TARGET :64-BIT-HOST :LINUX :LITTLE-ENDIAN-TARGET :LITTLE-ENDIAN-HOST)
Not sure if it is the specific cause of this problem, but %lock-recursive-lock-ptr
looks like it has a race between loading owner
(outside without-interrupts
) and checking to see if it matches current thread (inside without-interrupts
) that seems like it could cause that error.
Under some rare and unknown circumstances, calling
(static-cons ...)
from ACL2 running on top of CCL resulted in the following error:Here is the value of
(lisp-implementation-version)
:Here is an abbreviated backtrace, which I believe contains all the frames that are running in CCL itself, rather than user (i.e. ACL2) code. The full backtrace (with a few frames here and there removed because of proprietary information in function arguments, sorry) can be seen here (click "raw" on that page to get the raw text file). This backtrace is produced via ACL2 so I think the formatting is a bit different from what you'd usually get from CCL.
I'm afraid I'm at a loss for how to reproduce this error as it occurred after more than a week of runtime in an ACL2 program. 63 other almost identical runs of the program executing simultaneously did not result in this error, so you could even say that this appeared after "more than a year" of CPU time... Hopefully the problem is obvious at a glance to someone sufficient understanding of CCL, but if not, please let me know if you have any ideas about how to isolate it. Thanks!