Segfault when running serval simulations in a row
Posted: Thu May 06, 2010 10:38 am
Hello
I've written a python function to simulate the effect of extracellular stimulation on an axon.
If i call the function once, there's no problem. But if i call it again it fails with a segmentation fault and no other message.
I tried to use Python debugger but i didn't get more info.
All i could identify is that it seems to come from the initialization. I think i'm doing something wrong, but i can't see what.
Here are the files : http://www.lirmm.fr/~laforet/pyaxon.zip
- the function itself : pyAxon.py
- a simple test file calling it : test.py
I'd really appreciate if someone could point me in the right direction.
Jeremy
I've written a python function to simulate the effect of extracellular stimulation on an axon.
If i call the function once, there's no problem. But if i call it again it fails with a segmentation fault and no other message.
I tried to use Python debugger but i didn't get more info.
All i could identify is that it seems to come from the initialization. I think i'm doing something wrong, but i can't see what.
Here are the files : http://www.lirmm.fr/~laforet/pyaxon.zip
- the function itself : pyAxon.py
- a simple test file calling it : test.py
I'd really appreciate if someone could point me in the right direction.
Jeremy