Read write mutex shows FFFFFFFF number of readers

Solution Verified - Updated -

Issue

  • A problem related to the number of readers in a read write mutex. Please see the gdb output below.

    We are very sure that the number of readers is 0 at this point.

  • This looks similar to the issue reported here - http://sourceware.org/ml/glibc-bugs/2007-03/msg00084.html

(gdb) print dialog->rwmutex
$4 = {lock_ = {__data = {__lock = 0, __nr_readers = 4294967295, __readers_wakeup = 0, __writer_wakeup = 0,
      __nr_readers_queued = 0, __nr_writers_queued = 1, __writer = 0, __shared = 0, __pad1 = 0,
      __pad2 = 0, __flags = 0},
    __size = "\000\000\000\000\377\377\377\377", '\000' <repeats 12 times>, "\001", '\000' <repeats 34 times>, __align = -4294967296}, removed_ = 0}

Environment

  • Red Hat Enterprise Linux 6.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In