Error: "bwengine: munmap_chunk(): invalid pointer".

Error: "bwengine: munmap_chunk(): invalid pointer".

book

Article ID: KB0092893

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
BW applications may crash when connecting to ActiveSpaces using ActiveSpaces plug-ins or when using MALTAB library in Linux. A new version of the "bwengine" (wrapper) file is required to use the library.

Symptoms:
*** glibc detected *** /opt/tibco/bw/5.12/bin/bwengine: munmap_chunk(): invalid pointer: 0x00007f80f81b87e0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x75e66)[0x7f818f21de66]
/usr/lib64/libstdc++.so.6(_ZNSsD1Ev+0x39)[0x7f8118abb4c9]
/opt/tibco/as/2.1/lib/libas-core.so(_ZN4Core8SecUtils19loadSecurityLibraryENS_11StringValueE+0x338)[0x7f8118e99558]
/opt/tibco/as/2.1/lib/libas-core.so(_ZN4Core8SecUtils18initializeSecurityEv+0x152)[0x7f8118e9a592]
/opt/tibco/as/2.1/lib/libas-common.so(_ZN8JObjects10initializeEP7JNIEnv_+0x2f8b)[0x7f806288be9b]
/opt/tibco/as/2.1/lib/libas-common.so(Java_com_tibco_as_space_impl_NativeImpl_initJNI+0x16)[0x7f806288c1c6]
[0x7f818a8eacd8]
Cause:
“/usr/lib64/libstdc++.so.6” asks for a new version of "bwengine". The original "bwengine" could only use “/usr/lib64/libstdc++.so.5”. Currently, in BW 5.12, the wrapper uses version 2.4.2 and is linked to libstdc++.so.5. What is needed is a higher version of the wrapper that is linked to libstdc++.so.6.

Issue/Introduction

Error: "bwengine: munmap_chunk(): invalid pointer".

Resolution

After installing TIBCO ActiveMatrix BusinessWorks Plug-in for ActiveSpaces, replace bwengine and Designer with the wrapper in the ASBW_HOME/bin directory. Wrappers from the "tools" folder where TRA HF 04 or later is installed will also work. If you install TRA Hotfix 04 or later before installing BW, the "bwengine" file would also work. If a HF is install before BW, BW will take the wrap file from the tools.
--------------------------
Install TRA HF04 or later. The TRA hotfix will install the new wrapper under :

{TIBCO_HOME}\tools\wrapper

After installing the TRA hotfix, make a backup of bwengine and then copy the appropriate (32-bit or 64-bit) "wrap" from {TIBCO_HOME}\tools\wrapper   to   {TIBCO_HOME}/bw/5.12/bin/bwengine

--------------------------


Additional Information

Known issue reported in the TIBCO ActiveMatrix BusinessWorks Plug-in for ActiveSpaces Software 2.1.0 Release Notes. 

========================================================

ASBW-271
Summary:(Red Hat 5.6) TIBCO Designer (runtime and design time) and TIBCO ActiveMatrix BusinessWorks stop working due to an incompatible TIBCO wrapper version.

Workaround: The Linux26 wrapper is shipped with TIBCO ActiveMatrix BusinessWorks Plug-in for ActiveSpaces and should be installed under the ASBW_HOME/bin directory. Follow these steps to fix this issue:

1). Backup TIBCO_HOME /bw/ version_number /bin/bwengine and TIBCO_HOME /designer/version_number/bin/designer.

2). After installing TIBCO ActiveMatrix BusinessWorks Plug-in for ActiveSpaces, replace bwengine and designer with the wrapper in the ASBW_HOME/bin directory.

=========================================================