https://bz.apache.org/bugzilla/show_bug.cgi?id=63977 --- Comment #3 from chenkaifeng <chenkaifeng1@huawei.com> ---
Description:
The situation is: When we have very large html page(resource manager web,
This page contains about 3,714 entries of application.), the httpd proxy_html
exit signal Segmentation fault.
when this page contains little entires of application, the httpd proxy_html
works fine.
gdb httpd httpd core.6193
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/opt/Bigdata/Apache-httpd-2.4.26/apache2/bin/httpd -f
/opt/Bigdata/Apache-httpd'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f3acec197bf in __memmove_ssse3_back () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install expat-2.1.0-10.x86_64
glibc-2.17-111.h34.x86_64 libgcc-4.8.5-4.h5.x86_64 libxml2-2.9.1-6.3.h12.x86_64
nss-softokn-freebl-3.36.0-5.h2.x86_64 xz-li-12alpha.x86_64 zlib-1.2.7-15.x86_64
(gdb) bt
#0 0x00007f3acec197bf in __memmove_ssse3_back () from /lib64/libc.so.6
#1 0x00007f3ac9a71987 in dump_content (ctx=ctx@entry=0x1360458) at
mod_proxy_html.c:249
#2 0x00007f3ac9a74d35 in pendElement (ctxt=0x1360458, uname=0x133a744
"script") at mod_proxy_html.c:378
#3 0x00007f3aca42c791 in htmlParseEndTag () from /usr/lib64/libxml2.so.2
#4 0x00007f3aca4300e1 in htmlParseChunk () from /usr/lib64/libxml2.so.2
#5 0x00007f3ac9a73ab2 in proxy_html_filter (f=<optimized out>, bb=<optimized
out>) at mod_proxy_html.c:915
#6 0x0000000000464cd1 in ap_process_async_request (r=0x134fe30) at
http_request.c:459
#7 0x0000000000461351 in ap_process_http_async_connection (c=0x1331ec8) at
http_core.c:154
#8 ap_process_http_connection (c=0x1331ec8) at http_core.c:248
#9 0x0000000000459490 in ap_run_process_connection (c=c@entry=0x1331ec8) at
connection.c:42
#10 0x000000000046d10e in process_socket (my_thread_num=0, my_child_num=3,
cs=0x1331e38, sock=<optimized out>, p=<optimized out>, thd=<optimized out>) at
event.c:945
#11 worker_thread (thd=<optimized out>, dummy=<optimized out>) at event.c:1849
#12 0x00007f3acf095dc5 in start_thread () from /lib64/libpthread.so.0
#13 0x00007f3acebc094d in clone () from /lib64/libc.so.6
(gdb) info
(gdb) p ctx->buf
$25 = 0x7f3abb127010 "\n", ' ' <repeats 14 times>, "var appsTableData=[.\n[.\"<a
href='/cluster/app/application_1574873447714_2041'>application_1574873447714_2041</a>\",\"root\",\"insert
overwrite tae1128_...\\'817200\\'(Stage-1)\",\"MAPREDU"...
(gdb) p ctx->buf + len
$26 = 0x7f3abb331feb "a>\",\"0\"]\n]\n "<Address 0x7f3abb332000 out of
bounds>
(gdb) p ctx->buf+offs+s_to
$27 = 0x7f3abb1702a6 "873447714_2022/'>History</a>\",\"0\"],\n[.\"<a
href='/cluster/app/application_1574873447714_2019tion_1574873447714_2019'>application_1574873447714_2019</a>\",\"root\",\"insert
e table table1128_...\\'808"...
(gdb) p len + 1 - s_from - offs
$28 = 1842525
(gdb) p ctx->buf+offs+s_to + len + 1 - s_from - offs
$29 = 0x7f3abb332003 <Address 0x7f3abb332003 out of bounds>
(gdb) p ctx->buf+offs+s_to + len + 1 - s_from - offs^CQuit
(gdb) p len + 1 - s_from - offs
$30 = 1842525
(gdb) p ctx->buf+offs+s_to + len + 1 - s_from - offs -10
$31 = 0x7f3abb331ff9 " "<Address 0x7f3abb332000 out of bounds>
(gdb) p ctx->buf+offs+s_to + len + 1 - s_from - offs - 100
$32 = 0x7f3abb331f9f
"ttp://node-master2gfNp:8088/proxy/application_1574873447714_0492/'>History</a>\",\"0\"]\n]\n
"<Address 0x7f3abb332000 out of bounds>
(gdb) p ctx->buf+offs+s_to + len + 1 - s_from - offs - 20
$33 = 0x7f3abb331fef "\"0\"]\n]\n "<Address 0x7f3abb332000 out of
bounds>
(gdb) p ctx->buf+offs+s_to + len + 1 - s_from - offs - 50
$34 = 0x7f3abb331fd1 "873447714_0492/'>History</a>\",\"0\"]\n]\n
"<Address 0x7f3abb332000 out of bounds>
(gdb) p ctx->buf+offs+s_to + len + 1 - s_from - offs - 70
$35 = 0x7f3abb331fbd
"oxy/application_1574873447714_0492/'>History</a>\",\"0\"]\n]\n
"<Address 0x7f3abb332000 out of bounds>
(gdb) p ctx->buf+offs+s_to + len + 1 - s_from - offs - 30
$36 = 0x7f3abb331fe5 "tory</a>\",\"0\"]\n]\n "<Address 0x7f3abb332000
out of bounds>
(gdb) p ctx->buf+offs+s_to + len + 1 - s_from - offs - 10
$37 = 0x7f3abb331ff9 " "<Address 0x7f3abb332000 out of bounds>
(gdb) p ctx->buf+offs+s_to + len + 1 - s_from - offs - 5
$38 = 0x7f3abb331ffe " "<Address 0x7f3abb332000 out of bounds>
(gdb) p ctx->buf+offs+s_to + len + 1 - s_from - offs - 4
$39 = 0x7f3abb331fff " "<Address 0x7f3abb332000 out of bounds>
(gdb) p ctx->buf+offs+s_to + len + 1 - s_from - offs - 3
$40 = 0x7f3abb332000 <Address 0x7f3abb332000 out of bounds>
(gdb) p ctx->buf+offs+s_to + len + 1 - s_from - offs - 4
$41 = 0x7f3abb331fff " "<Address 0x7f3abb332000 out of bounds>
(gdb) p ctx->buf+offs+s_to + len + 1 - s_from - offs - 3
$42 = 0x7f3abb332000 <Address 0x7f3abb332000 out of bounds>
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org