Share » Forums » General » Apache is segfaulting on...

Apache is segfaulting on |attribute(show)

Apache is segfaulting on |attribute(show)

Sunday 01 July 2007 1:03:20 pm - 7 replies

Modified on Sunday 01 July 2007 1:04:00 pm by Andrew K

Author Message

Heath

Sunday 01 July 2007 1:17:38 pm

Hello Andrew,

Not a bad level of message detail but you have omitted which version of php and apache you are really using or what platform your using.

These additional details may prove helpful to others to decipher your problem.

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Andrew K

Sunday 01 July 2007 1:37:24 pm

Hmm... still more interesting...

{$image.data_map.image.content|attribute(show,1)}

..works fine.

--Andrew

Andrew K

Sunday 01 July 2007 1:44:50 pm

Heath, good call. Sorry about that.

Apache/2.0.55
PHP 4.4.2-1build1 (apache mod)
Ubuntu Dapper

--Andrew

Heath

Sunday 01 July 2007 1:49:11 pm

Is this a stock eZ Publish 3.9.2 installation or a customized build of eZ?

Trying to understand what might be unique in your environment which may play a part in the problem. I do know that php 4.4.2 does have some problems which is why php 4.4.7 is recommended these days ...

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Andrew K

Sunday 01 July 2007 2:01:05 pm

I knew I forgot something. This is a stock 3.8.6 eZ install. I'll see about up grading php. I don't think that php version is in the the dapper repositories, but I may be able to find it elsewhere.

--Andrew

Bruce Morrison

Sunday 01 July 2007 4:22:03 pm

Hi Andrew

How do you know that apache is segfaulting? Are there any error messages in the apache logs?

Have you tried it with debugging on? What happens if you incrment the depth parameter e.g.
$image.data_map|attribute(show,2), $image.data_map|attribute(show,3) etc at what value does it stop working?

You might find that the system is simply running out of memory or reaching a timeout limit in retrieving all the information to the default depth (I think it's 5) - I take it that it's running OK apart from this issue?

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Andrew K

Monday 02 July 2007 8:03:54 am

Hey Bruce.

Yeah, I'm getting Segfault (11) in my apache error logs when I get a zero response from the server.

So far {$image.data_map.image|attribute(show,1)} is where I've isolated the problem. But like I said before I can get to $image.data_map.image.content|attribute(show,1).

Fortunately I'm able to work around this little problem and get my template done. And the site is running just great. It's just a little weird. It very well could be my PHP version. But it looks like I'll have to compile a new version since I can't find 4.4.7 in a Dapper repository.

--Andrew

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu