Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regression - fails to load on ABCL #74

Closed
avodonosov opened this issue Aug 25, 2014 · 3 comments
Closed

regression - fails to load on ABCL #74

avodonosov opened this issue Aug 25, 2014 · 3 comments

Comments

@avodonosov
Copy link

Something changed in clack since quicklisp 2014-07-14, and now clack and all the dependent libraries fail to load on ABCL

See diff between quicklisp 2014-07-14 and qlalpha 2014-08-23:
http://common-lisp.net/project/cl-test-grid/ql/qlalpha-2014-08-23-diff.html

The error:

SIMPLE-TYPE-ERROR : The value of BORDEAUX-THREADS::LOCK is #S(BORDEAUX-THREADS::MUTEX :NAME "Anonymous lock" :LOCK #<java.util.concurrent.locks.ReentrantLock java.util.concurrent.locks.Reent.... {B46184}>), which is not of type BORDEAUX-THREADS::MUTEX-RECURSIVE.

Strange that it happens during load time.

@avodonosov
Copy link
Author

It is the same error that earlier appeared in datafly:
fukamachi/datafly#1

@fukamachi
Copy link
Owner

Thank you for reporting.

The error came from Clack.Middleware.Accesslog and datafly's came from datafly.logger.
It seems it's related to Log4CL. I still don't know why, though.

@export
(defvar *access-logger*
  (let ((logger (log:category '(clack middleware accesslog))))
    (log:config logger :own :trace)
    (log4cl:add-appender logger
                         (make-instance 'log4cl:this-console-appender
                                        :layout (make-instance 'log4cl:pattern-layout
                                                               :conversion-pattern "%m%n")))
    logger))

@fukamachi
Copy link
Owner

I think this problem has already been resolved after merging #95.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants