DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=43533>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43533 Summary: Frequent crashes in mod_include's bndm() Product: Apache httpd-2 Version: 2.0.61 Platform: Macintosh OS/Version: Mac OS X 10.4 Status: NEW Severity: normal Priority: P2 Component: mod_include AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] Over the past years Apache has crashed several times every hour. I've been running Apache 2 since 2.0.40 and now we're up at 2.0.61 and still experiencing these crashes so I guess it's about time I report this bug. Our site heavily relies on SSI, in particular <!--#include virtual=..--> (they're often nested aswell), and mod_rewrite. Output is compressed with mod_deflate. Often the crashdumps looks like this: crashdump[26541]: crashdump[26541]: Thread 20 Crashed: crashdump[26541]: 0 httpd 0x000047a0 bndm + 120 (mod_include.c:317) crashdump[26541]: 1 httpd 0x0000a100 find_start_sequence + 136 (mod_include.c:2388) crashdump[26541]: 2 httpd 0x0000bad0 send_parsed_content + 1288 (mod_include.c:3054) crashdump[26541]: 3 httpd 0x0000dbf8 includes_filter + 1468 (mod_include.c:3591) crashdump[26541]: 4 httpd 0x00068e30 ap_pass_brigade + 236 (util_filter.c:512) crashdump[26541]: 5 httpd 0x0004a5c8 default_handler + 1888 (core.c:3648) crashdump[26541]: 6 httpd 0x00060038 ap_run_handler + 136 (config.c:152) crashdump[26541]: 7 httpd 0x00060d8c ap_invoke_handler + 424 (config.c:364) crashdump[26541]: 8 httpd 0x00051f98 ap_run_sub_req + 104 (request.c:1855) crashdump[26541]: 9 httpd 0x00005a68 handle_include + 968 (mod_include.c:782) crashdump[26541]: 10 httpd 0x0000cc80 send_parsed_content + 5816 (mod_include.c:3309) crashdump[26541]: 11 httpd 0x0000dbf8 includes_filter + 1468 (mod_include.c:3591) crashdump[26541]: 12 httpd 0x00068e30 ap_pass_brigade + 236 (util_filter.c:512) crashdump[26541]: 13 httpd 0x0004a5c8 default_handler + 1888 (core.c:3648) crashdump[26541]: 14 httpd 0x00060038 ap_run_handler + 136 (config.c:152) crashdump[26541]: 15 httpd 0x00060d8c ap_invoke_handler + 424 (config.c:364) crashdump[26541]: 16 httpd 0x0001d980 ap_process_request + 148 (http_request.c:249) crashdump[26541]: 17 httpd 0x000145a4 ap_process_http_connection + 136 (http_core.c:255) crashdump[26541]: 18 httpd 0x0006bcdc ap_run_process_connection + 136 (connection.c:43) crashdump[26541]: 19 httpd 0x0006c318 ap_process_connection + 132 (connection.c:178) crashdump[26541]: 20 httpd 0x0003b408 process_socket + 196 (worker.c:523) crashdump[26541]: 21 httpd 0x0003befc worker_thread + 552 (worker.c:843) crashdump[26541]: 22 libapr-0.0.dylib 0x003796f0 dummy_worker + 68 (thread.c:105) crashdump[26541]: 23 libSystem.B.dylib 0x9002bd08 _pthread_body + 96 -------------------------- crashdump[4103]: crashdump[4103]: Thread 15 Crashed: crashdump[4103]: 0 httpd 0x000047a0 bndm + 120 (mod_include.c:317) crashdump[4103]: 1 httpd 0x0000a100 find_start_sequence + 136 (mod_include.c:2388) crashdump[4103]: 2 httpd 0x0000bad0 send_parsed_content + 1288 (mod_include.c:3054) crashdump[4103]: 3 httpd 0x0000dbf8 includes_filter + 1468 (mod_include.c:3591) crashdump[4103]: 4 httpd 0x00068e30 ap_pass_brigade + 236 (util_filter.c:512) crashdump[4103]: 5 httpd 0x0004a5c8 default_handler + 1888 (core.c:3648) crashdump[4103]: 6 httpd 0x00060038 ap_run_handler + 136 (config.c:152) crashdump[4103]: 7 httpd 0x00060d8c ap_invoke_handler + 424 (config.c:364) crashdump[4103]: 8 httpd 0x00051f98 ap_run_sub_req + 104 (request.c:1855) crashdump[4103]: 9 httpd 0x00005a68 handle_include + 968 (mod_include.c:782) crashdump[4103]: 10 httpd 0x0000cc80 send_parsed_content + 5816 (mod_include.c:3309) crashdump[4103]: 11 httpd 0x0000dbf8 includes_filter + 1468 (mod_include.c:3591) crashdump[4103]: 12 httpd 0x00068e30 ap_pass_brigade + 236 (util_filter.c:512) crashdump[4103]: 13 httpd 0x0004a5c8 default_handler + 1888 (core.c:3648) crashdump[4103]: 14 httpd 0x00060038 ap_run_handler + 136 (config.c:152) crashdump[4103]: 15 httpd 0x00060d8c ap_invoke_handler + 424 (config.c:364) crashdump[4103]: 16 httpd 0x0001d980 ap_process_request + 148 (http_request.c:249) crashdump[4103]: 17 httpd 0x000145a4 ap_process_http_connection + 136 (http_core.c:255) crashdump[4103]: 18 httpd 0x0006bcdc ap_run_process_connection + 136 (connection.c:43) crashdump[4103]: 19 httpd 0x0006c318 ap_process_connection + 132 (connection.c:178) crashdump[4103]: 20 httpd 0x0003b408 process_socket + 196 (worker.c:523) crashdump[4103]: 21 httpd 0x0003befc worker_thread + 552 (worker.c:843) crashdump[4103]: 22 libapr-0.0.dylib 0x003796f0 dummy_worker + 68 (thread.c:105) crashdump[4103]: 23 libSystem.B.dylib 0x9002bd08 _pthread_body + 96 ------------------ I saw someone else having a similar problem here. There was an open bug about random crashes in crc32 and bndm, but with Apache 2.2. I've tried to log the PID along with the HTTP requests into a logfile and grepping out the PID after the crash but I guess the thread crashes before the log is written since I'm not finding anything interesting there. I've not been able to reproduce this but it keeps happening several times each hour. Since we've got a fair share of traffic to this host I can't really gdb Apache and wait for a crash and see what's going on. It might be a memory corruption since we're getting crashes in other places aswell. It's not likely to be a hardware problem since the box have been replaced two times already (for performance reasons) and the crashes have continued on the new hardware aswell. Here's one of the other crashes we're getting quite frequently but not as frequently as with bndm(): crashdump[14604]: crashdump[14604]: Thread 7 Crashed: crashdump[14604]: 0 httpd 0x0000a6c0 find_directive + 284 (mod_include.c:2552) crashdump[14604]: 1 httpd 0x0000bf14 send_parsed_content + 2380 (mod_include.c:3118) crashdump[14604]: 2 httpd 0x0000dbf8 includes_filter + 1468 (mod_include.c:3591) crashdump[14604]: 3 httpd 0x00068e30 ap_pass_brigade + 236 (util_filter.c:512) crashdump[14604]: 4 httpd 0x0004a5c8 default_handler + 1888 (core.c:3648) crashdump[14604]: 5 httpd 0x00060038 ap_run_handler + 136 (config.c:152) crashdump[14604]: 6 httpd 0x00060d8c ap_invoke_handler + 424 (config.c:364) crashdump[14604]: 7 httpd 0x00051f98 ap_run_sub_req + 104 (request.c:1855) crashdump[14604]: 8 httpd 0x00005a68 handle_include + 968 (mod_include.c:782) crashdump[14604]: 9 httpd 0x0000cc80 send_parsed_content + 5816 (mod_include.c:3309) crashdump[14604]: 10 httpd 0x0000dbf8 includes_filter + 1468 (mod_include.c:3591) crashdump[14604]: 11 httpd 0x00068e30 ap_pass_brigade + 236 (util_filter.c:512) crashdump[14604]: 12 httpd 0x0004a5c8 default_handler + 1888 (core.c:3648) crashdump[14604]: 13 httpd 0x00060038 ap_run_handler + 136 (config.c:152) crashdump[14604]: 14 httpd 0x00060d8c ap_invoke_handler + 424 (config.c:364) crashdump[14604]: 15 httpd 0x00051f98 ap_run_sub_req + 104 (request.c:1855) crashdump[14604]: 16 httpd 0x00005a68 handle_include + 968 (mod_include.c:782) crashdump[14604]: 17 httpd 0x0000cc80 send_parsed_content + 5816 (mod_include.c:3309) crashdump[14604]: 18 httpd 0x0000dbf8 includes_filter + 1468 (mod_include.c:3591) crashdump[14604]: 19 httpd 0x00068e30 ap_pass_brigade + 236 (util_filter.c:512) crashdump[14604]: 20 httpd 0x0004a5c8 default_handler + 1888 (core.c:3648) crashdump[14604]: 21 httpd 0x00060038 ap_run_handler + 136 (config.c:152) crashdump[14604]: 22 httpd 0x00060d8c ap_invoke_handler + 424 (config.c:364) crashdump[14604]: 23 httpd 0x0001d980 ap_process_request + 148 (http_request.c:249) crashdump[14604]: 24 httpd 0x000145a4 ap_process_http_connection + 136 (http_core.c:255) crashdump[14604]: 25 httpd 0x0006bcdc ap_run_process_connection + 136 (connection.c:43) crashdump[14604]: 26 httpd 0x0006c318 ap_process_connection + 132 (connection.c:178) crashdump[14604]: 27 httpd 0x0003b408 process_socket + 196 (worker.c:523) crashdump[14604]: 28 httpd 0x0003befc worker_thread + 552 (worker.c:843) crashdump[14604]: 29 libapr-0.0.dylib 0x003796f0 dummy_worker + 68 (thread.c:105) ------ This problem has occured on Mac OS X 10.3 and up to 10.4.10, both Server versions. We've been running a broad list of different versions of Apache 2, from .40 to .61. This problem occurs with the threaded worker. Does anyone have any idea what's going on here? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
