g+
g+ Communities
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  <20122013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
<== Date ==> <== Thread ==>

Subject: RE: Here is a Message
From: Mark Rivers <rivers@cars.uchicago.edu>
To: "Szalata, Zenon M." <zms@slac.stanford.edu>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Fri, 9 Mar 2012 19:10:30 +0000
Hi Zen,



This message makes me wonder if you are doing asyn callbacks at interrupt level?  If so, you should not do that, you should have your interrupt routine signal another thread which does the asyn callbacks.


>  interrupt: errlogPrintf called from interrupt level

Mark


________________________________
From: tech-talk-bounces@aps.anl.gov [tech-talk-bounces@aps.anl.gov] on behalf of Szalata, Zenon M. [zms@slac.stanford.edu]
Sent: Friday, March 09, 2012 12:59 PM
To: tech-talk@aps.anl.gov
Subject: Here is a Message

While modifying and testing a device driver subclassed from asynPortDriver for a VME module I am getting this message:


A call to 'assert(status == epicsMutexLockOK)'
    by thread 'cbLow' failed in ../../asyn/asynDriver/asynManager.c line 2222.
EPICS Release EPICS R3.14.11 $R3-14-11$ $2009/08/28 18:47:36$.
Local time is 2012-03-09 10:52:43.182719160 PUS
Please E-mail this message to the author or to tech-talk@aps.anl.gov
Calling epicsThreadSuspendSelf()
Thread cbLow (0x1692b30) suspended
interrupt: errlogPrintf called from interrupt level

I am using asyn R4.17.

I am sending this message because the message tells me to.
I will comment out my recent modifications and try to pinpoint which part of my device driver is responsible.

Thanks,
Zen



Replies:
RE: Here is a Message Szalata, Zenon M.
References:
Here is a Message Szalata, Zenon M.

Navigate by Date:
Prev: Here is a Message Szalata, Zenon M.
Next: RE: Here is a Message Szalata, Zenon M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
Navigate by Thread:
Prev: Here is a Message Szalata, Zenon M.
Next: RE: Here is a Message Szalata, Zenon M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·