Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Problems with database breakpoint routines.
From: "Rees, NP \(Nick\)" <nick.rees@diamond.ac.uk>
To: "EPICS tech-talk" <tech-talk@aps.anl.gov>
Date: Thu, 14 Dec 2006 11:49:16 -0000
I have just tried to use the database breakpoint routines (i.e. using
the code in the file dbBkpt.c). The documentation isn't clear on this,
but much of the library initialization takes place in the dbb routine,
including the all important creation of the bkpt_stack_sem semaphore.

The first thing some of the other routines in the library (dbc, dbs) do
is a epicsMutexMustLock on bkpt_stack_sem, with a consequence that (on
linux) the IOC SEGV's all over the place. Not what is intended.

Either the initialization should be moved to iocInit, or a check should
be done for a NULL pointer semaphore, or both. I would implement it if
someone tells me exactly what is the best thing to do, but maybe the
person who knows what to do should do it...

Cheers,

Nick Rees
Principal Software Engineer           Phone: +44 (0)1235-778430
Diamond Light Source                  Fax:   +44 (0)1235-446713


Replies:
Re: Problems with database breakpoint routines. Andrew Johnson

Navigate by Date:
Prev: Re: [Fwd: EPICS Base @ HP-UX: Volunteers wanted] Ralph Lange
Next: Parker motor controllers Coles Sibley III
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: [Fwd: EPICS Base @ HP-UX: Volunteers wanted] Noboru Yamamoto
Next: Re: Problems with database breakpoint routines. Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·