[PHP-DEV] Bug #10890 Updated: Segmentation fault when using mcrypt function in Apache

2001-05-20 Thread henrik_l

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]
Hello,

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

Derick

---

[2001-05-18 08:39:22] [EMAIL PROTECTED]
This is a backtrack with:
apache-1.3.19
php4-200105172345
libmcrypt-2.4.11


#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/www.larsson.as/php/test/mcrypt.php) at 
mod_php4.c:536
#11 0x2828a93b in send_parsed_php (r=0x8279034) at mod_php4.c:547
#12 0x28073809 in ap_invoke_handler ()
   from /usr/local/apache/libexec/libhttpd.so
#13 0x2808adc0 in process_request_internal ()
   from /usr/local/apache/libexec/libhttpd.so
#14 0x2808ae39 in ap_process_request ()
   from /usr/local/apache/libexec/libhttpd.so
#15 0x28080b90 in child_main () from /usr/local/apache/libexec/libhttpd.so
#16 0x28080e58 in make_child () from /usr/local/apache/libexec/libhttpd.so
#17 0x28080f2b in startup_children ()
   from /usr/local/apache/libexec/libhttpd.so
#18 0x2808166a in standalone_main () from /usr/local/apache/libexec/libhttpd.so
#19 0x2808208b in ap_main () from /usr/local/apache/libexec/libhttpd.so
#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)?

Derick

---

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

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 
(11)
[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 snaps.php.net)
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: http://bugs.php.net/?id=10890


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10890 Updated: Segmentation fault when using mcrypt function in Apache

2001-05-18 Thread henrik_l

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

I downloaded and compiled this one:
php4-200105172345

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 
(11)
[Fri May 18 09:56:25 2001] [notice] child pid 50595 exit signal Segmentation fault (11)

Previous Comments:
---

[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 snaps.php.net)
If this does not fix the problem for you, please reopen this report.

---

[2001-05-17 17:02:29] [EMAIL PROTECTED]
Hello,

I'm on this, probably found the bug already. I'll commit the fix as soon as I tested 
it and my connection works 100%.

Derick

---

[2001-05-17 16:48:40] [EMAIL PROTECTED]
I tried today with libmcrypt-2.4.11 both with --disable-posix-threads and without.

In both cases i get the segmentation fault in the apache log.

---

[2001-05-15 17:48:17] [EMAIL PROTECTED]
If i try to run this script:
?php
$key = this is a very secret key;
$input = Let us meet at 9 o'clock at the secret place.;

$td = mcrypt_module_open (MCRYPT_TripleDES, , MCRYPT_MODE_ECB, );
$iv = mcrypt_create_iv (mcrypt_enc_get_iv_size ($td), MCRYPT_RAND);
mcrypt_generic_init ($td, $key, $iv);
$encrypted_data = mcrypt_generic ($td, $input);
mcrypt_generic_end ($td);

echo $encrypted_data;
?

I get this in my Apache log file:
[Tue May 15 23:30:13 2001] [notice] child pid 22372 exit signal Segmentation fault 
(11)
[Tue May 15 23:30:13 2001] [notice] child pid 22371 exit signal Segmentation fault 
(11)

I did configure libmcrypt 2.4.9 with:
./configure --disable-posix-threads

And PHP 4.0.5 with:
./configure --with-mysql=/usr/local/mysql --with-gd=/usr/local --with-t1lib --with-ttf 
--with-jpeg-dir --with-png-dir --with-tiff-dir --with-zlib-dir --with-xpm-dir 
--with-imap --with-gettext --with-zlib --with-pdflib --enable-exif --enable-ftp 
--enable-bcmath --with-mcrypt --with-config-file-path=/usr/local/etc 
--with-apxs=/usr/local/apache/bin/apxs

---


Full Bug description available at: http://bugs.php.net/?id=10890


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10890 Updated: Segmentation fault when using mcrypt function in Apache

2001-05-18 Thread derick

ID: 10890
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: mcrypt related
Operating system: 
PHP Version: 4.0.5
Assigned To: derick
Comments:

