BhallaLab/moose-core

Segfault in rdegneur example 8.1

dilawar opened this issue · 0 comments

Execute this file with current master branch.

https://github.com/BhallaLab/moose-examples/blob/master/tutorials/Rdesigneur/ex8.1_synTrigCICR.py

At the very end, when everything is over, we get a seg-fault.

It is likely created by commit 8d68b6d#diff-a17fd727e4a6d1970cb5aeec78f181e6 . The order in unZombifyModel seems to be creating this issue. Unless this is fixed, do not merge #387 because it cantains a stripped does version of above script as a test.

#0  0x00000000000000a1 in ?? ()
#1  0x00007ffff6395f9d in ZombiePool::vGetConcInit(Eref const&) const () from /home/dilawars/Work/GITHUB/BHALLALAB/moose-core/_build/python/moose/_moose.so
#2  0x00007ffff627d2e4 in PoolBase::zombify(Element*, Cinfo const*, Id, Id) () from /home/dilawars/Work/GITHUB/BHALLALAB/moose-core/_build/python/moose/_moose.so
#3  0x00007ffff63a2792 in Stoich::unZombifyPools() () from /home/dilawars/Work/GITHUB/BHALLALAB/moose-core/_build/python/moose/_moose.so
#4  0x00007ffff63aa02f in Stoich::unZombifyModel() () from /home/dilawars/Work/GITHUB/BHALLALAB/moose-core/_build/python/moose/_moose.so
#5  0x00007ffff63aa6c2 in Stoich::~Stoich() () from /home/dilawars/Work/GITHUB/BHALLALAB/moose-core/_build/python/moose/_moose.so
#6  0x00007ffff63b908f in Dinfo<Stoich>::destroyData(char*) const () from /home/dilawars/Work/GITHUB/BHALLALAB/moose-core/_build/python/moose/_moose.so
#7  0x00007ffff63ffcbf in DataElement::~DataElement() () from /home/dilawars/Work/GITHUB/BHALLALAB/moose-core/_build/python/moose/_moose.so
#8  0x00007ffff63ffdf9 in GlobalDataElement::~GlobalDataElement() () from /home/dilawars/Work/GITHUB/BHALLALAB/moose-core/_build/python/moose/_moose.so
#9  0x00007ffff640bfcb in Id::clearAllElements() () from /home/dilawars/Work/GITHUB/BHALLALAB/moose-core/_build/python/moose/_moose.so
#10 0x00007ffff5e27258 in finalize() () from /home/dilawars/Work/GITHUB/BHALLALAB/moose-core/_build/python/moose/_moose.so
#11 0x00007ffff5e27342 in moose_clear(_object*) () from /home/dilawars/Work/GITHUB/BHALLALAB/moose-core/_build/python/moose/_moose.so
#12 0x00007ffff7bf6743 in ?? () from /usr/lib/libpython3.8.so.1.0
#13 0x00007ffff7b1db88 in ?? () from /usr/lib/libpython3.8.so.1.0
#14 0x00007ffff7c5cac2 in _PyGC_CollectNoFail () from /usr/lib/libpython3.8.so.1.0
#15 0x00007ffff7c63c1a in PyImport_Cleanup () from /usr/lib/libpython3.8.so.1.0
#16 0x00007ffff7c6c076 in Py_FinalizeEx () from /usr/lib/libpython3.8.so.1.0
#17 0x00007ffff7c6d520 in Py_RunMain () from /usr/lib/libpython3.8.so.1.0
#18 0x00007ffff7c6d9a9 in Py_BytesMain () from /usr/lib/libpython3.8.so.1.0
#19 0x00007ffff7ddd023 in __libc_start_main () from /usr/lib/libc.so.6
#20 0x000055555555505e in _start ()