bug with PI mutex and static linking

Carlos O'Donell carlos@systemhalted.org
Thu Feb 11 15:07:00 GMT 2016


On Thu, Feb 11, 2016 at 5:03 AM, Warlich, Christof
<christof.warlich@siemens.com> wrote:
> with glibc 2.22, the following test fails on x86_64 when statically linking with EPERM when doing the pthread_mutex_unlock(). It looks like  mutex->__data.__owner is not properly initialized, as it is 0 when trying to unlock.

Works fine on Fedora 23 with glibc 2.22 and GCC 5.3.

You'll need to provide more information about your problem.

Cheers,
Carlos.



More information about the Libc-help mailing list