crash - Debugging Python Fatal Error: GC Object already Tracked -


my python code has been crashing error 'gc object tracked' . trying figure out best approach debug crashes.

os : linux.

  • is there proper way debug issue.

there couple of suggestions in following article. python memory debugging gdb

not sure approach worked author.

  • is there way generate memory dumps in such scenario analyzed. in windows world.

found article on this. not entirely answers question: http://pfigue.github.io/blog/2012/12/28/where-is-my-core-dump-archlinux/

found out reason issue in scenario (not reason gc object crash). used gdb , core dumps debug issue.

i have python , c extension code (in shared object). python code registers callback routine c extension code. in workflow thread c extension code calling registered call routine in python code.

this worked fine when multiple threads did same action concurrently resulted in crash 'gc object tracked'.

synchronizing access python objects multiple thread resolve issue.

thanks responded this.


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -