|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-02-21 16:10 UTC] juraj at bednar dot sk
The problem appears on freebsd. Everything compiled from ports.
apache version is 1.3.17. PHP is 4.0.4pl1. Mcrypt is 2.4.9 with and without --disable-posix-threads tested, does the same thing (but I don't think, that ./configure recognizes this in 2.4.x of mcrypt). Everything works just fine, until I run mcrypt_modle_open function.
#0 0x0 in ?? ()
#1 0x2842fa4a in mcrypt_enc_is_block_algorithm_mode () from /usr/local/lib/libmcrypt.so.5
#2 0x2842f4a9 in mcrypt_module_open () from /usr/local/lib/libmcrypt.so.5
#3 0x28334b87 in php_if_mcrypt_module_open (ht=4, return_value=0x827d20c, this_ptr=0x0,
return_value_used=1) at mcrypt.c:417
#4 0x2830fa09 in execute (op_array=0x828360c) at ./zend_execute.c:1519
#5 0x2830fc5c in execute (op_array=0x828380c) at ./zend_execute.c:1559
#6 0x2830fc5c in execute (op_array=0x828390c) at ./zend_execute.c:1559
#7 0x2830fc5c in execute (op_array=0x8283a0c) at ./zend_execute.c:1559
#8 0x2830fc5c in execute (op_array=0x825fc0c) at ./zend_execute.c:1559
#9 0x2831dc4e in zend_execute_scripts (type=8, file_count=3) at zend.c:729
#10 0x2832f0e4 in php_execute_script (primary_file=0xbfbff958) at main.c:1221
#11 0x2832b9e2 in apache_php_module_main (r=0x8269038, display_source_mode=0) at sapi_apache.c:89
#12 0x2832c382 in send_php (r=0x8269038, display_source_mode=0, filename=0x0) at mod_php4.c:516
#13 0x2832c3be in send_parsed_php (r=0x8269038) at mod_php4.c:527
#14 0x80536f8 in ap_invoke_handler ()
#15 0x80626b1 in process_request_internal ()
#16 0x8062710 in ap_process_request ()
#17 0x805c012 in child_main ()
#18 0x805c1a4 in make_child ()
#19 0x805c2c1 in startup_children ()
#20 0x805c790 in standalone_main ()
#21 0x805ce4b in main ()
#22 0x804fbf1 in _start ()
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 20:00:02 2025 UTC |
OK, I've done some research. This code fails to run (segfaults with the same symptoms as PHP): #include<mcrypt.h> main() { mcrypt_module_open("tripledes","/usr/local/lib/libmcrypt/algorithms","ecb","/usr/local/lib/libmcrypt/modes"); } Anyway, what's interesting -> I have the module tripledes installed correctly (even in that directory). But even the bundled ciphertest program does not find any working algorithms under freebsd 4.2