ID: 29040 Updated by: [EMAIL PROTECTED] Reported By: php at koteroff dot ru -Status: Feedback +Status: No Feedback Bug Type: Reproducible crash Operating System: Windows XP PHP Version: 5.0.0RC3 New Comment:
No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2004-07-07 09:14:49] [EMAIL PROTECTED] This is all pretty useles as there is no way we can try to even attempt looking into this now. If you have the possibility, run this on linux and generate a backtrace. ------------------------------------------------------------------------ [2004-07-07 03:03:18] php at koteroff dot ru Description: ------------ I have spent about 3 hours (!) trying to localize this crash and write simple script to reproduce it - but vainly. :-( So, I write something that I have. The following code: function reloadPlugins() { #$s =& $this->smarty; $this->smarty->plugins_dir1 = array(1,2,3); foreach ($this->smarty->plugins_dir1 as $dir) {} debug_backtrace(); return; // .. } reproducibly crashes PHP (General Protection Fault). * If I simply uncomment the first line (no more changes!), crash dissapears, all works. * When I use $s = $this->smarty; foreach ($s->plugins_dir1 ...) it also works. * When I substitute Smarty with my own stub class (empty), it also works. * When I completely delete empty forech, all work fine. * And, of course, if I delete debug_backtrace() call, it works. * PHP5 RC2 also works. I don't know what is it, and I don't know how to catch it. But it exists. Sorry. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29040&edit=1