Thread-related crash in Windows

Alex Bigelow avatarAlex Bigelow created an issue

I have an app that repeatedly parses my pyquery object down to text; it works just fine in OS X and Linux, but it crashes after a while of heavy use in Windows. As I'm pretty sure it's thread-related, it's not easy to reproduce, but every trace of the app just before it dies looks like this:

Crash #1:
line, C:\Documents and Settings\Home\workspace\GNGSTA\GNGSTA\gui\mutableSvg.py:678
call, C:\Python27\lib\site-packages\pyquery-1.2.1-py2.7.egg\pyquery\pyquery.py:263
line, C:\Python27\lib\site-packages\pyquery-1.2.1-py2.7.egg\pyquery\pyquery.py:272
line, C:\Python27\lib\site-packages\pyquery-1.2.1-py2.7.egg\pyquery\pyquery.py:275
call, C:\Python27\lib\encodings\cp1252.py:14
line, C:\Python27\lib\encodings\cp1252.py:15
return, C:\Python27\lib\encodings\cp1252.py:15
line, C:\Python27\lib\site-packages\pyquery-1.2.1-py2.7.egg\pyquery\pyquery.py:275
return, C:\Python27\lib\site-packages\pyquery-1.2.1-py2.7.egg\pyquery\pyquery.py:275
Fatal Python error: This thread state must be current when releasing

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

I've tried a couple versions of pyquery (including source) and I still get the same error.

Comments (1)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.