Can you make a backtrace of it, and possible try it with libmcrypt 2.4.11 (or .12 if 
it's out yet)?

Derick

Previous Comments:
---

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

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 
(11)
[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 snaps.php.net)
If this does not fix the problem for you, please reopen this report.

---

[2001-05-17 17:02:29] [EMAIL PROTECTED]
Hello,

I'm on this, probably found the bug already. I'll commit the fix as soon as I tested 
it and my connection works 100%.

Derick

---

[2001-05-17 16:48:40] [EMAIL PROTECTED]
I tried today with libmcrypt-2.4.11 both with --disable-posix-threads and without.

In both cases i get the segmentation fault in the apache log.

---

[2001-05-15 17:48:17] [EMAIL PROTECTED]
If i try to run this script:
?php
$key = this is a very secret key;
$input = Let us meet at 9 o'clock at the secret place.;

$td = mcrypt_module_open (MCRYPT_TripleDES, , MCRYPT_MODE_ECB, );
$iv = mcrypt_create_iv (mcrypt_enc_get_iv_size ($td), MCRYPT_RAND);
mcrypt_generic_init ($td, $key, $iv);
$encrypted_data = mcrypt_generic ($td, $input);
mcrypt_generic_end ($td);

echo $encrypted_data;
?

I get this in my Apache log file:
[Tue May 15 23:30:13 2001] [notice] child pid 22372 exit signal Segmentation fault 
(11)
[Tue May 15 23:30:13 2001] [notice] child pid 22371 exit signal Segmentation fault 
(11)

I did configure libmcrypt 2.4.9 with:
./configure --disable-posix-threads

And PHP 4.0.5 with:
./configure --with-mysql=/usr/local/mysql --with-gd=/usr/local --with-t1lib --with-ttf 
--with-jpeg-dir --with-png-dir --with-tiff-dir --with-zlib-dir --with-xpm-dir 
--with-imap --with-gettext --with-zlib --with-pdflib --enable-exif --enable-ftp 
--enable-bcmath --with-mcrypt --with-config-file-path=/usr/local/etc 
--with-apxs=/usr/local/apache/bin/apxs

---

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


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10890edit=2


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10890 Updated: Segmentation fault when using mcrypt function in Apache

2001-05-18 Thread henrik_l

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

This is a backtrack with:
apache-1.3.19
php4-200105172345
libmcrypt-2.4.11


#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/www.larsson.as/php/test/mcrypt.php) at 
mod_php4.c:536
#11 0x2828a93b in send_parsed_php (r=0x8279034) at mod_php4.c:547
#12 0x28073809 in ap_invoke_handler ()
   from /usr/local/apache/libexec/libhttpd.so
#13 0x2808adc0 in process_request_internal ()
   from /usr/local/apache/libexec/libhttpd.so
#14 0x2808ae39 in ap_process_request ()
   from /usr/local/apache/libexec/libhttpd.so
#15 0x28080b90 in child_main () from /usr/local/apache/libexec/libhttpd.so
#16 0x28080e58 in make_child () from /usr/local/apache/libexec/libhttpd.so
#17 0x28080f2b in startup_children ()
   from /usr/local/apache/libexec/libhttpd.so
#18 0x2808166a in standalone_main () from /usr/local/apache/libexec/libhttpd.so
#19 0x2808208b in ap_main () from /usr/local/apache/libexec/libhttpd.so
#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 :-)

Previous Comments:
---

[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)?

Derick

---

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

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 
(11)
[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 snaps.php.net)
If this does not fix the problem for you, please reopen this report.

---

[2001-05-17 17:02:29] [EMAIL PROTECTED]
Hello,

I'm on this, probably found the bug already. I'll commit the fix as soon as I tested 
it and my connection works 100%.

Derick

---

[2001-05-17 16:48:40] [EMAIL PROTECTED]
I tried today with libmcrypt-2.4.11 both with --disable-posix-threads and without.

In both cases i get the segmentation fault in the apache log.

---

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: http://bugs.php.net/?id=10890


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10890 Updated: Segmentation fault when using mcrypt function in Apache

2001-05-18 Thread derick

ID: 10890
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: mcrypt related
Operating system: 
PHP Version: 4.0.5
Assigned To: derick
Comments:

Hello,

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

Derick

Previous Comments:
---

[2001-05-18 08:39:22] [EMAIL PROTECTED]
This is a backtrack with:
apache-1.3.19
php4-200105172345
libmcrypt-2.4.11


#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/www.larsson.as/php/test/mcrypt.php) at 
mod_php4.c:536
#11 0x2828a93b in send_parsed_php (r=0x8279034) at mod_php4.c:547
#12 0x28073809 in ap_invoke_handler ()
   from /usr/local/apache/libexec/libhttpd.so
#13 0x2808adc0 in process_request_internal ()
   from /usr/local/apache/libexec/libhttpd.so
#14 0x2808ae39 in ap_process_request ()
   from /usr/local/apache/libexec/libhttpd.so
#15 0x28080b90 in child_main () from /usr/local/apache/libexec/libhttpd.so
#16 0x28080e58 in make_child () from /usr/local/apache/libexec/libhttpd.so
#17 0x28080f2b in startup_children ()
   from /usr/local/apache/libexec/libhttpd.so
#18 0x2808166a in standalone_main () from /usr/local/apache/libexec/libhttpd.so
#19 0x2808208b in ap_main () from /usr/local/apache/libexec/libhttpd.so
#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)?

Derick

---

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

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 
(11)
[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 snaps.php.net)
If this does not fix the problem for you, please reopen this report.

---

[2001-05-17 17:02:29] [EMAIL PROTECTED]
Hello,

I'm on this, probably found the bug already. I'll commit the fix as soon as I tested 
it and my connection works 100%.

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.


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10890edit=2


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10890 Updated: Segmentation fault when using mcrypt function in Apache

2001-05-17 Thread henrik_l

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

I tried today with libmcrypt-2.4.11 both with --disable-posix-threads and without.

In both cases i get the segmentation fault in the apache log.

Previous Comments:
---

[2001-05-15 17:48:17] [EMAIL PROTECTED]
If i try to run this script:
?php
$key = this is a very secret key;
$input = Let us meet at 9 o'clock at the secret place.;

$td = mcrypt_module_open (MCRYPT_TripleDES, , MCRYPT_MODE_ECB, );
$iv = mcrypt_create_iv (mcrypt_enc_get_iv_size ($td), MCRYPT_RAND);
mcrypt_generic_init ($td, $key, $iv);
$encrypted_data = mcrypt_generic ($td, $input);
mcrypt_generic_end ($td);

echo $encrypted_data;
?

I get this in my Apache log file:
[Tue May 15 23:30:13 2001] [notice] child pid 22372 exit signal Segmentation fault 
(11)
[Tue May 15 23:30:13 2001] [notice] child pid 22371 exit signal Segmentation fault 
(11)

I did configure libmcrypt 2.4.9 with:
./configure --disable-posix-threads

And PHP 4.0.5 with:
./configure --with-mysql=/usr/local/mysql --with-gd=/usr/local --with-t1lib --with-ttf 
--with-jpeg-dir --with-png-dir --with-tiff-dir --with-zlib-dir --with-xpm-dir 
--with-imap --with-gettext --with-zlib --with-pdflib --enable-exif --enable-ftp 
--enable-bcmath --with-mcrypt --with-config-file-path=/usr/local/etc 
--with-apxs=/usr/local/apache/bin/apxs

---


Full Bug description available at: http://bugs.php.net/?id=10890


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10890 Updated: Segmentation fault when using mcrypt function in Apache

2001-05-17 Thread derick

ID: 10890
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Analyzed
Bug Type: mcrypt related
Operating system: 
PHP Version: 4.0.5
Assigned To: derick
Comments:

Hello,

I'm on this, probably found the bug already. I'll commit the fix as soon as I tested 
it and my connection works 100%.

Derick

Previous Comments:
---

[2001-05-17 16:48:40] [EMAIL PROTECTED]
I tried today with libmcrypt-2.4.11 both with --disable-posix-threads and without.

In both cases i get the segmentation fault in the apache log.

---

[2001-05-15 17:48:17] [EMAIL PROTECTED]
If i try to run this script:
?php
$key = this is a very secret key;
$input = Let us meet at 9 o'clock at the secret place.;

$td = mcrypt_module_open (MCRYPT_TripleDES, , MCRYPT_MODE_ECB, );
$iv = mcrypt_create_iv (mcrypt_enc_get_iv_size ($td), MCRYPT_RAND);
mcrypt_generic_init ($td, $key, $iv);
$encrypted_data = mcrypt_generic ($td, $input);
mcrypt_generic_end ($td);

echo $encrypted_data;
?

I get this in my Apache log file:
[Tue May 15 23:30:13 2001] [notice] child pid 22372 exit signal Segmentation fault 
(11)
[Tue May 15 23:30:13 2001] [notice] child pid 22371 exit signal Segmentation fault 
(11)

I did configure libmcrypt 2.4.9 with:
./configure --disable-posix-threads

And PHP 4.0.5 with:
./configure --with-mysql=/usr/local/mysql --with-gd=/usr/local --with-t1lib --with-ttf 
--with-jpeg-dir --with-png-dir --with-tiff-dir --with-zlib-dir --with-xpm-dir 
--with-imap --with-gettext --with-zlib --with-pdflib --enable-exif --enable-ftp 
--enable-bcmath --with-mcrypt --with-config-file-path=/usr/local/etc 
--with-apxs=/usr/local/apache/bin/apxs

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10890edit=2


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10890 Updated: Segmentation fault when using mcrypt function in Apache

2001-05-17 Thread derick

ID: 10890
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Analyzed
Status: Closed
Bug Type: mcrypt related
Operating system: 
PHP Version: 4.0.5
Assigned To: derick
Comments:

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 snaps.php.net)
If this does not fix the problem for you, please reopen this report.

