TREP RFA C++ 8.0.1.L1 & 8.0.1.E2 solaris - core dump

I upgraded our application from RFA C++ rfa7.0.1.E2.solaris to rfa8.0.1.L1.solaris.rrg. There is not a core dump occuring in RFA.

I have had to go back to v7.0.1.E2 to prevent the core dump.

RFA log file:
RFA Internal failure

Application: RFA
Process Id: 0x18EC

File: Adapter_Utils_OMM/Impl/OMM_Cons_PendingHandleEntry.cpp
Line: 1179

Problem:
RFA_VERIFY( rsslEncodeArrayEntry( &eIter, 0, (void*)(&sortedArray[pos]) ) >= RSSL_RET_SUCCESS ) failed

Here is the pstack from the core dump:

----------------- lwp# 3 / thread# 3 --------------------
fffffc7ff4b936ea _lwp_kill () + a
fffffc7ff4b38229 raise () + 19
fffffc7ffde125a3 skgesigOSCrash () + 4f
fffffc7ffe356c98 kpeDbgSignalHandler () + 264
fffffc7ffde12b19 skgesig_sigactionHandler () + d5
fffffc7ff4b8dee6 __sighndlr () + 6
fffffc7ff4b827a2 call_user_handler () + 252
fffffc7ff4b829ce sigacthandler (6, fffffc7fdd5f20b8, fffffc7fdd5f1a00) + ee
--- called from signal handler with signal 6 (SIGABRT) ---
fffffc7ff4b936ea _lwp_kill () + a
fffffc7ff4b38229 raise () + 19
fffffc7ff4b16b8e abort () + 5e
fffffc7ff68e474b __RFA_ProblemReport () + 91b
fffffc7fdcb9862f __1cDrfaMsessionLayerbHRSSL_Cons_PendingBatchHandleEntryTprocessThrottleTask6MI_I_ () + 14bf
fffffc7ff68de439 __1cDrfaGcommonUThrottleByCountQdDueueJsendBatch6M_v_ () + 1d9 fffffc7fdcb95219 __1cDrfaMsessionLayerbCRSSL_Cons_PendingHandleEntry2T6M_v_ () + 79 fffffc7fdcb9b164 ???????? ()
fffffc7fdcb789a4 __1cDrfaMsessionLayerbBRSSL_Cons_MultiRequestEntrybBprocessRsslSolicitedRefresh6MIpnORsslRefreshMsg_bpknPRsslReadOutArgs__v_ () + a4
fffffc7fdcb7b225 __1cDrfaMsessionLayerbBRSSL_Cons_MultiRequestEntryTprocessRsslResponse6MIpnHRsslMsg_pknPRsslReadOutArgs__v_ () + 495
fffffc7fdcb56056 __1cDrfaMsessionLayerTRSSL_Cons_WatchListTprocessRsslResponse6MIpnHRsslMsg_pknPRsslReadOutArgs__b_ () + a6
fffffc7fdcb30034 __1cDrfaMsessionLayerYRSSL_Cons_ConnectionImplOprocessRsslMsg6MrnHRsslMsg_rknPRsslReadOutArgs__v_ () + 34
fffffc7fdd270887 __1cDrfaMsessionLayerbARSSL_WRAPChannelConnectionUprocessReadIOMessage6M_v_ () + 3f7
fffffc7ff670b916 __1cTRTREventNotifierImpRnotifyReadPending6Mi_v_ () + 276
fffffc7ff670a3d0 __1cRRTRSelectNotifierGenable6M_v_ () + 310
fffffc7ff66eb8b0 __1cDrfaMsessionLayerLSessionImplJrunThread6M_v_ () + 940
fffffc7ff6708f27 __1cDrfaHsupportGThreadMstartWrapper6Fpv_3_ () + 27
fffffc7ff4b8dbab _thr_setup () + 5b fffffc7ff4b8dde0 _lwp_start ()

