Description of problem:
SIGFPE pthread_barrier_destroy.c:40
Version-Release number of selected component (if applicable):
mesa-libGL-11.2.0-0.devel.8.24ea81a.fc24.x86_64
How reproducible:
100%
Steps to Reproduce:
1. glxinfo
2.
3.
Actual results:
(gdb) bt
#0 0x00007efcd71e4f79 in pthread_barrier_destroy (barrier=0x55e4dec63450) at pthread_barrier_destroy.c:40
#1 0x00007efcd64bb1af in lp_rast_destroy () from /usr/lib64/dri/swrast_dri.so
#2 0x00007efcd64c4fa1 in llvmpipe_destroy_screen () from /usr/lib64/dri/swrast_dri.so
#3 0x00007efcd610c06f in dri_destroy_screen_helper () from /usr/lib64/dri/swrast_dri.so
#4 0x00007efcd610c115 in dri_destroy_screen () from /usr/lib64/dri/swrast_dri.so
#5 0x00007efcd610a47f in driDestroyScreen () from /usr/lib64/dri/swrast_dri.so
#6 0x00007efcda776e82 in driswDestroyScreen () from /lib64/libGL.so.1
#7 0x00007efcda752e66 in FreeScreenConfigs.isra.3 () from /lib64/libGL.so.1
#8 0x00007efcda752ee9 in glx_display_free () from /lib64/libGL.so.1
#9 0x00007efcda75303e in __glXCloseDisplay () from /lib64/libGL.so.1
#10 0x00007efcda415db2 in XCloseDisplay (dpy=0x55e4debdc030) at ClDisplay.c:65
#11 0x000055e4de65ce16 in main (argc=<optimized out>, argv=<optimized out>) at glxinfo.c:1278
(gdb) frame 0
#0 0x00007efcd71e4f79 in pthread_barrier_destroy (barrier=0x55e4dec63450) at pthread_barrier_destroy.c:40
40 - BARRIER_IN_THRESHOLD % count;
(gdb) print count
$1 = 0
Expected results:
Additional info:
This is consistent with calling pthread_barrier_destroy on a barrier which has not been initialized with pthread_barrier_init. This is likely an application bug. (The current glibc implementation does not update the count member after initialization.)