ID: 34712 Updated by: [EMAIL PROTECTED] Reported By: jason at jasonjustman dot com -Status: Assigned +Status: Closed Bug Type: Reproducible crash Operating System: * PHP Version: 5CVS-2005-10-03 (snap) Assigned To: dmitry New Comment:
Fixed in CVS HEAD and PHP_5_1 together with bug #34767 Previous Comments: ------------------------------------------------------------------------ [2005-10-18 22:16:02] jason at jasonjustman dot com still present in: PHP 5.1.0RC3 (cli) (built: Oct 18 2005 08:28:41) Copyright (c) 1997-2005 The PHP Group Zend Engine v2.1.0-dev, Copyright (c) 1998-2005 Zend Technologies ------------------------------------------------------------------------ [2005-10-04 09:18:27] [EMAIL PROTECTED] Dmitry, with the provided script I can reproduce this. ------------------------------------------------------------------------ [2005-10-04 08:44:10] jason at jasonjustman dot com http://www.jasonjustman.com/crash.phps line 114 is what causes the segfault: $this->_transform_actions = new base_object_meta_transform_actions($this); its not clean nor tight, but an example of the pattern that causes it to crash ------------------------------------------------------------------------ [2005-10-03 22:23:13] [EMAIL PROTECTED] We really need a reproducing script. Please try come up with one. ------------------------------------------------------------------------ [2005-10-03 18:02:29] jason at jasonjustman dot com Like i said before, i can't track down the exact sequence (stacktrace of the .php script code shows its in the 12-14th depth), and for full debug - only after parsing about 15kloc of code. When adding in debugging php source code in the new call ( $this->_helper = new helper($this);), it prevents the crash but in one case a print_r($this) in the aggrevator:: scope resulted in an empty object. This testcase is more pseudocode of the segfault pattern than actual instance. If you'd like I can privately attach the application source - but again, its not an application problem - as turning off ze1_compat doesn't cause a segfault , but is required for implicit clone. This happens in the same spot for the 5.0.5, 5.0.6-dev and 5.0.6-latest - even after building in seperate directories with no caching enabled. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/34712 -- Edit this bug report at http://bugs.php.net/?id=34712&edit=1
