Home » Text » Text_Wiki_BBCode » Bug #7908
List : Connection reset while parsing
Details
| Submitted | 2006-06-15 16:01 UTC |
|---|---|
| From | laurent at invisibleray dot com |
| Assigned | toggg |
| Status | Bogus |
| Package | Text_Wiki_BBCode |
| PHP Version | 4.4.2 |
| OS | Windows XP SP2 |
| Roadmaps | (Not assigned) |
Comments
[2006-06-15 16:01 UTC] laurent at invisibleray dot com
Description:
------------
I'm using the [list] feature from the Text_Wiki_BBCode and everything works fine on the live server which is a LAMP system but on my localhost it seem that the script enters a long loop and returns a "The connection was reset" error in Firefox : "The connection to the server was reset while the page was loading."
It seem that the list runs through a big loop that gives the script execution time not enough time to be executed fully. Yet the error appears after less than 5 seconds and php.ini is setup with the install default values:
max_execution_time = 30
max_input_time = 60
memory_limit = 8M
Here is my Apache log:
[Thu Jun 15 17:26:19 2006] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Thu Jun 15 17:26:19 2006] [notice] Apache/2.0.54 (Win32) PHP/4.4.2 configured -- resuming normal operations
[Thu Jun 15 17:26:19 2006] [notice] Server built: Apr 16 2005 14:25:31
[Thu Jun 15 17:26:19 2006] [notice] Parent: Created child process 4360
[Thu Jun 15 17:26:19 2006] [notice] Child 4360: Child process is running
[Thu Jun 15 17:26:19 2006] [notice] Child 4360: Acquired the start mutex.
[Thu Jun 15 17:26:19 2006] [notice] Child 4360: Starting 250 worker threads.
Test script:
---------------
Here is the code entered:
[b]Services Provided:[/b]
[list]
[*]Matters pertinent to co-habitation and non-marital relationships, including tax, property and probate matters.
[*]Guidance on how to deal with the breakdown or dissolution of a marriage and other relationships.
[*]Advice on commencing and enabling judicial separation proceedings.
[*]Guidance through the process involved in initiating divorce proceedings following the breakdown of a marriage.
[*]Practical guidance on financial settlements, property disputes, maintenance rights and other financial orders arising from divorce and separation.
[*]Advice on matters relating to children, including custody, contact and residence rights and disputes.[/list]
Note: when I only use three out of the 6 bullets, the list renders ok. If I replace the next 3 bullets with:
[*] list
[*] list
[*] list
the list renders ok and still renders up to 6 [*] list added. On the 7th [*] list added, the error is back. Could be an issue on the length of the text to be rendered??
Expected result:
----------------
The list should be rendered. Works fine online LAMP but doesn't work on my local WAMP.
Actual result:
--------------
"The connection was reset" error in Firefox : "The connection to the server was reset while the page was loading."
[2006-10-30 08:47 UTC] laurent at invisibleray dot com
Hi Bertrand,
Yes this is breaking nicely (and quickly) on Windows machines.
Firefox error (after not even half a second):
=============================================
The connection was reset
The connection to the server was reset while the page was loading.
Apache error log:
=================
[Mon Oct 30 09:38:54 2006] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Mon Oct 30 09:38:57 2006] [notice] Apache/2.0.54 (Win32) PHP/4.4.2 configured -- resuming normal operations
[Mon Oct 30 09:38:57 2006] [notice] Server built: Apr 16 2005 14:25:31
[Mon Oct 30 09:38:57 2006] [notice] Parent: Created child process 2688
[Mon Oct 30 09:38:58 2006] [notice] Child 2688: Child process is running
[Mon Oct 30 09:38:58 2006] [notice] Child 2688: Acquired the start mutex.
[Mon Oct 30 09:38:58 2006] [notice] Child 2688: Starting 250 worker threads.
Localhost setup:
================
Windows XP SP2
Apache/2.0.54 (Win32)
PHP/4.4.2
It is working fine (and very fast) on the server.
Server setup:
=============
Linux 2.4.21-20.ELsmp #1 SMP Wed Aug 18 20:46:40 EDT 2004 i686
Apache 2.0 Filter
PHP Version 4.3.2
And as Firman said, it seems to be working fine on PHP5 but I haven't tested it out.
Anything else I could do to facilitate debugging?
Thank you for your help,
Laurent