- **status**: assigned --> unassigned
- **assigned_to**: A V Mahesh (AVM) --> nobody
---
** [tickets:#265] mds : OpenSAF cannot start with mutex type
PTHREAD_MUTEX_ERRORCHECK_NP**
**Status:** unassigned
**Milestone:** future
**Created:** Thu May 16, 2013 08:48 AM UTC by A V Mahesh (AVM)
**Last Updated:** Wed Jul 15, 2015 02:43 PM UTC
**Owner:** nobody
http://devel.opensaf.org/ticket/759
In pursuit of the problem described in http://devel.opensaf.org/ticket/753 I
changed the mutex type in the general code (ncs_os_lock in os_defs.c) to
PTHREAD_MUTEX_ERRORCHECK_NP.
Then I get recursive locking in MDS:
opensaf-staging$ cat /var/lib/opensaf/stdouts/ncs_rde
35: Resource deadlock avoided
ncs_rde: os_defs.c:783: ncs_os_lock: Assertion `0' failed.
(gdb) bt
#0 0x00007f31603db4b5 in *GI_raise (sig=<value optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007f31603def50 in *GI_abort () at abort.c:92
#2 0x00007f31603d4481 in *GI_assert_fail (assertion=0x7f3160b8dbf1 "0",
file=<value optimized out>, line=783, function=0x7f3160b8f4b4 "ncs_os_lock") at
assert.c:81
#3 0x00007f3160b62313 in ncs_os_lock (lock=<value optimized out>,
request=<value optimized out>, type=<value optimized out>) at os_defs.c:783
#4 0x00007f3160b4c97c in ncs_spir_api (info=0x7fff8c182190) at ncs_sprr.c:360
#5 0x00007f3160b88d2c in mda_lib_req (req=0x7fff8c182400) at ncs_mda.c:157
#6 0x00007f3160b4cf77 in ncs_spir_api (info=0x7fff8c1826f0) at ncs_sprr.c:526
#7 0x00007f3160b88ebb in mda_lib_req (req=0x7fff8c1829a0) at ncs_mda.c:105
#8 0x00007f3160b4bab0 in ncs_mds_startup (argc=<value optimized out>,
argv=0x7fff8c182b50) at ncs_main_pub.c:353
#9 0x00007f3160b4c372 in ncs_core_agents_startup (argc=0, argv=0x7fff8c182b50)
at ncs_main_pub.c:446
#10 0x00007f3160b4c429 in ncs_agents_startup (argc=923, argv=0x39b) at
ncs_main_pub.c:225
#11 0x0000000000402d20 in rde_agents_startup () at rde_amf.c:425
#12 0x000000000040421f in main (argc=<value optimized out>,
argv=0x7fff8c182fa8) at rde_main.c:122
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets