celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bjoern Petri (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CELIX-150) Topology Manager segfaults when RSA/bundle w/ exp. service stops in wrong order
Date Mon, 08 Sep 2014 11:49:28 GMT
Bjoern Petri created CELIX-150:
----------------------------------

             Summary: Topology Manager segfaults when RSA/bundle w/ exp. service stops in
wrong order
                 Key: CELIX-150
                 URL: https://issues.apache.org/jira/browse/CELIX-150
             Project: Celix
          Issue Type: Bug
          Components: Remote Service Admin
            Reporter: Bjoern Petri
            Assignee: Bjoern Petri


The Topology Manager gives a segfault, when the RSA is stopped before a bundle with an exported
service is stopped. 

When an RSA is stopped, it is only removed from the corresponding list within the Topology
Manager, but its exports are not closed (as they should be). The problem is that, when the
bundle (which  has an service exported) is stopped, the Topology Manager tries to access RSA
data which already has cleaned up. 

The proper solution would be to close the exportRegistration when the RSA is stopping. 



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

Mime
View raw message