Is anybody testing TBNL with SBCL 0.8.14, too? I get the following with start-session (debugged the old way, due to the lack of backtrace):
[Tue Aug 31 15:17:24 2004] [error] [TBNL] segmentation violation at #X985B0F0
I've inserted some (log-message :debug "....") to find the error. It reaches the "before start-session", but not the "after start-session" marker.
OK, I see if I can find something in TBNL. I really think this is more a bug in SBCL and I don't have to find a solution for TBNL. Instead I have to find a test case for SBCL.
Regards, Stefan
On Tue, 31 Aug 2004 15:21:45 +0200, Stefan Scholl stesch@no-spoon.de wrote:
Is anybody testing TBNL with SBCL 0.8.14, too?
Are you using a 2.6 kernel?
On 2004-08-31 15:39:58, Edi Weitz wrote:
On Tue, 31 Aug 2004 15:21:45 +0200, Stefan Scholl stesch@no-spoon.de wrote:
Is anybody testing TBNL with SBCL 0.8.14, too?
Are you using a 2.6 kernel?
No. 2.4 kernel without NPTL backport.
But the code works fine in sbcl 0.8.13 and there are no threading related comments in the changelog.
I'm currently looking into session.lisp:
(log-message :debug "before make-instance of session") (setf session (make-instance 'session) (session *request*) session) (log-message :debug "after make-instance of session")
Doesn't reach the second debug message. Either the make-instance or accessing the session slot of *request*.
There are some CLOS changes in the changelog of SBCL 0.8.14:
* bug fix: improve the detection and resolution of MOP metacycles (where effective method computation depends on the generic function having its effective method computed). (reported by Bruno Haible)
* bug fix: pass the right initargs to :BEFORE or :AFTER methods on SHARED-INITIALIZE or INITIALIZE-INSTANCE in optimized MAKE-INSTANCE constructors. (reported by Axel Schairer for cmucl)
Regards, Stefan
On 2004-08-31 15:48:05, Stefan Scholl wrote:
(log-message :debug "before make-instance of session") (setf session (make-instance 'session) (session *request*) session) (log-message :debug "after make-instance of session")
Doesn't reach the second debug message. Either the make-instance or accessing the session slot of *request*.
It's in function encode-session-string (session.lisp).
I tell more some time later today.
Regards, Stefan
On 2004-08-31 16:47:47, Stefan Scholl wrote:
On 2004-08-31 15:48:05, Stefan Scholl wrote:
(log-message :debug "before make-instance of session") (setf session (make-instance 'session) (session *request*) session) (log-message :debug "after make-instance of session")
Doesn't reach the second debug message. Either the make-instance or accessing the session slot of *request*.
It's in function encode-session-string (session.lisp).
(md5:md5sum-sequence "foo")
--> segmentation violation at #X926BC80
|sigh|
On 2004-08-31 16:58:30, Stefan Scholl wrote:
On 2004-08-31 16:47:47, Stefan Scholl wrote:
It's in function encode-session-string (session.lisp).
(md5:md5sum-sequence "foo")
--> segmentation violation at #X926BC80
OK, that's a bug in the current version 1.3.8 of md5. Until it's fixed TBNL can't be used together with SBCL 0.8.14.
On Wed, Sep 01, 2004 at 05:33:20PM +0200, Stefan Scholl wrote:
On 2004-08-31 16:58:30, Stefan Scholl wrote:
On 2004-08-31 16:47:47, Stefan Scholl wrote:
It's in function encode-session-string (session.lisp).
(md5:md5sum-sequence "foo")
--> segmentation violation at #X926BC80
OK, that's a bug in the current version 1.3.8 of md5. Until it's fixed TBNL can't be used together with SBCL 0.8.14.
Well, it's trivial to, for example, make the minor changes to tbnl so it uses the bundled SB-MD5, which does not have the bug.
Zach
On 2004-09-01 17:33:20, Stefan Scholl wrote:
On 2004-08-31 16:58:30, Stefan Scholl wrote:
On 2004-08-31 16:47:47, Stefan Scholl wrote:
It's in function encode-session-string (session.lisp).
(md5:md5sum-sequence "foo")
--> segmentation violation at #X926BC80
OK, that's a bug in the current version 1.3.8 of md5. Until it's fixed TBNL can't be used together with SBCL 0.8.14.
OK, it's fixed. Current version 1.8.4
Everyone with SBCL >= 0.8.14 should update md5. It gets called when sessions are used.