ID: 27062 User updated by: yu at csh dot dp dot ua Reported By: yu at csh dot dp dot ua -Status: Feedback +Status: Closed Bug Type: mcrypt related -Operating System: Windows 2000 +Operating System: Windows XXXX only PHP Version: 4.3.4 Assigned To: derick New Comment:
Problem have been localized - this libmcrypt.dll v.2.5.7, downloaded from http://ftp.emini.dk/pub/php/win32/mcrypt/. This DLL is damaged and need recompilation. Additionally it makes error "Memory can't be read at adress ..." and server closes connection on some functions. Usage the libmcrypt.dll v.2.5.5 from http://ftp.proventum.net/pub/php/win32/misc/mcrypt/ decides this problem. But this is older version - it doesn't have mcrypt_generic_deinit() function (I don't know how mcrypt_generic_init() will work without mcrypt_generic_deinit()). Additionally mcrypt_list_algorithms() has little error, BUT old-type encryption functions (mcrypt_encrypt() and mcrypt_decrypt()) work well!!! I am not C-programmer to recompile source and can't to find into Internet correct libmcrypt.dll v.2.5.7. Previous Comments: ------------------------------------------------------------------------ [2004-01-28 06:51:23] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Works fine with latest CVS snapshot on windows for me.. Maybe this was (s)rand() related? (there was some stuff fixed relating to it) ------------------------------------------------------------------------ [2004-01-27 16:32:11] [EMAIL PROTECTED] Must be a library issue then, it's not thread safe AFAIK. ------------------------------------------------------------------------ [2004-01-27 16:26:23] [EMAIL PROTECTED] CLI != ZTS enabled webserver, e.g. Apache2 with worker MPM.. ------------------------------------------------------------------------ [2004-01-27 16:16:17] [EMAIL PROTECTED] But there is no ZTS specific code at all; and I just tested, it works fine on Linux with ZTS enabled. ------------------------------------------------------------------------ [2004-01-27 15:56:23] [EMAIL PROTECTED] It's ZTS issue, I bet. Try a bit harder, Derick.. ------------------------------------------------------------------------ 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/27062 -- Edit this bug report at http://bugs.php.net/?id=27062&edit=1
