Hi Michael,
Thanks for pointing out that startPVAServer is no longer required. When I remove that line from commonPlugins.cmd in ADCore things work fine. The PVA server still runs, and I no longer have the problem with IOC exit hanging on windows-x64 and windows-x64-debug.
It is interesting that having the unneeded startPVAServer does not cause problems on Linux or windows-x64-static, only on dynamic windows builds.
Thanks,
Mark
-----Original Message-----
From: Michael Davidsaver <mdavidsaver at gmail.com>
Sent: Wednesday, March 13, 2024 10:52 AM
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: core-talk at aps.anl.gov
Subject: Re: startPVAServer prevents windows-x64 IOC from exiting
On 3/13/24 06:19, Mark Rivers wrote:
> I just found something interesting. If I comment out the startPVAServer line it does not hang (which I already knew), but there is now a new atExit handler called first, @pva_server_cleanup.
That is interesting. You should not need startPVAServer.
The PVA server starts automatically during iocInit(), and has done so for some years.
Running startPVAServer again should be ok though. Only
printing:
> PVA server already running
However, I guess you have found a logic error. Perhaps with the ordering? You might try reversing the order of these two statements.
> startPVAServer
> iocInit()
- References:
- startPVAServer prevents windows-x64 IOC from exiting Mark Rivers via Core-talk
- startPVAServer prevents windows-x64 IOC from exiting Mark Rivers via Core-talk
- Re: startPVAServer prevents windows-x64 IOC from exiting Michael Davidsaver via Core-talk
- RE: startPVAServer prevents windows-x64 IOC from exiting Mark Rivers via Core-talk
- Re: startPVAServer prevents windows-x64 IOC from exiting Michael Davidsaver via Core-talk
- Navigate by Date:
- Prev:
Re: startPVAServer prevents windows-x64 IOC from exiting Michael Davidsaver via Core-talk
- Next:
Re: startPVAServer prevents windows-x64 IOC from exiting Johnson, Andrew N. via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
<2024>
- Navigate by Thread:
- Prev:
Re: startPVAServer prevents windows-x64 IOC from exiting Michael Davidsaver via Core-talk
- Next:
Re: startPVAServer prevents windows-x64 IOC from exiting Johnson, Andrew N. via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
<2024>
|