View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001715||Xdebug||Remote Debugging||public||2019-11-05 11:53||2019-11-05 12:42|
|Target Version||Fixed in Version|
|Summary||0001715: "zend_mm_heap corrupted" with conditional breakpoints|
|Description||Experienced this in xdebug 2.7.0RC2 on Ubuntu 18.04, PHP 7.3.2 in Docker, PhpStorm. After upgrade of Xdebug to 2.7.2 it seemed it's solved but after some time it came back. Seems like it might be triggered by multiple conditional breakpoints in a row and only after some time, does not happen immediately.|
Current setup (changed since then): Manjaro with kernel 5.2.21-1, Xdebug 2.7.2, PHP 7.3.2 in Docker.
php -v output:
PHP 7.3.2 (cli) (built: Mar 5 2019 01:35:23) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.2, Copyright (c) 1998-2018 Zend Technologies
with Xdebug v2.7.2, Copyright (c) 2002-2019, by Derick Rethans
Did not test Xdebug 2.7.1 or 2.8.0 yet.
|Steps To Reproduce||Sorry, cannot provide 100% reproducible steps...|
|Additional Information||Possibly related to https://bugs.xdebug.org/view.php?id=1647 and https://bugs.xdebug.org/view.php?id=1654|
|Tags||No tags attached.|
||Can you please try 2.8.0 first? If that doesn't solve the problem, then I would need a reproducible case. See https://xdebug.org/reporting-bugs|
Confirmed with Xdebug 2.8.0, happened during the first page load.
This is docker container log:
[Tue Nov 05 12:11:50.105825 2019] [core:notice] [pid 1] AH00052: child pid 23 exit signal Segmentation fault (11)
Trying to reproduce Segmantation fault again to get name of PID 23. No luck yet, but I guess it would be apache2.
Steps to reproduce (100% cases now):
Set up conditional breakpoints, let it run.
After running through few conditional breakpoints, "zend_mm_heap corrupted" error shows up, then PHP app runs from the start.
Disable conditional breakpoints to avoid "zend_mm_heap corrupted".
On Xdebug 2.7.2 I was happily debugging for at least two weeks.
|2019-11-05 11:53||JohnyProkie||New Issue|
|2019-11-05 12:03||derick||Assigned To||=> derick|
|2019-11-05 12:03||derick||Status||new => feedback|
|2019-11-05 12:03||derick||Note Added: 0005176|
|2019-11-05 12:42||JohnyProkie||Note Added: 0005177|
|2019-11-05 12:42||JohnyProkie||Status||feedback => assigned|