[PHP-DEV] PHP 4.0 Bug #9383 Updated: mcrypt 2.4.9 function causes Apache to segfault

2001-03-04 Thread sniper

ID: 9383
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Assigned
Status: Closed
Bug Type: mcrypt related
Assigned To: 
Comments:

As this is clearly a bug in libmcrypt itself - closed.

--Jani


Previous Comments:
---

[2001-02-26 18:10:00] [EMAIL PROTECTED]
OK, I've done some research. This code fails to run (segfaults with the same symptoms 
as PHP):

#includemcrypt.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

---

[2001-02-21 18:09:03] [EMAIL PROTECTED]
After some research, it might be a portabilty issue, as this same configuration works 
flawlessly on linux (RedHAt 6.2)
I'll contact the author of libmcrypt

---

[2001-02-21 16:51:33] [EMAIL PROTECTED]
2.4.7 does not work too.

---

[2001-02-21 16:40:57] [EMAIL PROTECTED]
Does not work with 2.4.8, trying 2.4.7

---

[2001-02-21 16:26:03] [EMAIL PROTECTED]
no problem. I'm just compiling it with 2.4.8, should I try only 2.4.7. Is 2.4.8 known 
to have some problem?

---

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=9383edit=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] PHP 4.0 Bug #9383 Updated: mcrypt 2.4.9 function causes Apache to segfault

2001-02-26 Thread juraj

ID: 9383
User Update by: [EMAIL PROTECTED]
Status: Assigned
Bug Type: mcrypt related
Description: mcrypt 2.4.9 function causes Apache to segfault

OK, I've done some research. This code fails to run (segfaults with the same symptoms 
as PHP):

#includemcrypt.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

Previous Comments:
---

[2001-02-21 18:09:03] [EMAIL PROTECTED]
After some research, it might be a portabilty issue, as this same configuration works 
flawlessly on linux (RedHAt 6.2)
I'll contact the author of libmcrypt

---

[2001-02-21 16:51:33] [EMAIL PROTECTED]
2.4.7 does not work too.

---

[2001-02-21 16:40:57] [EMAIL PROTECTED]
Does not work with 2.4.8, trying 2.4.7

---

[2001-02-21 16:26:03] [EMAIL PROTECTED]
no problem. I'm just compiling it with 2.4.8, should I try only 2.4.7. Is 2.4.8 known 
to have some problem?

---

[2001-02-21 16:16:51] [EMAIL PROTECTED]
Can you check out if libmcrypt 2.4.4 or 2.4.7 works fine for you? Assigning it to me 
too.

---

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=9383


-- 
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] PHP 4.0 Bug #9383 Updated: mcrypt 2.4.9 function causes Apache to segfault

2001-02-22 Thread derick

ID: 9383
Updated by: derick
Reported By: [EMAIL PROTECTED]
Status: Assigned
Bug Type: mcrypt related
Assigned To: derick
Comments:

After some research, it might be a portabilty issue, as this same configuration works 
flawlessly on linux (RedHAt 6.2)
I'll contact the author of libmcrypt

Previous Comments:
---

[2001-02-21 16:51:33] [EMAIL PROTECTED]
2.4.7 does not work too.

---

[2001-02-21 16:40:57] [EMAIL PROTECTED]
Does not work with 2.4.8, trying 2.4.7

---

[2001-02-21 16:26:03] [EMAIL PROTECTED]
no problem. I'm just compiling it with 2.4.8, should I try only 2.4.7. Is 2.4.8 known 
to have some problem?

---

[2001-02-21 16:16:51] [EMAIL PROTECTED]
Can you check out if libmcrypt 2.4.4 or 2.4.7 works fine for you? Assigning it to me 
too.

---

[2001-02-21 16:10:31] [EMAIL PROTECTED]
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 ()


---

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=9383edit=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] PHP 4.0 Bug #9383 Updated: mcrypt 2.4.9 function causes Apache to segfault

2001-02-22 Thread juraj

ID: 9383
User Update by: [EMAIL PROTECTED]
Status: Assigned
Bug Type: mcrypt related
Description: mcrypt 2.4.9 function causes Apache to segfault

Does not work with 2.4.8, trying 2.4.7

Previous Comments:
---

[2001-02-21 16:26:03] [EMAIL PROTECTED]
no problem. I'm just compiling it with 2.4.8, should I try only 2.4.7. Is 2.4.8 known 
to have some problem?

---

[2001-02-21 16:16:51] [EMAIL PROTECTED]
Can you check out if libmcrypt 2.4.4 or 2.4.7 works fine for you? Assigning it to me 
too.

---

[2001-02-21 16:10:31] [EMAIL PROTECTED]
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 ()


---


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


-- 
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] PHP 4.0 Bug #9383 Updated: mcrypt 2.4.9 function causes Apache to segfault

2001-02-21 Thread derick

ID: 9383
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Assigned
Bug Type: mcrypt related
Assigned To: derick
Comments:

Can you check out if libmcrypt 2.4.4 or 2.4.7 works fine for you? Assigning it to me 
too.

Previous Comments:
---

[2001-02-21 16:10:31] [EMAIL PROTECTED]
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 ()


---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9383edit=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] PHP 4.0 Bug #9383 Updated: mcrypt 2.4.9 function causes Apache to segfault

2001-02-21 Thread juraj

ID: 9383
User Update by: [EMAIL PROTECTED]
Status: Assigned
Bug Type: mcrypt related
Description: mcrypt 2.4.9 function causes Apache to segfault

no problem. I'm just compiling it with 2.4.8, should I try only 2.4.7. Is 2.4.8 known 
to have some problem?

Previous Comments:
---

[2001-02-21 16:16:51] [EMAIL PROTECTED]
Can you check out if libmcrypt 2.4.4 or 2.4.7 works fine for you? Assigning it to me 
too.

---

[2001-02-21 16:10:31] [EMAIL PROTECTED]
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 ()


---


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


-- 
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] PHP 4.0 Bug #9383 Updated: mcrypt 2.4.9 function causes Apache to segfault

2001-02-21 Thread juraj

ID: 9383
User Update by: [EMAIL PROTECTED]
Status: Assigned
Bug Type: mcrypt related
Description: mcrypt 2.4.9 function causes Apache to segfault

2.4.7 does not work too.

Previous Comments:
---

[2001-02-21 16:40:57] [EMAIL PROTECTED]
Does not work with 2.4.8, trying 2.4.7

---

[2001-02-21 16:26:03] [EMAIL PROTECTED]
no problem. I'm just compiling it with 2.4.8, should I try only 2.4.7. Is 2.4.8 known 
to have some problem?

---

[2001-02-21 16:16:51] [EMAIL PROTECTED]
Can you check out if libmcrypt 2.4.4 or 2.4.7 works fine for you? Assigning it to me 
too.

---

[2001-02-21 16:10:31] [EMAIL PROTECTED]
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 ()


---


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


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