Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-397

mod_jk Segmentation fault when trying to resolve unknown host

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • JWS 3.0.2 GA
    • mod_jk
    • 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:

      JkMount /* worker1
      worker.list=worker1
      worker.worker1.type=ajp13
      worker.worker1.host=testhost
      
      # 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
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: