#15267 [Com]: "declare" makes apacke crashes under Windows.

From: Date: Tue, 03 Sep 2002 16:24:32 +0000
Subject: #15267 [Com]: "declare" makes apacke crashes under Windows.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18309@lists.php.net to get a copy of this message
 ID:               15267
 Comment by:       kevin@hatry.com
 Reported By:      ferguson@becon.org
 Status:           Verified
 Bug Type:         Reproducible crash
 Operating System: Windows 2000
 PHP Version:      4.2.3
 New Comment:

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 ...


Previous Comments:
------------------------------------------------------------------------

[2002-08-28 15:09:53] ferguson@knightsweb.net

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] edink@php.net

The bug is still there. And 4.2.1 is hardly too old.

------------------------------------------------------------------------

[2002-08-23 20:11:28] iliaa@php.net

Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.



------------------------------------------------------------------------

[2002-05-28 12:01:39] edink@php.net

Confirmed bug is alive and well:

Apache 1.3.24
PHP 4.2.1

------------------------------------------------------------------------

[2002-01-29 20:46:43] yohgaki@php.net

It seems windows have this problem while linux does not.
reopenned.

Apache 1.3.22
PHP 4.1.1/Apache SAPI

------------------------------------------------------------------------

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



Thread (1 message)

  • kevin at hatry dot com
  • Unknown Message
    • kevin at hatry dot com
« previous php.bugs (#18309) next »