]
Thomas Jenkinson updated JBTM-3075:
-----------------------------------
Fix Version/s: 5.next
(was: 5.9.7.Final)
Segment fault failure with tpacall when running the blacktie with
centos7
-------------------------------------------------------------------------
Key: JBTM-3075
URL:
https://issues.jboss.org/browse/JBTM-3075
Project: JBoss Transaction Manager
Issue Type: Bug
Components: BlackTie
Affects Versions: 5.9.0.Final
Environment: > you may get it by "uname -a" ?
Linux localhost.localdomain 3.10.0-693.el7.x86_64 #1 SMP Thu Jul 6 19:56:57 EDT 2017
x86_64 x86_64 x86_64 GNU/Linux
>what is the version of the gcc, you could get by "gcc --version"
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16)
rpm -qa | grep -i apr
apr-1.4.8-3.el7.x86_64
apr-util-1.5.2-6.el7.x86_64
Reporter: Zheng Feng
Priority: Major
Fix For: 5.next
The call stack is
{code}
#0 0x00007ffff607d9f6 in _int_malloc () from /usr/lib64/libc.so.6
#1 0x00007ffff608010c in malloc () from /usr/lib64/libc.so.6
#2 0x00007ffff5bc3263 in allocator_alloc (in_size=<optimized out>,
allocator=<optimized out>) at memory/unix/apr_pools.c:349
#3 apr_pool_create_ex (newpool=0x7fffffff9cf0, parent=0x640b18, abort_fn=0x0,
allocator=0x63ca00) at memory/unix/apr_pools.c:891
#4 0x00007ffff7ae9c6d in log4cxx::helpers::Pool::Pool (this=0x7fffffff9cf0)
at /home/hudson/blacktie/utils/apache-log4cxx/src/main/cpp/pool.cpp:34
#5 0x00007ffff7b35eb0 in log4cxx::Logger::forcedLog (this=0x652bc0,
level1=..., message="HttpTxManager:57:ENTER HttpTxManager constructor",
location=...)
at /home/hudson/blacktie/utils/apache-log4cxx/src/main/cpp/logger.cpp:121
#6 0x00007ffff74b655c in atmibroker::tx::HttpTxManager::HttpTxManager (
this=0x6853a0,
txmUrl=0x714a60
"http://127.0.0.1:8080/rest-at-coordinator/tx/transaction-manager",
resUrl=0x6ef560 "127.0.0.1:8888", __in_chrg=<optimized out>,
__vtt_parm=<optimized out>)
at
/home/jenkins/workspace/release-narayana/blacktie/tx/src/main/cpp/HttpTxManager.cxx:57
#7 0x00007ffff74b71ea in atmibroker::tx::HttpTxManager::create (txmUrl=0x714a60
"http://127.0.0.1:8080/rest-at-coordinator/tx/transaction-ma
nager", resUrl=0x6ef560
"127.0.0.1:8888")
at /home/jenkins/workspace/release-narayana/blacktie/tx/src/main/cpp/HttpTxM---Type
<return> to continue, or q <return> to quit---
anager.cxx:87
#8 0x00007ffff74a2c3e in atmibroker::tx::TxManager::get_instance () at
/home/jenkins/workspace/release-narayana/blacktie/tx/src/main/cpp/TxManager.cxx:49
#9 0x00007ffff74b5255 in txx_get_control () at
/home/jenkins/workspace/release-narayana/blacktie/tx/src/main/cpp/TxManagerc.cxx:56
#10 0x00007ffff72424c0 in tpacall (svc=0x42eb8c "some service",
idata=0x69ab20 "N", ilen=0, flags=34)
{code}
The failure looks like related to the log4xx.