#15267 [Com]: "declare" makes apacke crashes under Windows.
ID: 15267 Comment by: neophitostheodorou at hotmail dot com Reported By: ferguson at becon dot org Status: Closed Bug Type: Scripting Engine problem Operating System: Windows 2000 PHP Version: 4.2.3 New Comment: The same problem occures when using php 5.0.0b3 with apache server 2.0.48 under Windows XP. It seems that the problem is caused by the declare statement. Propably it's not a problem of the documentation example because I used a similar example found in a book and the same error occured. Previous Comments: [2002-11-18 13:47:40] junkie at overdoos dot org having the same problem.. tried it on combinations of win2k with apache 1.3.22 and php as sapi with versions 4.2.2 , 4.2.3 and 4.4.0-dev and tried it with apache 2.0.43 with 4.4.0-dev too crashes an apache thread (probably) with a memory fault .. couldnt read from address 0x0etc . server does keep running though. when commenting //register_tick_function() it works fine. even leaving declare(ticks=1) {..} in tact. Vincent. [2002-11-13 01:04:04] fredchou at free dot fr I installed PHP Version 4.2.4-dev. This bug has not been fixed yet ! I should perhaps update my Apache version ? (1.3.24) [2002-10-25 04:29:16] fd at sds dot com ghhgjghjgh [2002-09-26 19:31:55] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, 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/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. oops, forgot to close. [2002-09-26 19:21:56] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, 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/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. 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/15267 -- Edit this bug report at http://bugs.php.net/?id=15267&edit=1
#15267 [Com]: "declare" makes apacke crashes under Windows.
ID: 15267 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Scripting Engine problem Operating System: Windows 2000 PHP Version: 4.2.3 New Comment: having the same problem.. tried it on combinations of win2k with apache 1.3.22 and php as sapi with versions 4.2.2 , 4.2.3 and 4.4.0-dev and tried it with apache 2.0.43 with 4.4.0-dev too crashes an apache thread (probably) with a memory fault .. couldnt read from address 0x0etc . server does keep running though. when commenting //register_tick_function() it works fine. even leaving declare(ticks=1) {..} in tact. Vincent. Previous Comments: [2002-11-13 01:04:04] [EMAIL PROTECTED] I installed PHP Version 4.2.4-dev. This bug has not been fixed yet ! I should perhaps update my Apache version ? (1.3.24) [2002-10-25 04:29:16] [EMAIL PROTECTED] ghhgjghjgh [2002-09-26 19:31:55] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, 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/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. oops, forgot to close. [2002-09-26 19:21:56] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, 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/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. [2002-09-03 12:24:31] [EMAIL PROTECTED] same bug with php 4.2.2 on Windows XP Professionnal running apache and php as a module : the code in the php documentation crashes apache unless i comment either the register_tick_function line or the whole code in the declare statement. it does the same with a simpler code (echo $x) in the declare statement as well. Commenting only the code in the function 'profile' doesn't stop apache from crashing though. it's a pity because i wanted to try it looks nice to use ... 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/15267 -- Edit this bug report at http://bugs.php.net/?id=15267&edit=1
#15267 [Com]: "declare" makes apacke crashes under Windows.
ID: 15267 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Scripting Engine problem Operating System: Windows 2000 PHP Version: 4.2.3 New Comment: I installed PHP Version 4.2.4-dev. This bug has not been fixed yet ! I should perhaps update my Apache version ? (1.3.24) Previous Comments: [2002-10-25 04:29:16] [EMAIL PROTECTED] ghhgjghjgh [2002-09-26 19:31:55] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, 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/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. oops, forgot to close. [2002-09-26 19:21:56] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, 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/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. [2002-09-03 12:24:31] [EMAIL PROTECTED] same bug with php 4.2.2 on Windows XP Professionnal running apache and php as a module : the code in the php documentation crashes apache unless i comment either the register_tick_function line or the whole code in the declare statement. it does the same with a simpler code (echo $x) in the declare statement as well. Commenting only the code in the function 'profile' doesn't stop apache from crashing though. it's a pity because i wanted to try it looks nice to use ... [2002-08-28 15:09:53] [EMAIL PROTECTED] b/c i dont know how to use ticks i am not exactly sure what the problem is but i think i have narrowed it down to something with declare or register_tick_function. when one of them is commented out, it does not crash but when they are both there, it does crash. Something to keep in mind is when the contents of registered tick function or the contents of declare are completely removed, the crash does not occur. with declare even the brackets cant be there. Knight 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/15267 -- Edit this bug report at http://bugs.php.net/?id=15267&edit=1
#15267 [Com]: "declare" makes apacke crashes under Windows.
ID: 15267 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Scripting Engine problem Operating System: Windows 2000 PHP Version: 4.2.3 New Comment: ghhgjghjgh Previous Comments: [2002-09-26 19:31:55] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, 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/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. oops, forgot to close. [2002-09-26 19:21:56] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, 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/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. [2002-09-03 12:24:31] [EMAIL PROTECTED] same bug with php 4.2.2 on Windows XP Professionnal running apache and php as a module : the code in the php documentation crashes apache unless i comment either the register_tick_function line or the whole code in the declare statement. it does the same with a simpler code (echo $x) in the declare statement as well. Commenting only the code in the function 'profile' doesn't stop apache from crashing though. it's a pity because i wanted to try it looks nice to use ... [2002-08-28 15:09:53] [EMAIL PROTECTED] b/c i dont know how to use ticks i am not exactly sure what the problem is but i think i have narrowed it down to something with declare or register_tick_function. when one of them is commented out, it does not crash but when they are both there, it does crash. Something to keep in mind is when the contents of registered tick function or the contents of declare are completely removed, the crash does not occur. with declare even the brackets cant be there. Knight [2002-08-25 18:14:27] [EMAIL PROTECTED] The bug is still there. And 4.2.1 is hardly too old. 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/15267 -- Edit this bug report at http://bugs.php.net/?id=15267&edit=1