Segmentation fault (11) : mcrypt
| From: | Robert Mena | Date: | Wed, 15 Aug 2001 02:38:33 +0000 |
| Subject: | Segmentation fault (11) : mcrypt | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-62732@lists.php.net to get a copy of this message | ||
Hi, I've trying to use mcrypt and php (4.06 or
4.07-dev) with no luck. Everytime I use I got a
[notice] child pid 16630 exit signal Segmentation
fault (11) in my apache's error.log.
I am using the latest libmcrypt-2.4.15 and php (a hour
ago cvs update).
Is this a known bug ?
'./configure' '--with-apxs' '--with-ttf' '--with-xml'
'--with-gd' '--with-ftp' '--enable-session'
'--enable-trans-sid' '--with-zlib'
'--enable-inline-optimization' '--with-pgsql'
'--with-openssl' '--with-imap=../imap'
'--with-gettext' '--with-mcrypt=/usr/local'
<?php
$cipher=MCRYPT_TripleDES ;
$mode=MCRYPT_MODE_ECB ;
$td = mcrypt_module_open ($cipher, "", $mode, "");
$iv = mcrypt_create_iv (mcrypt_enc_get_iv_size ($td),
MCRYPT_RAND);
mcrypt_generic_init ($td, $key, $iv);
$encrypted_data = mcrypt_generic ($td, $valor);
mcrypt_generic_end ($td);
?>
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/