Re: [squid-users] squid 2.6-rproxy: assertion store_client.c:211: "sc->cmp_offset == copy_offset"

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 10 Jun 2002 22:27:53 +0200

Does not look like a rproxy bug at all.. more likely a generic Squid-2.6
bug on pipelined requests.

Try the following in squid.conf as a workaround:

pipeline_prefetch off

Please report back to the squid-dev list.

The features that do most likely do not work in rproxy at the moment is
the error mapping function and server probes.

Regards
Henrik

"Jeffrey D. Wheelhouse" wrote:
>
> > -----Original Message-----
> > The rproxy branch is slowly being
> > updated when there is time to match the changes, and I was not aware
> > it could compile in the state it is now..
>
> Not only does it compile, but it actually works fairly well. :) This is
> the only crash I have observed.
>
> I need it for location_rewrite_program. Thank you for this very good
> feature. :)
>
> > To tell exacly where the problem is you need to get a
> > stacktrace using GDB.
>
> (gdb) where
> #0 0x65d777b4 in kill () from /usr/lib/libc.so.4
> #1 0x65db7b26 in abort () from /usr/lib/libc.so.4
> #2 0x806cb2b in xassert (msg=0x80e3d08 "sc->cmp_offset == copy_offset",
>
> file=0x80e3b90 "store_client.c", line=211) at debug.c:270
> #3 0x80a9ac7 in storeClientCopy (sc=0x9026a90, e=0x868d1c0,
> copy_offset=0,
> size=4096,
> buf=0x98a332c "HTTP/1.1 200 OK\r\nDate: Sun, 09 Jun 2002 22:48:02
> GMT\r\nServer: Apache/1.3.24\r\nCache-Control: max-age=3600\r\nExpires:
> Sun, 09 Jun 2002 23:48:02 GMT\r\nLast-Modified: Mon, 27 May 2002
> 22:55:03 GMT\r\nETag: \"1"...,
> callback=0x80635ec <clientSendMoreHeaderData>, data=0x98a3010)
> at store_client.c:211
> #4 0x80648d0 in clientKeepaliveNextRequest (http=0x98a3010)
> at client_side.c:2052
> #5 0x8064b8c in clientWriteComplete (fd=62, bufnotused=0x0, size=12,
> errflag=0, data=0x98a0010) at client_side.c:2099
> #6 0x80646ec in clientWriteBodyComplete (fd=62,
> buf=0x98a032c "l\202\001\f°ÂÖ¸\e\020", size=12, errflag=0,
> data=0x98a0010)
> at client_side.c:2006
> #7 0x8068780 in CommWriteStateCallbackAndFree (fd=62, code=0) at
> comm.c:100
> #8 0x806a976 in commHandleWrite (fd=62, data=0x906ee20) at comm.c:907
> #9 0x806bc4c in comm_select (msec=789) at comm_poll.c:463
> #10 0x80919ad in main (argc=1, argv=0xbfbffdd8) at main.c:733
> #11 0x804a509 in _start ()
>
> I?m collecting core files now, so if you can point me in the right
> direction, I?ll do what I can.
>
> > If you know some C and wish to help with updating rproxy to
> > match HEAD please contact me in private.
>
> If the result is a more stable rproxy branch, I am happy to help.
>
> Thanks,
> Jeff
>
> --
> NearlyFreeSpeech.NET
> $1/1GB Web Hosting, no minimums, no monthly fees, no kidding.
> http://www.nearlyfreespeech.net/
Received on Tue Jun 11 2002 - 00:09:22 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:40 MST