From:             
Operating system: Gentoo Base System release 1.12.
PHP version:      5.2.14
Package:          Unknown/Other Function
Bug Type:         Bug
Bug description:Invalid pointers

Description:
------------
I recently recompiled PHP and added --enable-debug, to "fix" #51319. Now,
I'm 

receiving this in my error logs, for every page loaded.



---------------------------------------

[Thu Oct 21 12:22:35 2010]  Script:  '/var/www/pmcprod/htdocs/index.php'

---------------------------------------

/var/tmp/portage/dev-lang/php-5.2.14/work/sapis-

build/apache2/Zend/zend_object_handlers.c(417) : Block 0x00d994c0 status:

/var/tmp/portage/dev-lang/php-5.2.14/work/sapis-

build/apache2/Zend/zend_execute.h(70) : Actual location (location was
relayed)

Invalid pointer: ((thread_id=0x00D99E20) != (expected=0xDB70E710))

Invalid pointer: ((size=0x00d9a080) != (next.prev=0x7f7dead39aff))

Invalid pointer: ((prev=0x00000000) != (prev.size=0x00d9a080))



index.php contains:



<?php

// error_reporting(E_ALL);

include_once "../includes/config.inc";

include_once GLOBAL_INCLUDE_DIR . "/htmlfunc.inc";

generate_page();

?>



PHP is compiled on Gentoo with the following USE flags:

USE="apache2 berkdb bzip2 cli crypt gdbm iconv ncurses nls pcre pic
readline 

reflection session snmp spl ssl unicode zlib cgi ctype curl exif filter gd
hash 

inifile json mysql pdo simplexml spell threads tokenizer truetype xml
xmlreader"

Expected result:
----------------
No messages in the error log.

Actual result:
--------------
Messages in the error log.

-- 
Edit bug report at http://bugs.php.net/bug.php?id=53129&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=53129&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=53129&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=53129&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=53129&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=53129&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=53129&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=53129&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=53129&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=53129&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=53129&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=53129&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=53129&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=53129&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=53129&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=53129&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=53129&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=53129&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=53129&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=53129&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=53129&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=53129&r=mysqlcfg

Reply via email to