I have a few hundred line Python program. It does not finish properly:
On Windows (mem test passed, and fresh installed python)
> Process finished with exit code -1073741819 (0xC0000005)
> C:\Users\kyle\code\ActiveData>c:\Python27\python.exe --version
> Python 2.7.12
Similar on Linux (AWS CentOS derivative)
> Segmentation fault
> [ec2-user@ip-172-31-0-135 ActiveData]$ python --version
>' Python 2.7.10
I do not know where to begin. The program  appears simple, but it interacts with a large ES cluster (so this bug may be data dependent). There are also a number of other threads spawned by the libraries that could be causing this problem. The program fails consistently; but the exact point appears to change. It also happens when debugging; but it does not seem to happen at the same point. At no point is Python using too much memory (a known source of unexplained exits). I am will start bisecting the problem, but I suspect this Heisenbug will not reveal itself easily.
In the meantime, I hope someone else has seen this, and suggest what type of problem it is.
[1a] https://github.com/klahnakoski/ActiveDa ... _shards.sh
[1b] https://github.com/klahnakoski/ActiveDa ... _shards.py