Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JVM Crash (SIGSEGV at G1ParScanThreadState::copy_to_survivor_space) #1215

Open
1 task done
hglee93 opened this issue Jan 16, 2025 · 1 comment
Open
1 task done

JVM Crash (SIGSEGV at G1ParScanThreadState::copy_to_survivor_space) #1215

hglee93 opened this issue Jan 16, 2025 · 1 comment
Labels
bug Something isn't working Waiting on OP

Comments

@hglee93
Copy link

hglee93 commented Jan 16, 2025

Please provide a brief summary of the bug

Hi. my application is currently experiencing frequent crashes, causing it to shut down.
Upon reviewing the logs from the crashes, it seems that the crashes occur during garbage collection (GC).
Could there be any issues related to this?
I’ve attached a brief portion of the logs for your reference.
If you need any additional information, please let me know.

Did you test with the latest update version?

  • Yes

Please provide steps to reproduce where possible

No response

Expected Results

We want it to function properly even when it runs for an extended period.

Actual Results

A JVM crash occurs irregularly after a certain period of time.

What Java Version are you using?

openjdk version "11.0.10" 2021-01-19 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.10+9) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.10+9, mixed mode)

What is your operating system and platform?

CentOS Linux release 7.9.2009

How did you install Java?

No response

Did it work before?

No response

Did you test with other Java versions?

No response

Relevant log output

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f24f7ca3475, pid=4255, tid=4311
#
# JRE version: OpenJDK Runtime Environment AdoptOpenJDK (11.0.10+9) (build 11.0.10+9)
# Java VM: OpenJDK 64-Bit Server VM AdoptOpenJDK (11.0.10+9, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x7e1475]  G1ParScanThreadState::copy_to_survivor_space(InCSetState, oopDesc*, markOopDesc*)+0x35
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e %P %I %h" (or dumping to /kakao/service/gift-coupon-papi/green/releases/20241126_145840-304/core.4255)
#
# If you would like to submit a bug report, please visit:
#   https://github.com/AdoptOpenJDK/openjdk-support/issues
#

---------------  S U M M A R Y ------------
Time: Thu Jan 16 13:42:31 2025 KST elapsed time: 4400201.328046 seconds (50d 22h 16m 41s)

---------------  T H R E A D  ---------------

Current thread (0x00007f24b031d000):  GCTaskThread "GC Thread#7" [stack: 0x00007f2481dd1000,0x00007f2481ed1000] [id=4311]

Stack: [0x00007f2481dd1000,0x00007f2481ed1000],  sp=0x00007f2481ece6b0,  free space=1013k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x7e1475]  G1ParScanThreadState::copy_to_survivor_space(InCSetState, oopDesc*, markOopDesc*)+0x35
V  [libjvm.so+0x7fc86a]  G1ParCopyClosure<(G1Barrier)0, (G1Mark)0>::do_oop(unsigned int*)+0xca
V  [libjvm.so+0xc41da0]  OopMapSet::oops_do(frame const*, RegisterMap const*, OopClosure*)+0x330
V  [libjvm.so+0x785539]  frame::oops_do_internal(OopClosure*, CodeBlobClosure*, RegisterMap*, bool)+0x99
V  [libjvm.so+0xeb6899]  JavaThread::oops_do(OopClosure*, CodeBlobClosure*)+0x189
V  [libjvm.so+0xebbbb0]  Threads::possibly_parallel_oops_do(bool, OopClosure*, CodeBlobClosure*)+0xc0
V  [libjvm.so+0x7fcb9d]  G1RootProcessor::process_java_roots(G1RootClosures*, G1GCPhaseTimes*, unsigned int)+0xad
V  [libjvm.so+0x7fd248]  G1RootProcessor::evacuate_roots(G1ParScanThreadState*, unsigned int)+0x68
V  [libjvm.so+0x7a874c]  G1ParTask::work(unsigned int)+0xec
V  [libjvm.so+0xf5b59d]  GangWorker::loop()+0x4d
V  [libjvm.so+0xebd9bf]  Thread::call_run()+0x14f
V  [libjvm.so+0xc5dbde]  thread_native_entry(Thread*)+0xee
@hglee93 hglee93 added the bug Something isn't working label Jan 16, 2025
@karianna
Copy link
Contributor

@hglee93 Please use 11.0.15 and report back to us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Waiting on OP
Projects
None yet
Development

No branches or pull requests

2 participants