Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-2636

Segfault in inline Try<IP> getIP(const std::string& hostname, int family)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.23.0
    • None
    • Twitter Q2 Sprint 1 - 4/13
    • 1

    Description

      We saw a segfault in production. Attaching the coredump, we see:

      Core was generated by `/usr/local/sbin/mesos-slave --port=5051 --resources=cpus:23;mem:70298;ports:[31'.
      Program terminated with signal 11, Segmentation fault.
      #0 0x00007f639867c77e in free () from /lib64/libc.so.6
      (gdb) bt
      #0 0x00007f639867c77e in free () from /lib64/libc.so.6
      #1 0x00007f63986c25d0 in freeaddrinfo () from /lib64/libc.so.6
      #2 0x00007f6399deeafa in net::getIP (hostname="<redacted>", family=2) at ./3rdparty/stout/include/stout/net.hpp:201
      #3 0x00007f6399e1f273 in process::initialize (delegate=Unhandled dwarf expression opcode 0xf3
      ) at src/process.cpp:837
      #4 0x000000000042342f in main ()

      Attachments

        Issue Links

          Activity

            People

              chzhcn Chi Zhang
              chzhcn Chi Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: