Hello All,

Python crashes for me during shutdown. Shell says the process terminated with 
Abort (status 134). A python2.6.exe.stackdump is created, but empty and gdb 
gives this rather useless stacktrace:

    #0  0x00000000 in ?? ()
    #1  0x76677720 in NlsUpdateSystemLocale () from 
/c/Windows/syswow64/kernel32.dll
    #2  0x76604b9f in KERNEL32!GetQueuedCompletionStatus () from 
/c/Windows/syswow64/kernel32.dll
    #3  0x00000003 in ?? ()
    #4  0x00000000 in ?? ()

The crash happens during shutdown according to python -v.

It started crashing since some upgrade, but downgrade to python 2.6.7-1 does 
not 
fix it, so it's related to some other component. It happens on at least two 
machines here, so it seems to be reproducible. Both machines are Windows 7 
Ultimate and have windows updates applied.

The script uses cElementTree and pure-python translate-toolkit (that from local 
copy). I've tried to reduce it to minimal test case and it turns out that 
importing _both_ cElementTree _and_ pofile and pounit from translate toolkit 
initiates the crash. The minimal test case is:

    #!/usr/bin/python

    import xml.etree.cElementTree as et
    from translate.storage.po import pofile, pounit

provided that translate toolkit 1.9.0
(http://sourceforge.net/projects/translate/files/Translate%20Toolkit/1.9.0/)
is available in current directory or PYTHONPATH.

Importing either of the modules alone does not cause the crash, only both
together. If I replace cElementTree with ElementTree, it does not crash either 
(that's my current workaround).

Regards,
Jan Hudec


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to