Debug Error on Win32
| From: | Joey | Date: | Sat, 25 Sep 1999 21:53:33 +0000 |
| Subject: | Debug Error on Win32 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4923@lists.php.net to get a copy of this message | ||
I am still getting an error in my win32 build...
Debug Assertion Failed!
dbgheap.c 1011
Expression: _CrtIsValidHeapPoint(pUserData)
I will try building one w/o debugging later today, or maybe tomrrow.
Here is a comment immediately preceeding the line that crashes:
/*
* If this ASSERT fails, a bad pointer has been passed in. It may be
* totally bogus, or it may have been allocated from another heap.
* The pointer MUST come from the 'local' heap.
*/
And the failed line is:
_ASSERTE(_CrtIsValidHeapPointer(pUserData));
And the out put of "Call Stack" (I am thinking this is the equiv. of a
gdb bt under Unix?)
_free_dbg_lk(void * 0x00770010, int 1) line 1011 + 48 bytes
_free_dbg(void * 0x00770010, int 1) line 970 + 13 bytes
free(void * 0x00770010) line 926 + 11 bytes
pvalue_config_destructor(_zval_struct * 0x00e93400) line 133 + 14 bytes
zend_hash_destroy(hashtable * 0x1011ad20 configuration_hash) line 740 + 15
bytes
php3_shutdown_config() line 275 + 10 bytes
php3_config_ini_shutdown() line 773
php_module_shutdown() line 923
main(int 1, char * * 0x00e90390) line 497
mainCRTStartup() line 338 + 17 bytes
KERNEL32! bff8b560()
KERNEL32! bff8b412()
KERNEL32! bff89dd5()
Also, php -[f|q] C:\afile.php
still gives an error, but I can:
C:\php4>php
<?
include("C:\afile.php");
?>
Are the commandline switches different for php4 on Win32? Or is there
still something wrong with my build?
--Joey Smith