You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several of the functions of fwdpy11.TreeIterator return numpy arrays whose data are stored in a C++ vector. The method used for this is from this post.
The symptoms are only apparent on OS X and they take the form of semi-random crashes. They do not happen all the time, nor do they happen in the same part of the code.
Changing the implementation to return a copy of the data seems to eliminate the issue altogether, but this is not a desirable solution.
Several things remain unclear:
Is this a symptom of compiling fwdpy11/dev using the Xcode clang, yet the Python used is from conda, which is presumably compiled with clang_osx-64? This would be an ABI issue and not an actual bug.
Or is this a "real" bug. So far, it cannot be reproduced on Ubuntu.
Sadly, ruling out 1 is complicated by it being quite difficult to get clang_osx-64 working properly on my system. Another option is to install Python3 by another means + all dependencies, and see what happens.
Several of the functions of
fwdpy11.TreeIterator
return numpy arrays whose data are stored in a C++ vector. The method used for this is from this post.The symptoms are only apparent on OS X and they take the form of semi-random crashes. They do not happen all the time, nor do they happen in the same part of the code.
Changing the implementation to return a copy of the data seems to eliminate the issue altogether, but this is not a desirable solution.
Several things remain unclear:
clang_osx-64
? This would be an ABI issue and not an actual bug.Sadly, ruling out 1 is complicated by it being quite difficult to get
clang_osx-64
working properly on my system. Another option is to install Python3 by another means + all dependencies, and see what happens.cc @apragsdale
The text was updated successfully, but these errors were encountered: