celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bjoern Petri (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CELIX-174) invalid bundle_context during fw shutdown
Date Wed, 29 Oct 2014 08:25:33 GMT

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

Bjoern Petri closed CELIX-174.
------------------------------
    Resolution: Fixed
      Assignee: Bjoern Petri

>  invalid bundle_context during fw shutdown 
> -------------------------------------------
>
>                 Key: CELIX-174
>                 URL: https://issues.apache.org/jira/browse/CELIX-174
>             Project: Celix
>          Issue Type: Bug
>          Components: Framework
>         Environment: Revision: 1634019
>            Reporter: Bjoern Petri
>            Assignee: Bjoern Petri
>
> To reproduce the info start the hello_world deployment package with having only the shell
and shell_tui package installed. Afterwards perform the following (sequence is not important):
> {code}
> -> install bundles/apache_celix_examples_hello_world.zip
> Bundle ID: 5
> -> install  bundles/log_service.zip
> Bundle ID: 6
> -> install bundles/hello_world_test.zip
> Bundle ID: 7
> -> start 6
> -> start 7
> Hello Import
> Hello from second lib
> -> start 5
> Hello World
> Hello from second lib
> -> stop 0
> Goodbye World
> Goodbye Import
> INFO: FRAMEWORK: Shutdown done
> INFO: FRAMEWORK: Successful shutdown
> *** Error in `/home/bjoern/Development/build.current/launcher/celix': free(): invalid
pointer: 0x0000000000613a50 ***
> [...]
> (gdb) bt
> #0  0x00007ffff6c84877 in raise () from /lib64/libc.so.6
> #1  0x00007ffff6c85f68 in abort () from /lib64/libc.so.6
> #2  0x00007ffff6cc4a54 in __libc_message () from /lib64/libc.so.6
> #3  0x00007ffff6ccbd78 in _int_free () from /lib64/libc.so.6
> #4  0x00007ffff7b963bc in bundleContext_destroy (context=0x613a50)
>     at /home/bjoern/Development/celix.current/framework/private/src/bundle_context.c:64
> #5  0x00007ffff7b9b1be in framework_destroy (framework=0x60e200)
>     at /home/bjoern/Development/celix.current/framework/private/src/framework.c:240
> #6  0x0000000000402570 in main (argc=1, argv=0x7fffffffde68)
>     at /home/bjoern/Development/celix.current/launcher/private/src/launcher.c:159
> {code}
> The described behaviour seems not to occur when the bundles are already available because
they are listed within the config.properties file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message