celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [celix] Oipo opened a new issue #191: Aggregated pubsub issues
Date Tue, 14 Apr 2020 07:54:05 GMT
Oipo opened a new issue #191: Aggregated pubsub issues
URL: https://github.com/apache/celix/issues/191
 
 
   Leaks:
   
   ```
   ==59785==ERROR: LeakSanitizer: detected memory leaks
   
   Direct leak of 32 byte(s) in 2 object(s) allocated from:
       #0 0x7c2b18fa8ce6 in calloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dce6)
       #1 0x7c2b12e94040 in pubsubInterceptorsHandler_addInterceptor /home/oipo-unencrypted/Programming/celix-apache/bundles/pubsub/pubsub_spi/src/pubsub_interceptors_handler.c:97
       #2 0x7c2b18d33ec7 in serviceTracker_invokeAddService /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/service_tracker.c:549
       #3 0x7c2b18d3300c in serviceTracker_track /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/service_tracker.c:489
       #4 0x7c2b18d3201c in serviceTracker_serviceChanged /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/service_tracker.c:413
       #5 0x7c2b18d2c125 in celix_serviceRegistry_serviceChanged /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/service_registry.c:1180
       #6 0x7c2b18d22ff7 in serviceRegistry_registerServiceInternal /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/service_registry.c:244
       #7 0x7c2b18d22279 in serviceRegistry_registerService /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/service_registry.c:201
       #8 0x7c2b18cfd45e in fw_registerService /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/framework.c:1377
       #9 0x7c2b18ce24e7 in bundleContext_registerService /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/bundle_context.c:168
       #10 0x7c2b18ce51ba in celix_bundleContext_registerServiceWithOptions /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/bundle_context.c:468
       #11 0x7c2b13024faf in interceptor_start /home/oipo-unencrypted/Programming/celix-apache/bundles/pubsub/examples/pubsub/interceptors/src/ps_interceptor_activator.c:79
       #12 0x7c2b13025385 in celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix-apache/bundles/pubsub/examples/pubsub/interceptors/src/ps_interceptor_activator.c:94
       #13 0x7c2b18cf8e29 in fw_startBundle /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/framework.c:884
       #14 0x7c2b18cd3459 in bundle_startWithOptions /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/bundle.c:267
       #15 0x7c2b18cf6097 in framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/framework.c:603
       #16 0x7c2b18cf5ba1 in framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/framework.c:570
       #17 0x7c2b18cf54ea in framework_start /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/framework.c:549
       #18 0x7c2b18d4d31a in celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/celix_launcher.c:172
       #19 0x7c2b18d4d279 in celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/celix_launcher.c:157
       #20 0x7c2b18d4cff9 in celixLauncher_launchAndWaitForShutdown /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/celix_launcher.c:113
       #21 0x58327ced622b in main /home/oipo-unencrypted/Programming/celix-apache/build/celix/gen/containers/pubsub_publisher_zmq/main.c:19
       #22 0x7c2b17cd01e2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x271e2)
   
   Direct leak of 32 byte(s) in 2 object(s) allocated from:
       #0 0x7c2b18fa8ce6 in calloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dce6)
       #1 0x7c2b12e94040 in pubsubInterceptorsHandler_addInterceptor /home/oipo-unencrypted/Programming/celix-apache/bundles/pubsub/pubsub_spi/src/pubsub_interceptors_handler.c:97
       #2 0x7c2b18d33ec7 in serviceTracker_invokeAddService /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/service_tracker.c:549
       #3 0x7c2b18d3300c in serviceTracker_track /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/service_tracker.c:489
       #4 0x7c2b18d3201c in serviceTracker_serviceChanged /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/service_tracker.c:413
       #5 0x7c2b18d2c125 in celix_serviceRegistry_serviceChanged /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/service_registry.c:1180
       #6 0x7c2b18d22ff7 in serviceRegistry_registerServiceInternal /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/service_registry.c:244
       #7 0x7c2b18d22279 in serviceRegistry_registerService /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/service_registry.c:201
       #8 0x7c2b18cfd45e in fw_registerService /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/framework.c:1377
       #9 0x7c2b18ce24e7 in bundleContext_registerService /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/bundle_context.c:168
       #10 0x7c2b18ce51ba in celix_bundleContext_registerServiceWithOptions /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/bundle_context.c:468
       #11 0x7c2b13024a1d in interceptor_start /home/oipo-unencrypted/Programming/celix-apache/bundles/pubsub/examples/pubsub/interceptors/src/ps_interceptor_activator.c:56
       #12 0x7c2b13025385 in celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix-apache/bundles/pubsub/examples/pubsub/interceptors/src/ps_interceptor_activator.c:94
       #13 0x7c2b18cf8e29 in fw_startBundle /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/framework.c:884
       #14 0x7c2b18cd3459 in bundle_startWithOptions /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/bundle.c:267
       #15 0x7c2b18cf6097 in framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/framework.c:603
       #16 0x7c2b18cf5ba1 in framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/framework.c:570
       #17 0x7c2b18cf54ea in framework_start /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/framework.c:549
       #18 0x7c2b18d4d31a in celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/celix_launcher.c:172
       #19 0x7c2b18d4d279 in celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/celix_launcher.c:157
       #20 0x7c2b18d4cff9 in celixLauncher_launchAndWaitForShutdown /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/celix_launcher.c:113
       #21 0x58327ced622b in main /home/oipo-unencrypted/Programming/celix-apache/build/celix/gen/containers/pubsub_publisher_zmq/main.c:19
       #22 0x7c2b17cd01e2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x271e2)
   
   Indirect leak of 40 byte(s) in 1 object(s) allocated from:
       #0 0x7c2b18fa8ce6 in calloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dce6)
       #1 0x7c2b13024ab4 in interceptor_start /home/oipo-unencrypted/Programming/celix-apache/bundles/pubsub/examples/pubsub/interceptors/src/ps_interceptor_activator.c:58
       #2 0x7c2b13025385 in celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix-apache/bundles/pubsub/examples/pubsub/interceptors/src/ps_interceptor_activator.c:94
       #3 0x7c2b18cf8e29 in fw_startBundle /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/framework.c:884
       #4 0x7c2b18cd3459 in bundle_startWithOptions /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/bundle.c:267
       #5 0x7c2b18cf6097 in framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/framework.c:603
       #6 0x7c2b18cf5ba1 in framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/framework.c:570
       #7 0x7c2b18cf54ea in framework_start /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/framework.c:549
       #8 0x7c2b18d4d31a in celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/celix_launcher.c:172
       #9 0x7c2b18d4d279 in celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/celix_launcher.c:157
       #10 0x7c2b18d4cff9 in celixLauncher_launchAndWaitForShutdown /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/celix_launcher.c:113
       #11 0x58327ced622b in main /home/oipo-unencrypted/Programming/celix-apache/build/celix/gen/containers/pubsub_publisher_zmq/main.c:19
       #12 0x7c2b17cd01e2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x271e2)
   
   Indirect leak of 40 byte(s) in 1 object(s) allocated from:
       #0 0x7c2b18fa8ce6 in calloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dce6)
       #1 0x7c2b1302451b in interceptor_start /home/oipo-unencrypted/Programming/celix-apache/bundles/pubsub/examples/pubsub/interceptors/src/ps_interceptor_activator.c:35
       #2 0x7c2b13025385 in celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix-apache/bundles/pubsub/examples/pubsub/interceptors/src/ps_interceptor_activator.c:94
       #3 0x7c2b18cf8e29 in fw_startBundle /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/framework.c:884
       #4 0x7c2b18cd3459 in bundle_startWithOptions /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/bundle.c:267
       #5 0x7c2b18cf6097 in framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/framework.c:603
       #6 0x7c2b18cf5ba1 in framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/framework.c:570
       #7 0x7c2b18cf54ea in framework_start /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/framework.c:549
       #8 0x7c2b18d4d31a in celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/celix_launcher.c:172
       #9 0x7c2b18d4d279 in celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/celix_launcher.c:157
       #10 0x7c2b18d4cff9 in celixLauncher_launchAndWaitForShutdown /home/oipo-unencrypted/Programming/celix-apache/libs/framework/src/celix_launcher.c:113
       #11 0x58327ced622b in main /home/oipo-unencrypted/Programming/celix-apache/build/celix/gen/containers/pubsub_publisher_zmq/main.c:19
       #12 0x7c2b17cd01e2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x271e2)
   
   SUMMARY: AddressSanitizer: 144 byte(s) leaked in 6 allocation(s).
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message