1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 <2007> 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 <2007> 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: nexplained hangup in semTake(), Re: channel access security deadlock from asInit() |
From: | Till Straumann <[email protected]> |
To: | Kay-Uwe Kasemir <[email protected]> |
Cc: | tech talk <[email protected]> |
Date: | Wed, 18 Apr 2007 12:27:44 -0700 |
Attach a debugger, look at the list of tasks blocking on the semaphore. Then look at who currently holds it and what that task is waiting for. Should not be hard to find the deadlocked cycle (with a debugger + access to the OS source that is)...
On Apr 18, 2007, at 14:56 , Jeff Hill wrote:You have the thread that has the AS lock and is calling rsrv where it isI understand, but I can't get that information.
taking its lock...
If it's a classic deadlock then we need to find the other half of the bug.
When I type asInit() and then CTRL-C, I get that one stack trace. But from then on, the IOC shell is hung, no more telnet or serial line access, only a hard reboot or power cycle, so I don't get to look at other threads.
CPU consumption was no issue up to that hangup, and afterwards, I can't say because I have to reboot.
So in the interest of political correctness, we can call this an unexplained hangup in semTake() instead of a deadlock.
-Kay