Hi, I updated Python (and PySide) to version 3.2 and modified my PySide application to be compatible with it. Everything works except of a crash that happens when I use threads (using QtCore.QThread). I get this message "Fatal Python Error: GC object already tracked". The crash happens randomly but always after a few seconds when the background operation runs.

I found out that this has something to do with garbage collector and incorrectly deleted objects. But I don't delete any objects. I'm not sure if it is a fault at my side or if the problem is in PySide. Anyway I didn't have these crashes with PySide for Python 2.7.

What I'm doing in the background thread is that I get all files in a directory and then scan these using MediaInfo (and it's Python binding). I write the information to a database using Python's SQLite3. I tried to remove the MediaInfo part and write only dummy data, but it crashes too. It happens after reading and writing information about couple thousands of files. Do you have any idea how could I track this error and find out what causes it? If I created a test case, that reproduces it, would anyone be so kind and look into it?

Thank you.

Best regards,
Vladimir
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

Reply via email to