ID: 24301 Updated by: [EMAIL PROTECTED] Reported By: hessu at hes dot iki dot fi -Status: Open +Status: Feedback Bug Type: Apache2 related Operating System: linux 2.4.20 PHP Version: 4CVS-2003-06-23 (stable) New Comment:
Please give the requested feedback or let this report rot.. Previous Comments: ------------------------------------------------------------------------ [2003-06-30 03:32:26] [EMAIL PROTECTED] Use apache1; apache2 + php is not a production combination as you have discovered. ------------------------------------------------------------------------ [2003-06-30 00:51:42] hessu at hes dot iki dot fi I still have the problem, I haven't had the time to try with apache1 quite yet. What should we do if this is apache2 specific? ------------------------------------------------------------------------ [2003-06-29 21:18:49] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2003-06-23 21:29:35] [EMAIL PROTECTED] I can not reproduce this within Apache 1.3.27. Could you please try that too to make sure it's just apache2 related issue..(FYI: Apache2 with PHP is really not ready for production use) ------------------------------------------------------------------------ [2003-06-23 15:13:24] hessu at hes dot iki dot fi Here's the backtrace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 5220)] 0x4207d88c in memcpy () from /lib/i686/libc.so.6 (gdb) bt #0 0x4207d88c in memcpy () from /lib/i686/libc.so.6 #1 0x40112a74 in apr_pmemdup (a=0x4093a000, m=0x10000, n=137482157) at apr_strings.c:157 #2 0x40383e74 in php_apache_sapi_ub_write (str=0x4093a000 'a' <repeats 200 times>..., str_length=65536) at /opt/src/web/ap-2.0.46/php4-STABLE-200306231730/sapi/apache2handler/sapi_apache2.c:84 #3 0x403551c9 in php_ub_body_write (str=0x4093a000 'a' <repeats 200 times>..., str_length=65536) at /opt/src/web/ap-2.0.46/php4-STABLE-200306231730/main/output.c:680 #4 0x40354d41 in php_body_write (str=0x4093a000 'a' <repeats 200 times>..., str_length=65536) at /opt/src/web/ap-2.0.46/php4-STABLE-200306231730/main/output.c:121 #5 0x4034e67c in _php_stream_passthru (stream=0x82e14d4, __php_stream_call_depth=0, __zend_filename=0x404193c0 "/opt/src/web/ap-2.0.46/php4-STABLE-200306231730/ext/standard/file.c", __zend_lineno=1791, __zend_orig_filename=0x0, __zend_orig_lineno=0) at /opt/src/web/ap-2.0.46/php4-STABLE-200306231730/main/streams.c:1087 #6 0x402e5da0 in zif_readfile (ht=65537, return_value=0x82e1494, this_ptr=0x0, return_value_used=0) at /opt/src/web/ap-2.0.46/php4-STABLE-200306231730/ext/standard/file.c:1791 #7 0x4037ebfc in execute (op_array=0x82e112c) at /opt/src/web/ap-2.0.46/php4-STABLE-200306231730/Zend/zend_execute.c:1616 #8 0x4036f9bd in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /opt/src/web/ap-2.0.46/php4-STABLE-200306231730/Zend/zend.c:886 #9 0x4034380b in php_execute_script (primary_file=0xbffff6b0) at /opt/src/web/ap-2.0.46/php4-STABLE-200306231730/main/main.c:1685 #10 0x403847c0 in php_handler (r=0x82c76a0) at /opt/src/web/ap-2.0.46/php4-STABLE-200306231730/sapi/apache2handler/sapi_apache2.c:525 #11 0x080b9926 in ap_run_handler (r=0x82c76a0) at config.c:195 #12 0x080b9e3e in ap_invoke_handler (r=0x82c76a0) at config.c:401 #13 0x080a2dab in ap_process_request (r=0x82c76a0) at http_request.c:288 #14 0x0809efe9 in ap_process_http_connection (c=0x82c1480) at http_core.c:293 #15 0x080c2916 in ap_run_process_connection (c=0x82c1480) at connection.c:85 #16 0x080b84dc in child_main (child_num_arg=65537) at prefork.c:696 #17 0x080b8686 in make_child (s=0x81a9ff0, slot=0) at prefork.c:736 #18 0x080b86df in startup_children (number_to_start=10) at prefork.c:808 #19 0x080b8dd1 in ap_mpm_run (_pconf=0x80b7db8, plog=0x81e6090, s=0x81a9ff0) at prefork.c:1024 #20 0x080bdaea in main (argc=2, argv=0xbffff974) at main.c:660 #21 0x420158f7 in __libc_start_main () from /lib/i686/libc.so.6 (gdb) frame 7 #7 0x4037ebfc in execute (op_array=0x82e112c) at /opt/src/web/ap-2.0.46/php4-STABLE-200306231730/Zend/zend_execute.c:1616 1616 ((zend_internal_function *) EX(function_state).function)->handler(EX(opline)->extended_value, EX(Ts)[EX(opline)->result.u.var].var.ptr, EX(object).ptr, return_value_used TSRMLS_CC); (gdb) print (char *)(executor_globals.function_state_ptr->function)->common.function_name $1 = 0x404162c0 "readfile" (gdb) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/24301 -- Edit this bug report at http://bugs.php.net/?id=24301&edit=1