Previous Comments:
---

[2001-05-17 17:02:29] [EMAIL PROTECTED]
Hello,

I'm on this, probably found the bug already. I'll commit the fix as soon as I tested 
it and my connection works 100%.

Derick

---

[2001-05-17 16:48:40] [EMAIL PROTECTED]
I tried today with libmcrypt-2.4.11 both with --disable-posix-threads and without.

In both cases i get the segmentation fault in the apache log.

---

[2001-05-15 17:48:17] [EMAIL PROTECTED]
If i try to run this script:
?php
$key = this is a very secret key;
$input = Let us meet at 9 o'clock at the secret place.;

$td = mcrypt_module_open (MCRYPT_TripleDES, , MCRYPT_MODE_ECB, );
$iv = mcrypt_create_iv (mcrypt_enc_get_iv_size ($td), MCRYPT_RAND);
mcrypt_generic_init ($td, $key, $iv);
$encrypted_data = mcrypt_generic ($td, $input);
mcrypt_generic_end ($td);

echo $encrypted_data;
?

I get this in my Apache log file:
[Tue May 15 23:30:13 2001] [notice] child pid 22372 exit signal Segmentation fault 
(11)
[Tue May 15 23:30:13 2001] [notice] child pid 22371 exit signal Segmentation fault 
(11)

I did configure libmcrypt 2.4.9 with:
./configure --disable-posix-threads

And PHP 4.0.5 with:
./configure --with-mysql=/usr/local/mysql --with-gd=/usr/local --with-t1lib --with-ttf 
--with-jpeg-dir --with-png-dir --with-tiff-dir --with-zlib-dir --with-xpm-dir 
--with-imap --with-gettext --with-zlib --with-pdflib --enable-exif --enable-ftp 
--enable-bcmath --with-mcrypt --with-config-file-path=/usr/local/etc 
--with-apxs=/usr/local/apache/bin/apxs

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10890edit=2


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]