TIBCO ActiveMatrix Adapter for SAP in x86-32-bit mode crashes on Linux/Unix operating systems.

TIBCO ActiveMatrix Adapter for SAP in x86-32-bit mode crashes on Linux/Unix operating systems.

book

Article ID: KB0092797

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for SAP Solutions -
Not Applicable -

Description

Description:
When a 32-bit distribution of TIBCO ActiveMatrix Adapter for SAP running on a Linux/Unix box may crash when interacting with SAP.
Symptoms:
The size of the core if is about 4GB and the backtrace of the core file provides the following stack trace upon crashing.

#0  0x00959430 in __kernel_vsyscall ()
#1  0x072f8af1 in raise () from /lib/libc.so.6
#2  0x072fa3ca in abort () from /lib/libc.so.6
#3  0x05d751e7 in ?? () from /usr/lib/libstdc++.so.5
#4  0x05d75234 in std::terminate() () from /usr/lib/libstdc++.so.5
#5  0x05d753a6 in __cxa_throw () from /usr/lib/libstdc++.so.5
#6  0x005ae4f5 in MRvSessionImpl::nextEvent(unsigned long) () from /opt/tibco/adapter/sdk/5.8/lib/libmaverick58.so
#7  0x00691d73 in MSession::nextEvent(unsigned long) () from /opt/tibco/adapter/sdk/5.8/lib/libmaverick58.so
#8  0x00e64839 in CRfcRvDispatcher::run() () from /opt/tibco/adapter/adr3/6.2/lib/libRfcComponentu.so
#9  0x00e647c5 in CRfcRvDispatcher::runnable(void*) () from /opt/tibco/adapter/adr3/6.2/lib/libRfcComponentu.so
#10 0x00157a09 in start_thread () from /lib/libpthread.so.0
#11 0x073ab00e in clone () from /lib/libc.so.6


Cause:
The stack size from the operating system level is too large (typically is set to unlimited) which will cause the virtual memory size of the 32-bit adapter to increase over 4GB when processing messages.

Resolution

Reduce the stack size of the operating system to a reasonable value by the command "ulimit -s <size>". For example: ulimit -s 10240 . Use the x86-64bit adapter distribution instead or upgrade to the TIBCO ActiveMatrix Adapter for SAP version 7.x which is based on Java.

Issue/Introduction

TIBCO ActiveMatrix Adapter for SAP in x86-32-bit mode crashes on Linux/Unix operating systems.