[tickets] [opensaf:tickets] #3331 Valgrind reports errors

2023-02-28 Thread PhanTranQuocDat via Opensaf-tickets
- **status**: assigned --> review



---

** [tickets:#3331] Valgrind reports errors **

**Status:** review
**Milestone:** 5.23.03
**Created:** Wed Mar 01, 2023 02:20 AM UTC by PhanTranQuocDat
**Last Updated:** Wed Mar 01, 2023 02:20 AM UTC
**Owner:** PhanTranQuocDat


Valgrind detected errors:

==484== 542 (536 direct, 6 indirect) bytes in 1 blocks are definitely lost in 
loss record 312 of 368
==484==at 0x4C3217F: operator new(unsigned long) (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==484==by 0x1636BC: csiattr_create(std::__cxx11::basic_string, std::allocator > const&, SaImmAttrValuesT_2 
const**) (csiattr.cc:78)
==484==by 0x164443: csiattr_create_apply (csiattr.cc:519)
==484==by 0x164443: csiattr_ccb_apply_cb(CcbUtilOperationData*) 
(csiattr.cc:713)
==484==by 0x172155: ccb_apply_cb(unsigned long long, unsigned long long) 
(imm.cc:1265)
==484==by 0x54B0C94: imma_process_callback_info(imma_cb*, 
imma_client_node*, imma_callback_info*, unsigned long long) 

==407== Invalid read of size 1
==407==at 0x5732C3A: mds_svc_op_uninstall (mds_svc_op.c:375)
==407==by 0x57320C7: ncsmds_api (mds_papi.c:147)
==407==by 0x54A31D2: imma_mds_unregister(imma_cb*) (imma_mds.cc:171)
==407==by 0x54A25D4: imma_destroy (imma_init.cc:219)
==407==by 0x54A25D4: imma_shutdown(ncsmds_svc_id) (imma_init.cc:337)
==407==by 0x54AF316: saImmOmFinalize (imma_om_api.cc:940)
==407==by 0x5061961: immutil_saImmOmFinalize (immutil.c:1572)
==407==by 0x141267: hydra_config_get (main.cc:775)
==407==by 0x141267: avnd_cb_create (main.cc:349)

==407== Invalid read of size 8
==407==at 0x119942: avnd_evt_tmr_cbk_resp_evh(avnd_cb_tag*, avnd_evt_tag*) 
(cbq.cc:678)
==407==by 0x141D15: avnd_evt_process (main.cc:692)
==407==by 0x141D15: avnd_main_process() (main.cc:644)
==407==by 0x1170AD: main (main.cc:225)
==407==  Address 0x8bb2ad0 is 64 bytes inside a block of size 112 free'd
==407==at 0x4C3323B: operator delete(void*) (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==407==by 0x11962B: avnd_comp_cbq_rec_pop_and_del(avnd_cb_tag*, 
avnd_comp_tag*, unsigned int, bool) (cbq.cc:973)
==407==by 0x119941: avnd_evt_tmr_cbk_resp_evh(avnd_cb_tag*, avnd_evt_tag*) 
(cbq.cc:678)
==407==by 0x141D15: avnd_evt_process (main.cc:692)


---

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] #3331 Valgrind reports errors

2023-02-28 Thread PhanTranQuocDat via Opensaf-tickets



---

** [tickets:#3331] Valgrind reports errors **

**Status:** assigned
**Milestone:** 5.23.03
**Created:** Wed Mar 01, 2023 02:20 AM UTC by PhanTranQuocDat
**Last Updated:** Wed Mar 01, 2023 02:20 AM UTC
**Owner:** PhanTranQuocDat


Valgrind detected errors:

==484== 542 (536 direct, 6 indirect) bytes in 1 blocks are definitely lost in 
loss record 312 of 368
==484==at 0x4C3217F: operator new(unsigned long) (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==484==by 0x1636BC: csiattr_create(std::__cxx11::basic_string, std::allocator > const&, SaImmAttrValuesT_2 
const**) (csiattr.cc:78)
==484==by 0x164443: csiattr_create_apply (csiattr.cc:519)
==484==by 0x164443: csiattr_ccb_apply_cb(CcbUtilOperationData*) 
(csiattr.cc:713)
==484==by 0x172155: ccb_apply_cb(unsigned long long, unsigned long long) 
(imm.cc:1265)
==484==by 0x54B0C94: imma_process_callback_info(imma_cb*, 
imma_client_node*, imma_callback_info*, unsigned long long) 

==407== Invalid read of size 1
==407==at 0x5732C3A: mds_svc_op_uninstall (mds_svc_op.c:375)
==407==by 0x57320C7: ncsmds_api (mds_papi.c:147)
==407==by 0x54A31D2: imma_mds_unregister(imma_cb*) (imma_mds.cc:171)
==407==by 0x54A25D4: imma_destroy (imma_init.cc:219)
==407==by 0x54A25D4: imma_shutdown(ncsmds_svc_id) (imma_init.cc:337)
==407==by 0x54AF316: saImmOmFinalize (imma_om_api.cc:940)
==407==by 0x5061961: immutil_saImmOmFinalize (immutil.c:1572)
==407==by 0x141267: hydra_config_get (main.cc:775)
==407==by 0x141267: avnd_cb_create (main.cc:349)

==407== Invalid read of size 8
==407==at 0x119942: avnd_evt_tmr_cbk_resp_evh(avnd_cb_tag*, avnd_evt_tag*) 
(cbq.cc:678)
==407==by 0x141D15: avnd_evt_process (main.cc:692)
==407==by 0x141D15: avnd_main_process() (main.cc:644)
==407==by 0x1170AD: main (main.cc:225)
==407==  Address 0x8bb2ad0 is 64 bytes inside a block of size 112 free'd
==407==at 0x4C3323B: operator delete(void*) (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==407==by 0x11962B: avnd_comp_cbq_rec_pop_and_del(avnd_cb_tag*, 
avnd_comp_tag*, unsigned int, bool) (cbq.cc:973)
==407==by 0x119941: avnd_evt_tmr_cbk_resp_evh(avnd_cb_tag*, avnd_evt_tag*) 
(cbq.cc:678)
==407==by 0x141D15: avnd_evt_process (main.cc:692)


---

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