Re: APC/Apache2
| From: | Xuefer | Date: | Mon, 27 Jun 2005 19:50:20 +0000 |
| Subject: | Re: APC/Apache2 | ||
| References: | 1 2 3 4 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-2495@lists.php.net to get a copy of this message | ||
>
> I honestly couldn't care less about supporting threaded Apache. It just
> doesn't make any sense.
never mind
>
> Sorry, I don't understand what you mean here. Perhaps if you provide a
> PHP code example that illustrates the problem.
>
> -Rasmus
>
sorry. i've noticed i'm off topic on this thread, and some of mt
assertions is false after greping the php-src
but i'm on topic http://pecl.php.net/bugs/bug.php?id=3861
about
0xb713ed8d in my_copy_class_entry (dst=0xb5150e48, src=0x82924e8,
allocate=0xb7141200 <apc_sma_malloc>)
at /root/APC-2.0.4/apc_compile.c:369
369 for (n = 0; src->builtin_functions[n].fname != NULL;
n++) {}
i have same problem with Apache2-prefork and this tiny code at very
low chance. (high load)
seems i'm completely out of date to remind the problem
okay. you've finally done it in:
http://cvs.php.net/diff.php/pecl/apc/apc_compile.c?r1=3.15&r2=3.16&ty=h
if (src->builtin_functions) {
int i, n;
- for (n = 0; src->builtin_functions[n].fname != NULL; n++) {}
+ for (n = 0; src->type == ZEND_INTERNAL_CLASS &&
src->builtin_functions[n].fname != NULL; n++) {}