View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001763 | Xdebug | Code Coverage | public | 2020-03-15 16:47 | 2020-03-24 18:20 |
Reporter | JeremyDunn | Assigned To | derick | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.9.3 | ||||
Fixed in Version | 2.9.4 | ||||
Summary | 0001763: Crash while setting opcode overrides in ZTS mode | ||||
Description | I've been using xdebug for many years. Most recently, apache 2.4.41 + PHP 7.3.13 + xdebug 2.8.0b1 (all x64 version) today I upgraded to PHP 7.3.15 and xdebug 2.9.3. No change to apache. Now, apache crashes on every request. Windows event log shows: Faulting application name: httpd.exe, version: 2.4.41.0, time stamp: 0x5d4d8786 | ||||
Steps To Reproduce | make any request to local website | ||||
Additional Information | PHP Version drop-down only includes 7.3.14. I have just installed 7.3.15 (thread-safe, VC15, x64) from here: | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Operating System | Windows 8.1 Pro | ||||
PHP Version | 7.3.10-7.3.14 | ||||
|
reverting to xdebug 2.9.2 works fine. |
|
Same here. I'm using Apache 2.4.37 with this configuration: PHPIniDir "C:\Dev\PHP7.2" I'm using PHP 7.2.28 with this configuration: When browsing to the website (even without starting the xdebug session), I have the same Exception code (0xc0000005) in the Windows Event Viewer. |
|
I'm the developer of Wampserver since version 3 and xDebug is integrated in every version of PHP. |
|
Can any of you reproduce this with the built-in PHP webserver, instead of apache? Serving your "docroot" with "php -dxdebug.remote_enable=1 -dxdebug.remote_autoconnect -S localhost:8123" and then requesting a PHP script through http://localhost:8123/scriptphp" should do the trick. It looks like this is only related to Windows, and I haven't been able to reproduce this with Linux on ZTS, and I don't have a Windows install. |
|
It is not just Windows |
|
If you want to email me or IM me exact instructions I can test for you. |
|
@jjo5555 — thanks. I don't really have Apache (And it shouldn't really be needed to reproduce this), so I am looking for a way to reproduce this locally. Preferably without Apache. A docker container/setup could be helpful if you know how to make one? In any case, without having the exact steps to reproduce this locally, there is not too much I can do :-/ |
|
xdebug 2.9.3 does NOT fail, running with the command specified in https://bugs.xdebug.org/view.php?id=1763#c5304, outside of apache however if I leave 2.9.3 enabled in php.ini, and restart apache but requesting any page gives the same error as originally reported: Faulting application name: httpd.exe, version: 2.4.41.0, time stamp: 0x5d4d8786 I don't know if it's of any value to you (or perhaps others helping to debug) , but I've attached the Windows Error Reporting (WER) file generated when apache crashes.... Perhaps this part of the report would be helpful? https://stackoverflow.com/questions/17168982/exception-error-c0000005-in-vc does the "Offset" value give a clue as to which line of code is faulting ? Report.wer (17,108 bytes)
V e r s i o n = 1 E v e n t T y p e = A P P C R A S H E v e n t T i m e = 1 3 2 2 9 2 6 9 9 5 1 2 4 0 8 2 3 8 R e p o r t T y p e = 2 C o n s e n t = 1 U p l o a d T i m e = 1 3 2 2 9 2 6 9 9 5 1 6 9 9 1 5 4 4 R e p o r t I d e n t i f i e r = 9 e 6 a 0 d 5 c - 6 b 7 5 - 1 1 e a - 8 2 9 5 - b 4 b 6 7 6 b 6 9 b d 4 I n t e g r a t o r R e p o r t I d e n t i f i e r = 9 e 6 a 0 d 5 b - 6 b 7 5 - 1 1 e a - 8 2 9 5 - b 4 b 6 7 6 b 6 9 b d 4 N s A p p N a m e = h t t p d . e x e R e s p o n s e . t y p e = 4 S i g [ 0 ] . N a m e = A p p l i c a t i o n N a m e S i g [ 0 ] . V a l u e = h t t p d . e x e S i g [ 1 ] . N a m e = A p p l i c a t i o n V e r s i o n S i g [ 1 ] . V a l u e = 2 . 4 . 4 1 . 0 S i g [ 2 ] . N a m e = A p p l i c a t i o n T i m e s t a m p S i g [ 2 ] . V a l u e = 5 d 4 d 8 7 8 6 S i g [ 3 ] . N a m e = F a u l t M o d u l e N a m e S i g [ 3 ] . V a l u e = p h p _ x d e b u g - 2 . 9 . 3 - 7 . 3 - v c 1 5 - x 8 6 _ 6 4 . d l l S i g [ 4 ] . N a m e = F a u l t M o d u l e V e r s i o n S i g [ 4 ] . V a l u e = 2 . 9 . 3 . 2 S i g [ 5 ] . N a m e = F a u l t M o d u l e T i m e s t a m p S i g [ 5 ] . V a l u e = 5 e 6 b b e f 6 S i g [ 6 ] . N a m e = E x c e p t i o n C o d e S i g [ 6 ] . V a l u e = c 0 0 0 0 0 0 5 S i g [ 7 ] . N a m e = E x c e p t i o n O f f s e t S i g [ 7 ] . V a l u e = 0 0 0 0 0 0 0 0 0 0 0 0 b f 1 0 D y n a m i c S i g [ 1 ] . N a m e = O S V e r s i o n D y n a m i c S i g [ 1 ] . V a l u e = 6 . 3 . 9 6 0 0 . 2 . 0 . 0 . 2 5 6 . 4 8 D y n a m i c S i g [ 2 ] . N a m e = L o c a l e I D D y n a m i c S i g [ 2 ] . V a l u e = 1 0 3 3 D y n a m i c S i g [ 2 2 ] . N a m e = A d d i t i o n a l I n f o r m a t i o n 1 D y n a m i c S i g [ 2 2 ] . V a l u e = 6 a 3 1 D y n a m i c S i g [ 2 3 ] . N a m e = A d d i t i o n a l I n f o r m a t i o n 2 D y n a m i c S i g [ 2 3 ] . V a l u e = 6 a 3 1 8 d 8 7 5 a 8 e 1 b c b 2 8 c b 6 b 9 5 a 7 2 c 9 2 f 5 D y n a m i c S i g [ 2 4 ] . N a m e = A d d i t i o n a l I n f o r m a t i o n 3 D y n a m i c S i g [ 2 4 ] . V a l u e = 3 6 1 e D y n a m i c S i g [ 2 5 ] . N a m e = A d d i t i o n a l I n f o r m a t i o n 4 D y n a m i c S i g [ 2 5 ] . V a l u e = 3 6 1 e 8 7 a e 8 7 c 5 b 1 2 b 8 b 9 a 3 3 4 d 8 2 9 a d d 2 0 U I [ 2 ] = C : \ P r o g r a m F i l e s \ A p a c h e 2 . 4 . 4 1 \ b i n \ h t t p d . e x e U I [ 3 ] = A p a c h e H T T P S e r v e r h a s s t o p p e d w o r k i n g U I [ 4 ] = W i n d o w s c a n c h e c k o n l i n e f o r a s o l u t i o n t o t h e p r o b l e m . U I [ 5 ] = C h e c k o n l i n e f o r a s o l u t i o n ( r e c o m m e n d e d ) U I [ 6 ] = C h e c k f o r a s o l u t i o n l a t e r ( r e c o m m e n d e d ) U I [ 7 ] = C l o s e U I [ 8 ] = A p a c h e H T T P S e r v e r s t o p p e d w o r k i n g a n d w a s c l o s e d U I [ 9 ] = A p r o b l e m c a u s e d t h e a p p l i c a t i o n t o s t o p w o r k i n g c o r r e c t l y . W i n d o w s w i l l n o t i f y y o u i f a s o l u t i o n i s a v a i l a b l e . U I [ 1 0 ] = & |