You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by "Alexander Broekhuis (JIRA)" <ji...@apache.org> on 2013/12/05 16:30:36 UTC
[jira] [Assigned] (CELIX-95) not initialized variable leads to
segFault
[ https://issues.apache.org/jira/browse/CELIX-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Broekhuis reassigned CELIX-95:
----------------------------------------
Assignee: Alexander Broekhuis
> not initialized variable leads to segFault
> -------------------------------------------
>
> Key: CELIX-95
> URL: https://issues.apache.org/jira/browse/CELIX-95
> Project: Celix
> Issue Type: Bug
> Reporter: Bjoern Petri
> Assignee: Alexander Broekhuis
> Fix For: 1.0.0-incubating
>
> Attachments: StopBundleSegFault.patch
>
>
> When testing remote services it occured to me, that an endpoint which should be shut down was already stopping (BUNDLE_STOPPING), probably cause, the uninstall function triggers a seconds stop.
> In this case the activator is not retrieved (via bundleGetActivator(bundle)) , but a NULL check takes place a few lines later.
> Without having the activator initialized with NULL, this leads to a segFault on my system.
--
This message was sent by Atlassian JIRA
(v6.1#6144)