PHP 4.0 Bug #4508: apache segfaults, memory leaks in sybase.c
| From: | fuf at fuf dot sh dot cvut dot cz | Date: | Thu, 18 May 2000 18:14:43 +0000 |
| Subject: | PHP 4.0 Bug #4508: apache segfaults, memory leaks in sybase.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18925@lists.php.net to get a copy of this message | ||
From: fuf@fuf.sh.cvut.cz
Operating system: linux-2.2.14pre16
PHP version: 4.0 Release Candidate 2
PHP Bug Type: Sybase (dblib) related
Bug description: apache segfaults, memory leaks in sybase.c
hello everyone,
this is what i get in error_log when php4 is compiled into apache:
[Thu May 18 19:53:00 2000] Script: '/web/genesis/luza/zobraz_clanek.php3'
---------------------------------------
zend_opcode.c(161) : Block 0x0863EB20 status:
zend_variables.c(62) : Actual location (location was relayed)
Beginning: OK (allocated on ./zend-scanner.l:1250, 21 bytes)
End: Overflown (magic=0x2A8F0101 instead of 0x2A8FCC84)
At least 4 bytes overflown
---------------------------------------
sybase.c(939) : Freeing 0x085F826C (411 bytes), script=/web/genesis/luza/zobraz_rubriku.php3
zend_variables.c(126) : Actual location (location was relayed)
Last leak repeated 278 times
sybase.c(934) : Freeing 0x085C10E4 (12 bytes), script=/web/genesis/luza/zobraz_rubriku.php3
Last leak repeated 286 times
zend_hash.c(185) : Freeing 0x0860BA94 (20 bytes), script=/web/genesis/luza/zobraz_rubriku.php3
zend_hash.c(391) : Freeing 0x085CB16C (35 bytes), script=/web/genesis/luza/zobraz_rubriku.php3
[Thu May 18 19:53:01 2000] [notice] child pid 7781 exit signal Segmentation faul
t (11)
etc etc etc.
it outputs similar errors for other scripts as well. they are all part of our own publishing
platform based on php and sybase. with php3 the scripts are running ok if that's of any
relevance here.
i can supply you with more detailed information if anyone's interested.
thanks for your time,
Michal Vitecek