Best Answer

  • The issue occurred because RFA failed to re-encode the view item for throttling.

    This happens when the "throttleBatchCount" parameter is set too large.

    To avoid this issue, we recommend setting the "throttleBatchCount" parameter to 1/10 of "throttleMaxCount".

Answers

  • I've downloaded rfa8.0.1.E1.solaris, and will see if this solved the core dump.

  • Still have a core dump with rfa8.0.1.E1.solaris.

    RFA internal failure log messages:

    RFA Internal failure Application: RFA
    Process Id: 0x2D05
    File: Adapter_Utils_OMM/Impl/OMM_Cons_PendingHandleEntry.cpp
    Line: 1179
    Problem: RFA_VERIFY( rsslEncodeArrayEntry( &eIter, 0, (void*)(&sortedArray[pos]) ) >= RSSL_RET_SUCCESS ) failed

    And the pstack:

    ----------------- lwp# 7 / thread# 7 --------------------
    fffffc7ff4b936ea _lwp_kill () + a
    fffffc7ff4b38229 raise () + 19
    fffffc7ffde125a3 skgesigOSCrash () + 4f
    fffffc7ffe356c98 kpeDbgSignalHandler () + 264
    fffffc7ffde12b19 skgesig_sigactionHandler () + d5
    fffffc7ff4b8dee6 __sighndlr () + 6
    fffffc7ff4b827a2 call_user_handler () + 252
    fffffc7ff4b829ce sigacthandler (6, fffffc7ff34330b8, fffffc7ff3432a00) + ee
    --- called from signal handler with signal 6 (SIGABRT) ---
    fffffc7ff4b936ea _lwp_kill () + a fffffc7ff4b38229 raise () + 19
    fffffc7ff4b16b8e abort () + 5e
    fffffc7ff68c474b __RFA_ProblemReport () + 91b
    fffffc7ff2b9862f __1cDrfaMsessionLayerbHRSSL_Cons_PendingBatchHandleEntryTprocessThrottleTask6MI_I_ () + 14bf
    fffffc7ff68be439 __1cDrfaGcommonUThrottleByCountQdDueueJsendBatch6M_v_ () + 1d9
    fffffc7ff2b95219 __1cDrfaMsessionLayerbCRSSL_Cons_PendingHandleEntry2T6M_v_ () + 79
    fffffc7ff2b9b164 __SLIP.DELETER__H () + 14
    fffffc7ff2b789a4 __1cDrfaMsessionLayerbBRSSL_Cons_MultiRequestEntrybBprocessRsslSolicitedRefresh6MIpnORsslRefreshMsg_bpknPRsslReadOutArgs__v_ () + a4
    fffffc7ff2b7b225 __1cDrfaMsessionLayerbBRSSL_Cons_MultiRequestEntryTprocessRsslResponse6MIpnHRsslMsg_pknPRsslReadOutArgs__v_ () + 495
    fffffc7ff2b56056 __1cDrfaMsessionLayerTRSSL_Cons_WatchListTprocessRsslResponse6MIpnHRsslMsg_pknPRsslReadOutArgs__b_ () + a6
    fffffc7ff2b30034 __1cDrfaMsessionLayerYRSSL_Cons_ConnectionImplOprocessRsslMsg6MrnHRsslMsg_rknPRsslReadOutArgs__v_ () + 34
    fffffc7ff2860887 __1cDrfaMsessionLayerbARSSL_WRAPChannelConnectionUprocessReadIOMessage6M_v_ () + 3f7
    fffffc7ff66db916 __1cTRTREventNotifierImpRnotifyReadPending6Mi_v_ () + 276
    fffffc7ff66da3d0 __1cRRTRSelectNotifierGenable6M_v_ () + 310
    fffffc7ff66bb8b0 __1cDrfaMsessionLayerLSessionImplJrunThread6M_v_ () + 940
    fffffc7ff66d8f27 __1cDrfaHsupportGThreadMstartWrapper6Fpv_3_ () + 27
    fffffc7ff4b8dbab _thr_setup () + 5b
    fffffc7ff4b8dde0 _lwp_start ()