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 (
> pDestList=pDestList@entry=0x549a59d70 <casIntfAddrList>,
> pSrcList=pSrcList@entry=0x22c920, silent=silent@entry=0)
> at ../iocinf.cpp:127
> 127 {
> (gdb) bt
> #0 removeDuplicateAddresses (
> pDestList=pDestList@entry=0x549a59d70 <casIntfAddrList>,
> pSrcList=pSrcList@entry=0x22c920, silent=silent@entry=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
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
2025
- 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
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
2025
|