Bugs item #1169108, was opened at 2005-03-23 08:55 Message generated for change (Comment added) made by tjreedy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1169108&group_id=5470
Category: Windows Group: Python 2.4 Status: Open Resolution: None Priority: 5 Submitted By: stan pinte (stanpinte) Assigned to: Nobody/Anonymous (nobody) Summary: PySys_WriteStderr() -> WaitForSingleObject() hangs system Initial Comment: hello, I am running Simpy (python simulation framework) within pythondotnet (a slightly modified python version, based on python2.4), and, even though this process is single-thread, it hangs misteriously, in an unpredictable way... Python console cease to respond to Ctrl-C events... Here is the current Thread status: Thread Start Address: Symbol Name: Line Number: PC: mscoree!_CorExeMain() + 0x0 --- 7917D08C Thread Stack: ntdll ! KiFastSystemCallRet() + 0x KERNEL32 ! WaitForSingleObject() + 0x12 python24 ! PySys_WriteStderr() + 0x14d python24 ! PyTuple_Type() + 0x0 However, I would like to be able to go higher in the stack, to see what caused this deadlock. Any proposed strategy to guess what happened, or to track down the problem? thanks a lot, Stan. ---------------------------------------------------------------------- Comment By: Terry J. Reedy (tjreedy) Date: 2005-03-30 13:45 Message: Logged In: YES user_id=593130 Unless you claim/believe that there is a bug in unmodified CPython 2.4.1 (just released) please close this item. ---------------------------------------------------------------------- Comment By: stan pinte (stanpinte) Date: 2005-03-23 10:28 Message: Logged In: YES user_id=154693 Hello! I solved my problem by removing all references to Queue.queue instances in my python code. --> my usage of Queues was so heavy that it was triggering a nice bug in python synchronization code. I was pointed to threading issues by enabling full trace in my python code, and some traces were showing code from threading.py thanks a lot anyway for the help. Stan. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1169108&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com