View Issue Details

IDProjectCategoryView StatusLast Update
0000954XdebugUncategorizedpublic2016-11-28 21:10
Reporternaitsirch Assigned Toderick  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionno change required 
PlatformPHP 5.4.14OSWindowsOS Version7
Product Version2.2.3 
Summary0000954: Crash when accessing object property in another call stack level
Description

I have started PHP's built-in web server. I placed a break point at some code in Netbeans. The debugger has stopped there.
Now when I choose another call stack level (see attached screenshot) and try to view $this -> $config, xdebug crashes suddenly.

Steps To Reproduce

Very Complicated

Additional Information

Used WinDbg to debug and I got this output:

wait with pending attach
Symbol search path is: SRV
"D:\Programme\WinDbg Symbol Path"http://msdl.microsoft.com/download/symbols;C:\Program Files (x86)\PHP\debug
Executable search path is:
ModLoad: 0000000001280000 0000000001292000 C:\Program Files (x86)\PHP\php.exe
ModLoad: 00000000776e0000 0000000077889000 C:\Windows\SYSTEM32\ntdll.dll
ModLoad: 00000000778c0000 0000000077a40000 ntdll.dll
ModLoad: 0000000075010000 000000007504f000 C:\Windows\SYSTEM32\wow64.dll
ModLoad: 0000000074fb0000 000000007500c000 C:\Windows\SYSTEM32\wow64win.dll
ModLoad: 0000000074fa0000 0000000074fa8000 C:\Windows\SYSTEM32\wow64cpu.dll
ModLoad: 00000000773b0000 00000000774c0000 KERNEL32.dll
ModLoad: 0000000075420000 0000000075467000 KERNELBASE.dll
ModLoad: 0000000074580000 0000000074b75000 php5ts.dll
ModLoad: 00000000755e0000 0000000075680000 ADVAPI32.dll
ModLoad: 0000000075680000 000000007572c000 msvcrt.dll
ModLoad: 0000000076100000 0000000076119000 SECHOST.dll
ModLoad: 0000000075a70000 0000000075b60000 RPCRT4.dll
ModLoad: 0000000075310000 0000000075370000 SspiCli.dll
ModLoad: 0000000075300000 000000007530c000 CRYPTBASE.dll
ModLoad: 0000000075370000 00000000753a5000 WS2_32.dll
ModLoad: 0000000075470000 0000000075476000 NSI.dll
ModLoad: 00000000742b0000 000000007433c000 ODBC32.dll
ModLoad: 0000000075970000 0000000075a70000 USER32.dll
ModLoad: 0000000075bc0000 0000000075c50000 GDI32.dll
ModLoad: 0000000075510000 000000007551a000 LPK.dll
ModLoad: 0000000075f00000 0000000075f9d000 USP10.dll
ModLoad: 0000000075fa0000 00000000760fc000 ole32.dll
ModLoad: 0000000074340000 0000000074384000 DNSAPI.dll
ModLoad: 0000000073fe0000 0000000074083000 MSVCR90.dll
ModLoad: 0000000075730000 0000000075790000 IMM32.dll
ModLoad: 0000000075d80000 0000000075e4c000 MSCTF.dll
ModLoad: 00000000743c0000 00000000743f8000 image00000000743c0000 ModLoad: 0000000074f70000 0000000074f9b000 php_xdebug.dll ModLoad: 0000000010000000 0000000010023000 php_apc.dll ModLoad: 0000000074e50000 0000000074e62000 php_bz2.dll ModLoad: 0000000074dd0000 0000000074e44000 php_curl.dll ModLoad: 0000000003160000 000000000325f000 LIBEAY32.dll ModLoad: 0000000074ba0000 0000000074ba7000 WSOCK32.dll ModLoad: 0000000000210000 0000000000247000 SSLEAY32.dll ModLoad: 0000000075b70000 0000000075bb5000 WLDAP32.dll ModLoad: 0000000071d70000 0000000071fb2000 php_fileinfo.dll ModLoad: 0000000058ca0000 0000000058e3a000 php_gd2.dll ModLoad: 0000000074d00000 0000000074d25000 php_intl.dll ModLoad: 000000004a800000 000000004a940000 icuuc49.dll ModLoad: 000000004ad00000 000000004be22000 icudt49.dll ModLoad: 0000000071a40000 0000000071ace000 MSVCP90.dll ModLoad: 0000000003260000 00000000033ff000 icuin49.dll ModLoad: 0000000074bd0000 0000000074cfa000 php_mbstring.dll ModLoad: 0000000074db0000 0000000074dbc000 php_mysql.dll ModLoad: 0000000074bb0000 0000000074bc9000 php_mysqli.dll ModLoad: 0000000074550000 0000000074577000 php_oci8_11g.dll ModLoad: 0000000003400000 00000000034fb000 OCI.dll ModLoad: 0000000073eb0000 0000000073f4b000 MSVCR80.dll ModLoad: 0000000076140000 0000000076145000 PSAPI.DLL ModLoad: 0000000074530000 0000000074545000 php_openssl.dll ModLoad: 0000000074da0000 0000000074daa000 php_pdo_mysql.dll ModLoad: 00000000744c0000 000000007452a000 php_pdo_sqlite.dll ModLoad: 0000000071d30000 0000000071d6f000 php_soap.dll ModLoad: 00000000744b0000 00000000744bd000 php_sockets.dll ModLoad: 00000000741a0000 00000000741bc000 IPHLPAPI.DLL ModLoad: 0000000074190000 0000000074197000 WINNSI.DLL ModLoad: 0000000071c80000 0000000071d2b000 php_sqlite3.dll ModLoad: 0000000074f30000 0000000074f6c000 MSWSOCK.dll ModLoad: 0000000074dc0000 0000000074dc6000 WSHIP6.dll ModLoad: 0000000074d30000 0000000074d35000 WSHTCPIP.dll ModLoad: 00000000710c0000 0000000071140000 UxTheme.dll ModLoad: 0000000071440000 0000000071453000 dwmapi.dll (1508.2510): Break instruction exception - code 80000003 (first chance) ntdll!DbgBreakPoint: 0000000077730530 cc int 3
0:003> g
(1508.12e0): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
ERROR: Symbol file could not be found. Defaulted to export symbols for php_xdebug.dll -
php_xdebug!xdebug_init_oparray+0x271e:
74f77a9e 80392a cmp byte ptr [ecx],2Ah ds:002b:00000000=??
*** ERROR: Symbol file could not be found. Defaulted to export symbols for php5ts.dll -

