https://issues.apache.org/bugzilla/show_bug.cgi?id=55881

            Bug ID: 55881
           Summary: segmentation fault at proxy_util.c:1546
           Product: Apache httpd-2
           Version: 2.4.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy_http
          Assignee: [email protected]
          Reporter: [email protected]

Run under 2.4.4 MPM (threaded), the mod_proxy segmentation fault at
proxy_util.c:1546:

(gdb) frame 4
#4  0x00007f69e5f34d25 in ap_proxy_get_worker (p=0x7f69982dcc38, balancer=0x0,
conf=0x7f69ec6eee68, 
    url=0x7f69982d9096
"https://www.foodbox.com/static/images/client-downloadload-promo.png";) at
proxy_util.c:1546
1546    in proxy_util.c
(gdb) p *worker
$8 = {hash = {def = 0, fnv = 0}, local_status = 0, cp = 0x0, s = 0x0, balancer
= 0x0, tmutex = 0x0, context = 0x0}

The cause for crash is worker->s is null, and cannot dereference to get
worker->s->name.



#0  0x00007f69ea1768a7 in chdir () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f69ea682d5d in apr_filepath_set (path=0x7f69eb1eaba0
"/opt/bg/deploy/coredumps", p=0x7f69ec48a138) at file_io/unix/filepath.c:58
#2  0x00007f69eafacb75 in sig_coredump (sig=11) at mpm_unix.c:853
#3  <signal handler called>
#4  0x00007f69e5f34d25 in ap_proxy_get_worker (p=0x7f69982dcc38, balancer=0x0,
conf=0x7f69ec6eee68, 
    url=0x7f69982d9096
"https://www.foodbox.com/static/images/client-downloadload-promo.png";) at
proxy_util.c:1546
#5  0x00007f69e5f3639e in ap_proxy_pre_request (worker=0x7f69cddecac8,
balancer=0x7f69cddecac0, r=0x7f69982dccb0, conf=0x7f69ec6eee68,
url=0x7f69cddecad0)
    at proxy_util.c:1823
#6  0x00007f69e5f2ae18 in proxy_handler (r=0x7f69982dccb0) at mod_proxy.c:991
#7  0x00007f69eaf9ae1e in ap_run_handler (r=0x7f69982dccb0) at config.c:169
#8  0x00007f69eaf9b717 in ap_invoke_handler (r=0x7f69982dccb0) at config.c:432
#9  0x00007f69eafb8ad9 in ap_process_async_request (r=0x7f69982dccb0) at
http_request.c:317
#10 0x00007f69eafb8bc1 in ap_process_request (r=0x7f69982dccb0) at
http_request.c:363
#11 0x00007f69eafb4e1b in ap_process_http_sync_connection (c=0x7f69d80392d8) at
http_core.c:190
#12 0x00007f69eafb4f31 in ap_process_http_connection (c=0x7f69d80392d8) at
http_core.c:231
#13 0x00007f69eafa8e51 in ap_run_process_connection (c=0x7f69d80392d8) at
connection.c:41
#14 0x00007f69eafa9364 in ap_process_connection (c=0x7f69d80392d8,
csd=0x7f69d80390c0) at connection.c:202
#15 0x00007f69eafc2eee in process_socket (thd=0x7f69ec4ecc70, p=0x7f69d8039038,
sock=0x7f69d80390c0, my_child_num=7, my_thread_num=18, 
    bucket_alloc=0x7f69b400bf58) at worker.c:620
#16 0x00007f69eafc3d64 in worker_thread (thd=0x7f69ec4ecc70,
dummy=0x7f69d8026360) at worker.c:979
#17 0x00007f69ea69a02b in dummy_worker (opaque=0x7f69ec4ecc70) at
threadproc/unix/thread.c:142
#18 0x00007f69ea456e9a in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#19 0x00007f69ea1833fd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#20 0x0000000000000000 in ?? ()

-- 
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]

Reply via email to