- **status**: accepted --> invalid
- **Part**: - --> d


---

** [tickets:#818] segfault in ava_api.c at line 1891**

**Status:** invalid
**Milestone:** 4.4.2
**Created:** Fri Mar 21, 2014 02:42 PM UTC by surender khetavath
**Last Updated:** Wed Dec 03, 2014 11:15 AM UTC
**Owner:** Nagendra Kumar

changeset : 5024

configuration.
1App,1SG,2SUs each with 3comps,1SI,3CSIs.
COMP1 & 2 is of Category 1( PI comp) and COMP3 is of category 12(PI PROXIED)
COMP2 of SU1 will register the COMP3 of SU2 and COMP2 of SU2 will register the 
COMP3 of SU1

CompBaseTypes and CSITypes are different for 3comps

Test:
1.Bring up the configuration such that SG & SUs will be in LOCK_IN state
2. Unlock-in and unlock the SUs.
3. unlock the sg. At this point all the SUs will be instantiated and running.
4. lock the SU1
5. LOCK-IN the SU1. Here the COMP2 of SU2 segfaults in saAmfResponse() call 
withing TERMINATE CBK.

/var/log/messages:
Mar 21 19:43:29 PL-3 osafamfnd[31811]: NO 
'safSu=2nAdminRepair_SU_1,safSg=2nAdminRepair_SG,safApp=2nAdminRepair' Presence 
State INSTANTIATED => TERMINATING
Mar 21 19:43:29 PL-3 osafamfnd[31811]: NO 
'safSu=2nAdminRepair_SU_1,safSg=2nAdminRepair_SG,safApp=2nAdminRepair' Presence 
State TERMINATING => UNINSTANTIATED
Mar 21 19:43:30 PL-3 osafamfnd[31811]: ER ncsmds_api for 4 FAILED, 
dest=2040f7a07c01c
Mar 21 19:43:30 PL-3 osafamfnd[31811]: ER avnd_evt_avnd_avnd_msg:failure:Msg 
Type 1 and res 2

gdb:

(gdb) l
warning: Source file is more recent than executable.
1886
1887            if (NCSCC_RC_SUCCESS != rc)
1888                    rc = SA_AIS_ERR_TRY_AGAIN;
1889
1890            if (rec->cbk_info->type == AVSV_AMF_COMP_TERM) {
1891                    if (msg_rsp->type != AVSV_AVND_AMF_API_RESP_MSG) {
1892                            TRACE_2("ERR_LIBRARY: wrong type");
1893                            rc = SA_AIS_ERR_LIBRARY;
1894                            goto done;
1895                    }
(gdb)
(gdb) p msg_rsp
$1 = (AVSV_NDA_AVA_MSG *) 0x0
(gdb)


FULL GDB output is attached.


---

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.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to