EPICS Home

Experimental Physics and Industrial Control System


 
2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Strange change in behavior from 7.0.1 to 7.0.2
From: Michael Davidsaver via Core-talk <[email protected]>
To: "Johnson, Andrew N." <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Sun, 27 Jan 2019 20:26:49 -0800
On 1/25/19 2:24 PM, Johnson, Andrew N. wrote:
> Hi Michael,
> 
> I have not automated this test, so please go ahead. I'm still thinking
> about our different solutions, but this database can obviously become a
> test case we both agree on.

Test case w/ TODO markers

https://github.com/mdavidsaver/epics-base/commit/957a2714bb86838f0dedc476f92834f0ed963785

First pass at a fix.  Needs some more work.  It may be possible
to skip the change in dbProcess() and move all the new work to processTarget().
This would avoid some duplication, and calling epicsThreadGetIdSelf() when processing
records w/o DB links.

https://github.com/mdavidsaver/epics-base/commit/925ae9362c7d7e00d97abb2ac0d684bd519d0a83

> I approved your dbNotify fixes earlier BTW, in case you didn't get that
> email from Launchpad.

Ha, no I didn't.  I'll have to try a different gmail filter...


> - Andrew
> 
> On 1/25/19 12:46 PM, Michael Davidsaver wrote:
>> Andrew, Have you built a test case around this yet?  If not, I will.
>>
>> On 1/24/19 9:56 AM, Johnson, Andrew N. via Core-talk wrote:
>>> I can simplify your database to this using base-only record types:
>>>> record(ao,"_pos") {
>>>>     field(OUT,"_rel.A PP")
>>>>     field(TPRO, 1)
>>>> }
>>>>
>>>> record(calc,"_rel") {
>>>>     field(FLNK,"_lim")
>>>> }
>>>>
>>>> record(calc,"_lim") {
>>>>     field(INPA,"_pos PP")
>>>>     field(INPB,"_pos.DRVL PP")
>>>>     field(INPC,"_pos.DRVH PP")
>>>> }
> 


References:
Strange change in behavior from 7.0.1 to 7.0.2 Mark Rivers via Core-talk
Re: Strange change in behavior from 7.0.1 to 7.0.2 Johnson, Andrew N. via Core-talk
Re: Strange change in behavior from 7.0.1 to 7.0.2 Michael Davidsaver via Core-talk
Re: Strange change in behavior from 7.0.1 to 7.0.2 Johnson, Andrew N. via Core-talk

Navigate by Date:
Prev: Re: Strange change in behavior from 7.0.1 to 7.0.2 Johnson, Andrew N. via Core-talk
Next: doxygen for epics base Jeong Han Lee via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Strange change in behavior from 7.0.1 to 7.0.2 Johnson, Andrew N. via Core-talk
Next: doxygen for epics base Jeong Han Lee via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024