Bug #61156 [Com]: Segfault when using get_defined_constants(true)

2013-02-06 Thread keithdavis at solidtechservice dot com
Edit report at https://bugs.php.net/bug.php?id=61156&edit=1

 ID: 61156
 Comment by: keithdavis at solidtechservice dot com
 Reported by:damien at overeem dot org
 Summary:Segfault when using get_defined_constants(true)
 Status: Not a bug
 Type:   Bug
 Package:Reproducible crash
 Operating System:   openSUSE 11.4
 PHP Version:Irrelevant
 Block user comment: N
 Private report: N

 New Comment:

I can confirm that in 5.4.10, this issue occurs for me as well.


Previous Comments:

[2012-04-13 00:50:00] david at panmedia dot co dot nz

This is happening for me too on PHP 5.4 built in server Windows 7 64bit (no 
suhosin), and on Ubuntu with fast CGI, and the built in server.

Its fine on a simple test case like http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.




[2012-02-23 08:48:12] damien at overeem dot org

Something important that I forgot, definatly noteworthy while testing.

After an apache RESTART, the issue does not exist. But if one performs an 
apache 
RELOAD, the problem raises its ugly head. Though sometimes it takes 2-3 reloads 
before it happens.

So please, when testing, start up apache and do 2-3 apache reloads and then 
check 
if the problem shows up.


[2012-02-23 08:18:25] damien at overeem dot org

Thank you for testing carloschilazo. It would be quite nasty if this issue 
still 
caused a crash in 5.3.10. 

It would be good to know if this issue was specifically adressed in one of the 
updates between 5.3.5. and 5.3.10 though. Unfortunately it would be quite hard 
to 
test against exactly the same circumstances (same libraries, apache version, 
combination of modules etc.).

In any case i'm happy that this problem does not exist in 5.3.10.


[2012-02-23 03:43:13] carloschilazo at gmail dot com

Could not reproduce on 5.3.10, this can be closed




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

https://bugs.php.net/bug.php?id=61156


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61156&edit=1


Bug #61156 [Com]: Segfault when using get_defined_constants(true)

2012-04-12 Thread david at panmedia dot co dot nz
Edit report at https://bugs.php.net/bug.php?id=61156&edit=1

 ID: 61156
 Comment by: david at panmedia dot co dot nz
 Reported by:damien at overeem dot org
 Summary:Segfault when using get_defined_constants(true)
 Status: Not a bug
 Type:   Bug
 Package:Reproducible crash
 Operating System:   openSUSE 11.4
 PHP Version:Irrelevant
 Block user comment: N
 Private report: N

 New Comment:

This is happening for me too on PHP 5.4 built in server Windows 7 64bit (no 
suhosin), and on Ubuntu with fast CGI, and the built in server.

Its fine on a simple test case like http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.




[2012-02-23 08:48:12] damien at overeem dot org

Something important that I forgot, definatly noteworthy while testing.

After an apache RESTART, the issue does not exist. But if one performs an 
apache 
RELOAD, the problem raises its ugly head. Though sometimes it takes 2-3 reloads 
before it happens.

So please, when testing, start up apache and do 2-3 apache reloads and then 
check 
if the problem shows up.


[2012-02-23 08:18:25] damien at overeem dot org

Thank you for testing carloschilazo. It would be quite nasty if this issue 
still 
caused a crash in 5.3.10. 

It would be good to know if this issue was specifically adressed in one of the 
updates between 5.3.5. and 5.3.10 though. Unfortunately it would be quite hard 
to 
test against exactly the same circumstances (same libraries, apache version, 
combination of modules etc.).

In any case i'm happy that this problem does not exist in 5.3.10.


[2012-02-23 03:43:13] carloschilazo at gmail dot com

Could not reproduce on 5.3.10, this can be closed


[2012-02-21 16:08:28] damien at overeem dot org

Description:

ATTN: This is a bug in php verison 5.3.5 !!

I do realize that this is about an earlier version, but I have no available 
environments on which i could simply upgrade. So consider this bug report as a 
notification. It can be closed if not considered a valid report. We resolved 
our 
issue by circumventing use of the categorization of get_defined_constants.


The function get_defined_constants(true) causes a client segfault ([Tue Feb 21 
16:18:24 2012] [notice] child pid 12564 exit signal Segmentation fault (11))

There are some references to this issue occurring ie. #51788. In that 
particular 
case however, the issue seemed to have been caused by suhosin.

My installation is running native php2 engine v2.3.0.

When using get_defined_constants() (without the categorization parameter) there 
is no problem.

Further information:

OS: openSUSE 11.4
Kernel: 2.6.37.6-0.11-default
Apache version: 2.2.17 ( API Version 20051115)
PHP Version: 5.3.5

Loaded modules:
core prefork http_core mod_so mod_unique_id mod_actions mod_alias 
mod_auth_basic 
mod_authn_file mod_authz_host mod_authz_groupfile mod_authz_default 
mod_authz_user mod_authn_dbm mod_autoindex mod_cgi mod_dir mod_env mod_expires 
mod_include mod_log_config mod_mime mod_negotiation mod_setenvif mod_ssl 
mod_status mod_suexec mod_userdir mod_vhost_alias mod_rewrite mod_php5 mod_info 
mod_dav mod_deflate mod_proxy mod_proxy_http













Test script:
---


Expected result:

No output, no error logging.

Actual result:
--
Output:
Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without 
sending any data.

Apache error log:
[Tue Feb 21 16:18:24 2012] [notice] child pid 12564 exit signal Segmentation 
fault 
(11)








-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61156&edit=1


Bug #61156 [Com]: Segfault when using get_defined_constants(true)

2012-02-23 Thread damien at overeem dot org
Edit report at https://bugs.php.net/bug.php?id=61156&edit=1

 ID: 61156
 Comment by: damien at overeem dot org
 Reported by:damien at overeem dot org
 Summary:Segfault when using get_defined_constants(true)
 Status: Open
 Type:   Bug
 Package:Reproducible crash
 Operating System:   openSUSE 11.4
 PHP Version:Irrelevant
 Block user comment: N
 Private report: N

 New Comment:

Thank you for testing carloschilazo. It would be quite nasty if this issue 
still 
caused a crash in 5.3.10. 

It would be good to know if this issue was specifically adressed in one of the 
updates between 5.3.5. and 5.3.10 though. Unfortunately it would be quite hard 
to 
test against exactly the same circumstances (same libraries, apache version, 
combination of modules etc.).

In any case i'm happy that this problem does not exist in 5.3.10.


Previous Comments:

[2012-02-23 03:43:13] carloschilazo at gmail dot com

Could not reproduce on 5.3.10, this can be closed


[2012-02-21 16:08:28] damien at overeem dot org

Description:

ATTN: This is a bug in php verison 5.3.5 !!

I do realize that this is about an earlier version, but I have no available 
environments on which i could simply upgrade. So consider this bug report as a 
notification. It can be closed if not considered a valid report. We resolved 
our 
issue by circumventing use of the categorization of get_defined_constants.


The function get_defined_constants(true) causes a client segfault ([Tue Feb 21 
16:18:24 2012] [notice] child pid 12564 exit signal Segmentation fault (11))

There are some references to this issue occurring ie. #51788. In that 
particular 
case however, the issue seemed to have been caused by suhosin.

My installation is running native php2 engine v2.3.0.

When using get_defined_constants() (without the categorization parameter) there 
is no problem.

Further information:

OS: openSUSE 11.4
Kernel: 2.6.37.6-0.11-default
Apache version: 2.2.17 ( API Version 20051115)
PHP Version: 5.3.5

Loaded modules:
core prefork http_core mod_so mod_unique_id mod_actions mod_alias 
mod_auth_basic 
mod_authn_file mod_authz_host mod_authz_groupfile mod_authz_default 
mod_authz_user mod_authn_dbm mod_autoindex mod_cgi mod_dir mod_env mod_expires 
mod_include mod_log_config mod_mime mod_negotiation mod_setenvif mod_ssl 
mod_status mod_suexec mod_userdir mod_vhost_alias mod_rewrite mod_php5 mod_info 
mod_dav mod_deflate mod_proxy mod_proxy_http













Test script:
---


Expected result:

No output, no error logging.

Actual result:
--
Output:
Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without 
sending any data.

Apache error log:
[Tue Feb 21 16:18:24 2012] [notice] child pid 12564 exit signal Segmentation 
fault 
(11)








-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61156&edit=1


Bug #61156 [Com]: Segfault when using get_defined_constants(true)

2012-02-22 Thread carloschilazo at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=61156&edit=1

 ID: 61156
 Comment by: carloschilazo at gmail dot com
 Reported by:damien at overeem dot org
 Summary:Segfault when using get_defined_constants(true)
 Status: Open
 Type:   Bug
 Package:Reproducible crash
 Operating System:   openSUSE 11.4
 PHP Version:Irrelevant
 Block user comment: N
 Private report: N

 New Comment:

Could not reproduce on 5.3.10, this can be closed


Previous Comments:

[2012-02-21 16:08:28] damien at overeem dot org

Description:

ATTN: This is a bug in php verison 5.3.5 !!

I do realize that this is about an earlier version, but I have no available 
environments on which i could simply upgrade. So consider this bug report as a 
notification. It can be closed if not considered a valid report. We resolved 
our 
issue by circumventing use of the categorization of get_defined_constants.


The function get_defined_constants(true) causes a client segfault ([Tue Feb 21 
16:18:24 2012] [notice] child pid 12564 exit signal Segmentation fault (11))

There are some references to this issue occurring ie. #51788. In that 
particular 
case however, the issue seemed to have been caused by suhosin.

My installation is running native php2 engine v2.3.0.

When using get_defined_constants() (without the categorization parameter) there 
is no problem.

Further information:

OS: openSUSE 11.4
Kernel: 2.6.37.6-0.11-default
Apache version: 2.2.17 ( API Version 20051115)
PHP Version: 5.3.5

Loaded modules:
core prefork http_core mod_so mod_unique_id mod_actions mod_alias 
mod_auth_basic 
mod_authn_file mod_authz_host mod_authz_groupfile mod_authz_default 
mod_authz_user mod_authn_dbm mod_autoindex mod_cgi mod_dir mod_env mod_expires 
mod_include mod_log_config mod_mime mod_negotiation mod_setenvif mod_ssl 
mod_status mod_suexec mod_userdir mod_vhost_alias mod_rewrite mod_php5 mod_info 
mod_dav mod_deflate mod_proxy mod_proxy_http













Test script:
---


Expected result:

No output, no error logging.

Actual result:
--
Output:
Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without 
sending any data.

Apache error log:
[Tue Feb 21 16:18:24 2012] [notice] child pid 12564 exit signal Segmentation 
fault 
(11)








-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61156&edit=1