View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001277 | Xdebug | public | 2016-03-02 05:22 | 2016-03-04 15:32 | |
| Reporter | bittercookie | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 2.4.0rc4 | ||||
| Fixed in Version | 2.4.1 | ||||
| Summary | 0001277: Crash when another extension calls call_user_function() with params during RINIT | ||||
| Description | (PHP 5.5.30) When trying to use xdebug and my extension, php during first RINIT without executing anything. Program received signal SIGSEGV, Segmentation fault.
the pseudocode in RINIT is: zval rs_function_name, rs_function_ret; | ||||
| Tags | No tags attached. | ||||
| Operating System | CentOS | ||||
| PHP Version | 5.5.30-5.5.34 | ||||
|
|
Please provide working code, I do not have to time to rewrite part of your extension to reproduce a crash. Besides the working extension code, I'd also need a way how to reproduce this on the command line - likely, your php.ini settings have an influence on this (I am guessing the profiler related ones). |
|
|
"xdebug-crush-extension.rar" for the bug. You must add the following configuration xdebug.profiler_enable=1 add a php script to your website: echo "<?php phpinfo(); ?>" > /var/www/html/info.php visite info.php in browser |
|
|
Thanks, with that I could reproduce it. I did need two requests though, and not just one. It's fixed on GitHub now and ready for 2.4.1. |