Return-Path: X-Original-To: apmail-incubator-celix-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-celix-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B490E109E5 for ; Fri, 6 Dec 2013 10:01:57 +0000 (UTC) Received: (qmail 17954 invoked by uid 500); 6 Dec 2013 10:01:52 -0000 Delivered-To: apmail-incubator-celix-commits-archive@incubator.apache.org Received: (qmail 17887 invoked by uid 500); 6 Dec 2013 10:01:49 -0000 Mailing-List: contact celix-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: celix-dev@incubator.apache.org Delivered-To: mailing list celix-commits@incubator.apache.org Received: (qmail 17331 invoked by uid 99); 6 Dec 2013 10:01:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Dec 2013 10:01:42 +0000 Date: Fri, 6 Dec 2013 10:01:41 +0000 (UTC) From: "Bjoern Petri (JIRA)" To: celix-commits@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CELIX-95) not initialized variable leads to segFault MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CELIX-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bjoern Petri closed CELIX-95. ----------------------------- I could not reproduce this error with the latest celi anymore. > 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)