The backtrace looks like this:
WARNING: Stack unwind information not available. Following frames may be wrong.
php_xdebug!xdebug_init_oparray+0x271e
php_xdebug!xdebug_init_oparray+0x2c16
php5ts!zend_hash_exists+0x3f3
php_xdebug!xdebug_init_oparray+0x3340
php_xdebug!xdebug_init_oparray+0x84ff
php_xdebug!xdebug_init_oparray+0x8543
php_xdebug!xdebug_init_oparray+0xb13e

PHP Version:
PHP 5.4.14 (cli) (built: Apr 10 2013 21:20:02)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans

TagsNo tags attached.
Attached Files
debugging exception.png (207,735 bytes)   
debugging exception.png (207,735 bytes)   
debugging exception (edited).png (256,577 bytes)   
debugging exception (edited).png (256,577 bytes)   
Operating SystemWindows 7
PHP Version5.4.10-5.4.14

Activities

naitsirch

2013-06-24 13:08

reporter   ~0002517

Sorry, in the first uploaded screenshot I forgot to mark the interesting parts :-(

derick

2016-11-28 19:29

administrator   ~0003810

Is this still a problem for you?

naitsirch

2016-11-28 20:04

reporter   ~0003812

I don't know when it occured the last time, so maybe it's already fixed ;-)

derick

2016-11-28 21:10

administrator   ~0003822

Okay - thanks for letting me know. I'll close it then. Please reopen if you run into this (same) problem again.

Issue History

Date Modified Username Field Change
2013-06-24 11:47 naitsirch New Issue
2013-06-24 11:47 naitsirch File Added: debugging exception.png
2013-06-24 13:07 naitsirch File Added: debugging exception (edited).png
2013-06-24 13:08 naitsirch Note Added: 0002517
2016-07-31 12:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 12:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)
2016-11-28 19:29 derick Note Added: 0003810
2016-11-28 19:29 derick Assigned To => derick
2016-11-28 19:29 derick Status new => feedback
2016-11-28 20:04 naitsirch Note Added: 0003812
2016-11-28 20:04 naitsirch Status feedback => assigned
2016-11-28 21:10 derick Note Added: 0003822
2016-11-28 21:10 derick Status assigned => resolved
2016-11-28 21:10 derick Resolution open => no change required
2020-03-12 16:35 derick Category Usage problems (Wrong Results) => Variable Display
2020-03-12 16:38 derick Category Variable Display => Uncategorized