You are viewing a plain text version of this content. The canonical link for it is here.
Posted to codereview@trafodion.apache.org by selvaganesang <gi...@git.apache.org> on 2016/12/20 05:09:36 UTC

[GitHub] incubator-trafodion pull request #881: [TRAFODION-2314] MXOSRVR sometimes ex...

GitHub user selvaganesang opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/881

    [TRAFODION-2314] MXOSRVR sometimes exit abnormally with NAMutex assert

    The test suite fails becuase pthread_mutex_unlock returns EPERM error
    
    pthread_mutex_lock and pthread_mutex_unlock always return success when
    a program is not linked with -lpthread option. It is linked this way
    when a multi-threaded program is run in single thread mode to avoid the
    overhead of locking.
    
    The mxosrvr program is now linked with -lpthread. However, it is not
    clear how and why it would fix the EPERM error returned from
    pthread_mutex_unlock API. But it is good to ensure that mxosrvr .sos and
    the binaries are compiled with -lpthread.
    
    Will revisit this issue if the problem persists.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/selvaganesang/incubator-trafodion trafodion-2314

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/881.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #881
    
----
commit 6d5cd94e69a05eb1230dd561373ecebc0efd7ead
Author: selvaganesang <se...@esgyn.com>
Date:   2016-12-20T04:44:54Z

    [TRAFODION-2314] MXOSRVR sometimes exit abnormally with NAMutex assert
    
    The test suite fails becuase pthread_mutex_unlock returns EPERM error
    
    pthread_mutex_lock and pthread_mutex_unlock always return success when
    a program is not linked with -lpthread option. It is linked this way
    when a multi-threaded program is run in single thread mode to avoid the
    overhead of locking.
    
    The mxosrvr program is now linked with -lpthread. However, it is not
    clear how and why it would fix the EPERM error returned from
    pthread_mutex_unlock API. But it is good to ensure that mxosrvr .sos and
    the binaries are compiled with -lpthread.
    
    Will revisit this issue if the problem persists.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-trafodion pull request #881: [TRAFODION-2314] MXOSRVR sometimes ex...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-trafodion/pull/881


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---