celix icon indicating copy to clipboard operation
celix copied to clipboard

Apache Celix is a framework for C and C++14 to develop dynamic modular software applications using component and in-process service-oriented programming.

Results 145 celix issues
Sort by recently updated
recently updated
newest added

``` ================== WARNING: ThreadSanitizer: data race (pid=64753) Write of size 8 at 0x7b0c00000458 by main thread (mutexes: write M46): #0 arrayList_add /home/oipo-unencrypted/Programming/celix/libs/utils/src/array_list.c:187 (libcelix_utils.so.2+0x92b9) #1 fw_addBundleListener /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1490 (libcelix_framework.so.2+0x29f20) #2 celix_bundleContext_trackBundlesWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:567...

``` ================== WARNING: ThreadSanitizer: data race (pid=64600) Write of size 4 at 0x7b4000008240 by thread T3 (mutexes: write M148, read M285, write M187, write M188, write M190, write M291): #0...

``` ================== WARNING: ThreadSanitizer: data race (pid=64540) Write of size 8 at 0x7b0c00000458 by main thread (mutexes: write M57): #0 arrayList_add /home/oipo-unencrypted/Programming/celix/libs/utils/src/array_list.c:187 (libcelix_utils.so.2+0x92b9) #1 fw_addBundleListener /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1490 (libcelix_framework.so.2+0x29f20) #2 celix_bundleContext_trackBundlesWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:567...

``` ================== WARNING: ThreadSanitizer: data race (pid=54775) Write of size 4 at 0x7b6800002400 by thread T7: #0 (librsa_discovery_configured.so.0+0x2a4d0) #1 (librsa_discovery_configured.so.0+0x107fb) #2 (librsa_discovery_configured.so.0+0xb8a6) #3 (librsa_discovery_configured.so.0+0xcb63) #4 fw_stopBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1055 (libcelix_framework.so.2+0x28401) #5 framework_shutdown...

``` ================== WARNING: ThreadSanitizer: data race (pid=35506) Write of size 4 at 0x7b6800000000 by thread T8: #0 mg_stop /home/oipo-unencrypted/Programming/celix/bundles/remote_services/civetweb/src/civetweb.c:7685 (librsa_dfi.so.0+0x2c020) #1 remoteServiceAdmin_stop /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/src/remote_service_admin_dfi.c:326 (librsa_dfi.so.0+0xcbe3) #2 bundleActivator_stop /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/src/remote_service_admin_activator.c:101 (librsa_dfi.so.0+0xfd70) #3 fw_stopBundle...

See [this link](https://owasp.org/www-community/vulnerabilities/Unsafe_function_call_from_a_signal_handler) for more info. Tsan output: ``` ================== WARNING: ThreadSanitizer: signal-unsafe call inside of a signal (pid=52772) #0 calloc (libtsan.so.0+0x2cdbd) #1 celix_private_dependencyManager_create /home/oipo-unencrypted/Programming/celix/libs/framework/src/dm_dependency_manager_impl.c:33 (libcelix_framework.so.2+0x485d2) #2 celix_bundleContext_getDependencyManager /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:515 (libcelix_framework.so.2+0x20126)...

Add support for shared library (e.g. so / dylib files) as bundles. Note that these bundles should be resolvable on their own and cannot have additional shared libraries dependencies, as...

component/framework
kind/improvement

Currently the shared memory remote service admin is disable and not correctly building. These issues can be fixed, but because the shared memory rsa is using proxy/endpoint bundles it better...

component/remote-services
kind/improvement

See dyn_avpr_function_tests.cpp test Example11. Enabling this leads to segfaults.

For the pubsub wire protocol a function from https://github.com/PeterScott/netstring-c is used. The code is listed as "public domain" and does not have an explicit license. Do we need to include...