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
2 1 2 2

Crash within RFA library

I'm getting occasional crashes with the following stack trace:

/opt/rfa/bin/rfa(exitCB+0x106)[0x815a922]

[0xf774b400]

[0xf774b430]

/lib/libc.so.6(gsignal+0x51)[0xf697f7c1]

/lib/libc.so.6(abort+0x17a)[0xf698109a]

/opt/rfa/lib/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x167)[0xf68ffb97]

/opt/rfa/lib/libstdc++.so.6(+0xae9f6)[0xf68fd9f6]

/opt/rfa/lib/libstdc++.so.6(+0xaea33)[0xf68fda33]

/opt/rfa/lib/libstdc++.so.6(+0xaf626)[0xf68fe626]

/opt/rfa/lib/libRFA_RSSL_Adapter.so(_ZN3rfa12sessionLayer26RSSL_WRAPChannelConnection15flushRsslBufferEv+0x460)[0xf5c63420]

/opt/rfa/lib/libRFA_RSSL_Adapter.so(_ZN3rfa12sessionLayer26RSSL_WRAPChannelConnectionD1Ev+0x34)[0xf5c659a4]

/opt/rfa/lib/libRFA_RSSL_Prov_Adapter.so(_ZN3rfa12sessionLayer24RSSL_Prov_ChannelSessionC2ERKNS_6common13ComponentNameERNS_6logger15ComponentLoggerERNS0_20RSSL_Prov_ConnectionEPNS0_13RSSL_WRAPCore13RSSL_WRAPInfoERNS_7support8SmartPtrINS0_10TraceMutexEEE+0x5e6)[0xf5d57f66]

/opt/rfa/lib/libRFA_RSSL_Prov_Adapter.so(_ZN3rfa12sessionLayer24RSSL_Prov_ConnectionImpl30createRSSL_Prov_ChannelSessionEPNS0_13RSSL_WRAPCore13RSSL_WRAPInfoE+0x53)[0xf5d5c433]

/opt/rfa/lib/libRFA_RSSL_Prov_Adapter.so(_ZN3rfa12sessionLayer24RSSL_Prov_ConnectionImpl27processClientSessionRequestEPNS0_13RSSL_WRAPCore13RSSL_WRAPInfoE+0x24)[0xf5d60264]

/opt/rfa/lib/libRFA_RSSL_Adapter.so(_ZN3rfa12sessionLayer25RSSL_WRAPServerConnection13processIOReadEi+0x44)[0xf5c74c84]

/opt/rfa/lib/libRFA_SessionLayer.so(_ZN19RTREventNotifierImp17notifyReadPendingEi+0x50)[0xf7261450]

/opt/rfa/lib/libRFA_SessionLayer.so(_ZN17RTRSelectNotifier6notifyEP13RTRIOEventMgrR6fd_setMS_FviE+0x8b)[0xf725feeb]

/opt/rfa/lib/libRFA_SessionLayer.so(_ZN17RTRSelectNotifier6enableEv+0x224)[0xf7260274]

/opt/rfa/lib/libRFA_RSSL_Prov_Adapter.so(_ZN3rfa12sessionLayer21RSSL_Prov_AdapterImpl9runThreadEv+0x8c)[0xf5d4191c]

/opt/rfa/lib/libRFA_SessionLayer.so(_ZN3rfa7support6Thread12startWrapperEPv+0x2a)[0xf725f46a]

/lib/libpthread.so.0(+0x6bc9)[0xf6940bc9]

/lib/libc.so.6(clone+0x5e)[0xf6a3811e]

RFA is C++, 7.6.1, OS is Centos 6.10.

Any idea what might be causing this?

Many thanks in advance,

Jon

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
87.8k 294 53 79

The application crashed due to the memory leak in RFA C++ 7.6.1. When the memory usage reaches 4 GB on the 32-bit application, it can freeze or crash with the following call stack.

#5  0x00ad47fc in rfa::sessionLayer::RSSL_WRAPCore::~RSSL_WRAPCore() () from /data/local/Setup/rfa7.6.1.E4.linux/Libs/RHEL6_32_GCC444/libRFA_RSSL_Adapter.so
#6  0x00ac9b8b in rfa::sessionLayer::RSSL_WRAPChannelConnection::~RSSL_WRAPChannelConnection() () from /data/local/Setup/rfa7.6.1.E4.linux/Libs/RHEL6_32_GCC444/libRFA_RSSL_Adapter.so
#7  0x00586f66 in rfa::sessionLayer::RSSL_Prov_ChannelSession::RSSL_Prov_ChannelSession(rfa::common::ComponentName const&, rfa::logger::ComponentLogger&, rfa::sessionLayer::RSSL_Prov_Connection&, rfa::sessionLayer::RSSL_WRAPCore::RSSL_WRAPInfo*, rfa::support::SmartPtr<rfa::sessionLayer::TraceMutex>&) () from /data/local/Setup/rfa7.6.1.E4.linux/Libs/RHEL6_32_GCC444/libRFA_RSSL_Prov_Adapter.so
#8  0x0058b433 in rfa::sessionLayer::RSSL_Prov_ConnectionImpl::createRSSL_Prov_ChannelSession(rfa::sessionLayer::RSSL_WRAPCore::RSSL_WRAPInfo*) () from /data/local/Setup/rfa7.6.1.E4.linux/Libs/RHEL6_32_GCC444/libRFA_RSSL_Prov_Adapter.so
#9  0x0058f264 in rfa::sessionLayer::RSSL_Prov_ConnectionImpl::processClientSessionRequest(rfa::sessionLayer::RSSL_WRAPCore::RSSL_WRAPInfo*) () from /data/local/Setup/rfa7.6.1.E4.linux/Libs/RHEL6_32_GCC444/libRFA_RSSL_Prov_Adapter.so
#10 0x00ad8c84 in rfa::sessionLayer::RSSL_WRAPServerConnection::processIORead(int) () from /data/local/Setup/rfa7.6.1.E4.linux/Libs/RHEL6_32_GCC444/libRFA_RSSL_Adapter.so
...

This memory leak issue has been fixed in RFA C++ 8.1.0.E1.

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.