Bug #77427 [Dup]: Garbage collector segmentation fault with many circular references

From: Date: Tue, 08 Jan 2019 10:56:10 +0000
Subject: Bug #77427 [Dup]: Garbage collector segmentation fault with many circular references
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-218850@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77427&edit=1 ID: 77427 User updated by: drealecs at gmail dot com Reported by: drealecs at gmail dot com Summary: Garbage collector segmentation fault with many circular references Status: Duplicate Type: Bug Package: *General Issues -PHP Version: 7.3.0 +PHP Version: All versions Block user comment: N Private report: N New Comment: I didn't mentioned correctly, the error is present since long time ago if you set the right number of objects: Doubling it fails for all version: https://3v4l.org/EJCaI I'm not sure that it is the same problem... The script I provided fails very fast, even if it is more complex. Previous Comments: ------------------------------------------------------------------------ [2019-01-08 09:25:36] nikic@php.net Duplicate of bug #77345, GC recursion causes stackoverflow. Only happens since 7.3 as GC can now run on much more objects. ------------------------------------------------------------------------ [2019-01-08 01:38:30] drealecs at gmail dot com Description: ------------ It seems that when there are many objects in memory with circular references and garbage collector cycle is triggered, it will segfault. Test script: --------------- https://3v4l.org/3PniX ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=77427&edit=1

« previous php.bugs (#218850) next »