#40545 [Opn->Fbk]: zend_strtod.c threading issue
| From: | tony2001@php.net | Date: | Mon, 19 Feb 2007 20:24:34 +0000 |
| Subject: | #40545 [Opn->Fbk]: zend_strtod.c threading issue | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-109136@lists.php.net to get a copy of this message | ||
ID: 40545
Updated by: tony2001@php.net
Reported By: scottmacvicar at ntlworld dot com
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: RHEL 4
PHP Version: 5.2.1
New Comment:
'./datastore.txt' ?
Looks like you forgot to provide this file.
Previous Comments:
------------------------------------------------------------------------
[2007-02-19 20:21:23] scottmacvicar at ntlworld dot com
Source of a simple script at
http://public.vbulletin.com/bugs/php/bug40545.phps
You can grab the text file from the same folder.
I then ran:
ab -c 30 -n 10000 http://localhost/~scott/bug40545.php
Segfaults within a few hundred requests.
Apache 2.2.4 with keep alive disabled and PHP 5.2.1
It's a development box and not a production box so I can change more or
less anything if you need anything else tested.
------------------------------------------------------------------------
[2007-02-19 19:20:54] tony2001@php.net
That's ok, but how to reproduce it?
------------------------------------------------------------------------
[2007-02-19 18:51:54] scottmacvicar at ntlworld dot com
The backtrace was too large to paste, the trace from the thread in
question is at.
http://public.vbulletin.com/bugs/php/bug40545-bt.txt
It does appear to be an unserialize call thats causing the crash.
------------------------------------------------------------------------
[2007-02-19 18:24:38] tony2001@php.net
Ok.
------------------------------------------------------------------------
[2007-02-19 18:21:42] scottmacvicar at ntlworld dot com
I've been unable to track it down specifically, its happening across a
larger number of scripts, the only thing I can see in common between
them all is a large number of unserialize calls during the script
startup.
I've compiled PHP into debug mode now and I'll leave it running
overnight to try and obtain a more detailed backtrace.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/40545
--
Edit this bug report at http://bugs.php.net/?id=40545&edit=1