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-95) not initialized variable leads to segFault
Date Thu, 05 Dec 2013 15:28:36 GMT

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

Alexander Broekhuis resolved CELIX-95.

       Resolution: Fixed
    Fix Version/s: 1.0.0-incubating

Thanks for the patch. On OSX this isn't a problem, but I've seen it earlier this week as well.
Please verify and close if all is ok.

Author: abroekhuis
Date: Wed Dec  4 18:18:08 2013
New Revision: 1547869

URL: http://svn.apache.org/r1547869
CELIX-95: Applied patch and fix a few similar uninitialised issues.

> 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
>             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

View raw message