Re: Crash in Apache2Filter
| From: | Cliff Woolley | Date: | Tue, 09 Apr 2002 06:49:17 +0000 |
| Subject: | Re: Crash in Apache2Filter | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-82315@lists.php.net to get a copy of this message | ||
PS: If your line numbers match up with mine, line 562 of util_filter.c
(the one that your backtrace seems to indicate is crashing) is this:
APR_BRIGADE_CONCAT(*saveto, *b);
> Make sure the brigade's "link" ring is intact all the way around in both
> directions, also.
So this part of what I asked you to take a look at becomes especially
important in this case... APR_BRIGADE_CONCAT is a constant-time operation
that works directly off the ->next and ->prev pointers of the two
brigades' sentinels. It doesn't have to walk the list at all. So verify
that both brigades are intact... one of them must not be. :)
At that point, figuring out where the corruption occurs is where knowing
what the contents of the brigades are becomes useful.
--Cliff
--------------------------------------------------------------
Cliff Woolley
cliffwoolley@yahoo.com
Charlottesville, VA