#44402 [Opn->Bgs]: Declare crashes Apache
| From: | jani@php.net | Date: | Tue, 11 Mar 2008 21:34:54 +0000 |
| Subject: | #44402 [Opn->Bgs]: Declare crashes Apache | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-123184@lists.php.net to get a copy of this message | ||
ID: 44402
Updated by: jani@php.net
Reported By: kalle@php.net
-Status: Open
+Status: Bogus
Bug Type: Reproducible crash
Operating System: Windows Vista
PHP Version: 5.2.5
New Comment:
Please check the manual: http://www.php.net/register_tick_function
(and especially the note about threaded servers..)
Not bug.
Previous Comments:
------------------------------------------------------------------------
[2008-03-11 15:31:49] kalle@php.net
When I run the debug tool I get this if its what you mean:
Function Arg 1 Arg 2 Arg 3 Source
0x025f7816 00000001 018a6fa2 06edf990
php5ts!php_remove_tick_function+8f 06edf990 01d1fb74
025e6c80
php5ts!zend_llist_apply_with_argument+22 025f85ec 018c1620
01d1fb74
php5ts!php_remove_tick_function+7b 06edbd00 00000000
06edbb30
php5ts!zend_llist_del_element+94 06edbb30 025e6c80 00000000
php5ts!zend_execute_scripts+107 00000000 00000000 00000000
Heres a full screenshot of the debug report:
http://www.kalleload.com/uploads/kooaogvfial.jpg
I had to attach it to httpd.exe as I wasn't able to reproduce this in
cli mode.
------------------------------------------------------------------------
[2008-03-11 12:08:25] felipe@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2008-03-11 00:12:02] kalle@php.net
Changed category to Preproducible Crash
------------------------------------------------------------------------
[2008-03-11 00:09:32] kalle@php.net
Description:
------------
Using the declare construct causes Apache to crash on Windows Vista,
aslong the "declare(ticks=n)" is present anywhere in the code it seems
to crash Apache.
I havn't tried this under IIS though and any other operating systems.
Reproduce code:
---------------
<?php
declare(ticks=1);
?>
Or even the example on the documentation page
Expected result:
----------------
No crash
Actual result:
--------------
Windows promts me saying Apache has crashed with this message:
Problem signature:
Problem type: APPCRASH
Program name: httpd.exe
Program version: 2.2.6.0
Timestamp for program: 46deb625
Error module name: StackHash_d351
Error module version: 0.0.0.0
Timestamp on error module: 00000000
Exception code: c0000005
Exception Shifting: 666f7270
OS version: 6.0.6000.2.0.0.256.1
Country standard id: 1030
More information 1: d351
More information 2: e4c68b1163c602091f1022ca6cd48c47
More information 3: a7a4
More information 4: e8322cccddd45a35753f145051c9d41d
This is a translation of the box I retrive from Windows when executing
any of the above examples.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44402&edit=1