celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Parker <Daniel.Par...@myfuelmaster.com>
Subject RE: [jira] [Created] (CELIX-195) SEGFAULT occurs when running a log command.
Date Tue, 06 Jan 2015 14:33:42 GMT
That sounds good to me. 

Daniel Parker

-----Original Message-----
From: Alexander Broekhuis [mailto:a.broekhuis@gmail.com] 
Sent: Tuesday, January 06, 2015 08:28
To: Dev
Subject: Re: [jira] [Created] (CELIX-195) SEGFAULT occurs when running a log command.

Hi all,

Looking at this issue, both the bundle and the service_reference pointer are stored in an
log entry. Since log_entries are handled async, there is no guarantee that these pointers
are still valid.

A possible solution would be to remove the bundle and reference pointer from the log_entry,
and add some static fields to it for the needed data.

Information that might be needed is:
- symbolic_name
- bundle_id

What do you guys think?

2015-01-05 15:00 GMT-05:00 Daniel Parker (JIRA) <jira@apache.org>:

> Daniel Parker created CELIX-195:
> -----------------------------------
>
>              Summary: 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
>
>
> 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)
>



--
Met vriendelijke groet,

Alexander Broekhuis
Mime
View raw message