You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by "Jasper Gielen (JIRA)" <ji...@apache.org> on 2011/05/25 07:21:47 UTC
[jira] [Created] (CELIX-3) Framework crashes when installing bundle
from unknown location
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
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
[jira] [Updated] (CELIX-3) Framework crashes when installing bundle
from unknown location
Posted by "Jasper Gielen (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Resolved] (CELIX-3) Framework crashes when installing
bundle from unknown location
Posted by "Jasper Gielen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CELIX-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jasper Gielen resolved CELIX-3.
-------------------------------
Resolution: Fixed
Problem has been solved.
> 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
[jira] [Closed] (CELIX-3) Framework crashes when installing bundle
from unknown location
Posted by "Alexander Broekhuis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CELIX-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Broekhuis closed CELIX-3.
-----------------------------------
> 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
[jira] [Commented] (CELIX-3) Framework crashes when installing
bundle from unknown location
Posted by "Alexander Broekhuis (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Assigned] (CELIX-3) Framework crashes when installing
bundle from unknown location
Posted by "Alexander Broekhuis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CELIX-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Broekhuis reassigned CELIX-3:
---------------------------------------
Assignee: Alexander Broekhuis
> 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