Uploaded image for project: 'JBoss Core Services'
  1. JBoss Core Services
  2. JBCS-602

httpd segfaults in apr_socket_connect()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • httpd 2.4.23 SP3 GA
    • httpd
    • None
    • ?
      • Happens from time to time and noticing when run Performance test.
      • Couldn't find what was changed that it started to happen for them, will ask the customer and report back.

      httpd segfaults in apr_socket_connect()

      (gdb) bt
      #0 0x00007f109f9a7848 in apr_socket_connect () from ./opt/Apache/jbcs-httpd24-2.4/httpd/sbin/../lib/libapr-1.so.0
      #1 0x00007f109baf86f8 in ap_proxy_connect_backend (proxy_function=0x7f109b8e220e "HTTP", conn=0x7f102c0089a0, worker=0x7f10a1c2d638, s=0x7f10a1c5e0b8) at proxy_util.c:2792
      #2 0x00007f109b8dfa07 in proxy_http_handler (r=0x7f102c002970, worker=0x7f10a1c2d638, conf=0x7f10a1c5a478, url=0x7f102c007e18 "http://abc.xyz.com:8080/context/context-1.pdf", proxyname=0x0, proxyport=0) at mod_proxy_http.c:1942
      #3 0x00007f109baea3c2 in proxy_run_scheme_handler (r=0x7f102c002970, worker=0x7f10a1c2d638, conf=0x7f10a1c5a478, url=0x7f102c007e18 "http://abc.xyz.com:8080/context/context-1.pdf", proxyhost=0x0, proxyport=0) at mod_proxy.c:2849
      #4 0x00007f109baef4b3 in proxy_handler (r=0x7f102c002970) at mod_proxy.c:1202
      #5 0x00007f10a0828c80 in ap_run_handler (r=0x7f102c002970) at config.c:171
      #6 0x00007f10a082d13e in ap_invoke_handler (r=0x7f102c002970) at config.c:434
      #7 0x00007f10a084175a in ap_process_async_request (r=0x7f102c002970) at http_request.c:410
      #8 0x00007f10a083d881 in ap_process_http_async_connection (c=0x7f1068015588) at http_core.c:154
      #9 ap_process_http_connection (c=0x7f1068015588) at http_core.c:248
      #10 0x00007f10a08342f0 in ap_run_process_connection (c=0x7f1068015588) at connection.c:42
      #11 0x00007f109bd0a185 in process_socket (my_thread_num=10, my_child_num=0, cs=0x7f10680154f8, sock=0x7f10680152f0, p=0x7f1068015278, thd=0x7f1094001bc8) at event.c:1102
      #12 worker_thread (thd=0x7f1094001bc8, dummy=<optimized out>) at event.c:1963
      #13 0x00007f109f3309d1 in start_thread () from ./lib64/libpthread.so.0
      #14 0x00007f109f07d8fd in clone () from ./lib64/libc.so.6
      (gdb)
      (gdb) disassemble
      Dump of assembler code for function apr_socket_connect:
      ...
      => 0x00007f109f9a7848 <+104>: repz cmpsb %es%rdi),%ds%rsi)
      ...
      (gdb) i registers
      ...
      rsi 0x2e6374652e322d73 3342643326354599283
      rdi 0x7f109fbb9320 139709376074528
      ...
      rip 0x7f109f9a7848 0x7f109f9a7848 <apr_socket_connect+104>
      eflags 0x246 [ PF ZF IF ]
      ...
      ds 0x0 0
      es 0x0 0
      ...
      (gdb) x/x 0x7f109fbb9320
      0x7f109fbb9320: 0x00000000
      (gdb) x/x 0x2e6374652e322d73
      0x2e6374652e322d73: Cannot access memory at address 0x2e6374652e322d73
      (gdb)

            rhn-engineering-jclere Jean-Frederic Clere
            rhn-support-gandavar Girish Andavarapu (Inactive)
            Paul Lodge Paul Lodge
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: