ID:               35029
 Updated by:       [EMAIL PROTECTED]
 Reported By:      markus-php at anthill dot de
-Status:           Open
+Status:           Feedback
 Bug Type:         Apache2 related
 Operating System: linux / solaris
 PHP Version:      4.4.0


Previous Comments:
------------------------------------------------------------------------

[2005-11-07 23:43:06] markus-php at anthill dot de

with PHP 4.4.0 I had a segmentation fault (see above). According to the
backtrace the problems seems to be in the PHP code. When switching from
PHP 4.4.0 to 4.4.1 the segmentation fault seems to have gone, but the
result isn't ok yet. As I am not that familiar with gdb I can't really
tell if it is a problem with Apache or PHP or something else.
I'll make some tests during the next days and try to dig further into
this.

------------------------------------------------------------------------

[2005-11-07 16:50:40] markus-php at anthill dot de

In tests with PHP 4.4.1 under solaris I don't get the segmentation
faults any more, but the SSI seems to be simply ignored now.

------------------------------------------------------------------------

[2005-10-31 15:47:13] markus-php at anthill dot de

I tried the STABLE-200510311345 snapshot under linux and it works so
far. Thanks.

Could someone please point me to the changes which fixed the problem?

------------------------------------------------------------------------

[2005-10-31 08:08:14] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

------------------------------------------------------------------------

[2005-10-30 23:40:59] markus-php at anthill dot de

Description:
------------
I installed Apache 2.0.55 with PHP 4.4.0. I got lots of entries like
the following in the error log:

[Mon Oct 17 18:19:04 2005] [notice] child pid 9385 exit signal
Segmentation fault (11)

They occure on pages with HTML code like

...
<body>
<!--#include virtual="/php/body_header.php" -->
...
<!--#include virtual="/php/body_footer.php" -->
</body>

With only one of the includes (either one) all works well. Back with
Apache 2.0.54 and PHP 4.4.0 I haven't got this problem.

I stripped down the PHP scripts to just print a small text using
echo(), but the problem remained.

Reproduce code:
---------------
see above

Actual result:
--------------
(gdb) bt
#0  0x402eb3ea in _zval_ptr_dtor (zval_ptr=0x4035fb08)
    at /tmp/test/php-4.4.0/Zend/zend_execute_API.c:287
#1  0x40300843 in execute (op_array=0x8179474) at
zend_execute_locks.h:26
#2  0x402f1f23 in zend_execute_scripts (type=2, retval=0x0,
file_count=1)
    at /tmp/test/php-4.4.0/Zend/zend.c:938
#3  0x403021ba in php_handler (r=0x81774b0)
    at /tmp/test/php-4.4.0/sapi/apache2handler/sapi_apache2.c:557
#4  0x08067622 in ap_run_handler (r=0x81774b0) at config.c:153
#5  0x08067b3a in ap_invoke_handler (r=0x81774b0) at config.c:364
#6  0x0807c4d1 in ap_run_sub_req (r=0x81774b0) at request.c:1855
#7  0x4003547d in handle_include (ctx=0x8165918, bb=0xbfffd994,
r=0x8169478, 
    f=0x816aa98, head_ptr=0x8167908, inserted_head=0xbfffd960)
    at mod_include.c:782
#8  0x40038ca0 in send_parsed_content (f=0x816aa98, bb=0x816abe0)
    at mod_include.c:3309
#9  0x08071b9e in ap_pass_brigade (next=0x0, bb=0xfffffffe)
    at util_filter.c:512
#10 0x08078666 in default_handler (r=0x8169478) at core.c:3640
#11 0x08067622 in ap_run_handler (r=0x8169478) at config.c:153
#12 0x08067b3a in ap_invoke_handler (r=0x8169478) at config.c:364
#13 0x08064ee3 in ap_process_request (r=0x8169478) at
http_request.c:249
#14 0x08060dc1 in ap_process_http_connection (c=0x8165540) at
http_core.c:251
#15 0x0806f9c2 in ap_run_process_connection (c=0x8165540) at
connection.c:43
#16 0x0806619b in child_main (child_num_arg=3) at prefork.c:610
#17 0x080662b8 in make_child (s=0x809bff0, slot=0) at prefork.c:704
#18 0x0806639f in startup_children (number_to_start=5) at
prefork.c:722
#19 0x08066aad in ap_mpm_run (_pconf=0x0, plog=0x80c62c0, s=0x809bff0)
    at prefork.c:941
#20 0x0806bb36 in main (argc=3, argv=0xbfffdc44) at main.c:618
#21 0x42015704 in __libc_start_main () from /lib/tls/libc.so.6



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35029&edit=1

Reply via email to