Has this test been performed earlier on 4.4 ? 4.3 ?

---

** [tickets:#1000] IMMND asserts at immsv_evt_enc_inline_text after 
SetErrorString operation **

**Status:** unassigned
**Milestone:** 4.3.3
**Created:** Thu Aug 21, 2014 05:22 AM UTC by Sirisha Alla
**Last Updated:** Thu Aug 21, 2014 05:22 AM UTC
**Owner:** nobody

This issue is seen on SLES 64bit 4 node testbed running with 4.5 changeset 5608 
plus patches for #938,#994 and #997

The test is to do OiCcbSetErrorString inside createCallback() Twice and check 
that the second invocation of SetErrorString() returns BAD_OPERATION. The 
CreateCallback() returned with BAD_OPERATION when IMMND crashed.

syslog on the payload where the test is in progress:

Aug 21 10:12:49 SLES-64BIT-SLOT4 osafimmnd[3019]: NO implementer for class 
'testCcbExt_verifySetErrStrSingleStrPerCbk_133' is 
implementertestCcbExt_verifySetErrStrSingleStrPerCbk_133 => class extent is 
safe.
Aug 21 10:12:49 SLES-64BIT-SLOT4 osafimmnd[3019]: NO 
ImmModel::ccbObjCreateContinuation: implementer returned error, Ccb aborted 
with error: 20
Aug 21 10:12:49 SLES-64BIT-SLOT4 osafimmnd[3019]: WA immsv_evt_enc_inline_text: 
Length missmatch from source line:1098 (1 342010752 '')
Aug 21 10:12:49 SLES-64BIT-SLOT4 osafimmnd[3019]: immsv_evt.c:1098: 
immsv_evt_enc_attrName: Assertion 'immsv_evt_enc_inline_text(__LINE__, o_ub, 
os)' failed.
Aug 21 10:12:49 SLES-64BIT-SLOT4 osafamfnd[3038]: NO 
'safSu=PL-4,safSg=NoRed,safApp=OpenSAF' component restart probation timer 
started (timeout: 60000000000 ns)
Aug 21 10:12:49 SLES-64BIT-SLOT4 osafamfnd[3038]: NO Restarting a component of 
'safSu=PL-4,safSg=NoRed,safApp=OpenSAF' (comp restart count: 1)
Aug 21 10:12:49 SLES-64BIT-SLOT4 osafamfnd[3038]: NO 
'safComp=IMMND,safSu=PL-4,safSg=NoRed,safApp=OpenSAF' faulted due to 'avaDown' 
: Recovery is 'componentRestart'


Following is the back trace of the core:

Program terminated with signal 6, Aborted.
 #0  0x00007f5decac5b55 in raise () from /lib64/libc.so.6
(gdb) bt
 #0  0x00007f5decac5b55 in raise () from /lib64/libc.so.6
 #1  0x00007f5decac7131 in abort () from /lib64/libc.so.6
 #2  0x00007f5deddffc0e in __osafassert_fail () from 
/usr/lib64/libopensaf_core.so.0
 #3  0x000000000047ddef in immsv_evt_enc_attrName.part.5 () at immsv_evt.c:1098
 #4  0x000000000047e49a in immsv_evt_enc_sublevels () at immsv_evt.c:1506
 #5  0x0000000000418ccf in immnd_mds_callback ()
 #6  0x00007f5dede25f9f in mds_mcm_send_msg_enc () from 
/usr/lib64/libopensaf_core.so.0
 #7  0x00007f5dede2670d in mcm_pvt_red_snd_process_common () from 
/usr/lib64/libopensaf_core.so.0
 #8  0x00007f5dede2b299 in mds_send () from /usr/lib64/libopensaf_core.so.0
 #9  0x00007f5dede23d78 in ncsmds_api () from /usr/lib64/libopensaf_core.so.0
 #10 0x0000000000419727 in immnd_mds_send_rsp ()
 #11 0x000000000040a329 in immnd_evt_proc_ccb_obj_create_rsp.isra.43 () at 
