ID: 40545 Updated by: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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