PHP :: Bug #40545 :: zend_strtod.c threading issue
| Bug #40545 | zend_strtod.c threading issue | ||||
|---|---|---|---|---|---|
| Submitted: | 2007-02-19 17:53 UTC | Modified: | 2007-02-20 13:26 UTC | ||
| From: | scottmacvicar at ntlworld dot com | Assigned: | |||
| Status: | Closed | Package: | Reproducible crash | ||
| PHP Version: | 5.2.1 | OS: | RHEL 4 | ||
| Private report: | No | CVE-ID: | None | ||
[2007-02-19 17:53 UTC] scottmacvicar at ntlworld dot com
Description:
------------
Recently upgraded to PHP 5.2.1 from PHP 5.1.6 and we started to see a series of crashes every few hundred thousand requests, couldn't isolate this to a specific section of code so I think its a concurrency problem.
I managed to catch a core file from the past few and in each case the backtrace revealed that the problem is zend_strod. This is just an excerpt the rest of the backtrace are just apache internals.
Thread 27 (process 14353):
#0 0x008b07a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1 0x0013bc46 in kill () from /lib/tls/libc.so.6
No symbol table info available.
#2 0x0807e90d in sig_coredump (sig=14332) at mpm_common.c:1170
No locals.
#3 <signal handler called>
No symbol table info available.
#4 Balloc (k=1953067823) at /www/src/php-5.2.1/Zend/zend_strtod.c:460
x = Variable "x" is not available.
We're seeing this problem on both of our web servers, I can recompile one of the boxes in debug mode if that would help.
The only change I can see of recent was a reimplementation of the code to a BSD license.
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2007-02-19 18:14 UTC] tony2001@php.net
[2007-02-19 18:21 UTC] scottmacvicar at ntlworld dot com
[2007-02-19 20:21 UTC] scottmacvicar at ntlworld dot com
[2007-02-19 20:24 UTC] tony2001@php.net
[2007-02-20 11:35 UTC] tony2001@php.net
[2007-02-20 11:46 UTC] scottmacvicar at ntlworld dot com
[2007-02-20 12:02 UTC] tony2001@php.net
[2007-02-20 13:14 UTC] scottmacvicar at ntlworld dot com
[2007-02-20 13:26 UTC] tony2001@php.net