Hi,

G1 has had lots of fixes since 8u92 until latest 8u192. If you can (Kafka 2.1.0 has been certified to work with JDK 11), you could even try to use JDK 11 (if your other libraries allow you to, of course). G1 has had lots of improvements on JDK 11 since JDK 8 too...

Regards, Peter

On 12/27/18 11:29 AM, wenxing zheng wrote:
Thanks to Peter.

We did a lot of tests today, and found that the issue will happen after
enabling G1GC. If we go with default settings, everything looks fine.

On Thu, Dec 27, 2018 at 4:49 PM Peter Levart <peter.lev...@gmail.com> wrote:

Hi,

It looks like a JVM bug. If I were you, 1st thing I'd do is upgrading
the JDK to the latest JDK8u192. You're using JDK8u92 which is quite old
(2+ years)...

Regards, Peter

On 12/27/18 3:53 AM, wenxing zheng wrote:
Dear all,

We got a coredump with the following info last night, on this
environment,
we enable the
transaction. Please kindly advice what would be the problem here.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f546a857d0d, pid=13288,
tid=0x00007f53701f9700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_92-b14) (build
1.8.0_92-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.92-b14 mixed mode
linux-amd64 compressed oops)
# Problematic frame:
# J 9563 C1
*kafka.coordinator.transaction.TransactionCoordinator.$anonfun$handleEndTransaction$7(Lkafka/coordinator/transaction/TransactionCoordinator;Ljava/lang/String;JSLorg/apache/kafka/common/requests/TransactionResult;Lkafka/coordinator/transaction/TransactionMetadata;)Lscala/util/Either;
(518 bytes) @ 0x00007f546a857d0d [0x00007f546a856b40+0x11cd]*
#
# Failed to write core dump. Core dumps have been disabled. To enable
core
dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
---------------  T H R E A D  ---------------
Current thread (0x00007f547a29e800):  JavaThread
"kafka-request-handler-5"
daemon [_thread_in_Java, id=13722,
stack(0x00007f53700f9000,0x00007f53701fa000)]
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr:
0x00000000dd310c13
Registers:
RAX=0x0000000000000001, RBX=0x00000006e9072fc8, RCX=0x0000000000000688,
RDX=0x000000075e026fc0
RSP=0x00007f53701f7f00, RBP=0x00000006e98861f8, RSI=0x00007f53771a4238,
RDI=0x00000006e9886098
R8 =0x000000000000132d, R9 =0x00000000dd310c13, R10=0x00000007c010bbb0,
R11=0x00000000dd310c13
R12=0x0000000000000000, R13=0x00000000dd310b3d, R14=0x00000000dd310c0c,
R15=0x00007f547a29e800
RIP=0x00007f546a857d0d, EFLAGS=0x0000000000010202,
CSGSFS=0x002b000000000033, ERR=0x0000000000000004
    TRAPNO=0x000000000000000e
Thanks,



Reply via email to