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

mod_jk Segmentation fault when trying to resolve unknown host

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • httpd 2.4.29 DR2
    • None
    • None
    • None
    • Hide

      1. Configure mod_jk normally
      2. In workers.properties, set worker host to something that will not be resolved:
      3. Make request: curl http://localhost/fail

      Show
      1. Configure mod_jk normally 2. In workers.properties, set worker host to something that will not be resolved: 3. Make request: curl http://localhost/fail

      Segfault occurrs in mod_jk when trying to resolve an unknown hostname.

      Here's a simple reproducing config:

      # workers.properties
      worker.list=worker1
      worker.worker1.type=ajp13
      worker.worker1.host=testhost
      
      # mod_jk.conf addition
      # JkMount /application/* loadbalancer #<--- Comment out original JkMount
      JkMount /* worker1
      
      # ping testhost
      ping: unknown host testhost
      

      Additional info:
      Related upstream reports:
      https://bz.apache.org/bugzilla/show_bug.cgi?id=56452
      https://bz.apache.org/bugzilla/show_bug.cgi?id=59164
      https://mail-archives.apache.org/mod_mbox/tomcat-dev/201501.mbox/%3C20150101213422.B7310AC08A8@hades.apache.org%3E

              gzaronik@redhat.com George Zaronikas
              rhn-support-rbost Robert Bost
              Pavel Reichl Pavel Reichl
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: