Unsynchronized access to enabledEventList
See this thread for explanation and a tentative patch.
Updated by Mathieu Desnoyers about 6 years ago
- Status changed from New to Resolved
Fixed by commit:
commit e614d916bcf4093bbf98d302b9e37ed990dc7304 Author: Jérémie Galarneau <email@example.com> Date: Tue Feb 25 16:32:05 2014 -0500 Fix: Unsynchronized access in LTTngTCPSessiondClient enabledEventList is shared between the LTTngThread and eventTimer threads but is not synchronized. This patch changes enabledEventList's type from an ArrayList to a synchronized HashSet. Signed-off-by: Jérémie Galarneau <firstname.lastname@example.org> Signed-off-by: Mathieu Desnoyers <email@example.com>