[
https://issues.apache.org/jira/browse/DISPATCH-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16365892#comment-16365892
]
ASF GitHub Bot commented on DISPATCH-914:
-----------------------------------------
GitHub user kgiusti opened a pull request:
https://github.com/apache/qpid-dispatch/pull/257
DISPATCH-914: correctly free mutex from qd_connector_t
Backport for 1.0.1 release
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kgiusti/dispatch DISPATCH-914-1.0.1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/qpid-dispatch/pull/257.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 #257
----
commit 49cc681134801e90c682e2b5b05ef88c7d2822e8
Author: Kenneth Giusti <kgiusti@...>
Date: 2018-01-16T15:18:14Z
DISPATCH-914: correctly free mutex from qd_connector_t
----
> qd_connector_t leaks mutexes
> ----------------------------
>
> Key: DISPATCH-914
> URL: https://issues.apache.org/jira/browse/DISPATCH-914
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Router Node
> Affects Versions: 1.1.0
> Environment: Unit tests fail with the following traceback when run
> under valgrind:
>
> 39: ==5443== 64 bytes in 1 blocks are definitely lost in loss record 1,047 of
> 3,514
> 39: ==5443== at 0x4C30D47: memalign (vg_replace_malloc.c:857)
> 39: ==5443== by 0x4C30E45: posix_memalign (vg_replace_malloc.c:1020)
> 39: ==5443== by 0x4E70B58: sys_mutex (threading.c:40)
> 39: ==5443== by 0x4E8BCAA: qd_server_connector (server.c:1363)
> 39: ==5443== by 0x4E61A49: qd_dispatch_configure_connector
> (connection_manager.c:711)
> 39: ==5443== by 0x10FC8BDD: ffi_call_unix64 (unix64.S:76)
> 39: ==5443== by 0x10FC854E: ffi_call (ffi64.c:525)
> 39: ==5443== by 0x10DB53A4: _ctypes_callproc (in
> /usr/lib64/python2.7/lib-dynload/_ctypes.so)
> 39: ==5443== by 0x10DAF0BD: ??? (in
> /usr/lib64/python2.7/lib-dynload/_ctypes.so)
> 39: ==5443== by 0x5BBE342: PyObject_Call (in
> /usr/lib64/libpython2.7.so.1.0)
> 39: ==5443== by 0x5C831B1: PyEval_EvalFrameEx (in
> /usr/lib64/libpython2.7.so.1.0)
> 39: ==5443== by 0x5C85B18: PyEval_EvalFrameEx (in
> /usr/lib64/libpython2.7.so.1.0)
> Reporter: Ken Giusti
> Assignee: Ken Giusti
> Priority: Major
> Fix For: 1.0.1
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]