celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [celix] m-veenvliet opened a new issue #188: Deadlock in pubsub zmq
Date Tue, 07 Apr 2020 09:12:39 GMT
m-veenvliet opened a new issue #188: Deadlock in pubsub zmq
URL: https://github.com/apache/celix/issues/188
 
 
   When communicating using the pubsub mechanics and the ZeroMQ protocol a deadlock can occur.
look at the back trace bellow.
   
   Thread 6 (Thread 0x7fffedff2700 (LWP 27884)):
   #0  0x0000003ded00e334 in __lll_lock_wait () from /lib64/libpthread.so.0
   #1  0x0000003ded00aab4 in pthread_rwlock_rdlock () from /lib64/libpthread.so.0
   #2  0x00007ffff7db5dab in serviceReference_getServiceRegistration () from /celix/linux64_gcc_6_5_0/lib64/libcelix_framework.so.2
   #3  0x00007ffff7dc21aa in serviceDependency_invokeRemove () from /celix/linux64_gcc_6_5_0/lib64/libcelix_framework.so.2
   #4  0x00007ffff7dbfde4 in component_handleEventTask () from /celix/linux64_gcc_6_5_0/lib64/libcelix_framework.so.2
   #5  0x00007ffff7dbee30 in executor_execute () from /celix/linux64_gcc_6_5_0/lib64/libcelix_framework.so.2
   #6  0x00007ffff7dc09ff in celix_private_dmComponent_handleEvent () from /celix/linux64_gcc_6_5_0/lib64/libcelix_framework.so.2
   #7  0x00007ffff7dc1220 in serviceDependency_addedService () from /celix/linux64_gcc_6_5_0/lib64/libcelix_framework.so.2
   #8  0x00007ffff7db97d3 in serviceTracker_track.isra.1 () from /celix/linux64_gcc_6_5_0/lib64/libcelix_framework.so.2
   #9  0x00007ffff7db9ac4 in serviceTracker_serviceChanged () from /celix/linux64_gcc_6_5_0/lib64/libcelix_framework.so.2
   #10 0x00007ffff7db8145 in celix_serviceRegistry_serviceChanged () from /celix/linux64_gcc_6_5_0/lib64/libcelix_framework.so.2
   #11 0x00007ffff7db82de in serviceRegistry_registerServiceInternal () from /celix/linux64_gcc_6_5_0/lib64/libcelix_framework.so.2
   #12 0x00007ffff7db8b31 in celix_serviceRegistry_registerServiceFactory () from /celix/linux64_gcc_6_5_0/lib64/libcelix_framework.so.2
   #13 0x00007ffff7db1631 in celix_framework_registerServiceFactory () from /celix/linux64_gcc_6_5_0/lib64/libcelix_framework.so.2
   #14 0x00007ffff7dab283 in celix_bundleContext_registerServiceWithOptions () from /celix/linux64_gcc_6_5_0/lib64/libcelix_framework.so.2
   #15 0x00007fffec5d5530 in pubsub_zmqTopicSender_create () from .cpp_zeromq_subscriber_cache/bundle10/version0.0/libcelix_pubsub_admin_zmq.so.1
   #16 0x00007fffec5d39cc in pubsub_zmqAdmin_setupTopicSender () from .cpp_zeromq_subscriber_cache/bundle10/version0.0/libcelix_pubsub_admin_zmq.so.1
   #17 0x00007fffedff6b67 in pstm_setupTopicSenderCallback () from .cpp_zeromq_subscriber_cache/bundle7/version0.0/libcelix_pubsub_topology_manager.so.1
   #18 0x00007ffff7db923f in serviceTracker_useHighestRankingServiceInternal () from /celix/linux64_gcc_6_5_0/lib64/libcelix_framework.so.2
   #19 0x00007ffff7dba94e in celix_serviceTracker_useHighestRankingService () from /celix/linux64_gcc_6_5_0/lib64/libcelix_framework.so.2
   #20 0x00007ffff7dab99f in celix_bundleContext_useServiceWithOptions () from /celix/linux64_gcc_6_5_0/lib64/libcelix_framework.so.2
   #21 0x00007ffff7daba39 in celix_bundleContext_useServiceWithId () from /celix/linux64_gcc_6_5_0/lib64/libcelix_framework.so.2
   #22 0x00007fffedff7125 in pstm_psaHandlingThread () from .cpp_zeromq_subscriber_cache/bundle7/version0.0/libcelix_pubsub_topology_manager.so.1
   #23 0x0000003ded007aa1 in start_thread () from /lib64/libpthread.so.0
   #24 0x0000003dec4e8c4d in clone () from /lib64/libc.so.6
   
   Thread 5 (Thread 0x7fffeebfd700 (LWP 27883)):
   #0  0x0000003ded00e334 in __lll_lock_wait () from /lib64/libpthread.so.0
   #1  0x0000003ded0095d8 in _L_lock_854 () from /lib64/libpthread.so.0
   #2  0x0000003ded0094a7 in pthread_mutex_lock () from /lib64/libpthread.so.0
   #3  0x00007fffec5d41de in pubsub_zmqAdmin_executeCommand () from .cpp_zeromq_subscriber_cache/bundle10/version0.0/libcelix_pubsub_admin_zmq.so.1
   #4  0x00007ffff4dcc576 in shell_executeCommand () from .cpp_zeromq_subscriber_cache/bundle1/version0.0/libshell.so.2
   #5  0x00007ffff4391705 in shellTui_runnable () from .cpp_zeromq_subscriber_cache/bundle5/version0.0/libshell_tui.so.1
   #6  0x0000003ded007aa1 in start_thread () from /lib64/libpthread.so.0
   #7  0x0000003dec4e8c4d in clone () from /lib64/libc.so.6
   

----------------------------------------------------------------
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