PhysiCell
PhysiCell copied to clipboard
PhysiCell::Cell_Definition possibly memory leaking
I get a Segmentation fault (core dumped)
, if I try to generate a second instance of a Cell_Definition.
Reading up on this, this potentially points to a memory leaking.
Minimal example:
- rest to a fresh PhysiCell installation.
make clean reset
make template
- add the following line to
custom_modules/custome.cpp
.
PhysiCell::Cell_Definition cell_defaults_two;
- compile and run the template project.
make
./project
I will have to study the code in deep and use a debugger to resolve this issue.