EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022 
<== Date ==> <== Thread ==>

Subject: Re: Base R3.16.0.1 ?
From: Andrew Johnson <[email protected]>
To: Michael Davidsaver <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Wed, 2 Mar 2016 18:15:43 -0600
On 03/01/2016 05:18 PM, Michael Davidsaver wrote:
> On 03/01/2016 06:12 PM, Johnson, Andrew N. wrote:
>> I have 2 installations of Cygwin, versions 1.7.30 and 2.0.0 on different
>> PCs. One of them (v2.0.0) is giving me "Duplicate EPICS CA Address list
>> entry" errors from libca on startup of the softIoc from either 3.15 or
>> 3.16. The other does not. I'm fairly sure this is since merging the
>> rsrvbindiface branch, was this one of the issues Ralph was seeing?
> 
> This warning is printed by removeDuplicateAddresses(), which is used by
> the CA client and both server implementations.  The fact that it says
> "EPICS CA Address list" has always been deceptive as it is used for all
> types of address lists (beacons and now interfaces).  You'll probably
> have to run in a debugger to find which call site is giving the warning.

Ok, it's called 3 times by rsrv_build_addr_lists() at iocInit, and it's
the middle time (beaconAddrList) that squawks:

> Starting iocInit
> ############################################################################
> ## EPICS R3.16.0-DEV $$Date$$
> ## EPICS Base built Mar  2 2016
> ############################################################################
...
> Breakpoint 1, removeDuplicateAddresses (
>     [email protected]=0x549a59d70 <casIntfAddrList>, 
>     [email protected]=0x22c920, [email protected]=0)
>     at ../iocinf.cpp:127
> 127	{
> (gdb) bt
> #0  removeDuplicateAddresses (
>     [email protected]=0x549a59d70 <casIntfAddrList>, 
>     [email protected]=0x22c920, [email protected]=0)
>     at ../iocinf.cpp:127
> #1  0x0000000549a3026f in rsrv_build_addr_lists ()
>     at ../../../src/ioc/rsrv/caservertask.c:331
> #2  rsrv_init () at ../../../src/ioc/rsrv/caservertask.c:535
> #3  0x0000000549a2dc93 in iocBuild () at ../../../src/ioc/misc/iocInit.c:203
> #4  iocInit () at ../../../src/ioc/misc/iocInit.c:105
> #5  0x0000000100402614 in main (argc=<optimized out>, argv=0x22cb08)
>     at ../../../src/std/softIoc/softMain.cpp:210
> (gdb) cont
> Continuing.
> 
> Breakpoint 1, removeDuplicateAddresses (
>     pDestList=0x549a59d90 <beaconAddrList>, pSrcList=0x22c920, silent=0)
>     at ../iocinf.cpp:127
> 127	{
> (gdb) bt
> #0  removeDuplicateAddresses (pDestList=0x549a59d90 <beaconAddrList>, 
>     pSrcList=0x22c920, silent=0) at ../iocinf.cpp:127
> #1  0x0000000549a303d0 in rsrv_build_addr_lists ()
>     at ../../../src/ioc/rsrv/caservertask.c:426
> #2  rsrv_init () at ../../../src/ioc/rsrv/caservertask.c:535
> #3  0x0000000549a2dc93 in iocBuild () at ../../../src/ioc/misc/iocInit.c:203
> #4  iocInit () at ../../../src/ioc/misc/iocInit.c:105
> #5  0x0000000100402614 in main (argc=<optimized out>, argv=0x22cb08)
>     at ../../../src/std/softIoc/softMain.cpp:210
> (gdb) cont
> Continuing.
> Warning: Duplicate EPICS CA Address list entry "164.54.22.255:5065" discarded
> 
> Breakpoint 1, removeDuplicateAddresses (pDestList=0x22c920, pSrcList=0x22c8f0, 
>     silent=0) at ../iocinf.cpp:127
> 127	{
> (gdb) bt
> #0  removeDuplicateAddresses (pDestList=0x22c920, pSrcList=0x22c8f0, silent=0)
>     at ../iocinf.cpp:127
> #1  0x0000000549a3044f in rsrv_build_addr_lists ()
>     at ../../../src/ioc/rsrv/caservertask.c:439
> #2  rsrv_init () at ../../../src/ioc/rsrv/caservertask.c:535
> #3  0x0000000549a2dc93 in iocBuild () at ../../../src/ioc/misc/iocInit.c:203
> #4  iocInit () at ../../../src/ioc/misc/iocInit.c:105
> #5  0x0000000100402614 in main (argc=<optimized out>, argv=0x22cb08)
>     at ../../../src/std/softIoc/softMain.cpp:210
> (gdb) cont
> Continuing.
...
> iocRun: All initialization complete
> epics> 


Sending this report now since I have to leave, I'll get back to it
tomorrow unless someone else beats me to it.

- Andrew

-- 
There are only two hard problems in distributed systems:
  2. Exactly-once delivery
  1. Guaranteed order of messages
  2. Exactly-once delivery
 -- Mathias Verraes

Replies:
Re: Base R3.16.0.1 ? Andrew Johnson
References:
Base R3.16.0.1 ? Andrew Johnson
Re: Base R3.16.0.1 ? Michael Davidsaver
Re: Base R3.16.0.1 ? Johnson, Andrew N.
Re: Base R3.16.0.1 ? Michael Davidsaver

Navigate by Date:
Prev: Jenkins build is back to normal : epics-base-3.16-win32-test #31 APS Jenkins
Next: Re: Base R3.16.0.1 ? Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022 
Navigate by Thread:
Prev: Re: Base R3.16.0.1 ? Michael Davidsaver
Next: Re: Base R3.16.0.1 ? Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022 
ANJ, 03 Mar 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·