Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-798

traffic_server crash if add non-existent plugin in remap rule

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.8, 2.1.7
    • 3.1.0, 3.0.0
    • Remap API
    • None
    • Mac OS X 10.6.7, Centos 5.4

    Description

      remap.config: map http://www.example.com/ http://server1.example.com/ @plugin=xxx.so

      start traffic_server at port 8080, then "curl -x 127.0.0.1:8080 http://www.example.com/"

      opps.

      log:
      (http_seq) [HttpSM::do_remap_request] Remapping request
      NOTE: Traffic Server received User Sig 11 from pid: 0 uid: 0

      gdb:
      Program received signal EXC_BAD_ACCESS, Could not access memory.
      Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000017
      [Switching to process 7596 thread 0x1703]
      RemapPlugins::run_single_remap (this=0x1010fbd80) at RemapPlugins.cc:157
      157 toPath = map_to->path_get(&toPathLen);

      for some reason the plugin is not install correctly, so maybe it's better not to crash.

      Attachments

        1. TS-798.diff
          6 kB
          Leif Hedstrom
        2. TS-798-v2.diff
          9 kB
          Leif Hedstrom

        Activity

          People

            zwoop Leif Hedstrom
            conanmind Conan Wang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: