---

**[tickets:#3362] ntf: fix errors reported by Valgrind in ntftest**

**Status:** assigned
**Milestone:** 5.24.09
**Created:** Mon Oct 28, 2024 08:01 AM UTC by Nguyen Huynh Tai
**Last Updated:** Mon Oct 28, 2024 08:01 AM UTC
**Owner:** Nguyen Huynh Tai


15:37:32  ==880== 
15:37:32  ==880== 176 (168 direct, 8 indirect) bytes in 1 blocks are definitely 
lost in loss record 39 of 60
15:37:32  ==880==    at 0x4C33B25: calloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
15:37:32  ==880==    by 0x5292C97: ntfa_filter_hdl_rec_add (ntfa_util.c:1215)
15:37:32  ==880==    by 0x528F1B9: 
saNtfObjectCreateDeleteNotificationFilterAllocate (ntfa_api.c:3151)
15:37:32  ==880==    by 0x1233EE: subscribe() (tet_saNtfFinalize.cc:55)
15:37:32  ==880==    by 0x1236D7: saNtfFinalize_04() (tet_saNtfFinalize.cc:77)
15:37:32  ==880==    by 0x17E938: run_test_case (utest.c:178)
15:37:32  ==880==    by 0x17EE43: test_run (utest.c:202)
15:37:32  ==880==    by 0x116786: main (tet_ntf_main.cc:186)
15:37:32  ==880== 
15:37:32  ==880== 608 bytes in 2 blocks are possibly lost in loss record 52 of 
60
15:37:32  ==880==    at 0x4C33B25: calloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
15:37:32  ==880==    by 0x4013646: allocate_dtv (dl-tls.c:286)
15:37:32  ==880==    by 0x4013646: _dl_allocate_tls (dl-tls.c:530)
15:37:32  ==880==    by 0x6134227: allocate_stack (allocatestack.c:627)
15:37:32  ==880==    by 0x6134227: pthread_create@@GLIBC_2.2.5 
(pthread_create.c:644)
15:37:32  ==880==    by 0x5926AFE: ncs_os_task (os_defs.c:236)
15:37:32  ==880==    by 0x593086F: ncs_task_create (sysf_tsk.c:62)
15:37:32  ==880==    by 0x5956B3E: mdtm_create_rcv_task (mds_dt_tipc.c:642)
15:37:32  ==880==    by 0x5956B3E: mdtm_tipc_init (mds_dt_tipc.c:394)
15:37:32  ==880==    by 0x5951AF6: mds_lib_req (mds_main.c:626)
15:37:32  ==880==    by 0x5923837: ncs_mds_startup.part.1 (ncs_main_pub.c:225)
15:37:32  ==880==    by 0x5924054: ncs_core_agents_startup (ncs_main_pub.c:278)
15:37:32  ==880==    by 0x5924138: ncs_agents_startup (ncs_main_pub.c:107)
15:37:32  ==880==    by 0x5293EA4: ntfa_startup (ntfa_util.c:695)
15:37:32  ==880==    by 0x528AE0A: saNtfInitialize (ntfa_api.c:1454)
15:37:32  ==880== 
15:37:32  ==880== 608 bytes in 2 blocks are possibly lost in loss record 53 of 
60
15:37:32  ==880==    at 0x4C33B25: calloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
15:37:32  ==880==    by 0x4013646: allocate_dtv (dl-tls.c:286)
15:37:32  ==880==    by 0x4013646: _dl_allocate_tls (dl-tls.c:530)
15:37:32  ==880==    by 0x6134227: allocate_stack (allocatestack.c:627)
15:37:32  ==880==    by 0x6134227: pthread_create@@GLIBC_2.2.5 
(pthread_create.c:644)
15:37:32  ==880==    by 0x5926B75: ncs_os_task (os_defs.c:253)
15:37:32  ==880==    by 0x593086F: ncs_task_create (sysf_tsk.c:62)
15:37:32  ==880==    by 0x5956B3E: mdtm_create_rcv_task (mds_dt_tipc.c:642)
15:37:32  ==880==    by 0x5956B3E: mdtm_tipc_init (mds_dt_tipc.c:394)
15:37:32  ==880==    by 0x5951AF6: mds_lib_req (mds_main.c:626)
15:37:32  ==880==    by 0x5923837: ncs_mds_startup.part.1 (ncs_main_pub.c:225)
15:37:32  ==880==    by 0x5924054: ncs_core_agents_startup (ncs_main_pub.c:278)
15:37:32  ==880==    by 0x5924138: ncs_agents_startup (ncs_main_pub.c:107)
15:37:32  ==880==    by 0x5293EA4: ntfa_startup (ntfa_util.c:695)
15:37:32  ==880==    by 0x528AE0A: saNtfInitialize (ntfa_api.c:1454)
15:37:32  ==880== 
15:37:32  ==880== LEAK SUMMARY:
15:37:32  ==880==    definitely lost: 168 bytes in 1 blocks
15:37:32  ==880==    indirectly lost: 8 bytes in 1 blocks
15:37:32  ==880==      possibly lost: 1,216 bytes in 4 blocks
15:37:32  ==880==    still reachable: 203,649 bytes in 481 blocks
15:37:32  ==880==         suppressed: 0 bytes in 0 blocks
15:37:32  ==880== Reachable blocks (those to which a pointer was found) are not 
shown.
15:37:32  ==880== To see them, rerun with: --leak-check=full 
--show-leak-kinds=all 


---

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