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

Libevent termination triggers Broken Pipe

    XMLWordPrintableJSON

Details

    • Mesosphere Sprint 20
    • 2

    Description

      When the libevent loop terminates and we unblock the SIGPIPE signal, the pending SIGPIPE instantly triggers and causes a broken pipe when the test binary stops running.

      Program received signal SIGPIPE, Broken pipe.
      [Switching to Thread 0x7ffff18b4700 (LWP 16270)]
      pthread_sigmask (how=1, newmask=<optimized out>, oldmask=0x7ffff18b3d80) at ../sysdeps/unix/sysv/linux/pthread_sigmask.c:53
      53	../sysdeps/unix/sysv/linux/pthread_sigmask.c: No such file or directory.
      (gdb) bt
      #0  pthread_sigmask (how=1, newmask=<optimized out>, oldmask=0x7ffff18b3d80) at ../sysdeps/unix/sysv/linux/pthread_sigmask.c:53
      #1  0x00000000006fd9a4 in unblock () at ../../../3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/signals.hpp:90
      #2  0x00000000007d7915 in run () at ../../../3rdparty/libprocess/src/libevent.cpp:125
      #3  0x00000000007950cb in _M_invoke<>(void) () at /usr/include/c++/4.9/functional:1700
      #4  0x0000000000795000 in operator() () at /usr/include/c++/4.9/functional:1688
      #5  0x0000000000794f6e in _M_run () at /usr/include/c++/4.9/thread:115
      #6  0x00007ffff668de30 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #7  0x00007ffff79a16aa in start_thread (arg=0x7ffff18b4700) at pthread_create.c:333
      #8  0x00007ffff5df1eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
      

      Attachments

        Activity

          People

            jvanremoortere Joris Van Remoortere
            jvanremoortere Joris Van Remoortere
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: