[Bug 1559842] Re: SIGFPE in pthread_barrier_destroy in glibc 2.23

2016-03-21 Thread Steve Langasek
** Changed in: glibc (Ubuntu Xenial)
   Status: Triaged => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1559842

Title:
  SIGFPE in pthread_barrier_destroy in glibc 2.23

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1559842/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1559842] Re: SIGFPE in pthread_barrier_destroy in glibc 2.23

2016-03-21 Thread Launchpad Bug Tracker
This bug was fixed in the package mesa - 11.1.2-1ubuntu2

---
mesa (11.1.2-1ubuntu2) xenial; urgency=medium

  * debian/patches/glibc2.23-pthreads-compat.patch: fix misuse of
pthread_barrier API.  Closes LP: #1559842.

 -- Steve Langasek   Mon, 21 Mar 2016
05:59:56 +

** Changed in: mesa (Ubuntu Xenial)
   Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1559842

Title:
  SIGFPE in pthread_barrier_destroy in glibc 2.23

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1559842/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1559842] Re: SIGFPE in pthread_barrier_destroy in glibc 2.23

2016-03-20 Thread Steve Langasek
(critical because it breaks all autopkgtests that exercise LLVMpipe.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1559842

Title:
  SIGFPE in pthread_barrier_destroy in glibc 2.23

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1559842/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1559842] Re: SIGFPE in pthread_barrier_destroy in glibc 2.23

2016-03-20 Thread Steve Langasek
The pthread_barrier_init manpage specifies that count must be > 0.
indeed, pthread_barrier_init() is returning EINVAL, and swrast_dri is
ignoring this return value.  So this is a latent bug in mesa.

** Also affects: mesa (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: mesa (Ubuntu Xenial)
   Status: New => Triaged

** Changed in: mesa (Ubuntu Xenial)
   Importance: Undecided => Critical

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1559842

Title:
  SIGFPE in pthread_barrier_destroy in glibc 2.23

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1559842/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1559842] Re: SIGFPE in pthread_barrier_destroy in glibc 2.23

2016-03-20 Thread Steve Langasek
The line in question is:

unsigned int max_in_before_reset = BARRIER_IN_THRESHOLD
   - BARRIER_IN_THRESHOLD % count;

count is set the line before it to:

  unsigned int count = bar->count;

(gdb) print bar->count
$2 = 0
(gdb) print count
$3 = 0
(gdb)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1559842

Title:
  SIGFPE in pthread_barrier_destroy in glibc 2.23

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1559842/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs