[php-src] Issue #8064: imagettfbbox call causes Apache segfault

From: Date: Thu, 10 Feb 2022 14:41:12 +0000
Subject: [php-src] Issue #8064: imagettfbbox call causes Apache segfault
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-239609@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8064 Comment Author: cmb69 > We use prefork MPM. There is no threading involved, so the font cache locking shouldn't matter (it likely doesn't happen at all). > php warning: imagettfbbox(): Problem loading glyph in ... That means that FT_Load_Glyph() failed for some reason. Unfortunately, libgd doesn't check/report the actual error code. > segfault That happens in gdImageStringFTEx(), but the stack backtrace is lacking debug symbols. Can you install them (I don't know how to do that on Linux/CentOS)? That could help to get to the root cause of the issue. Otherwise I have no idea how to debug this further. Maybe @pierrejoye has an idea?

« previous php.bugs (#239609) next »