#19413 [NEW]: GD & freetype not thread safe
| From: | brianh at kheldar dot apana dot org dot au | Date: | Sun, 15 Sep 2002 06:34:18 +0000 |
| Subject: | #19413 [NEW]: GD & freetype not thread safe | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-19381@lists.php.net to get a copy of this message | ||
From: brianh@kheldar.apana.org.au
Operating system: OS/2
PHP version: 4.2.3
PHP Bug Type: GD related
Bug description: GD & freetype not thread safe
In testing Apache v2.0.40 running multi-threaded, I noticed regular
exceptions occurring with concurrent requests for a GD generated image. I
tracked it down to the fact that the way GD uses freetype is not thread
safe (it uses a single static FT_Library object which the freetype docs
specifically say shouldn't be shared between threads).
--
Edit bug report at http://bugs.php.net/?id=19413&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19413&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19413&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19413&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19413&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19413&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19413&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19413&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19413&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19413&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19413&r=globals