|
From: Geoffrey H. <tcp...@sn...> - 2002-12-23 04:04:53
|
I have added a patch to the most recent CVS which should help people locate deadlocks in the code. I am aware that several Mac users have een having these issues. What you need to do, is update to the latest CVS, then in libs/threads/thrcommon.c replace: #undef DEBUG_SEM_DEADLOCK with #define DEBUG_SEM_DEADLOCK (around linne 38) and recompile. this will enable the deadlock debugging code, which will spit out a message every time a Semaphore set takes longer than 60 seconds. There are plenty of cases where this is valid (if you stay inn orbit/station/melee/conversation for very long, you'll get these, and that is okay), but when you hit a deadlock, within 60 seconds, you should see a message telling you what is goinng on. Hopefully these messages can help us track down the deadlock condition. If you don't want to actually debug the code, sending the messages to this list may help one of us track it down. Thanks, Phrac -- Geoffrey Hausheer XXXXXXXXXXXXXXXXXXXXX |