[
https://issues.apache.org/jira/browse/CELIX-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040131#comment-13040131
]
Alexander Broekhuis commented on CELIX-3:
-----------------------------------------
Thx for the patch, looking good. I had to fix some unneeded free calls, and
also solved several memory leaks (probably already where there before this
patch). One problem I encountered was that after installing a bogus bundle, the
global lock wasn't released resulting in a lock when trying to stop the
framework.
The patch, including these other fixes, has been applied to revision 1128195.
> 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
> Assignee: Alexander Broekhuis
> 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