ID:               40578
 Updated by:       [EMAIL PROTECTED]
 Reported By:      scottmacvicar at ntlworld dot com
-Status:           Open
+Status:           Assigned
-Bug Type:         Reproducible crash
+Bug Type:         GD related
 Operating System: RHEL 4
 PHP Version:      5.2.1
-Assigned To:      
+Assigned To:      tony2001


Previous Comments:
------------------------------------------------------------------------

[2007-02-21 14:40:19] scottmacvicar at ntlworld dot com

Should probably class this as a crash.

------------------------------------------------------------------------

[2007-02-21 14:25:47] scottmacvicar at ntlworld dot com

Description:
------------
There appears to be a race condition with the truetype font support of
GD. I can see mutexes in the code for the font cache so there must be a
code path that's missed.

Backtrace:
http://public.vbulletin.com/bugs/php/gd_thread_safety-bt.txt

Reproduce code:
http://public.vbulletin.com/bugs/php/gd_thread_safety.phps
http://public.vbulletin.com/bugs/php/HECK.TTF

Command: ab -c 30 -n 10000
http://localhost/~scott/gd_thread_safety.php

Using Apache 2 with the Worker MPM.

Only patch applied to the build is a thread safety patch for
zend_strtod.c



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40578&edit=1

Reply via email to