[php-maint] Bug#535148: heap overflows after upgrade to 5.2.10

David Sommerseth dazo at users.sourceforge.net
Wed Jul 1 11:28:43 UTC 2009


I am experiencing the same issues on a Gentoo box as well.

To reproduce:
<?php
@session_start();
?>

a similar issue comes, but not as frequently if using:

<?php
if (!(session_id()) )
         session_start();
?>

This causes a plain segfault in the logs:
[Wed Jul 01 11:24:48 2009] [notice] child pid 22838 exit signal 
Segmentation fault (11)


I configured Apache to dump core dumps ... but the backtrace didn't give 
too much:

(gdb) bt
#0  0x4e0960f7 in _zend_hash_add_or_update () from 
/usr/lib/apache2/modules/libphp5.so
#1  0x00000000 in ?? ()


Hope this helps somewhat ... I have not found this bug reported any other 
places at them moment.


kind regards,

David Sommerseth





More information about the pkg-php-maint mailing list