Public bug reported:

On Wily

Due to the following glibc bug :
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810322

ike fails to start with the following error:
iked: pthread_mutex_unlock.c:87: __pthread_mutex_unlock_usercnt: Assertion 
`type == PTHREAD_MUTEX_ERRORCHECK_NP' failed.

The ike bug has been reported there:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756316

I propose to apply the suggested patch :
diff -r -u ike-orig/source/libith/libith.cpp ike/source/libith/libith.cpp
--- ike-orig/source/libith/libith.cpp   2012-02-10 08:05:36.000000000 +0100
+++ ike/source/libith/libith.cpp        2016-01-08 11:42:32.000000000 +0100
@@ -94,7 +94,7 @@
 {
        memset( obj_name, 0, 20 );
        pthread_mutexattr_init( &attr );
-       pthread_mutexattr_settype( &attr, PTHREAD_MUTEX_ERRORCHECK );
+       pthread_mutexattr_settype( &attr, PTHREAD_MUTEX_NORMAL );
        pthread_mutex_init( &mutex, &attr );
 }

** Affects: ike (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1541254

Title:
  pthread_mutex_unlock.c:87: __pthread_mutex_unlock_usercnt: Assertion
  `type == PTHREAD_MUTEX_ERRORCHECK_NP' failed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ike/+bug/1541254/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to