Hello.

On Mon, Jul 21, 2003 at 03:08:08PM +0300, Timo Teräs wrote:
> It appears that the segfault results from bad(?) pthreads implementation.
> The TSRM deletes and recreates the TSD key. And it seems to result
> that the main thread will have the old TSD value instead of zero for
> the newly recreated key. See attached patch that seems to work around
> this problem. Atleast, it Works-For-Me(tm).

I can now confirm that it indeed seems to be a bug in glibc implementation
and I have mailed about the problem.

However, it takes long time before people will have the fixed glibc so it
would be great if you could commit the patch I sent earlier on the list.

One of the reasons is that the bug it results in PHP kills Apache2 on Debian
since it uses logrotate which in turn does restart every night.

Cheers,
  Timo

--
Timo Teräs
[EMAIL PROTECTED]


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to