ID: 46646 Updated by: [email protected] Reported By: [email protected] -Status: Assigned +Status: Closed Bug Type: SPL related PHP Version: 6CVS-2008-11-22 (CVS) Assigned To: colder New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2008-11-22 17:51:26] [email protected] Another detail: var_dump(unserialize(serialize(new splfileinfo(__FILE__)))); object(SplFileInfo)#1 (1) { [u"pathName":u"SplFileInfo":private]=> NULL } [Sat Nov 22 15:43:48 2008] Script: '../bug.php' /home/felipe/dev/php6/ext/spl/spl_directory.c(612) : Freeing 0x09BA8F78 (1 bytes), script=../bug.php === Total 1 memory leaks detected === ------------------------------------------------------------------------ [2008-11-22 17:35:17] [email protected] Description: ------------ splfileinfo serialization/unserialization segfaults in HEAD Reproduce code: --------------- print (string) unserialize(serialize(new splfileinfo(__FILE__))); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46646&edit=1
