Open mdavidsaver opened 5 years ago
The crash appears to happen when two different Beacon receiver threads are processing the PVField payload at the end of Beacon messages.
This payload is a full un-cached serialization, including Structure. This does break an assumption I made in epics-base/pvDataCPP#55 that Structure creation was relatively rare. In fact it happens for every Beacon...
Even so, this should only manifest as a performance hit. This crash suggests that there is also a problem with locking.
While it is being deserialized, the Beacon payload is currently uninteresting, and unused.
@bhill-slac reports a crash in the Beacon handling code. This was observed in a gateway process, but does not appear to be gateway specific (though I'm not certain of this).
In the captured stack trace, three threads are not idle.