Return-Path: X-Original-To: apmail-celix-commits-archive@www.apache.org Delivered-To: apmail-celix-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5F180C457 for ; Wed, 7 Jan 2015 18:30:34 +0000 (UTC) Received: (qmail 84300 invoked by uid 500); 7 Jan 2015 18:30:35 -0000 Delivered-To: apmail-celix-commits-archive@celix.apache.org Received: (qmail 84270 invoked by uid 500); 7 Jan 2015 18:30:35 -0000 Mailing-List: contact commits-help@celix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@celix.apache.org Delivered-To: mailing list commits@celix.apache.org Received: (qmail 84260 invoked by uid 500); 7 Jan 2015 18:30:35 -0000 Delivered-To: apmail-incubator-celix-commits@incubator.apache.org Received: (qmail 84257 invoked by uid 99); 7 Jan 2015 18:30:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2015 18:30:35 +0000 Date: Wed, 7 Jan 2015 18:30:35 +0000 (UTC) From: "Alexander Broekhuis (JIRA)" To: celix-commits@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CELIX-195) SEGFAULT occurs when running a log command. 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-195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Broekhuis resolved CELIX-195. --------------------------------------- Resolution: Fixed Fix Version/s: next-incubating Assignee: Alexander Broekhuis Fixed this issue by caching the symbolic name in the log entry and removing the bundle and reference pointer. If this works, please close the issue. --------------------- Author: abroekhuis Date: Wed Jan 7 18:28:30 2015 New Revision: 1650135 URL: http://svn.apache.org/r1650135 Log: CELIX-195: Updated log_entry to cache symbolic name to prevent crashes due to invalid pointers if a bundle is uninstalled. > SEGFAULT occurs when running a log command. > ------------------------------------------- > > Key: CELIX-195 > URL: https://issues.apache.org/jira/browse/CELIX-195 > Project: Celix > Issue Type: Bug > Components: Log Service > Reporter: Daniel Parker > Assignee: Alexander Broekhuis > Fix For: next-incubating > > > If you are running the log helper in an remote service endpoint, then stop the bundle which talks to that endpoint, the bundle pointer for logs associated with that endpoint will become invalid. If you then run the 'log' command from the shell, a segfault will occur. -- This message was sent by Atlassian JIRA (v6.3.4#6332)