- **status**: review --> fixed
- **Comment**:

changeset:   8120:a49f89f85492
branch:      opensaf-5.1.x
parent:      8118:98e564be00a0
user:        Hoang Vo <hoang.m...@dektech.com.au>
date:        Thu Sep 22 13:15:34 2016 +0530
summary:     cpd: coredump error while creating checkpoint after previous 
creating got error [#2055]
 
changeset:   8121:5003bf417c28
tag:         tip
parent:      8119:3d0f2a5d4966
user:        Hoang Vo <hoang.m...@dektech.com.au>
date:        Thu Sep 22 13:16:18 2016 +0530
summary:     cpd: coredump error while creating checkpoint after previous 
creating got error [#2055]



---

** [tickets:#2055] cpd: coredump error while creating checkpoint after previous 
creating got error**

**Status:** fixed
**Milestone:** 5.1.FC
**Created:** Wed Sep 21, 2016 10:11 AM UTC by Vo Minh Hoang
**Last Updated:** Wed Sep 21, 2016 10:45 AM UTC
**Owner:** Vo Minh Hoang


Analyzing show that:
First creating time, cpd got error in creating runtime object and run to error 
handling steps, this free node_info memory without removing it from 
nsc_patricia_tree.
Second creating time, cpd try to access node_info and got error.

Error is shown as following:
~~~
Sep 14 22:37:39 SC-2-2 osafckptd[8401]: ER create_runtime_ckpt_object - 
saImmOiRtObjectCreate_2 failed with error = 6
Sep 14 22:37:39 SC-2-2 osafckptd[8401]: ER create runtime ckpt object failed 
with error: 6
Sep 14 22:37:39 SC-2-2 osafckptd[8401]: ER cpd db add ckpt_node failed for 
ckpt_id:1
~~~

Coredump:
~~~
Program terminated with signal SIGSEGV, Segmentation fault.
#0  search (pTree=pTree@entry=0x79f748, key=key@entry=0x7b2fe8 "\017\001\002") 
at ../../../../../../opensaf/osaf/libs/
core/leap/patricia.c:93
93      ../../../../../../opensaf/osaf/libs/core/leap/patricia.c: No such file 
or directory.
Missing separate debuginfos, use: zypper install 
opensaf-ckpt-director-debuginfo-5.1.FC-437.0.8c9f30b.sle12.x86_64
(gdb) bt
#0  search (pTree=pTree@entry=0x79f748, key=key@entry=0x7b2fe8 "\017\001\002") 
at ../../../../../../opensaf/osaf/libs/
core/leap/patricia.c:93
#1  0x00007f22928f143a in ncs_patricia_tree_add (pTree=pTree@entry=0x79f748, 
pNode=0x7b2f90) at ../../../../../../
opensaf/osaf/libs/core/leap/patricia.c:258
#2  0x0000000000406bf1 in cpd_cpnd_info_node_find_add 
(cpnd_tree=cpnd_tree@entry=0x79f748, dest=dest@entry=
0x7f228c004bc0, cpnd_info_node=cpnd_info_node@entry=0x7ffccdbb0b70,
add_flag=add_flag@entry=0x7ffccdbb0b6f) at 
../../../../../../../opensaf/osaf/services/saf/cpsv/cpd/cpd_db.c:802
#3  0x0000000000411a28 in cpd_ckpt_db_entry_update (cb=cb@entry=0x79f5c0, 
cpnd_dest=cpnd_dest@entry=0x7f228c004bc0, 
ckpt_create=ckpt_create@entry=0x7f228c004568,
o_ckpt_node=o_ckpt_node@entry=0x7ffccdbb0d70, 
io_map_info=io_map_info@entry=0x7ffccdbb0d78) at ../../../../../../../
opensaf/osaf/services/saf/cpsv/cpd/cpd_proc.c:170
#4  0x00000000004080ad in cpd_evt_proc_ckpt_create (cb=cb@entry=0x79f5c0, 
evt=evt@entry=0x7f228c004560, sinfo=sinfo@
entry=0x7f228c004bb8)
at ../../../../../../../opensaf/osaf/services/saf/cpsv/cpd/cpd_evt.c:235
#5  0x000000000040a423 in cpd_process_evt (evt=0x7f228c004550) at 
../../../../../../../opensaf/osaf/services/saf/cpsv/
cpd/cpd_evt.c:113
#6  0x000000000040da31 in cpd_main_process (cb=cb@entry=0x79f5c0) at 
../../../../../../../opensaf/osaf/services/saf/cpsv
/cpd/cpd_init.c:661
#7  0x0000000000405360 in main (argc=<optimized out>, argv=<optimized out>) at 
../../../../../../../opensaf/osaf/
services/saf/cpsv/cpd/cpd_main.c:74
~~~


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to