LSB tests: failed requirement pthread_mutexattr_gettype.01.01

Andrey Ponomarenko aponomarenko@rosalab.ru
Fri Jul 26 11:26:00 GMT 2013


http://sourceware.org/bugzilla/show_bug.cgi?id=15790

The pthread_mutexattr_gettype function returns 512 to *type, although 
the type attribute was previously set to PTHREAD_MUTEX_NORMAL (==0).

Spec: 
http://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_mutexattr_gettype.html

Joseph S. Myers wrote:
> On Thu, 25 Jul 2013, Andrey Ponomarenko wrote:
>
>> Hi,
>>
>> I've just run the LSB Core test suite on the latest glibc 2.18 and it caught a
>> new failure [1]: Requirement failed: {pthread_mutexattr_gettype.01.01}
>> pthread_mutexattr_gettype() shall store the value of the 'type' attribute into
>> *type
>>
>> Is this intentional?
>>
>> I will investigate the issue further tomorrow...
> If the investigation indicates there is a bug (glibc failing the POSIX
> requirements), *please file it in Bugzilla*.
>
> I remain of the view that *all* the LSB test failures need bugs filed in
> Bugzilla if not already present (if they appear to be glibc issues), and
> that the pages you link to from the wiki listing the failures need to
> include glibc bug links in the descriptions.  But at least, if claiming a
> new bug then file it in Bugzilla along with all the other known glibc bugs
> (and then maybe send a short note to libc-alpha pointing to the bug if it
> seems particularly important).
>

-- 
Andrey Ponomarenko, ROSA Lab.



More information about the Libc-alpha mailing list