title: Tensorflow CPU (normal in python interactive shell, but coredump when run script)
body: <p>I'm trying to learn Tensorflow on Single CPU mode. When I try to run some examples , such as <code>[mnist_softmax.py]</code> it seems that the whole code run correctly and output the expected answer, but shows <code>[Segmentation fault (core dumped)]</code> and generate a 1.7G or even bigger core file in the end.
  When I run the same code in python interactive shell, it runs well and won't appear such <code>Segmentation fault.</code></p>
  
  <p>And my <code>Tensorflow</code> version is <code>('v1.0.0-65-g4763edf-dirty', '1.0.1')</code></p>