You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@celix.apache.org by GitBox <gi...@apache.org> on 2020/02/09 09:51:52 UTC

[GitHub] [celix] Oipo edited a comment on issue #141: Deadlock on celix_frameworkFactory_destroyFramework

Oipo edited a comment on issue #141: Deadlock on celix_frameworkFactory_destroyFramework
URL: https://github.com/apache/celix/issues/141#issuecomment-583825669
 
 
   Still reproducible on develop.
   ```
   Thread 2 (Thread 0x7c0439983700 (LWP 32284)):
   #0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5e3c33a36ed0) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
   #1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5e3c33a36e80, cond=0x5e3c33a36ea8) at pthread_cond_wait.c:508
   #2  __pthread_cond_wait (cond=0x5e3c33a36ea8, mutex=0x5e3c33a36e80) at pthread_cond_wait.c:638
   #3  0x00007c043b1bd934 in celixThreadCondition_wait (cond=0x5e3c33a36ea8, mutex=0x5e3c33a36e80) at /home/oipo/Programming/celix-apache/libs/utils/src/celix_threads.c:156
   #4  0x00007c043b1e7380 in fw_bundleEntry_waitTillNotUsed (entry=0x5e3c33a36e70) at /home/oipo/Programming/celix-apache/libs/framework/src/framework.c:82
   #5  0x00007c043b1ecd65 in framework_shutdown (framework=0x5e3c33a36110) at /home/oipo/Programming/celix-apache/libs/framework/src/framework.c:2063
   #6  0x00007c043ae1a669 in start_thread (arg=<optimized out>) at pthread_create.c:479
   #7  0x00007c043ad40323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
   
   Thread 1 (Thread 0x7c0439986a00 (LWP 32201)):
   #0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5e3c33a36220) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
   #1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5e3c33a361d0, cond=0x5e3c33a361f8) at pthread_cond_wait.c:508
   #2  __pthread_cond_wait (cond=0x5e3c33a361f8, mutex=0x5e3c33a361d0) at pthread_cond_wait.c:638
   #3  0x00007c043b1bd934 in celixThreadCondition_wait (cond=0x5e3c33a361f8, mutex=0x5e3c33a361d0) at /home/oipo/Programming/celix-apache/libs/utils/src/celix_threads.c:156
   #4  0x00007c043b1ecbb2 in framework_waitForStop (framework=0x5e3c33a36110) at /home/oipo/Programming/celix-apache/libs/framework/src/framework.c:2027
   #5  0x00007c043b1ffc52 in celix_frameworkFactory_destroyFramework (fw=0x5e3c33a36110) at /home/oipo/Programming/celix-apache/libs/framework/src/celix_framework_factory.c:45
   #6  0x00005e3c3243c6f4 in TEST_GROUP_CppUTestGroupCelixBundleContextBundlesTests::teardown (this=0x5e3c33a3a450) at /home/oipo/Programming/celix-apache/libs/framework/test/bundle_context_bundles_tests.cpp:58
   #7  0x00005e3c32462fd2 in PlatformSpecificSetJmpImplementation ()
   #8  0x00005e3c3246040e in Utest::run() ()
   #9  0x00005e3c3246297f in UtestShell::runOneTestInCurrentProcess(TestPlugin*, TestResult&) ()
   #10 0x00005e3c32462fd2 in PlatformSpecificSetJmpImplementation ()
   #11 0x00005e3c32460507 in UtestShell::runOneTest(TestPlugin*, TestResult&) ()
   #12 0x00005e3c3245fab7 in TestRegistry::runAllTests(TestResult&) ()
   #13 0x00005e3c32455009 in CommandLineTestRunner::runAllTests() ()
   #14 0x00005e3c324550f9 in CommandLineTestRunner::runAllTestsMain() ()
   #15 0x00005e3c3245525d in CommandLineTestRunner::RunAllTests(int, char const**) ()
   #16 0x00005e3c324329f2 in main (argc=1, argv=0x7fff83c55198) at /home/oipo/Programming/celix-apache/libs/framework/test/run_tests.cpp:25
   ```

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