ID: 14433
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Summary: Degmentation fault
Old Status: Open
Status: Feedback
Bug Type: Apache2 related
Operating System: Linux 2.4.16
PHP Version: 4.1.0
New Comment:

Does this happen with latest CVS snapshot from http://snaps.php.net/ ?
And do you have some short example script to include here which
can be used to reproduce this problem?


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

[2001-12-11 15:08:59] [EMAIL PROTECTED]

Update: I have reproduced what I believe is the same error under Apache 1.3.22. It was 
compiled without debug information, so no backtrace this time :(

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

[2001-12-11 15:03:29] [EMAIL PROTECTED]

It's very hard to tell why this happens, because it only does occationally. I've 
included a back trace:

I'm running Apache 2.0.28 in prefork mode. As you can see the error occurs when I'm 
just trying to write something to the client. It doesn't seem to be associated with 
any particular operation. If I reload the same page 10 times, only 0-2 segfaults 
occur. However, most of the time there simply is no PHP output on the pages, but there 
are no segfaults either.

#0  0x08254789 in ?? ()
#1  0x4025a9cf in php_apache_sapi_ub_write (str=0x825477b "", str_length=0, 
tsrm_ls=0x8217070) at sapi_apache2.c:66
#2  0x402663af in php_ub_body_write_no_header (str=0x825475c "<option 
value=\"18\">18</option>\n", str_length=31, 
    tsrm_ls=0x8217070) at output.c:450
#3  0x4026582a in php_body_write (str=0x825475c "<option value=\"18\">18</option>\n", 
str_length=31, 
    tsrm_ls=0x8217070) at output.c:100
#4  0x4025d136 in php_body_write_wrapper (str=0x825475c "<option 
value=\"18\">18</option>\n", str_length=31)
    at main.c:757
#5  0x4024e050 in zend_print_zval_ex (write_func=0x4025d104 <php_body_write_wrapper>, 
expr=0xbfffb010, indent=0)
    at zend.c:187
#6  0x4024dff1 in zend_print_zval (expr=0xbfffb010, indent=0) at zend.c:168
#7  0x4024dc88 in zend_print_variable (var=0xbfffb010) at zend_variables.c:172
#8  0x4023bd57 in execute (op_array=0x8252d84, tsrm_ls=0x8217070) at 
./zend_execute.c:1217
#9  0x4024f7ea in zend_execute_scripts (type=8, tsrm_ls=0x8217070, retval=0x0, 
file_count=3) at zend.c:814
#10 0x4025e821 in php_execute_script (primary_file=0xbfffd658, tsrm_ls=0x8217070) at 
main.c:1309
#11 0x4025b201 in php_output_filter (f=0x8264f34, bb=0x82650cc) at sapi_apache2.c:361
#12 0x0811e065 in ap_pass_brigade (next=0x8264f34, bb=0x82650cc) at util_filter.c:276
#13 0x081245c8 in default_handler (r=0x825ce84) at core.c:2785
#14 0x0811300b in ap_run_handler (r=0x825ce84) at config.c:185
#15 0x081135b6 in ap_invoke_handler (r=0x825ce84) at config.c:344
#16 0x08102109 in ap_process_request (r=0x825ce84) at http_request.c:286
#17 0x080fe2c5 in ap_process_http_connection (c=0x81ce484) at http_core.c:289
#18 0x0811c81b in ap_run_process_connection (c=0x81ce484) at connection.c:82
#19 0x0811c9d9 in ap_process_connection (c=0x81ce484) at connection.c:219
#20 0x08111bec in child_main (child_num_arg=0) at prefork.c:803
#21 0x08111c9e in make_child (s=0x8170b2c, slot=0) at prefork.c:839
#22 0x08111db6 in startup_children (number_to_start=10) at prefork.c:913
#23 0x081121a5 in ap_mpm_run (_pconf=0x816f52c, plog=0x81a36cc, s=0x8170b2c) at 
prefork.c:1129
#24 0x0811774d in main (argc=4, argv=0xbffff9e4) at main.c:432
#25 0x400fd65f in __libc_start_main () from /lib/libc.so.6


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



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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to