EPICS Controls 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  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Problems with database breakpoint routines.
From: Andrew Johnson <[email protected]>
To: "Rees, NP (Nick)" <[email protected]>
Cc: EPICS tech-talk <[email protected]>
Date: Thu, 14 Dec 2006 18:12:52 -0600
Hi Nick,

Rees, NP (Nick) wrote:

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...

It sounds like the iocInit() option would make the most sense, but I don't know anything about that code myself - I assume there's only one instance of the bkpt_stack_sem semaphore. If you'd like to work out an appropriate fix in the next few days and send me a patch I'd be happy to apply it for R3.14.9.


In playing just now I discovered some other breakpoint problems which you'd be welcome to follow up on. Running a standard example app on linux-x86:

epics> dbb anjHost:aiExample1
   BKPT> Stopped at:  anjHost:aiExample1  within Entrypoint:  anjHost:calcExample1
->
epics> dbc
   BKPT> Continuing:  anjHost:aiExample1
epics>
   BKPT> Stopped at:  anjHost:aiExample1  within Entrypoint:  anjHost:calcExample1
->
epics> dbd anjHost:aiExample1
epics> dbc
epics>
   BKPT> End debug of lockset 2
-> epicsMutex pthread_mutex_destroy failed: error Device or resource busy

epics> dbstat

At this point my IOC shell hangs up - the prompt never returns.


- Andrew
--
There is considerable overlap between the intelligence of the smartest
bears and the dumbest tourists -- Yosemite National Park Ranger

References:
Problems with database breakpoint routines. Rees, NP (Nick)

Navigate by Date:
Prev: Parker motor controllers Coles Sibley III
Next: m(o)ca Kay-Uwe Kasemir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Problems with database breakpoint routines. Rees, NP (Nick)
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  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·