immnd_evt.c:3538
 #12 0x0000000000415f00 in immnd_evt_proc_fevs_dispatch () at immnd_evt.c:7782
 #13 0x000000000041820d in immnd_process_evt () at immnd_evt.c:8506
 #14 0x000000000040b6ab in main () at immnd_main.c:336
(gdb) thread apply all bt

Thread 4 (Thread 0x7f5dec25a700 (LWP 3023)):
 #0  0x00007f5decb614f6 in poll () from /lib64/libc.so.6
 #1  0x00007f5deddfc5f0 in osaf_poll_no_timeout () from 
/usr/lib64/libopensaf_core.so.0
 #2  0x00007f5deddfc875 in osaf_poll () from /usr/lib64/libopensaf_core.so.0
 #3  0x00007f5deddfea02 in auth_server_main () from 
/usr/lib64/libopensaf_core.so.0
 #4  0x00007f5ded5a77b6 in start_thread () from /lib64/libpthread.so.0
 #5  0x00007f5decb6a9cd in clone () from /lib64/libc.so.6
 #6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f5dee244b00 (LWP 3022)):
 #0  0x00007f5decb614f6 in poll () from /lib64/libc.so.6
 #1  0x00007f5dede34b35 in mdtm_process_recv_events () from 
/usr/lib64/libopensaf_core.so.0
 #2  0x00007f5ded5a77b6 in start_thread () from /lib64/libpthread.so.0
 #3  0x00007f5decb6a9cd in clone () from /lib64/libc.so.6
 #4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f5dee275b00 (LWP 3021)):
 #0  0x00007f5decb614f6 in poll () from /lib64/libc.so.6
 #1  0x00007f5deddfc5f0 in osaf_poll_no_timeout () from 
/usr/lib64/libopensaf_core.so.0
 #2  0x00007f5deddfc7f5 in osaf_ppoll () from /usr/lib64/libopensaf_core.so.0
 #3  0x00007f5dede033df in ncs_tmr_wait () from /usr/lib64/libopensaf_core.so.0
 #4  0x00007f5ded5a77b6 in start_thread () from /lib64/libpthread.so.0
 #5  0x00007f5decb6a9cd in clone () from /lib64/libc.so.6
 #6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5dee247720 (LWP 3019)):
 #0  0x00007f5decac5b55 in raise () from /lib64/libc.so.6
 #1  0x00007f5decac7131 in abort () from /lib64/libc.so.6
 #2  0x00007f5deddffc0e in __osafassert_fail () from 
/usr/lib64/libopensaf_core.so.0
 #3  0x000000000047ddef in immsv_evt_enc_attrName.part.5 () at immsv_evt.c:1098
 #4  0x000000000047e49a in immsv_evt_enc_sublevels () at immsv_evt.c:1506
 #5  0x0000000000418ccf in immnd_mds_callback ()
 #6  0x00007f5dede25f9f in mds_mcm_send_msg_enc () from 
/usr/lib64/libopensaf_core.so.0
 #7  0x00007f5dede2670d in mcm_pvt_red_snd_process_common () from 
/usr/lib64/libopensaf_core.so.0
 #8  0x00007f5dede2b299 in mds_send () from /usr/lib64/libopensaf_core.so.0
 #9  0x00007f5dede23d78 in ncsmds_api () from /usr/lib64/libopensaf_core.so.0
 #10 0x0000000000419727 in immnd_mds_send_rsp ()
 #11 0x000000000040a329 in immnd_evt_proc_ccb_obj_create_rsp.isra.43 () at 
immnd_evt.c:3538
 #12 0x0000000000415f00 in immnd_evt_proc_fevs_dispatch () at immnd_evt.c:7782
 #13 0x000000000041820d in immnd_process_evt () at immnd_evt.c:8506
 #14 0x000000000040b6ab in main () at immnd_main.c:336


OpenSAF is build with CXXFLAGS="-g" as suggested during OpenSAF 4.4 changes and 
we are not seeing any debug symbols of the core file.

This issue is reproducible. There are multiple core files with the same back 
trace, and as soon as I figure out all the scenarios that generated the cores I 
will update the ticket.

Attached are the trace files


---

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.
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to