celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Broekhuis (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CELIX-201) SEGFAULT occurs when restarting apache_celix_rs_topology_manager
Date Mon, 12 Jan 2015 15:37:35 GMT

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

Alexander Broekhuis resolved CELIX-201.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: next-incubating
         Assignee: Alexander Broekhuis

Pushed a fix for this. Thanks for the report, if it is ok please close.

----------------
Author: abroekhuis
Date: Mon Jan 12 15:31:05 2015
New Revision: 1651123

URL: http://svn.apache.org/r1651123
Log:
CELIX-201: Fixed topology restart.
- Incorrect pointers used in discovery, which would result in a segfault in the manager
- Remove logger creation from the manager and reused the one created by the activator
- Added function to close imports when manager is stopped
- Fixed some memory leaks in the framework

> SEGFAULT occurs when restarting apache_celix_rs_topology_manager
> ----------------------------------------------------------------
>
>                 Key: CELIX-201
>                 URL: https://issues.apache.org/jira/browse/CELIX-201
>             Project: Celix
>          Issue Type: Bug
>            Reporter: Daniel Parker
>            Assignee: Alexander Broekhuis
>             Fix For: next-incubating
>
>
> If I stop the bundle and then start it again, I get a segfault which works out to be
an error in remote_services/discovery/private/src/discovery.c::discovery_endpointListenerAdded().
 This function reads endpoints from discovery->discoveredServices and one of these endpoints
contains invalid data.



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

Mime
View raw message