[lldb-dev] [Bug 18061] New: test/functionalities/thread/main.c relies on undefined pthread mutex behaviour

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Nov 25 17:01:18 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=18061

            Bug ID: 18061
           Summary: test/functionalities/thread/main.c relies on undefined
                    pthread mutex behaviour
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: emaste at freebsd.org
    Classification: Unclassified

See http://pubs.opengroup.org/onlinepubs/007908775/xsh/pthread_mutex_lock.html

 The pthread_mutex_unlock() function may fail if:

[EPERM]
    The current thread does not own the mutex.

The test code locks mutexes from one thread and unlocks them from another,
which is not allowed.  FreeBSD follows the standard more closely, and so this
test fails.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20131126/788c2e8e/attachment.html>


More information about the lldb-dev mailing list