Robin Gareus
98d7d04ae7
Fix potential memory corruption at session close
(valgrind trace, line-numbers from mixbus+6.0-190-g0ec6bc35a)
==29797== Invalid write of size 4
==29797== at 0x619BB3F: boost::dynamic_bitset<unsigned int, std::allocator<unsigned int> >::reference::do_reset() (dynamic_bitset.hpp:120)
==29797== by 0x6196002: boost::dynamic_bitset<unsigned int, std::allocator<unsigned int> >::reference::do_assign(bool) (dynamic_bitset.hpp:122)
==29797== by 0x618F670: boost::dynamic_bitset<unsigned int, std::allocator<unsigned int> >::reference::operator=(bool) (dynamic_bitset.hpp:107)
==29797== by 0x617E426: ARDOUR::Session::unmark_send_id(unsigned int) (session.cc:5633)
==29797== by 0x6156714: ARDOUR::Send::~Send() (send.cc:125)
==29797== by 0x5CE12A7: ARDOUR::InternalSend::~InternalSend() (internal_send.cc:71)
==29797== by 0x5CE1319: ARDOUR::InternalSend::~InternalSend() (internal_send.cc:76)
==29797== by 0x1556128: void boost::checked_delete<ARDOUR::InternalSend>(ARDOUR::InternalSend*) (checked_delete.hpp:34)
==29797== by 0x155E689: boost::detail::sp_counted_impl_p<ARDOUR::InternalSend>::dispose() (sp_counted_impl.hpp:92)
==29797== by 0xCC0E30: boost::detail::sp_counted_base::release() (sp_counted_base_std_atomic.hpp:110)
==29797== by 0xCC0EA6: boost::detail::shared_count::~shared_count() (shared_count.hpp:426)
==29797== by 0x134BD15: boost::shared_ptr<ARDOUR::InternalSend>::~shared_ptr() (shared_ptr.hpp:366)
==29797== by 0x60FACC1: ARDOUR::Route::~Route() (route.cc:498)
==29797== by 0x60FAF4D: ARDOUR::Route::~Route() (route.cc:517)
==29797== by 0x166144C: void boost::checked_delete<ARDOUR::Route>(ARDOUR::Route*) (checked_delete.hpp:34)
==29797== by 0x166338F: boost::detail::sp_counted_impl_p<ARDOUR::Route>::dispose() (sp_counted_impl.hpp:92)
==29797== by 0xCC0E30: boost::detail::sp_counted_base::release() (sp_counted_base_std_atomic.hpp:110)
==29797== by 0xCC0EA6: boost::detail::shared_count::~shared_count() (shared_count.hpp:426)
==29797== by 0xCD2385: boost::shared_ptr<ARDOUR::Route>::~shared_ptr() (shared_ptr.hpp:366)
==29797== by 0x615D0E5: ARDOUR::Session::~Session() (session.cc:455)
==29797== by 0x615D4A3: ARDOUR::Session::~Session() (session.cc:461)
2020-02-26 01:35:50 +01:00
..
2019-09-18 17:37:54 +02:00
2020-02-26 01:35:50 +01:00
2019-08-16 20:00:29 +02:00
2020-01-14 00:52:24 +01:00
2020-02-24 04:24:50 +01:00
2020-02-24 23:01:15 +01:00
2020-01-25 03:40:04 +01:00
2020-01-27 17:43:37 +01:00
2019-12-03 00:23:54 +01:00
2020-02-14 00:20:45 +01:00
2020-01-25 04:07:41 +01:00
2019-09-30 06:30:11 +02:00
2020-02-06 17:30:21 +01:00
2020-01-27 17:43:37 +01:00
2020-01-25 04:07:41 +01:00
2020-02-25 21:45:07 +01:00
2020-01-25 06:20:28 +01:00
2020-02-09 17:55:48 +11:00
2020-01-22 02:00:25 +01:00
2020-02-25 22:55:59 +01:00
2020-01-14 00:52:24 +01:00
2020-01-27 03:31:49 +01:00
2019-09-03 05:01:59 +02:00
2019-08-03 15:53:17 +02:00
2020-01-14 00:52:24 +01:00
2020-02-22 21:40:35 +01:00
2020-01-22 02:00:25 +01:00
2020-01-22 02:00:25 +01:00