#26418 [NEW]: loading class files crashes
From: danielc at analysisandsolutions dot com
Operating system: Windows 2000
PHP version: 5CVS-2003-11-26 (dev)
PHP Bug Type: Reproducible crash
Bug description: loading class files crashes
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 bug report at http://bugs.php.net/?id=26418&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26418&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26418&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26418&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26418&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26418&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=26418&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26418&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26418&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26418&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26418&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26418&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26418&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26418&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26418&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26418&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26418&r=float
Thread (8 messages)
- danielc at analysisandsolutions dot com