[Bug 776642] Re: segfaults from 5.2.4-2ubuntu5.15

Barry Jaspan 776642 at bugs.launchpad.net
Tue May 3 20:33:07 UTC 2011


valgrind confirms the error and provides a stack trace:

# valgrind php test.php
... lots of uninitialized memory references reported here ...
18
20
32
==29381== 
==29381== Invalid read of size 1
==29381==    at 0x82E5B81: zend_objects_store_del_ref_by_handle (in /usr/bin/php5)
==29381==    by 0x82E5D57: zend_objects_store_del_ref (in /usr/bin/php5)
==29381==    by 0x82C6120: _zval_dtor_func (in /usr/bin/php5)
==29381==    by 0x82B8FC7: _zval_ptr_dtor (in /usr/bin/php5)
==29381==    by 0x82D1943: zend_hash_clean (in /usr/bin/php5)
==29381==    by 0x82F69FE: (within /usr/bin/php5)
==29381==    by 0x82E7957: execute (in /usr/bin/php5)
==29381==    by 0x82C6522: zend_execute_scripts (in /usr/bin/php5)
==29381==    by 0x827C20F: php_execute_script (in /usr/bin/php5)
==29381==    by 0x8358D19: main (in /usr/bin/php5)
==29381==  Address 0x739195d9 is not stack'd, malloc'd or (recently) free'd
==29381== 
==29381== Process terminating with default action of signal 11 (SIGSEGV)
==29381==  Access not within mapped region at address 0x739195D9
==29381==    at 0x82E5B81: zend_objects_store_del_ref_by_handle (in /usr/bin/php5)
==29381==    by 0x82E5D57: zend_objects_store_del_ref (in /usr/bin/php5)
==29381==    by 0x82C6120: _zval_dtor_func (in /usr/bin/php5)
==29381==    by 0x82B8FC7: _zval_ptr_dtor (in /usr/bin/php5)
==29381==    by 0x82D1943: zend_hash_clean (in /usr/bin/php5)
==29381==    by 0x82F69FE: (within /usr/bin/php5)
==29381==    by 0x82E7957: execute (in /usr/bin/php5)
==29381==    by 0x82C6522: zend_execute_scripts (in /usr/bin/php5)
==29381==    by 0x827C20F: php_execute_script (in /usr/bin/php5)
==29381==    by 0x8358D19: main (in /usr/bin/php5)
==29381==

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/776642

Title:
  segfaults from  5.2.4-2ubuntu5.15



More information about the Ubuntu-server-bugs mailing list