- **status**: unassigned --> fixed
- **Milestone**: 5.1.1 --> 5.0.2
- **Comment**:
changeset: 8290:f2bccfcd6622
branch: opensaf-5.0.x
tag: tip
parent: 8269:7abe0ea2cd18
user: Gary Lee <[email protected]>
date: Wed Nov 09 10:19:44 2016 +1100
summary: amfd: increment iterator before it is deleted [#2171]
changeset: 8289:e174c5b17b91
branch: opensaf-5.1.x
parent: 8281:70b1faf3a330
user: Gary Lee <[email protected]>
date: Wed Nov 09 10:17:18 2016 +1100
summary: amfd: increment iterator before it is deleted [#2171]
changeset: 8288:af327247583f
user: Gary Lee <[email protected]>
date: Wed Nov 09 10:14:09 2016 +1100
summary: amfd: increment iterator before it is deleted [#2171]
---
** [tickets:#2171] amfd: invalid reads reported by valgrind**
**Status:** fixed
**Milestone:** 5.0.2
**Created:** Sun Nov 06, 2016 11:47 PM UTC by Gary Lee
**Last Updated:** Sun Nov 06, 2016 11:47 PM UTC
**Owner:** nobody
==492== Invalid read of size 8
==492== at 0x5FF0B6E: std::_Rb_tree_increment(std::_Rb_tree_node_base
const*) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19)
==492== by 0x407617: operator++ (stl_tree.h:278)
==492== by 0x407617: handle_event_in_failover_state (main.cc:424)
==492== by 0x407617: main_loop (main.cc:695)
==492== by 0x407617: main (main.cc:849)
==492== Address 0x83cb0e8 is 8 bytes inside a block of size 48 free'd
==492== at 0x4C2C2BC: operator delete(void*) (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==492== by 0x445238: deallocate (new_allocator.h:110)
==492== by 0x445238: _M_put_node (stl_tree.h:374)
==492== by 0x445238: _M_destroy_node (stl_tree.h:422)
==492== by 0x445238: _M_erase_aux (stl_tree.h:1746)
==492== by 0x445238: erase (stl_tree.h:809)
==492== by 0x445238: _M_erase_aux (stl_tree.h:1760)
==492== by 0x445238: erase (stl_tree.h:842)
==492== by 0x445238: erase (stl_tree.h:1771)
==492== by 0x445238: erase (stl_map.h:727)
==492== by 0x445238: erase (amf_db_template.h:119)
==492== by 0x445238: avd_node_delete_nodeid(AVD_AVND*) (node.cc:63)
==492== by 0x440FFC: avd_node_failover(AVD_AVND*) (ndproc.cc:1144)
==492== by 0x407656: handle_event_in_failover_state (main.cc:439)
==492== by 0x407656: main_loop (main.cc:695)
==492== by 0x407656: main (main.cc:849)
---
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.
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets