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 <?php var_dump(get_defined_constants(true)); But deep in my app (on my debug error reporting page) it crashes. The Windows event viewer reports: Faulting application name: php.exe, version: 5.4.0.0, time stamp: 0x4f4e6d84 Faulting module name: php5.dll, version: 5.4.0.0, time stamp: 0x4f4e7c5f Exception code: 0xc0000005 Fault offset: 0x00027d83 Faulting process id: 0x1b24 Faulting application start time: 0x01cd190edd8e40c7 Faulting application path: C:\xampp\php54\php.exe Faulting module path: C:\xampp\php54\php5.dll Report Id: 54cd188e-8502-11e1-b220-e0cb4e5b154a ------------------------------------------------------------------------ [2012-03-11 17:56:10] il...@php.net Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from 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