<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [llvmpipe] SIGFPE pthread_barrier_destroy.c:40"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94088">94088</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[llvmpipe] SIGFPE pthread_barrier_destroy.c:40
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Mesa core
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vlee@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>glxinfo crashes with LP_NUM_THREADS=0 with glibc-2.22.

mesa: 6ee1c386fe8c9b45746e5bbb8a6f9b56da45fd50 (master 11.2.0-devel)

$ glxinfo
[...]
Floating point exception (core dumped)

(gdb) bt
#0  0x00007f1d95b89f79 in pthread_barrier_destroy (
    barrier=barrier@entry=0x565112e8e730) at pthread_barrier_destroy.c:40
#1  0x00007f1d94dbe83f in pipe_barrier_destroy (barrier=0x565112e8e730)
    at ../../../../src/gallium/auxiliary/os/os_thread.h:155
#2  lp_rast_destroy (rast=0x565112e8d010) at lp_rast.c:970
#3  0x00007f1d94dcdbd1 in llvmpipe_destroy_screen (_screen=0x565112e8cef0)
    at lp_screen.c:525
#4  0x00007f1d9497ac6f in dri_destroy_screen_helper (
    screen=screen@entry=0x565112e8cd50) at dri_screen.c:380
#5  0x00007f1d9497ad15 in dri_destroy_screen (sPriv=0x565112e1df80)
    at dri_screen.c:391
#6  0x00007f1d94978d72 in driDestroyScreen (psp=0x565112e1df80)
    at dri_util.c:229
#7  0x00007f1d9912ddc5 in driswDestroyScreen (base=0x565112e073d0)
    at drisw_glx.c:587
#8  0x00007f1d9910e5cc in FreeScreenConfigs (priv=<optimized out>, 
    priv=<optimized out>) at glxext.c:217
#9  0x00007f1d9910e649 in glx_display_free (priv=priv@entry=0x565112e03c70)
    at glxext.c:240
#10 0x00007f1d9910e79e in __glXCloseDisplay (dpy=0x565112df4030, 
    codes=<optimized out>) at glxext.c:288
#11 0x00007f1d98dcfa42 in XCloseDisplay (dpy=0x565112df4030) at ClDisplay.c:65
#12 0x0000565112544c36 in main (argc=<optimized out>, argv=<optimized out>)
    at glxinfo.c:1278
(gdb) frame 0
#0  0x00007f1d95b89f79 in pthread_barrier_destroy (
    barrier=barrier@entry=0x565112e8e730) at pthread_barrier_destroy.c:40
40                       - BARRIER_IN_THRESHOLD % count;
(gdb) print count
$1 = 0</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>