View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001151 | Xdebug | Uncategorized | public | 2015-05-14 22:25 | 2015-05-29 12:42 |
| Reporter | francois | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Vmware Workstation W 7 | OS | Centos | OS Version | 6.4 |
| Product Version | 2.3.2 | ||||
| Target Version | 2.3.3 | Fixed in Version | 2.3.3 | ||
| Summary | 0001151: Crash when another extension calls call_user_function() during RINIT | ||||
| Description | (PHP 5.6.4) When trying to use xdebug and the phk PECL extension, php during first RINIT without executing anything. Trace shows : Program received signal SIGSEGV, Segmentation fault. #0 0x001373b7 in xdebug_add_stack_frame (zdata=0xbfffe524, op_array=0x0, Crash happens when phk tries to register its autoloader to spl_autoload_register() using call_user_function(). If I remove this call, everything works fine. Problem because I don't know another way to register an autoloader from an extension. | ||||
| Steps To Reproduce | Download the 'phk' PECL extension (clone it from github:flaupretre/pecl-phk, don't get it from PECL). In the 'develop' branch, look for the 'xdebug_2.3.2_crash' tag. This is the version I experienced the problem with. Compile and install. Activate in php.ini along with xdebug. Run the 'php' CLI command. | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 5.6.0-5.6.4 | ||||