From:             robert at profundis dot se
Operating system: Windows XP Professional SP1
PHP version:      4.3.3
PHP Bug Type:     GD related
Bug description:  Use of php_gd2 cause frequent popup about _safe_emalloc not in 
php4ts.dll

Description:
------------
After upgrading to from PHP 4.3.1-dev to 4.3.3 in order to access the
bundled GD2 functions, this problem occurs. Due to Windows inherent
hostility towards development, I've been using the precomiled binary
distribution. I'm running PHP as module under Apache 2.0.44 on Windows XP
Pro SP1.

When, in php.ini, the extension php_gd2.dll is loaded, it will cause two
(related) popups in succession about once a minute, with the following
messages:

#1: "The procedure entry point _safe_emalloc could not be located in the
dynamic link library php4ts.dll"
#2: "Unknown(): Unable to load dynamic library
%{MY_PHP_PATH}\extensions\php_gd2.dll"

It will not popup immediately after I start Apache but the first come
after about a minute. It do not seem related to execution of PHP scripts
either. If I don't load php_gd2.dll, this does not happen.

Everything seems to be working fine, however. Even GD functions works as
expected; pre-v2 functions does a good job, and I could use
imagecreatetruecolor() which requires v2.

I would guess that there is some inconsistency in the build, but I'm not
sure why the result isn't worse in that case. I am pretty sure that it is
not due to mixed files on my part; both PHP and GD shows expected
versions.

Vaguely similar bugs I found here does not seem to match this problems, as
these seem to be fatal unlike this one.


-- 
Edit bug report at http://bugs.php.net/?id=25542&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25542&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25542&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25542&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25542&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25542&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25542&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25542&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25542&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25542&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25542&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25542&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25542&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25542&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25542&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25542&r=gnused

Reply via email to