celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Parker (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (CELIX-200) SEGFAULT occurs when remote services are closed
Date Wed, 07 Jan 2015 20:53:34 GMT

     [ https://issues.apache.org/jira/browse/CELIX-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Daniel Parker reopened CELIX-200:

Upon closer inspection it appears that there is still a bug.  The segfault is gone, but now
the logs are not being written with the log writer like they're supposed to be.

> SEGFAULT occurs when remote services are closed
> -----------------------------------------------
>                 Key: CELIX-200
>                 URL: https://issues.apache.org/jira/browse/CELIX-200
>             Project: Celix
>          Issue Type: Improvement
>          Components: Remote Service Admin
>            Reporter: Daniel Parker
>            Assignee: Alexander Broekhuis
>             Fix For: next-incubating
> In remote_services/topology_manager/private/src/topology_manager.c::topologyManager_removeImportedService(),
services are removed with hashMap_remove() rather than hashMapIterator_remove(), which can
cause the iterator to get out of sync with the hashMap and SEGFAULT.  Note that this doesn't
cause an error if there is only a single proxy registered.

This message was sent by Atlassian JIRA

View raw message