ID: 10890
User Update by: [EMAIL PROTECTED]
Status: Closed
Bug Type: mcrypt related
Operating system: FreeBSD 4.1.1
PHP Version: 4.0.5
Description: Segmentation fault when using mcrypt function in Apache

Sure works now.

If the key length was the problem all way trough, maby you should consider changeing 
the example in the PHP manual :-)

Previous Comments:

[2001-05-18 16:58:55] [EMAIL PROTECTED]

I fixed this in the CVS, can you please try it with libmcrypt 2.4.11 (as .10 returns 
wrong data).



[2001-05-18 08:39:22] [EMAIL PROTECTED]
This is a backtrack with:

#0  permute (
    inblock=0x827dda4 "Let us meet at 9 o'clock at the secret place.", 
    perm=0x1980, outblock=0xbfbfe2a8 "") at tripledes.c:628
#1  0x2859de9d in tripledes_LTX__mcrypt_encrypt () at tripledes.c:454
#2  0x285a1711 in ecb_LTX__mcrypt () at ecb.c:76
#3  0x2851b8ba in mcrypt_enc_get_algorithms_name () at mcrypt_modules.c:178
#4  0x2851ae09 in mcrypt_generic () at mcrypt.c:136
#5  0x282d1cc8 in php_if_mcrypt_generic () at mcrypt.c:391
#6  0x28264dd7 in execute () at ./zend_execute.c:863
#7  0x282762b0 in zend_execute_scripts () at zend.c:260
#8  0x2828e60b in php_execute_script () at main.c:1138
#9  0x28289ba6 in apache_php_module_main () at sapi_apache.c:98
#10 0x2828a8f4 in send_php (r=0x8279034, display_source_mode=0, 
    filename=0x8279b3c "/usr/home/hoise/www/") at 
#11 0x2828a93b in send_parsed_php (r=0x8279034) at mod_php4.c:547
#12 0x28073809 in ap_invoke_handler ()
   from /usr/local/apache/libexec/
#13 0x2808adc0 in process_request_internal ()
   from /usr/local/apache/libexec/
#14 0x2808ae39 in ap_process_request ()
   from /usr/local/apache/libexec/
#15 0x28080b90 in child_main () from /usr/local/apache/libexec/
#16 0x28080e58 in make_child () from /usr/local/apache/libexec/
#17 0x28080f2b in startup_children ()
   from /usr/local/apache/libexec/
#18 0x2808166a in standalone_main () from /usr/local/apache/libexec/
#19 0x2808208b in ap_main () from /usr/local/apache/libexec/
#20 0x80485cb in main ()
#21 0x8048541 in _start ()

Please let me know if this is what you needed.
Or tell me what else to give you.

Im not that experienced in debuggin, so please give me clear instructions :-)


[2001-05-18 06:20:38] [EMAIL PROTECTED]
Can you make a backtrace of it, and possible try it with libmcrypt 2.4.11 (or .12 if 
it's out yet)?



[2001-05-18 03:58:29] [EMAIL PROTECTED]
I downloaded and compiled this one:

But im still getting this in my Apache error log when i try to use Mcrypt:
[Fri May 18 09:56:24 2001] [notice] child pid 50599 exit signal Segmentation fault 
[Fri May 18 09:56:25 2001] [notice] child pid 50595 exit signal Segmentation fault (11)


[2001-05-17 17:43:40] [EMAIL PROTECTED]
This should be fixed in CVS. Can you please try a snapshot in about two hours? (The 
snapshots have to be generated, and are available on
If this does not fix the problem for you, please reopen this report.


The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.

Full Bug description available at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to