<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body>
    Hi,<br>
    <br>
    Could you provide a reproducer ?<br>
    <br>
    Could you give us some context ?<br>
    <br>
    Thanks<br>
    <br>
    <div class="moz-cite-prefix">On 2016-03-02 02:07 PM, Jeffrey Chen
      wrote:<br>
    </div>
    <blockquote
cite="mid:DM3PR13MB07829B1DB9D8EEE29BE9124BC7BC0@DM3PR13MB0782.namprd13.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
        <p>Hi:</p>
        <p><br>
        </p>
        <p>Our system process will spawn several background threads to
          do tasks. During the process exit, there is no guarantee that
          these background threads are finished. I have noticed several
          times that the execution would segfault during exiting. The
          stacktrace is showing that the segfault happened at the call
          to write trace, tracepoint(). My guess is that LTTng cleaned
          up the tracing connection, and the background thread was still
          running. Has anyone noticed this issue? I thought about trying
          wait for all the background threads to complete, but this is
          very difficult to do in a complex system, as the background
          thread could spawn more threads during the process.
          <span id="ms-rterangepaste-start"></span>Is there any way to
          solve this? <span id="ms-rterangepaste-end">
          </span>Thanks.<br>
        </p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
lttng-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev">http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Jonathan R. Julien
Efficios</pre>
  </body>
</html>