Bug #13325 Updated: php_printer.dll causes Access violation in php4ts.dll

From: Date: Sun, 16 Sep 2001 20:59:42 +0000
Subject: Bug #13325 Updated: php_printer.dll causes Access violation in php4ts.dll
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-66063@lists.php.net to get a copy of this message
ID: 13325 User updated by: ryan@jonasson.org Reported By: ryan@jonasson.org Status: Open Bug Type: Reproducible crash Operating System: Windows 2000, SP2, all updates PHP Version: 4.0CVS-2001-09-15 New Comment: Sorry, the file it errors in is NOT printer.c, it is zend_alloc.c Previous Comments: ------------------------------------------------------------------------ [2001-09-15 23:46:40] ryan@jonasson.org Command line version of PHP 4.0 CVS, 9-15. Compiled with Visual Studio 6 SP 5 debug version of bind utils, php.exe, and php_printer.dll. Reproducible with release versions. When I run php.exe, and manually enter <? dl('php_printer.dll'); ?> ^Z enter I get: "The instruction at "0x10113d33" referenced memory at "0x00ebb6c4". The memory could not be "read". OK to term, Cancel to debug. when I hit cancel, I am taken to line 222 of printer.c: CALCULATE_REAL_SIZE_AND_CACHE_INDEX(p->size); The back trace looks like this: _efree(void * 0x00ebb6c8, char * 0x0110e3d8 `string', unsigned int 158, char * 0x00000000, unsigned int 0) line 222 + 3 bytes php_printer_shutdown(zend_printer_globals * 0x00df6540) line 158 + 34 bytes ts_free_thread() line 369 + 34 bytes php_module_shutdown(void * * * 0x00db1e80) line 1011 main(int 1, char * * 0x00db0070) line 787 + 10 bytes mainCRTStartup() line 338 + 17 bytes KERNEL32! 77e97d08() ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13325&edit=1

« previous php.dev (#66063) next »