- **status**: review --> accepted
- **Comment**:
New coredump found. The following assert is activated:
static uint32_t dec_ng_admin_state(AVD_CL_CB *cb, NCS_MBCSV_CB_DEC *dec)
{
SaNameT name;
TRACE_ENTER();
osaf_decode_sanamet(&dec->i_uba, &name);
AVD_AMF_NG *ng = nodegroup_db->find(Amf::to_string(&name));
osafassert(ng != nullptr);
osaf_decode_uint32(&dec->i_uba, (uint32_t*)&ng->saAmfNGAdminState);
cb->async_updt_cnt.ng_updt++;
Corresponding coredump:
Thread 1 (Thread 0x7f0bf4cfe780 (LWP 478)):
#0 0x00007f0bf30fccc9 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
resultvar = 0
pid = 478
selftid = 478
#1 0x00007f0bf31000d8 in __GI_abort () at abort.c:89
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x39, sa_sigaction = 0x39},
sa_mask = {__val = {57, 23646376, 139689326511447, 5, 0, 23646376,
139689299070248, 0, 23646376, 23469848, 139689326540053, 0, 0, 139689302968216,
4294967295, 0}}, sa_flags = 0, sa_restorer = 0x16e93c0}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007f0bf488a5fe in __osafassert_fail (__file=<optimized out>,
__line=<optimized out>, __func=<optimized out>, __assertion=<optimized out>) at
sysf_def.c:281
No locals.
#3 0x000000000040c97f in dec_ng_admin_state (cb=0x6ccaa0 <_control_block>,
dec=0x16e4a38) at ckpt_dec.cc:2841
name = {length = 57, value =
"safAmfNodeGroup=smfLockAdmNg56,safAmfCluster=myAmfCluster", '\000' <repeats
198 times>}
__FUNCTION__ = "dec_ng_admin_state"
ng = 0x0
#4 0x000000000040a167 in avsv_dequeue_async_update_msgs (cb=cb@entry=0x6ccaa0
<_control_block>, pr_or_fr=pr_or_fr@entry=true) at chkop.cc:1262
status = 1
updt_msg = 0x16e4a30
__FUNCTION__ = "avsv_dequeue_async_update_msgs"
#5 0x000000000040ac87 in avsv_mbcsv_process_dec_cb (arg=0x7fff593d78d0,
cb=0x6ccaa0 <_control_block>) at chkop.cc:329
status = 1
#6 avsv_mbcsv_cb (arg=0x7fff593d78d0) at chkop.cc:171
status = <optimized out>
#7 0x00007f0bf489a646 in ncs_mbscv_rcv_decode (peer=peer@entry=0x16b1a40,
evt=evt@entry=0x7f0bec004d80) at mbcsv_act.c:393
parg = {i_op = NCS_MBCSV_CBOP_DEC, i_client_hdl = 0, i_ckpt_hdl =
4292870177, info = {encode = {io_msg_type = NCS_MBCSV_MSG_ASYNC_UPDATE,
io_action = NCS_MBCSV_ACT_UPDATE, io_reo_type = 48, io_reo_hdl = 0, io_uba =
{start = 0x0, ub = 0x0, bufp = 0x1400000000 <error: Cannot access memory at
address 0x1400000000>, res = 20, ttl = 0, max = 23479324}, io_req_context =
12357508391830880263, i_peer_version = 0}, decode = {i_msg_type =
NCS_MBCSV_MSG_ASYNC_UPDATE, i_action = NCS_MBCSV_ACT_UPDATE, i_reo_type = 48,
i_uba = {start = 0x0, ub = 0x0, bufp = 0x0, res = 0, ttl = 20, max = 20},
o_req_context = 23479324, i_peer_version = 7}, peer = {i_service =
NCS_SERVICE_ID_LEAP_TMR, i_peer_version = 3}, notify = {i_uba = {start =
0x300000001, ub = 0x30, bufp = 0x0, res = 0, ttl = 0, max = 0}, i_peer_version
= 0, i_msg = 0x14}, error = {i_code = NCS_MBCSV_WARM_SYNC_TMR_EXP, i_err = 3,
i_arg = 0x30, i_peer_version = 0}}}
status = 2
mbc_inst = 0x1663a70
__FUNCTION__ = "ncs_mbscv_rcv_decode"
#8 0x00007f0bf489a816 in ncs_mbcsv_rcv_async_update (peer=0x16b1a40,
evt=0x7f0bec004d80) at mbcsv_act.c:440
__FUNCTION__ = "ncs_mbcsv_rcv_async_update"
#9 0x00007f0bf48a1400 in mbcsv_process_events (rcvd_evt=0x7f0bec004d80,
mbcsv_hdl=mbcsv_hdl@entry=4293918753) at mbcsv_pr_evts.c:168
mbc_reg = 0x1663a70
peer = <optimized out>
ckpt = <optimized out>
hdl_to_give = 4291821601
__FUNCTION__ = "mbcsv_process_events"
#10 0x00007f0bf48a156b in mbcsv_hdl_dispatch_all (mbcsv_hdl=4293918753,
mbx=mbx@entry=4285530113) at mbcsv_pr_evts.c:272
rcvd_evt = <optimized out>
rc = 1
__FUNCTION__ = "mbcsv_hdl_dispatch_all"
#11 0x00007f0bf489bd92 in mbcsv_process_dispatch_request (arg=0x7fff593d7a40)
at mbcsv_api.c:423
mbc_reg = <optimized out>
rc = SA_AIS_OK
mail_box = 4285530113
__FUNCTION__ = "mbcsv_process_dispatch_request"
#12 0x0000000000409ba2 in avsv_mbcsv_dispatch (cb=cb@entry=0x6ccaa0
<_control_block>, flag=flag@entry=2) at chkop.cc:839
mbcsv_arg = {i_op = NCS_MBCSV_OP_DISPATCH, i_mbcsv_hdl = 4293918753,
info = {initialize = {i_mbcsv_cb = 0x2, i_version = 0, i_service =
NCS_SERVICE_ID_BASE, o_mbcsv_hdl = 0}, sel_obj_get = {o_select_obj = 2},
dispatch = {i_disp_flags = SA_DISPATCH_ALL}, finalize = {i_dummy = 2}, open =
{i_pwe_hdl = 2, i_client_hdl = 0, o_ckpt_hdl = 0}, close = {i_ckpt_hdl = 2},
chg_role = {i_ckpt_hdl = 2, i_ha_state = 0}, send_ckpt = {i_ckpt_hdl = 2,
i_send_type = NCS_MBCSV_SND_SYNC, i_reo_type = 0, i_reo_hdl = 0, i_action =
NCS_MBCSV_ACT_DONT_CARE, io_no_peer = false}, send_notify = {i_ckpt_hdl = 2,
i_msg_dest = NCS_MBCSV_ACTIVE, i_msg = 0x0}, send_data_req = {i_ckpt_hdl = 2,
i_uba = {start = 0x0, ub = 0x0, bufp = 0x0, res = 0, ttl = 0, max = 0}},
obj_set = {i_ckpt_hdl = 2, i_obj = NCS_MBCSV_OBJ_WARM_SYNC_ON_OFF, i_val = 0},
obj_get = {i_ckpt_hdl = 2, i_obj = NCS_MBCSV_OBJ_WARM_SYNC_ON_OFF, o_val = 0}}}
rc = <optimized out>
#13 0x0000000000405c4d in main_loop () at main.cc:697
pollretval = <optimized out>
evt = <optimized out>
polltmo = <optimized out>
term_fd = 16
cb = 0x6ccaa0 <_control_block>
error = <optimized out>
#14 main (argc=<optimized out>, argv=<optimized out>) at main.cc:837
No locals.
---
** [tickets:#1766] amfd: Segv in ng_ccb_completed_delete_hdlr**
**Status:** accepted
**Milestone:** 5.1.FC
**Created:** Fri Apr 15, 2016 08:06 AM UTC by Hans Nordebäck
**Last Updated:** Mon Apr 25, 2016 12:08 PM UTC
**Owner:** Hans Nordebäck
**Attachments:**
-
[amfd_core.txt](https://sourceforge.net/p/opensaf/tickets/1766/attachment/amfd_core.txt)
(897 Bytes; text/plain)
-
[osafamfd](https://sourceforge.net/p/opensaf/tickets/1766/attachment/osafamfd)
(5.4 MB; application/octet-stream)
- [syslog](https://sourceforge.net/p/opensaf/tickets/1766/attachment/syslog)
(264.8 kB; application/octet-stream)
Segv when running SMF tests.
~~~~
Core was generated by `/usr/local/lib/opensaf/osafamfd'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 ng_ccb_completed_delete_hdlr (opdata=0x13024b0) at nodegroup.cc:456
456 TRACE_ENTER2("%u", ng->number_nodes());
(gdb) bt
#0 ng_ccb_completed_delete_hdlr (opdata=0x13024b0) at nodegroup.cc:456
#1 ng_ccb_completed_cb (opdata=0x13024b0) at nodegroup.cc:525
#2 0x000000000042e031 in ccb_completed_cb (immoi_handle=<optimized out>,
ccb_id=35) at imm.cc:988
#3 0x00007f4efc7a6b40 in ?? ()
#4 0x0000000000000000 in ?? ()
~~~~
---
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.------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets