ez3.1b1 causing stack overflow on Win2K Apache

Author Message

Tristan Koen

Monday 02 June 2003 8:21:52 am

Hi all,

I have just upgraded from ez3.0 to ez 3.1b1 on a Windows 2000 SP3 machine. The ez3.0 installation worked fine. I installed ez3.1 and ran through all the setup/config screens without a problem. Right at the end though, when I clicked the 'Done' button, I got stack overflow on Apache.exe.
Any further attempts to connect to ez3.1 result in the same problem.

Initially, I was running PHP 4.3.1 and Apache 2.0.45.
I didn't install any of the demo data.

I then tried upgrading to PHP 4.3.2 and Apache 2.0.46.
The problem stays the same.

Anyone else having this problem or have a few ideas?

Tristan Koen

Tuesday 03 June 2003 12:08:35 am

It works fine using apache 1.3.x

Clearly the PHP/Apache2 support on Win2k/XP still needs a little tweaking. The funny thing is that everything else seems to work OK. Its just ez3.1b1.

ezTeam, for interests sake, are there any new features of PHP that you are using in 3.1 that may be responsible?

Bård Farstad

Tuesday 03 June 2003 12:21:43 am

There should not be any new PHP functions used in eZ publish 3.1.

Could you check the memory limit, mabye it was a bit lower than needed on apache2?

We've run eZ publish successfully on apache2, however I would not recommend using it in a production environment as PHP is not stable under apache 2 - yet.

--bård

Documentation: http://ez.no/doc

Tristan Koen

Tuesday 03 June 2003 2:40:13 am

I tried raising the memory limit to 20M, but it didn't make any difference. I am going to try installing the same config on a different machine later just to confirm that it really is a PHP/apache problem and not some idiosyncracy on one particular machine. Will keep you posted.

Constantine Levoshko

Saturday 14 June 2003 5:26:34 am

I've got almost the same problem.

Installed eZ 3.0-2 at WinXP SP1, Apache 1.3.27, PHP 4.1.1, MySQL 3.23.53.
It was configured as Virtual Host 127.0.0.1:9000.
Setup was passed succesfuly. After clicking 'Done' my Apache hangs because of PHP module probelms.

Then I've tried to put eZ to 127.0.0.1. Still hangs.
Then I've got eZ 3.1.0-2. The same problems.
After this I've got PHP 4.3.2. The same.
Installed Apache 2.0.46. The same.
Put memory_limit 40M in PHP. The same.

When it hangs it gives me the following info (on Apache 1.3.27 was simmiliar message):
Apache HTTP Server has encountered a pronelm and needs to close.
More info:
szAppName : Apache.exe szAppVer : 2.0.46.0 szModName : php4ts.dll szModVer : 4.3.2.2 offset : 000ef0f7

What can it be?..

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:17:00
Script start
Timing: Jan 18 2025 19:17:00
Module start 'layout'
Timing: Jan 18 2025 19:17:00
Module start 'content'
Timing: Jan 18 2025 19:17:01
Module end 'content'
Timing: Jan 18 2025 19:17:01
Script end

Main resources:

Total runtime0.5382 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 588.1641152.6563
Module start 'layout' 0.00640.0038 740.820339.5078
Module start 'content' 0.01020.5264 780.3281595.5859
Module end 'content' 0.53660.0015 1,375.914112.1094
Script end 0.5382  1,388.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.7109160.0002
Check MTime0.00170.3154160.0001
Mysql Total
Database connection0.00090.167010.0009
Mysqli_queries0.477588.7162650.0073
Looping result0.00070.1370630.0000
Template Total0.492091.420.2460
Template load0.00280.526420.0014
Template processing0.489190.878620.2446
Template load and register function0.00020.036410.0002
states
state_id_array0.00130.249210.0013
state_identifier_array0.00190.359720.0010
Override
Cache load0.00250.4690380.0001
Sytem overhead
Fetch class attribute can translate value0.00040.073930.0001
Fetch class attribute name0.00130.245860.0002
XML
Image XML parsing0.00090.176330.0003
class_abstraction
Instantiating content class attribute0.00000.002260.0000
General
dbfile0.00080.1442170.0000
String conversion0.00000.001940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 25
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs