Title: Segmentation fault (11) and problems to use newer sabl
Mart,
 
Well, I can't speak to your Seg fault problems, but it would appear that your max execution time is the result of an enternal loop, or a script that just takes a long time.
 
Check for eternal loops in your code, both XSL and PHP and rule that out.
 
If there are no eternal loops in your code, try to trim the script back, or increase your execution time. (php.ini: max_execution_time = value_in_seconds)
 
I would suggest the last option last, tho.
 
Greg
 
-----Original Message-----
From: Mart Pirita [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 11:06 AM
To: Sablotron Mailing List
Subject: [Sab] Segmentation fault (11) and problems to use newer sablotron.

Hello.


I use on redhat 6.2, Apache/1.3.19 (Unix) PHP/4.0.4pl1 mod_ssl/2.8.2 OpenSSL/0.9.6 and sablot-0.51, everythings seems to working fine, but apache gives errora all the time:


[Wed Jul 11 19:06:36 2001] [notice] child pid 19459 exit signal Segmentation fault (11)
[Wed Jul 11 19:06:39 2001] [notice] child pid 19469 exit signal Segmentation fault (11)
[Wed Jul 11 19:06:41 2001] [notice] child pid 19470 exit signal Segmentation fault (11)
[Wed Jul 11 19:06:52 2001] [notice] child pid 19456 exit signal Segmentation fault (11)

And sometimes (atlest once in one minute)Ii get:

Fatal error: Maximum execution time of 30 seconds exceeded in fion.php on line 135

This file and line are ok.

I tryed to compile:

a) php-4.0.4pl1 with sablot-0.52.1
b) php-4.0.4pl1 with sablot-0.60.1
c) php-4.0.6 with sablot-0.52.1
b) php-4.0.6 with sablot-0.60.1

During installation and starting apache - no errors, but page cannot be displayed, as I got error on browser�s screen:

ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: [no URL]
The following error was encountered:
Zero Sized Reply
Squid did not receive any data for this request.

And apache error log gives:

[Wed Jul 11 19:53:21 2001] [notice] child pid 1398 exit signal Segmentation fault (11)
httpd: expr.cpp:1435: const class Str & Expression::tostringRef() const: Assertion `(functor == EXF_ATOM) && (type == EX_STRING)' failed.
[Wed Jul 11 19:53:22 2001] [notice] child pid 1403 exit signal Aborted (6)

I compile sablot-0.52 php same way as sablot-0.51, with options:

--with-apache=/usr/src/apache_1.3.20" \
"--with-mysql=/usr/local/mysql" \
"--enable-track-vars" \
"--enable-sablot-errors-descriptive" \
"--with-oci8=/usr/local/oracle/OraHome1" \
"--with-xml" \
"--with-sablot=/usr/local/sablot.51" \  -- the only line i change to "--with-sablot=/usr/local/sablot.52"

So what do I do??? I need sablotron badly, but seems apache don�t like about these errors and keep�s crashing...

Please help me!


-- 
Mart Pirita

e-positive.ee
Joa 2, Tallinn
10127, Estonia
Tel. +372 6060909
Fax. +372 6060910

Reply via email to