detect Structure caching error
The assert in the client side copy is hit during some kind of failure to keep the Field cache up to date.
This commit is contained in:
1 parent
de6586b92f
commit
e08de8c2df
2 files changed
+4
No files matched your search
@@ -12,6 +12,7 @@
|
||||
|
||||
#include <osiSock.h>
|
||||
#include <epicsGuard.h>
|
||||
#include <epicsAssert.h>
|
||||
|
||||
#include <pv/lock.h>
|
||||
#include <pv/timer.h>
|
||||
@@ -105,6 +106,7 @@ public:
|
||||
PVStructure::shared_pointer const & pvStructure,
|
||||
BitSet::shared_pointer const & existingBitSet)
|
||||
{
|
||||
assert(pvStructure);
|
||||
int pvStructureSize = pvStructure->getNumberFields();
|
||||
if (existingBitSet.get() && static_cast<int32>(existingBitSet->size()) >= pvStructureSize)
|
||||
{
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
|
||||
#include <osiSock.h>
|
||||
#include <osiProcess.h>
|
||||
#include <epicsAssert.h>
|
||||
|
||||
#include <pv/byteBuffer.h>
|
||||
#include <pv/timer.h>
|
||||
@@ -58,6 +59,7 @@ static BitSet::shared_pointer createBitSetFor(
|
||||
PVStructure::shared_pointer const & pvStructure,
|
||||
BitSet::shared_pointer const & existingBitSet)
|
||||
{
|
||||
assert(pvStructure);
|
||||
int pvStructureSize = pvStructure->getNumberFields();
|
||||
if (existingBitSet.get() && static_cast<int32>(existingBitSet->size()) >= pvStructureSize)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user