MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001505XdebugUsage problems (Wrong Results)public2017-12-29 23:062017-12-29 23:22
Reporterrtsikma 
Assigned Toderick 
PriorityimmediateSeveritycrashReproducibilityalways
StatusresolvedResolutionunable to reproduce 
Platformx64OSWindowsOS Version10
Product Version2.6.0beta1 
Target VersionFixed in Version 
Summary0001505: CLI has stopped working error when xdebug extension is loaded
DescriptionWhen attempting to start PHP with the xdebug extension and my own created extension, a "CLI has stopped working error" is displayed.
Steps To ReproduceRun php -i with a custom extension
Additional InformationA crash dump is available for this issue here:
https://drive.google.com/file/d/1L-YOpKlnNM9m1BEtxYcxGKoNLScFHgFx/view?usp=sharing [^]

This is on a 64 bit Windows 10 PC, running a 32-bit PHP.

This PHP install has a custom extension extension
TagsNo tags attached.
Operating SystemWindows 10
PHP Version7.2.0-7.2.4
Attached Files

- Relationships

-  Notes
(0004528)
derick (administrator)
2017-12-29 23:14

Hi,

If you want me to have a look at this, I need to be able to reproduce this on a Linux platform. That means, I need to have your extension's source code.
I can't go on just a Windows crash dump.

cheers,
Derick
(0004529)
rtsikma (reporter)
2017-12-29 23:19

Considering that the entension is proprietary code from the company I work for, that may prove difficult.

What I get from the debug call stack is this:

[Inline Frame] php7.dll!zend_mm_alloc_small(_zend_mm_heap *) Line 1273
[Inline Frame] php7.dll!zend_mm_alloc_heap(_zend_mm_heap * heap, unsigned int) Line 1344
[Inline Frame] php7.dll!_emalloc(unsigned int) Line 2433
php7.dll!_array_init(_zval_struct * arg, unsigned int size) Line 1090
[Inline Frame] php7.dll!php_register_server_variables() Line 626
php7.dll!php_auto_globals_create_server(_zend_string * name) Line 780
php7.dll!zend_is_auto_global_str(char * name, unsigned int len) Line 1653
[Inline Frame] php_xdebug.dll!xdebug_init_auto_globals() Line 1083
php_xdebug.dll!zm_activate_xdebug(int type, int module_number) Line 1186
php7.dll!zend_activate_modules() Line 2600
php7.dll!php_request_startup() Line 1697
php.exe!do_cli(int argc, char * * argv) Line 728
php.exe!main(int argc, char * * argv) Line 1406
(0004530)
derick (administrator)
2017-12-29 23:22

Sorry, I can't help then. Feel free to reach out privately in case you can provide this privately — email is at https://xdebug.org/support.php#email [^]

- Issue History
Date Modified Username Field Change
2017-12-29 23:06 rtsikma New Issue
2017-12-29 23:14 derick Note Added: 0004528
2017-12-29 23:14 derick Assigned To => derick
2017-12-29 23:14 derick Status new => feedback
2017-12-29 23:19 rtsikma Note Added: 0004529
2017-12-29 23:19 rtsikma Status feedback => assigned
2017-12-29 23:22 derick Note Added: 0004530
2017-12-29 23:22 derick Status assigned => resolved
2017-12-29 23:22 derick Resolution open => unable to reproduce


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker