epics-base / pva2pva

PV Access gateway/proxy and EPICS Process Database integration
https://epics-base.github.io/pva2pva/
Other
4 stars 13 forks source link

Protocol Violation: Not-a-first segmented message received in normal mode #23

Open mdavidsaver opened 5 years ago

mdavidsaver commented 5 years ago

@shengb reports

when monitoring a big waveform data, for example 3840x2160 image, got error from p2p shell: 2018-10-10T11:32:06.256 Protocol Violation: Not-a-first segmented message received in normal mode from the client at ../../src/remote/codec.cpp:210: 10.10.5.243:5075, disconnecting...

originally https://github.com/mdavidsaver/pva2pva/issues/1

mdavidsaver commented 5 years ago

A first pass analysis of a packet capture provided by @shengb shows that a large image payload is triggering the PVA message segmentation logic, which neither the PVA packet dissector nor I understand. This includes the question of why this logic is being triggered when the pixel array is 0x7e9000 bytes (~8MB).

Anyway, this doesn't appear to be the sort of issue that P2P could cause by itself.