More info on this after the discussion with Robert: The connstate->port should be a refcount reference, not a cbdata reference.
This is also true for most use of cbdata inside the cache digest code IIRC. Regards Henrik On Thursday 06 March 2003 17.00, Adrian Chadd wrote: > Program received signal SIGABRT, Aborted. > 0x281edb58 in kill () from /usr/lib/libc.so.4 > (gdb) bt > #0 0x281edb58 in kill () from /usr/lib/libc.so.4 > #1 0x2822f10a in abort () from /usr/lib/libc.so.4 > #2 0x8085307 in xassert (msg=0x80fc925 "c->locks < 65535", > file=0x80fc805 "cbdata.cc", line=318) at debug.cc:352 > #3 0x806f0c7 in cbdataInternalLockDbg (p=0x825a028, file=0x80fce1a > "client_side.cc", line=2603) at cbdata.cc:318 > #4 0x807607d in httpAccept (sock=7, newfd=657, details=0x85763dc, > flag=COMM_OK, xerrno=0, data=0x825a028) at client_side.cc:2603 > #5 0x8082fd1 in comm_accept_try (fd=7, data=0x0) at comm.cc:2148 > #6 0x8084bd7 in comm_select (msec=24) at comm_kqueue.cc:302 > #7 0x80b360f in main (argc=2, argv=0xbfbff784) at main.cc:945 > #8 0x804a93a in _start () > (gdb) frame 4 > #4 0x807607d in httpAccept (sock=7, newfd=657, details=0x85763dc, > flag=COMM_OK, xerrno=0, data=0x825a028) at client_side.cc:2603 > 2603 connState->port = cbdataReference(s); > (gdb) > > hm. I don't remember ever doing that. :) I'll take a squizz in a > tick. > > > > > adrian
