#26418 [Opn]: loading class files crashes
ID: 26418
Updated by: andrew@php.net
Reported By: danielc at analysisandsolutions dot com
Status: Open
Bug Type: Reproducible crash
Operating System: Windows 2000
PHP Version: 5CVS-2003-11-26 (dev)
New Comment:
I too have also experienced this segfault.
php4ts.dll is the culprit, but i have yet to delve farther into
debugging it.
~ Andrew
Previous Comments:
------------------------------------------------------------------------
[2003-11-26 02:24:47] danielc at analysisandsolutions dot com
Description:
------------
Using the latest snapshot, php5-win32-200311260330.zip, when a script
loads up a bunch of class files, a Dr Watson error dialog appears
saying PHP has crashed. Note, I'm just including the files, not
creating an object via "new."
I've tried to pin this down to some particular lines of code, but have
been unable to find something in particular.
While certain combinations of my class files and PEAR::DB create the
crash, others don't.
This code worked fine until now, so I don't think it's the content. In
addition, I've tweaked PEAR.php and DB.php so methods that return by
reference are always returning variables.
Below is an excerpt from a dump file as examined by WinDbg:
(5e4.600): Access violation - code c0000005 (!!! second chance !!!)
eax=00866dfc ebx=00d9ad80 ecx=6e692e67 edx=00000063 esi=00d9c5e0
edi=00d9c658
eip=100dcf91 esp=0012fae8 ebp=78001db0 iopl=0 nv up ei pl nz na
pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000
efl=00000202
*** WARNING: Unable to verify checksum for php4ts.dll
*** ERROR: Symbol file could not be found. Defaulted to export symbols
for php4ts.dll -
php4ts!zend_ts_hash_rehash+481:
100dcf91 89510c mov [ecx+0xc],edx
ds:0023:6e692e73=????????
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26418&edit=1
Thread (8 messages)