BlueBrain / BlueBrain/Ultraliser
Ultraliser::Mesh segfaults on destructor
Open
- Dominant language
- C++
- Stars
- 36
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
Ultraliser::Mesh objects built from Ultraliser::NeuronMorphology objects produce a double free on the following line:
https://github.com/BlueBrain/Ultraliser/blob/22128baee46dc3f6d036562f821a1be809011602/ultraliser/data/meshes/simple/MeshOptimization.cpp#L91
It can be tested by adding `delete mesh;` after this:
https://github.com/BlueBrain/Ultraliser/blob/22128baee46dc3f6d036562f821a1be809011602/ultraliser/data/volumes/Volume.cpp#L510-L511
(The fact the mesh isnt being released is already a memory leak. There are futher memory leaks on the same function where this line belongs to).
Contributor guide
Assessment
This issue has not been assessed yet.