|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2018-05-17 15:40 UTC] kevinsisco61784 at gmail dot com
  [2018-08-15 16:18 UTC] cmb@php.net
 
-Status:      Open
+Status:      Feedback
-Assigned To:
+Assigned To: cmb
  [2018-08-15 16:18 UTC] cmb@php.net
  [2018-09-02 09:36 UTC] cmb@php.net
 
-Status: Feedback
+Status: No Feedback
  [2018-09-02 09:36 UTC] cmb@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 23:00:01 2025 UTC | 
Description: ------------ Compiling and running xdebug in PHP debug mode on Windows causes stack corruption errors to be thrown. This bug only appears to occur when the xdebug.profiler_enable option is enabled. config.nice.bat: @echo off cscript /nologo configure.js "--disable-all" "--enable-cli" "--with-xdebug=shared" "--enable-debug" %* php.exe arguments: .\php -d extension_dir=./ -d zend_extension=php _xdebug.dll -d xdebug.profiler_enable=1 test.php Test script: --------------- <?php function a(){ var_dump("a"); } a(); Expected result: ---------------- string(1) "a" and no crash. Actual result: -------------- string(1) "a" followed by a debug error: --------------------------- Microsoft Visual C++ Runtime Library --------------------------- Debug Error! Program: C:\pocketmine-php-sdk\php-src\x64\Debug_TS\php_xdebug.dll Module: C:\pocketmine-php-sdk\php-src\x64\Debug_TS\php_xdebug.dll File: Run-Time Check Failure #2 - Stack around the variable 'nr' was corrupted.