<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:steve.langasek@canonical.com" title="Steve Langasek <steve.langasek@canonical.com>"> <span class="fn">Steve Langasek</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [llvmpipe] SIGFPE pthread_barrier_destroy.c:40"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94088">bug 94088</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>FIXED
           </td>
           <td>---
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [llvmpipe] SIGFPE pthread_barrier_destroy.c:40"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94088#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [llvmpipe] SIGFPE pthread_barrier_destroy.c:40"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94088">bug 94088</a>
              from <span class="vcard"><a class="email" href="mailto:steve.langasek@canonical.com" title="Steve Langasek <steve.langasek@canonical.com>"> <span class="fn">Steve Langasek</span></a>
</span></b>
        <pre>Hello,

The patch for this bug is incomplete.  In between the calls to
pipe_barrier_init() and pipe_barrier_destroy() are calls to
pipe_barrier_wait(), which is implemented on top of pthread_barrier_wait().

Since pipe_barrier_init() has not been called, the calls to
pthread_barrier_wait() have undefined behavior, as per
<<a href="http://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_barrier_wait.html">http://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_barrier_wait.html</a>>,
<<a href="http://linux.die.net/man/3/pthread_barrier_wait">http://linux.die.net/man/3/pthread_barrier_wait</a>>.

The applied commit is sufficient to fix the immediate SIGFPE problem with
glibc, but the API is still being used incorrectly and could result in future
crashes on other implementations.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>