Fatal error related to libtibutil.so crashes Streaming application

Fatal error related to libtibutil.so crashes Streaming application

book

Article ID: KB0074028

calendar_today

Updated On:

Products Versions
TIBCO Streaming 10.6

Description

My Streaming application crashed, leaving a Java fatal error log ('hs-err-pid<PID>.log'):
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f462e0da57d, pid=30631, tid=12984
#
# JRE version: Java(TM) SE Runtime Environment 18.9 (11.0.7+8) (build 11.0.7+8-LTS)
# Java VM: Java HotSpot(TM) 64-Bit Server VM 18.9 (11.0.7+8-LTS, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libtibutil.so.1+0x7957d]  returnChunks+0xbd
#
...
---------------  T H R E A D  ---------------

Current thread (0x00007f473ca5a000):  JavaThread "Connection thread for TIBCO StreamBase Operator for ActiveSpaces Control Operations" [_thread_in_native, id=12984, stack(0x00007f462cc6e000,0x00007f462ccef000)]

Stack: [0x00007f462cc6e000,0x00007f462ccef000],  sp=0x00007f462cce5e10,  free space=479k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libtibutil.so.1+0x7957d]  returnChunks+0xbd

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.tibco.datagrid.jni.NativeDataGrid.createNativeConnection(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/Object;)J+0
j  com.tibco.datagrid.jni.NativeDataGrid.connect(Ljava/lang/String;Ljava/lang/String;Ljava/util/Properties;)Lcom/tibco/datagrid/Connection;+26
j  com.tibco.datagrid.DataGrid.connect(Ljava/lang/String;Ljava/lang/String;Ljava/util/Properties;)Lcom/tibco/datagrid/Connection;+6
j  com.streambase.sb.operator.activespaces3.ASMgr.startSession(Ljava/lang/String;)Lcom/tibco/datagrid/Session;+514
j  com.streambase.sb.operator.activespaces3.ControlHelper$1.run()V+31
v  ~StubRoutines::call_stub

Issue/Introduction

What might cause a Streaming application to crash in the libtibutli.so native library.

Resolution

Check for a mix of ActiveSpaces versions referenced in the java.library.path and the system PATH.  In the above case, ActiveSpaces 4.5 and 4.3 were both referenced on the java.library.path. The java.library.path will be shown in the fatal error log. Only one version of ActiveSpaces should be referenced.