This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/20263] robust mutex deadlocks if other thread requests timedlock (Only arm/linux)


https://sourceware.org/bugzilla/show_bug.cgi?id=20263

--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  eaee348ce71c34faa7a1122529aa9b9807a269c2 (commit)
       via  d3016ce02c7ba85c1c619771bb1aa349038626cd (commit)
      from  318132f4d41a5742c37d37d67529c24d28797d8a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=eaee348ce71c34faa7a1122529aa9b9807a269c2

commit eaee348ce71c34faa7a1122529aa9b9807a269c2
Author: Andreas Schwab <schwab@suse.de>
Date:   Thu Jun 16 13:58:02 2016 +0200

    Add test case for bug 20263

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d3016ce02c7ba85c1c619771bb1aa349038626cd

commit d3016ce02c7ba85c1c619771bb1aa349038626cd
Author: Jiyoung Yun <t2wish@gmail.com>
Date:   Thu Jun 30 01:15:44 2016 +0900

    Fix robust mutex daedlock [BZ #20263]

    In Linux/ARM environment, a robust mutex can't catch the timeout result
    when it is already owned by other thread and requests to try lock with
    a specific time value(pthread_mutex_timedlock). The futex already returns
    the ETIMEDOUT result but there is no check the return value and it makes
    a deadlock.

    * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                 |   11 +++++
 nptl/Makefile             |    2 +-
 nptl/lowlevelrobustlock.c |    7 ++-
 nptl/tst-robust10.c       |  110 +++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 127 insertions(+), 3 deletions(-)
 create mode 100644 nptl/tst-robust10.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]