You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by "Marcel Offermans (JIRA)" <ji...@apache.org> on 2014/03/13 14:11:43 UTC

[jira] [Commented] (CELIX-113) Segmentation fault on logger call when trying to open a bundle with an invalid path

    [ https://issues.apache.org/jira/browse/CELIX-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13933217#comment-13933217 ] 

Marcel Offermans commented on CELIX-113:
----------------------------------------

Patch looks good to me. What do the committers think?

> Segmentation fault on logger call when trying to open a bundle with an invalid path
> -----------------------------------------------------------------------------------
>
>                 Key: CELIX-113
>                 URL: https://issues.apache.org/jira/browse/CELIX-113
>             Project: Celix
>          Issue Type: Bug
>          Components: Framework
>         Environment: CentOS 6.4 x86_64
>            Reporter: Gabriele Ricciardi
>         Attachments: bundle_revision_PPSW-234.patch
>
>
> Celix instance crashes on a framework_logIfError call in bundleRevision_create function when bundle path is not valid is not set.
> This happens because the passed path to the .zip bundle is not valid, the extractBundle call fails and so the logger instance is not properly initialized.
> A patch file is provided.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Re: [jira] [Commented] (CELIX-113) Segmentation fault on logger call when trying to open a bundle with an invalid path

Posted by Alexander Broekhuis <a....@gmail.com>.
Hi,

Sorry for my late reply, been bussy with some other things. But the patch
is ok, I'll apply it later today or else tomorrow.

Thanks for reporting AND patching!


2014-03-13 14:11 GMT+01:00 Marcel Offermans (JIRA) <ji...@apache.org>:

>
>     [
> https://issues.apache.org/jira/browse/CELIX-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13933217#comment-13933217]
>
> Marcel Offermans commented on CELIX-113:
> ----------------------------------------
>
> Patch looks good to me. What do the committers think?
>
> > Segmentation fault on logger call when trying to open a bundle with an
> invalid path
> >
> -----------------------------------------------------------------------------------
> >
> >                 Key: CELIX-113
> >                 URL: https://issues.apache.org/jira/browse/CELIX-113
> >             Project: Celix
> >          Issue Type: Bug
> >          Components: Framework
> >         Environment: CentOS 6.4 x86_64
> >            Reporter: Gabriele Ricciardi
> >         Attachments: bundle_revision_PPSW-234.patch
> >
> >
> > Celix instance crashes on a framework_logIfError call in
> bundleRevision_create function when bundle path is not valid is not set.
> > This happens because the passed path to the .zip bundle is not valid,
> the extractBundle call fails and so the logger instance is not properly
> initialized.
> > A patch file is provided.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.2#6252)
>



-- 
Met vriendelijke groet,

Alexander Broekhuis