celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [celix] Oipo commented on issue #141: Deadlock on celix_frameworkFactory_destroyFramework
Date Sun, 09 Feb 2020 09:49:23 GMT
Oipo commented 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 0x7d62af8b2700 (LWP 22724)):
   #0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5e5cf3ae2580)
at ../sysdeps/unix/sysv/linux/futex-internal.h:80
   #1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5e5cf3ae2530, cond=0x5e5cf3ae2558)
at pthread_cond_wait.c:508
   #2  __pthread_cond_wait (cond=0x5e5cf3ae2558, mutex=0x5e5cf3ae2530) at pthread_cond_wait.c:638
   #3  0x00007d62b10ec934 in celixThreadCondition_wait () from /home/oipo/Programming/celix-apache/build/libs/utils/libcelix_utils.so.2
   #4  0x00007d62b1116380 in fw_bundleEntry_waitTillNotUsed () from /home/oipo/Programming/celix-apache/build/libs/framework/libcelix_framework.so.2
   #5  0x00007d62b111bd65 in framework_shutdown () from /home/oipo/Programming/celix-apache/build/libs/framework/libcelix_framework.so.2
   #6  0x00007d62b0d49669 in start_thread (arg=<optimized out>) at pthread_create.c:479
   #7  0x00007d62b0c6f323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
   
   Thread 1 (Thread 0x7d62af8b5a00 (LWP 22641)):
   #0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5e5cf3ade220)
at ../sysdeps/unix/sysv/linux/futex-internal.h:80
   #1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5e5cf3ade1d0, cond=0x5e5cf3ade1f8)
at pthread_cond_wait.c:508
   #2  __pthread_cond_wait (cond=0x5e5cf3ade1f8, mutex=0x5e5cf3ade1d0) at pthread_cond_wait.c:638
   #3  0x00007d62b10ec934 in celixThreadCondition_wait () from /home/oipo/Programming/celix-apache/build/libs/utils/libcelix_utils.so.2
   #4  0x00007d62b111bbb2 in framework_waitForStop () from /home/oipo/Programming/celix-apache/build/libs/framework/libcelix_framework.so.2
   #5  0x00007d62b112ec52 in celix_frameworkFactory_destroyFramework () from /home/oipo/Programming/celix-apache/build/libs/framework/libcelix_framework.so.2
   #6  0x00005e5cf27dc6f4 in TEST_GROUP_CppUTestGroupCelixBundleContextBundlesTests::teardown()
()
   #7  0x00005e5cf2802fd2 in PlatformSpecificSetJmpImplementation ()
   #8  0x00005e5cf280040e in Utest::run() ()
   #9  0x00005e5cf280297f in UtestShell::runOneTestInCurrentProcess(TestPlugin*, TestResult&)
()
   #10 0x00005e5cf2802fd2 in PlatformSpecificSetJmpImplementation ()
   #11 0x00005e5cf2800507 in UtestShell::runOneTest(TestPlugin*, TestResult&) ()
   #12 0x00005e5cf27ffab7 in TestRegistry::runAllTests(TestResult&) ()
   #13 0x00005e5cf27f5009 in CommandLineTestRunner::runAllTests() ()
   #14 0x00005e5cf27f50f9 in CommandLineTestRunner::runAllTestsMain() ()
   #15 0x00005e5cf27f525d in CommandLineTestRunner::RunAllTests(int, char const**) ()
   #16 0x00005e5cf27d29f2 in main ()
   ```

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