PHP 4.0 Bug #6057: Memory Access Error
| From: | carlosg at unete dot com dot bo | Date: | Thu, 10 Aug 2000 05:23:17 +0000 |
| Subject: | PHP 4.0 Bug #6057: Memory Access Error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28294@lists.php.net to get a copy of this message | ||
From: carlosg@unete.com.bo
Operating system: Win 2000
PHP version: 4.0.1pl2
PHP Bug Type: Reproduceable crash
Bug description: Memory Access Error
PHP generates an error when running some scripts.... It displays two kind of error messages... The
first one is related to the imposibility of accessing the task list...
when trying to move thru the records on a recordset result
and the second one can't be traced at all... it displays an error message telling:
'The instrucion at "0x1007ed75" referenced memory at
"0x00003532". The memory could not be "read". Click on
OK to terminate the program'
I'm trying to debug the error using Visual C++ 6.0 debuger
but the DLLs were compiled without the debug option enabled
on Visual C++... So i only can see assembler code...
It seems to be related to some unitialized pointers and/or
to pointers that lost their real values during the parsing
of the script, or when trying to access some session data...
When trying to compile the PHP projects to debug
them, "especially" the Zend Project and the php4ts.dll it
asks for some extra files, exactly "arpa/inet.h".
Where can I find this files?... And what special cares I
must have when compiling PHP 4?... I've noted that to
generate the code for zend_scanner.cpp you are using Flex...
I'm using a DOS version of Flex 2.5.4 that is included
inside DJGPP... Is this a problem?...
Waiting for instructions...
Carlos Gili