celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriele Ricciardi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CELIX-305) Memory leaks in RSA_SHM, RSA_DFI, RSA_HTTP
Date Wed, 25 Nov 2015 15:53:11 GMT

    [ https://issues.apache.org/jira/browse/CELIX-305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15026967#comment-15026967
] 

Gabriele Ricciardi commented on CELIX-305:
------------------------------------------

Bjoern, I may have found why many tests are segfaulting: it may be an arrayList_destroy in
the TM of a list allocated by the RSA_*. 
The patch provided for CELIX-306 also remove this (hopefully unnecessary) arrayList_destroy.

After the fixes contained in the CELIX-306 patch, I can run on my machine all the RemoteServices
unit tests without any problem or leak (i.e. they run fine normally, under GDB and under Vagrind,
and in this latter case no leaks are shown).

Can you give a try to CELIX-306 patch and check if it fixes also the above mentioned issue?

Thanks.

> Memory leaks in RSA_SHM, RSA_DFI, RSA_HTTP
> ------------------------------------------
>
>                 Key: CELIX-305
>                 URL: https://issues.apache.org/jira/browse/CELIX-305
>             Project: Celix
>          Issue Type: Bug
>            Reporter: Gabriele Ricciardi
>         Attachments: rsa_shm_dfi_http_leaks.patch
>
>
> During RemoteServices Unit tests run under Valgrind, several memory leaks were found.
> Attached patch that fixes those leaks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message