-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Valgrinderr #461
Valgrinderr #461
Conversation
Block was alloc'd during nrnpy_hoc (nrnpy_hoc.cpp:2690) The hocmodule refcnt was mistakenly decremented.
@nrnhines : could you bit provide details about this fix? Yesterday, me and @jorblancoa were debugging issue with the model which was working fine with Python2 but giving segfault with Python3. The backtrace was looking like this:
Simply example with bulletin-board was working fine (relevant discussion here) |
I noticed yesterday that although the pyiter3 pull request passed the travis ci that I was seeing |
If this is related to pyiter3 only then it's not relevant for the bug that I mentioned. We are using following commit:
In case you know any reason that the Python2 model work but when it is ported to Python3 with minor changes would segfault, let me know. (I understand this is very high level description without any details but in case there is common pitfall with NEURON usage). |
I don't know that it is relevant, but it may be the fix you need. That bug dates back a long way |
Sorry for confusion - I meant we are using master branch from Tue Oct 29 12:49:07 2019. |
This is the kind of thing that can be a revealed bug or not depending on whether the particular |
* Made sure nightly tag is set correctly * moved manual trigger variables into UI * Fixed various issues for testing on different python versions * Generate artifacts for wheels This fixes #448
Fix valgrind invalid read error during finalize that could cause segmentation violations and
a memory leak when iterating over variables of a mechanism.