ID: 27062 Updated by: [EMAIL PROTECTED] Reported By: yu at csh dot dp dot ua Status: Feedback Bug Type: mcrypt related Operating System: Windows XXXX only PHP Version: 4.3.4 Assigned To: edink New Comment:
Just re-tested your test script and it worked fine here with the latest lib from ftp.emini.dk. Are you sure you're using latest stable snapshot and that your system is finding the correct libmcrypt.dll? Previous Comments: ------------------------------------------------------------------------ [2004-01-29 19:06:52] [EMAIL PROTECTED] DLL is damaged? Can you be a bit more specific? And you will not be able to find libmcrypt.dll v.2.5.7 on the internet because mcrypt people don't support windows at all. ------------------------------------------------------------------------ [2004-01-29 15:01:41] [EMAIL PROTECTED] Bug for you Edin :) To reporter: DON'T USE THE OLD FUNCTIONS, just don't use _deinit and you'll be fine. ------------------------------------------------------------------------ [2004-01-29 13:59:32] yu at csh dot dp dot ua 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. ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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
