incubator-celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jasper Gielen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CELIX-3) Framework crashes when installing bundle from unknown location
Date Wed, 25 May 2011 05:23:47 GMT

     [ https://issues.apache.org/jira/browse/CELIX-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jasper Gielen updated CELIX-3:
------------------------------

    Attachment: install_bundle_patch.txt

The following patch solves three issues:
- Failure when (re)loading a bundle archive at framework startup (the bundle archive remains
present, but is ignored);
- Failure when installing a non-existing bundle archive;
- Failure when updating an existing bundle with a non-existing bundle archive.

> Framework crashes when installing bundle from unknown location
> --------------------------------------------------------------
>
>                 Key: CELIX-3
>                 URL: https://issues.apache.org/jira/browse/CELIX-3
>             Project: Celix
>          Issue Type: Bug
>            Reporter: Jasper Gielen
>         Attachments: install_bundle_patch.txt
>
>
> Actions:
> - Start (for example) the hello world example
> - Use the shell command for installing a bogus bundle, for example: install bundles/bogus.zip
> Expected behavior:
> - Installation of bundle fails, print some error log, keep framework and bundle cache
in its original state
> Observed behavior:
> - Segmentation fault
> - New directory has been created in bundle cache (and remains present)
> Additional comments:
> - When starting the framework again, it suffers from loading that corrupted bundle due
to missing files, etc etc. This should be prevented as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message