question

Upvotes
Accepted
1 0 0 2

SEGV crash in rfa::sessionLayer::SessionImpl::dispatchResponseProcedure

We are using RFA C++ 8.1.0.L1 on Linux RedHat 6.10. We see the following SEGV crash:

Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000000000426e70 in vtable for __cxxabiv1::__class_type_info () [Current thread is 1 (Thread 0x7ff7e521f700 (LWP 16376))] (gdb) where #0 0x0000000000426e70 in vtable for __cxxabiv1::__class_type_info () #1 0x00007ff825e129f0 in rfa::sessionLayer::SessionImpl::dispatchResponseProcedure() () #2 0x00007ff825e10d3e in rfa::sessionLayer::SessionImpl_ResponseProcessingTimer::processTimerEvent() () #3 0x00007ff825f3b93d in RTREventNotifierImp::expireEvents() () #4 0x00007ff825e709ee in RTRSelectNotifier::enable() () #5 0x00007ff825e131ef in rfa::sessionLayer::SessionImpl::runThread() () #6 0x00007ff825e6ab97 in rfa::support::Thread::startWrapper(void*) () #7 0x00000037a7207aa1 in start_thread () from /lib64/libpthread.so.0 #8 0x00000037a6ee8bdd in clone () from /lib64/libc.so.6

Please can someone assist.

treprfarfa-api
icon clock
10 |1500

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

Upvotes
Accepted
7.6k 15 6 9
@Oliver.Peck

Based on the call stack it's quite hard to tell possible root cause because of it just a normal dispatch call inside RFA.

-Can you replicate the issue on demand? or It occurs just once and cannot replicate it again.

This kind of question required an in-depth investigation. We need more information about your use case and your implementation. Not sure that, what kind of RFA application you are using and how many session and event source in your application. Do you have multiple thread call dispatch to the same event queue?

We would suggest you contact one of the RDC named users within your organization to open a case to investigate the issue further.

icon clock
10 |1500

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

Upvotes
1 0 0 2

Thanks @moragodkrit. The issue is intermittent.

We have multiple threads calling dispatch, but each has its own unique event queue object, although each event queue has the same name. Could this be an issue?

icon clock
10 |1500

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

As far as I understand, if we create a new event queue with the same name, RFA internal just create a new instance of the event queue and then append the number to the name. In my point of view, this should not be an issue.

@Oliver.Peck

To investigate this issue, you can contact the RDC named users within your organization to submit a ticket through Contact Premium Support at https://developers.refinitiv.com/thomson-reuters-enterprise-platform/robust-foundation-api-rfa.

cpremium.png (50.4 KiB)
Click below to post an Idea Post Idea