New posts are disabled while we improve the user experience.

You can browse the site, or for urgent issues, raise a query at MyAccount.

question

Upvotes
Accepted
5 4 2 9

FieldList AccessViolationException

After months of running a service using RFA which hits the EZD service, I've run into a new issue that just popped up today. Every minute, I snapshot without update roughly 2600 RICs. After receiving a marketdata event, I attempt to decode a FieldList and get:

An exception of type 'System.AccessViolationException' occurred in RFA8_NET140_x64.dll but was not handled in user code Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

private void DecodeFieldList(FieldList input)

{

if(null == input)return;

var it = new FieldListReadIterator();

it.Start(input); //Exception occurs here

..........

}

In a watch, all FieldList properties show "The metadata for 'RFA8_NET140_x64 is invalid. If you are debugging a minidump,etc...".

I have tracing turned on and I don't see anything that further explains what's happening. Happy to share the logs with a Reuters rep. Eventually after a stream of incoming messages from the box running the EZD app, I just get

<!-- Sending Ping to 'ezdBox:14002' on 'localhost' interface --> <!-- Time: 10:53:47:597 -->

<!-- Ping Received from ezdBox:14002' on 'localhost' interface --> <!-- Time: 10:53:57:598 -->

until I shut down.

treprfarfa-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
4.4k 10 6 9

Hi @tradingTech

The most common cause of exceptions at decoding is trying to decode an empty FIeldList.

Have you check

if (!FieldList.IsBlank)

before decoding the field list?

Could you please share the tracing and rfa.log files?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.