title: Debugging Python Fatal Error: GC Object already Tracked
body: <p>My python code has been crashing with error 'GC Object already Tracked' . Trying to figure out the best approach to debug this crashes.</p>
  
  <p>OS : Linux. </p>
  
  <ul>
  <li>Is there a proper way to debug this issue. </li>
  </ul>
  
  <p>There were couple of suggestions in the following article.
  <a href="https://stackoverflow.com/questions/273043/python-memory-debugging-with-gdb/23143858#23143858">Python memory debugging with GDB</a></p>
  
  <p>Not sure which approach worked for the author. </p>
  
  <ul>
  <li>Is there a way to generate memory dumps in such scenario which could be analyzed. Like in Windows world.</li>
  </ul>
  
  <p>Found some article on this. But not entirely answers my question: 
  <a href="http://pfigue.github.io/blog/2012/12/28/where-is-my-core-dump-archlinux/" rel="noreferrer">http://pfigue.github.io/blog/2012/12/28/where-is-my-core-dump-archlinux/</a></p>