ID: 16820 User updated by: wmeler at wp-sa dot pl Reported By: wmeler at wp-sa dot pl -Status: Feedback +Status: Open Bug Type: Scripting Engine problem Operating System: linux PHP Version: 4.3.0-dev New Comment:
I took few days off. You know - holidays. My config.nice : './configure' \ '--disable-all' \ '--with-apxs2=/usr/local/apache2/bin/apxs' \ '--with-config-file-path=/usr/local/apache2/conf/' \ '--enable-debug' \ "$@" my script: <? function shutdown() { echo strlen($GLOBALS['a']); } set_time_limit(1); register_shutdown_function('shutdown'); while (true) $a.='a'; I use apache 2.0.47 with config.nice: "./configure" \ "--enable-so" \ "--with-mpm=worker" \ "$@" Now I have SIGSEGVs instead of hangs :) - probably longjump hit in the middle of emalloc/erealloc and memory cache is corrupted. I used my own module before, witch uses shared variables and locks - thats why it hanged. Now - without my module it just crashes :). Previous Comments: ------------------------------------------------------------------------ [2003-07-21 01:30:30] [EMAIL PROTECTED] Still waiting for the configure line.. ------------------------------------------------------------------------ [2003-07-16 01:08:36] [EMAIL PROTECTED] Could you also tell us what configure line you have used? (so we can try to reproduce this too before applying any patches..) ------------------------------------------------------------------------ [2003-07-11 03:15:05] wmeler at wp-sa dot pl that funny restrictions ... try this: http://strony.wp.pl/wp/wmeler/execution-timeout.patch.html ------------------------------------------------------------------------ [2003-07-11 02:40:47] wmeler at wp-sa dot pl script like: <? set_time_limit(1); while (TRUE) { $a.='a'; } ?> should hang server in ZTS mode on linux after few reloads. You can download my patch from http://strony.wp.pl/wp/wmeler/execution-timeout.patch It is for erlier version, but it applies with offsets. ------------------------------------------------------------------------ [2003-07-10 19:54:27] [EMAIL PROTECTED] Can you please provide either a testcase for this so we can actually reproduce this or a patch to fix it? ------------------------------------------------------------------------ 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/16820 -- Edit this bug report at http://bugs.php.net/?id=16820&edit=1