Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: Re: asyn+streamDevice hangs with synchronousLock:Yes
From: Dirk Zimoch <dirk.zimoch@psi.ch>
To: Mark Rivers <rivers@cars.uchicago.edu>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 03 Jul 2013 13:49:30 +0200
On 02.07.2013 20:27, Mark Rivers wrote:
When it is hung please do

epicsMutexShowAll 1

I think you have probably run into a deadlock, which can happen when multiple mutexes are taken/released in the wrong order.

If you simplfy your problem to a single record does the problem go away?

I am not an expert on using I/O Intr scanned records with StreamDevice, particularly multiple records on the same port.  Dirk may be able to help with this.

Mark


I am not an expert of the internals of asyn. What does "synchronousLock:Yes" mean?

Dirk



________________________________________
From: brian@hotrats.mit.edu [brian@hotrats.mit.edu] on behalf of Brian McAllister [mcallister@mit.edu]
Sent: Tuesday, July 02, 2013 1:23 PM
To: Mark Rivers
Cc: tech-talk@aps.anl.gov
Subject: Re: asyn+streamDevice hangs with synchronousLock:Yes

What does it mean if synchronousLock is permanently "Yes" ?

I see it's a mutex and that it's used in many places.  Is there any way to
find out where it is being locked/not unlocked ?

- brian


Replies:
RE: asyn+streamDevice hangs with synchronousLock:Yes Mark Rivers
References:
RE: asyn+streamDevice hangs with synchronousLock:Yes Mark Rivers
Re: asyn+streamDevice hangs with synchronousLock:Yes Brian McAllister
RE: asyn+streamDevice hangs with synchronousLock:Yes Mark Rivers

Navigate by Date:
Prev: weird error Julio Calvo
Next: AW: caLab Winkler, Carsten
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: RE: asyn+streamDevice hangs with synchronousLock:Yes Mark Rivers
Next: RE: asyn+streamDevice hangs with synchronousLock:Yes Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·