Description of problem: When a process calls glfs_fini(), some memory management structures are destroyed. However the process might not finish after that. In that case, a new call to glfs_init() won't fully reinitialize all structures for already running threads, which can lead to memory corruption and crashes. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
REVIEW: https://review.gluster.org/24099 (core: fix memory pool management races) posted (#8) for review on master by Xavi Hernandez
REVIEW: https://review.gluster.org/24099 (core: fix memory pool management races) merged (#9) on master by Xavi Hernandez
REVIEW: https://review.gluster.org/24138 (core: Prevent crash on process termination) posted (#1) for review on master by Xavi Hernandez
REVIEW: https://review.gluster.org/24138 (core: Prevent crash on process termination) merged (#1) on master by Xavi Hernandez