[tickets] [opensaf:tickets] #209 plmd crashed while deleting plm entities at various points.
This looks so easy to reproduce, it should be critical. --- ** [tickets:#209] plmd crashed while deleting plm entities at various points.** **Status:** assigned **Milestone:** 5.18.09 **Created:** Wed May 15, 2013 07:02 AM UTC by Mathi Naickan **Last Updated:** Sat Sep 15, 2018 11:26 AM UTC **Owner:** MeenakshiTK When the command , "immcfg -d safHE=7220_slot_1,safDomain=domain_1" is ran plm crashed with segmentation fault. the above object has three childs dpb_1,dpb_2 and PL-13 plmd crashed with the following backtrace : Program terminated with signal 11, Segmentation fault. #0 0x08089af6 in plms_ent_to_ent_list_add (ent=0x80fe450, list=0xbbc5d9f8) at plms_utils.c:1360 1360 if (0 == strcmp(tail->plm_entity->dn_name_str, (gdb) bt fH[[K #0 0x08089af6 in plms_ent_to_ent_list_add (ent=0x80fe450, list=0xbbc5d9f8) at plms_utils.c:1360 #1 0x08088c8d in plms_chld_get (ent=0x80fe450, chld_list=0xbbc5d9f8) at plms_utils.c:842 #2 0x0805ca90 in plms_delete_objects (obj_type=6, obj_name=0x810a2a8) at plms_imm.c:697 #3 0x0805fa05 in plms_imm_ccb_apply_cbk (imm_oi_hdl=68719608079, ccb_id=2) at plms_imm.c:1425 #4 0x032fc46f in imma_process_callback_info (cb=) at imma_proc.c:2005 #5 0x032fb393 in imma_hdl_callbk_dispatch_one (cb=) at imma_proc.c:1592 #6 0x032ebcfd in saImmOiDispatch (immOiHandle=) at imma_oi_api.c:548 #7 0x08051bff in main (argc=2, argv=0xbbc5e414) at plms_main.c:484 #8 0x033aee0c in libc_start_main () from /lib/libc.so.6 #9 0x0804c401 in _start () While deleting the entity, which doesn't have any child, it crashed with the following backtrace #0 0x0805cb14 in plms_delete_objects (obj_type=7, obj_name=0x8109588) at plms_imm.c:707 #1 0x0805fa05 in plms_imm_ccb_apply_cbk (imm_oi_hdl=824633852431, ccb_id=6) at plms_imm.c:1425 #2 0x0189c46f in imma_process_callback_info (cb=) at imma_proc.c:2005 #3 0x0189b393 in imma_hdl_callbk_dispatch_one (cb=) at imma_proc.c:1592 #4 0x0188bcfd in saImmOiDispatch (immOiHandle=) at imma_oi_api.c:548 #5 0x08051bff in main (argc=2, argv=0xbe1d6db4) at plms_main.c:484 #6 0x0194ee0c in libc_start_main () from /lib/libc.so.6 #7 0x0804c401 in _start () Also, check the following issue : Crash in plmc_err callback when ee_id is passed as empty string. --- 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
[tickets] [opensaf:tickets] #209 plmd crashed while deleting plm entities at various points.
Steps to reproduce: 1.Configured an object safHE=abc_1 which is the child of the HE entity safHE=f120_slot_16,safDomain=domain_1 in imm.xml. 2.Stopped and started opensafd. 3.Tried to delete the HE entity "safHE=f120_slot_16,safDomain=domain_1" using the command immcfg -d safHE=f120_slot_16,safDomain=domain_1 4.plmd crashes. --- ** [tickets:#209] plmd crashed while deleting plm entities at various points.** **Status:** assigned **Milestone:** 5.18.09 **Created:** Wed May 15, 2013 07:02 AM UTC by Mathi Naickan **Last Updated:** Sat Sep 15, 2018 11:20 AM UTC **Owner:** MeenakshiTK When the command , "immcfg -d safHE=7220_slot_1,safDomain=domain_1" is ran plm crashed with segmentation fault. the above object has three childs dpb_1,dpb_2 and PL-13 plmd crashed with the following backtrace : Program terminated with signal 11, Segmentation fault. #0 0x08089af6 in plms_ent_to_ent_list_add (ent=0x80fe450, list=0xbbc5d9f8) at plms_utils.c:1360 1360 if (0 == strcmp(tail->plm_entity->dn_name_str, (gdb) bt fH[[K #0 0x08089af6 in plms_ent_to_ent_list_add (ent=0x80fe450, list=0xbbc5d9f8) at plms_utils.c:1360 #1 0x08088c8d in plms_chld_get (ent=0x80fe450, chld_list=0xbbc5d9f8) at plms_utils.c:842 #2 0x0805ca90 in plms_delete_objects (obj_type=6, obj_name=0x810a2a8) at plms_imm.c:697 #3 0x0805fa05 in plms_imm_ccb_apply_cbk (imm_oi_hdl=68719608079, ccb_id=2) at plms_imm.c:1425 #4 0x032fc46f in imma_process_callback_info (cb=) at imma_proc.c:2005 #5 0x032fb393 in imma_hdl_callbk_dispatch_one (cb=) at imma_proc.c:1592 #6 0x032ebcfd in saImmOiDispatch (immOiHandle=) at imma_oi_api.c:548 #7 0x08051bff in main (argc=2, argv=0xbbc5e414) at plms_main.c:484 #8 0x033aee0c in libc_start_main () from /lib/libc.so.6 #9 0x0804c401 in _start () While deleting the entity, which doesn't have any child, it crashed with the following backtrace #0 0x0805cb14 in plms_delete_objects (obj_type=7, obj_name=0x8109588) at plms_imm.c:707 #1 0x0805fa05 in plms_imm_ccb_apply_cbk (imm_oi_hdl=824633852431, ccb_id=6) at plms_imm.c:1425 #2 0x0189c46f in imma_process_callback_info (cb=) at imma_proc.c:2005 #3 0x0189b393 in imma_hdl_callbk_dispatch_one (cb=) at imma_proc.c:1592 #4 0x0188bcfd in saImmOiDispatch (immOiHandle=) at imma_oi_api.c:548 #5 0x08051bff in main (argc=2, argv=0xbe1d6db4) at plms_main.c:484 #6 0x0194ee0c in libc_start_main () from /lib/libc.so.6 #7 0x0804c401 in _start () Also, check the following issue : Crash in plmc_err callback when ee_id is passed as empty string. --- 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
[tickets] [opensaf:tickets] #209 plmd crashed while deleting plm entities at various points.
I am able to reproduce the ticket. Below is the bt for the crash. **#0 0x55aeed6f3a09 in plms_ent_to_ent_list_add ( **ent=ent@entry=0x55aeedaef700, list=list@entry=0x7ffc25228c68) at src/plm/plmd/plms_utils.c:1435 **#1 0x55aeed6f3b16 in plms_chld_get (ent=0x55aeedaef700, **chld_list=chld_list@entry=0x7ffc25228c68) at src/plm/plmd/plms_utils.c:876 **#2 0x55aeed6e0cec in plms_delete_objects (obj_name=0x55aeedaf68c8, **obj_type=6) at src/plm/plmd/plms_imm.c:642 **#3 plms_imm_ccb_apply_cbk (imm_oi_hdl=, ccb_id=2) **at src/plm/plmd/plms_imm.c:1447 #4 0x7fb6ce65a909 in imma_process_callback_info ( cb=cb@entry=0x7fb6ce866300 , cl_node=0x55aeedaed3a0, callback=callback@entry=0x7fb6b4004b50, immHandle=60129673487) at src/imm/agent/imma_proc.cc:2503 #5 0x7fb6ce65ccff in imma_hdl_callbk_dispatch_one ( cb=0x7fb6ce866300 , immHandle=60129673487) at src/imm/agent/imma_proc.cc:1750 #6 0x7fb6ce650f72 in saImmOiDispatch (immOiHandle=60129673487, dispatchFlags=SA_DISPATCH_ONE) at src/imm/agent/imma_oi_api.cc:638 #7 0x55aeed6c09ec in main (argc=, argv=) at src/plm/plmd/plms_main.c:522 (gdb) p tail->plm_entity $1 = (PLMS_ENTITY *) 0x0 plmd crashes since the entity to which tail is pointing to is NULL in the file src/plm/plmd/plms_utils.c in the function plms_ent_to_ent_list_add in the below line as follows: if (0 == strcmp(tail->plm_entity->dn_name_str, ent->dn_name_str)) Also here is the syslog for the crash: Sep 15 15:54:53 meena-VM osafamfnd[2040]: ER safComp=PLMS,safSu=SC-1,safSg=2N,safApp=OpenSAF Faulted due to:avaDown Recovery is:nodeFailfast Sep 15 15:54:53 meena-VM osafamfnd[2040]: Rebooting OpenSAF NodeId = 131343 EE Name = safEE=SC-1,safDomain=domain_1, Reason: Component faulted: recovery is node failfast, OwnNodeId = 131343, SupervisionTime = 60 --- ** [tickets:#209] plmd crashed while deleting plm entities at various points.** **Status:** assigned **Milestone:** 5.18.09 **Created:** Wed May 15, 2013 07:02 AM UTC by Mathi Naickan **Last Updated:** Sat Sep 15, 2018 10:51 AM UTC **Owner:** MeenakshiTK When the command , "immcfg -d safHE=7220_slot_1,safDomain=domain_1" is ran plm crashed with segmentation fault. the above object has three childs dpb_1,dpb_2 and PL-13 plmd crashed with the following backtrace : Program terminated with signal 11, Segmentation fault. #0 0x08089af6 in plms_ent_to_ent_list_add (ent=0x80fe450, list=0xbbc5d9f8) at plms_utils.c:1360 1360 if (0 == strcmp(tail->plm_entity->dn_name_str, (gdb) bt fH[[K #0 0x08089af6 in plms_ent_to_ent_list_add (ent=0x80fe450, list=0xbbc5d9f8) at plms_utils.c:1360 #1 0x08088c8d in plms_chld_get (ent=0x80fe450, chld_list=0xbbc5d9f8) at plms_utils.c:842 #2 0x0805ca90 in plms_delete_objects (obj_type=6, obj_name=0x810a2a8) at plms_imm.c:697 #3 0x0805fa05 in plms_imm_ccb_apply_cbk (imm_oi_hdl=68719608079, ccb_id=2) at plms_imm.c:1425 #4 0x032fc46f in imma_process_callback_info (cb=) at imma_proc.c:2005 #5 0x032fb393 in imma_hdl_callbk_dispatch_one (cb=) at imma_proc.c:1592 #6 0x032ebcfd in saImmOiDispatch (immOiHandle=) at imma_oi_api.c:548 #7 0x08051bff in main (argc=2, argv=0xbbc5e414) at plms_main.c:484 #8 0x033aee0c in libc_start_main () from /lib/libc.so.6 #9 0x0804c401 in _start () While deleting the entity, which doesn't have any child, it crashed with the following backtrace #0 0x0805cb14 in plms_delete_objects (obj_type=7, obj_name=0x8109588) at plms_imm.c:707 #1 0x0805fa05 in plms_imm_ccb_apply_cbk (imm_oi_hdl=824633852431, ccb_id=6) at plms_imm.c:1425 #2 0x0189c46f in imma_process_callback_info (cb=) at imma_proc.c:2005 #3 0x0189b393 in imma_hdl_callbk_dispatch_one (cb=) at imma_proc.c:1592 #4 0x0188bcfd in saImmOiDispatch (immOiHandle=) at imma_oi_api.c:548 #5 0x08051bff in main (argc=2, argv=0xbe1d6db4) at plms_main.c:484 #6 0x0194ee0c in libc_start_main () from /lib/libc.so.6 #7 0x0804c401 in _start () Also, check the following issue : Crash in plmc_err callback when ee_id is passed as empty string. --- 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
[tickets] [opensaf:tickets] #209 plmd crashed while deleting plm entities at various points.
- **Type**: enhancement --> defect --- ** [tickets:#209] plmd crashed while deleting plm entities at various points.** **Status:** assigned **Milestone:** 5.18.09 **Created:** Wed May 15, 2013 07:02 AM UTC by Mathi Naickan **Last Updated:** Sat Sep 15, 2018 10:51 AM UTC **Owner:** MeenakshiTK When the command , "immcfg -d safHE=7220_slot_1,safDomain=domain_1" is ran plm crashed with segmentation fault. the above object has three childs dpb_1,dpb_2 and PL-13 plmd crashed with the following backtrace : Program terminated with signal 11, Segmentation fault. #0 0x08089af6 in plms_ent_to_ent_list_add (ent=0x80fe450, list=0xbbc5d9f8) at plms_utils.c:1360 1360 if (0 == strcmp(tail->plm_entity->dn_name_str, (gdb) bt fH[[K #0 0x08089af6 in plms_ent_to_ent_list_add (ent=0x80fe450, list=0xbbc5d9f8) at plms_utils.c:1360 #1 0x08088c8d in plms_chld_get (ent=0x80fe450, chld_list=0xbbc5d9f8) at plms_utils.c:842 #2 0x0805ca90 in plms_delete_objects (obj_type=6, obj_name=0x810a2a8) at plms_imm.c:697 #3 0x0805fa05 in plms_imm_ccb_apply_cbk (imm_oi_hdl=68719608079, ccb_id=2) at plms_imm.c:1425 #4 0x032fc46f in imma_process_callback_info (cb=) at imma_proc.c:2005 #5 0x032fb393 in imma_hdl_callbk_dispatch_one (cb=) at imma_proc.c:1592 #6 0x032ebcfd in saImmOiDispatch (immOiHandle=) at imma_oi_api.c:548 #7 0x08051bff in main (argc=2, argv=0xbbc5e414) at plms_main.c:484 #8 0x033aee0c in libc_start_main () from /lib/libc.so.6 #9 0x0804c401 in _start () While deleting the entity, which doesn't have any child, it crashed with the following backtrace #0 0x0805cb14 in plms_delete_objects (obj_type=7, obj_name=0x8109588) at plms_imm.c:707 #1 0x0805fa05 in plms_imm_ccb_apply_cbk (imm_oi_hdl=824633852431, ccb_id=6) at plms_imm.c:1425 #2 0x0189c46f in imma_process_callback_info (cb=) at imma_proc.c:2005 #3 0x0189b393 in imma_hdl_callbk_dispatch_one (cb=) at imma_proc.c:1592 #4 0x0188bcfd in saImmOiDispatch (immOiHandle=) at imma_oi_api.c:548 #5 0x08051bff in main (argc=2, argv=0xbe1d6db4) at plms_main.c:484 #6 0x0194ee0c in libc_start_main () from /lib/libc.so.6 #7 0x0804c401 in _start () Also, check the following issue : Crash in plmc_err callback when ee_id is passed as empty string. --- 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
[tickets] [opensaf:tickets] #209 plmd crashed while deleting plm entities at various points.
- **status**: unassigned --> assigned - **assigned_to**: MeenakshiTK - **Blocker**: --> False - **Milestone**: future --> 5.18.09 --- ** [tickets:#209] plmd crashed while deleting plm entities at various points.** **Status:** assigned **Milestone:** 5.18.09 **Created:** Wed May 15, 2013 07:02 AM UTC by Mathi Naickan **Last Updated:** Mon Apr 03, 2017 06:47 PM UTC **Owner:** MeenakshiTK When the command , "immcfg -d safHE=7220_slot_1,safDomain=domain_1" is ran plm crashed with segmentation fault. the above object has three childs dpb_1,dpb_2 and PL-13 plmd crashed with the following backtrace : Program terminated with signal 11, Segmentation fault. #0 0x08089af6 in plms_ent_to_ent_list_add (ent=0x80fe450, list=0xbbc5d9f8) at plms_utils.c:1360 1360 if (0 == strcmp(tail->plm_entity->dn_name_str, (gdb) bt fH[[K #0 0x08089af6 in plms_ent_to_ent_list_add (ent=0x80fe450, list=0xbbc5d9f8) at plms_utils.c:1360 #1 0x08088c8d in plms_chld_get (ent=0x80fe450, chld_list=0xbbc5d9f8) at plms_utils.c:842 #2 0x0805ca90 in plms_delete_objects (obj_type=6, obj_name=0x810a2a8) at plms_imm.c:697 #3 0x0805fa05 in plms_imm_ccb_apply_cbk (imm_oi_hdl=68719608079, ccb_id=2) at plms_imm.c:1425 #4 0x032fc46f in imma_process_callback_info (cb=) at imma_proc.c:2005 #5 0x032fb393 in imma_hdl_callbk_dispatch_one (cb=) at imma_proc.c:1592 #6 0x032ebcfd in saImmOiDispatch (immOiHandle=) at imma_oi_api.c:548 #7 0x08051bff in main (argc=2, argv=0xbbc5e414) at plms_main.c:484 #8 0x033aee0c in libc_start_main () from /lib/libc.so.6 #9 0x0804c401 in _start () While deleting the entity, which doesn't have any child, it crashed with the following backtrace #0 0x0805cb14 in plms_delete_objects (obj_type=7, obj_name=0x8109588) at plms_imm.c:707 #1 0x0805fa05 in plms_imm_ccb_apply_cbk (imm_oi_hdl=824633852431, ccb_id=6) at plms_imm.c:1425 #2 0x0189c46f in imma_process_callback_info (cb=) at imma_proc.c:2005 #3 0x0189b393 in imma_hdl_callbk_dispatch_one (cb=) at imma_proc.c:1592 #4 0x0188bcfd in saImmOiDispatch (immOiHandle=) at imma_oi_api.c:548 #5 0x08051bff in main (argc=2, argv=0xbe1d6db4) at plms_main.c:484 #6 0x0194ee0c in libc_start_main () from /lib/libc.so.6 #7 0x0804c401 in _start () Also, check the following issue : Crash in plmc_err callback when ee_id is passed as empty string. --- 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