commit 02037580ba403cb0afc66afb1e70c46c7210e21b (HEAD -> develop, ticket-3324)
Author: hieu.h.hoang <[email protected]>
Date: Thu Nov 3 10:07:09 2022 +0700
mds: Test cases for conflicted vdests [#3324]
Verify the service events before and after conflict.
commit f5b653c6a77b0d43b647ef8930403645ff147bcd
Author: hieu.h.hoang <[email protected]>
Date: Thu Nov 3 09:56:53 2022 +0700
mds: Add a test function to wait for vdest events [#3324]
If vdest is installed with ownership enabled, a select object is provided
to notify incoming events. Before retrieving a event, polling the select
object to make sure the event arrived.
commit 81e23dd92464fbb8e880e48e38c033f5b02084d9
Author: hieu.h.hoang <[email protected]>
Date: Mon Oct 31 14:23:17 2022 +0700
mds: Fix invalid read [#3324]
After removing the active subscription result, mds finds
the next active subscription result by using the deleted
result. It led an invalid read. Solution is to get the
first active subscription result rather than the next
active result.
---
** [tickets:#3324] mds: valgrind detected an invalid read**
**Status:** review
**Milestone:** 5.22.11
**Created:** Mon Oct 31, 2022 07:04 AM UTC by Hieu Hong Hoang
**Last Updated:** Wed Nov 02, 2022 03:31 AM UTC
**Owner:** Hieu Hong Hoang
Valgrind has detected an invalid read from OpenSAF 5.22.06
* Invalid read:
~~~
Object /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so
Function __memcpy_chk
File/Line
Object /usr/lib64/libopensaf_core.so.0.2.0
Function memcpy
File/Line /usr/include/bits/string3.h:53
Object /usr/lib64/libopensaf_core.so.0.2.0
Function ncs_patricia_tree_getnext
File/Line opensaf/src/base/patricia.c:491
Object /usr/lib64/libopensaf_core.so.0.2.0
Function mds_subtn_res_tbl_query_next_active
File/Line opensaf/src/mds/mds_c_db.c:2680
Object /usr/lib64/libopensaf_core.so.0.2.0
Function mds_mcm_svc_down
File/Line opensaf/src/mds/mds_c_api.c:3862
Object /usr/lib64/libopensaf_core.so.0.2.0
Function mdtm_process_discovery_events
File/Line opensaf/src/mds/mds_dt_tipc.c:1431
Object /usr/lib64/libopensaf_core.so.0.2.0
Function mdtm_process_recv_events
File/Line opensaf/src/mds/mds_dt_tipc.c:943
Object /lib64/libpthread-2.22.so
Function start_thread
File/Line
Object /lib64/libc-2.22.so
Function clone
File/Line
~~~
* Memory is freed:
~~~
Object /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so
Function free
File/Line
Object /usr/lib64/libopensaf_core.so.0.2.0
Function mds_subtn_res_tbl_del
File/Line opensaf/src/mds/mds_c_db.c:2051
Object /usr/lib64/libopensaf_core.so.0.2.0
Function mds_mcm_svc_down
File/Line opensaf/src/mds/mds_c_api.c:3862
Object /usr/lib64/libopensaf_core.so.0.2.0
Function mdtm_process_discovery_events
File/Line opensaf/src/mds/mds_dt_tipc.c:1431
Object /usr/lib64/libopensaf_core.so.0.2.0
Function mdtm_process_recv_events
File/Line opensaf/src/mds/mds_dt_tipc.c:943
Object /lib64/libpthread-2.22.so
Function start_thread
File/Line
Object /lib64/libc-2.22.so
Function clone
File/Line
~~~
---
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._______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets