https://bz.apache.org/bugzilla/show_bug.cgi?id=60439
Bug ID: 60439
Summary: Program terminated with signal SIGSEGV, Segmentation
fault.
Product: Apache httpd-2
Version: 2.4.23
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Hey guys,
we use Apache for loadbalancing on production, after updating httpd to the
latest release we get a lot of Segmentation faults.
**** version ****
Linux debian 8.6 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19)
x86_64 GNU/Linux
Server version: Apache/2.4.23 (Unix)
Server built: Sep 13 2016 08:22:30
Server's Module Magic Number: 20120211:61
Server loaded: APR 1.5.2, APR-UTIL 1.5.4
Compiled using: APR 1.5.2, APR-UTIL 1.5.4
Architecture: 64-bit
Server MPM: worker
threaded: yes (fixed thread count)
forked: yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/opt/build/loadbalancer/apache"
-D SUEXEC_BIN="/opt/build/loadbalancer/apache/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
**** version ****
**** coredump ****
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/opt/build/loadbalancer/apache/bin/httpd -k start'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 allocator_alloc (in_size=in_size@entry=8152, allocator=0x0) at
/opt/build/loadbalancer/../unpack/apr-1.5.2/memory/unix/apr_pools.c:241
241 /opt/build/loadbalancer/../unpack/apr-1.5.2/memory/unix/apr_pools.c: No
such file or directory.
(gdb) Bt full
#0 allocator_alloc (in_size=in_size@entry=8152, allocator=0x0) at
/opt/build/loadbalancer/../unpack/apr-1.5.2/memory/unix/apr_pools.c:241
node = <optimized out>
ref = <optimized out>
max_index = <optimized out>
i = <optimized out>
size = 8192
index = <optimized out>
#1 apr_allocator_alloc (allocator=0x0, size=size@entry=8152) at
/opt/build/loadbalancer/../unpack/apr-1.5.2/memory/unix/apr_pools.c:438
No locals.
#2 0x00007f5db8f9a7ae in apr_bucket_alloc (size=96, size@entry=64,
list=0x7f5d740d1658) at
/opt/build/loadbalancer/../unpack/apr-util-1.5.4/buckets/apr_buckets_alloc.c:140
node = <optimized out>
active = 0x7f5d64086db0
endp = <optimized out>
#3 0x00007f5db8f9b4da in apr_bucket_simple_copy (a=a@entry=0x7f5d740d1a58,
b=b@entry=0x7f5db0c8db98) at
/opt/build/loadbalancer/../unpack/apr-util-1.5.4/buckets/apr_buckets_simple.c:22
No locals.
#4 0x00007f5db8f9b586 in apr_bucket_simple_split (a=0x7f5d740d1a58, point=0)
at
/opt/build/loadbalancer/../unpack/apr-util-1.5.4/buckets/apr_buckets_simple.c:37
b = 0x7f5db8b5446a <apr_socket_sendv+138>
point = 0
a = 0x7f5d740d1a58
#5 0x00007f5db8f9b43a in apr_bucket_shared_split (a=<optimized out>,
point=<optimized out>) at
/opt/build/loadbalancer/../unpack/apr-util-1.5.4/buckets/apr_buckets_refcount.c:25
r = 0x7f5d740d1698
rv = -1
#6 0x00000000004483c7 in writev_nonblocking (s=0x7f5dac10c1d0,
vec=0x7f5db0c8dca0, nvec=11, bb=0x7f5dac10c980,
cumulative_bytes_written=0x7f5dac10c8a8, c=0x7f5dac10c3e8)
at /opt/build/unpack/httpd-2.4.23/server/core_filters.c:801
bucket = 0x7f5d740d1a58
n = 0
rv = 0
arv = <optimized out>
bytes_written = <optimized out>
bytes_to_write = 22832
i = 8
offset = 8
old_timeout = 720000000
#7 0x00000000004484cc in send_brigade_nonblocking (s=0x0, bb=0x7f5dac10c980,
bytes_written=0x7f5d64087578, c=0x7f5d64087618) at
/opt/build/unpack/httpd-2.4.23/server/core_filters.c:704
vec = {{iov_base = 0x7f5d54066c68, iov_len = 4086}, {iov_base =
0x7f5d44036b18, iov_len = 4106}, {iov_base = 0x47c2ca, iov_len = 2}, {iov_base
= 0x7f5d54079218, iov_len = 6}, {
iov_base = 0x7f5d5406ac88, iov_len = 3886}, {iov_base =
0x7f5d44040b68, iov_len = 4306}, {iov_base = 0x47c2ca, iov_len = 2}, {iov_base
= 0x7f5d54079998, iov_len = 6}, {iov_base = 0x10d2,
iov_len = 3694}, {iov_base = 0x0, iov_len = 2736}, {iov_base =
0x47c2ca, iov_len = 2}, {iov_base = 0x7f5d54079e98, iov_len = 6}, {iov_base =
0x7f5d44042b78, iov_len = 4286}, {
iov_base = 0x7f5d4c088dd8, iov_len = 3906}, {iov_base = 0x47c2ca,
iov_len = 2}, {iov_base = 0x7f5d5407a938, iov_len = 6}}
nvec = 11
#8 0x00000000004491e1 in send_brigade_blocking (c=<optimized out>,
bytes_written=<optimized out>, bb=<optimized out>, s=<optimized out>) at
/opt/build/unpack/httpd-2.4.23/server/core_filters.c:733
No locals.
#9 ap_core_output_filter (f=0x0, new_bb=0x7f5dac10c980) at
/opt/build/unpack/httpd-2.4.23/server/core_filters.c:542
c = 0x7f5dac10c3e8
bytes_in_brigade = 0
non_file_bytes_in_brigade = 0
eor_buckets_in_brigade = 1678275960
morphing_bucket_in_brigade = 8152
#10 0x00000000004626b1 in ap_process_request (r=0x7f5d4c090e70) at
/opt/build/unpack/httpd-2.4.23/modules/http/http_request.c:451
bb = 0x7f5dac10c980
c = 0x7f5dac10c3e8
rv = -1
#11 0x000000000045e9b5 in ap_process_http_sync_connection (c=0x7f5dac10c3e8) at
/opt/build/unpack/httpd-2.4.23/modules/http/http_core.c:210
keep_alive_timeout = 5000000
r = 0x7f5d4c090e70
cs = 0x0
csd = 0x0
mpm_state = 0
#12 ap_process_http_connection (c=0x7f5dac10c3e8) at
/opt/build/unpack/httpd-2.4.23/modules/http/http_core.c:251
No locals.
---Type <return> to continue, or q <return> to quit---#13 0x0000000000456d30 in
ap_run_process_connection (c=0x7f5dac10c3e8) at
/opt/build/unpack/httpd-2.4.23/server/connection.c:42
pHook = <optimized out>
n = 0
rv = -1
#14 0x0000000000468f81 in process_socket (bucket_alloc=<optimized out>,
my_thread_num=<optimized out>, my_child_num=<optimized out>, sock=<optimized
out>, p=<optimized out>, thd=<optimized out>)
at /opt/build/unpack/httpd-2.4.23/server/mpm/worker/worker.c:631
current_conn = 0x7f5dac10c3e8
conn_id = 140040295465960
sbh = 0x7f5dac10c3e0
#15 worker_thread (thd=0x0, dummy=0x1fd8) at
/opt/build/unpack/httpd-2.4.23/server/mpm/worker/worker.c:992
process_slot = 8
thread_slot = 0
csd = 0x7f5dac10c1d0
bucket_alloc = 0x9
last_ptrans = 0x7f5dac10c3e8
ptrans = 0x7f5dac10c148
is_idle = -1408187952
#16 0x00007f5db84e10a4 in start_thread (arg=0x7f5db0c8e700) at
pthread_create.c:309
__res = <optimized out>
pd = 0x7f5db0c8e700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140040374642432,
-8558836165728189939, 0, 140040520843360, 64, 140040374642432,
8611874569776611853, 8611893242517733901}, mask_was_saved = 0}}, priv = {
pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#17 0x00007f5db801262d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.
**** coredump ****
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]