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 8C2011038C for ; Tue, 7 Jan 2014 07:13:05 +0000 (UTC) Received: (qmail 56625 invoked by uid 500); 7 Jan 2014 07:11:06 -0000 Delivered-To: apmail-incubator-celix-commits-archive@incubator.apache.org Received: (qmail 56569 invoked by uid 500); 7 Jan 2014 07:10:54 -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 56551 invoked by uid 99); 7 Jan 2014 07:10:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jan 2014 07:10:51 +0000 Date: Tue, 7 Jan 2014 07:10:51 +0000 (UTC) From: "Alexander Broekhuis (JIRA)" To: celix-commits@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CELIX-103) log_service segfault on bundle stop/destroy 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-103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Broekhuis resolved CELIX-103. --------------------------------------- Resolution: Fixed Fix Version/s: 1.0.0-incubating Assignee: Alexander Broekhuis (was: Alexander Broekhuis) Applied patch and updated error handling. Please verify and close if ok. Thanks for your work! ---------------------------- Author: abroekhuis Date: Tue Jan 7 07:07:39 2014 New Revision: 1556126 URL: http://svn.apache.org/r1556126 Log: CELIX-103: Applied patch and updated code to have better error handling. > log_service segfault on bundle stop/destroy > ------------------------------------------- > > Key: CELIX-103 > URL: https://issues.apache.org/jira/browse/CELIX-103 > Project: Celix > Issue Type: Bug > Affects Versions: 1.0.0-incubating > Environment: OS: Centos 6.4 Linux (64 bit), APR 1.4.6 > Reporter: Ewout Ros > Assignee: Alexander Broekhuis > Priority: Critical > Fix For: 1.0.0-incubating > > Attachments: log_service_apr.patch > > > Stopping/destroying the log_service bundle (manually or at framework stop) causes a segfault when the log_writer is still 'Active'. When the log_writer is stopped first, the log_service bundle can be stopped without problems. > The segfault occurs in the Unwind ForcedUnwind() function in the libgcc library, called by pthread_exit(). -- This message was sent by Atlassian JIRA (v6.1.5#6160)