3.9K Star 18.5K Fork 5.3K

卓源软件 / JeeSite 4.x and 5.x

 / 详情

能否帮忙分析下 JVM 的崩溃日志

Done
Opened this issue  
2023-03-07 18:19

是什么问题、该问题是怎么引起的?

  1. JVM 崩溃

重现步骤、期望结果、截图、代码

这里贴你的代码块

实际结果、报错信息、截图

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f5fe2fb34e2, pid=9, tid=0x00007f5fe0fbf640
#
# JRE version: Java(TM) SE Runtime Environment (8.0_321-b07) (build 1.8.0_321-b07)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.321-b07 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x9914e2]  oopDesc* PSPromotionManager::copy_to_survivor_space<false>(oopDesc*)+0x3b2
#
# Core dump written. Default location: //core or core.9
#
# 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 (0x00007f5fdc02d000):  GCTaskThread [stack: 0x00007f5fe0ec0000,0x00007f5fe0fc0000] [id=18]

siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr: 0x0000000100d93470

Registers:
RAX=0x0000000100d93468, RBX=0x00000000ff558628, RCX=0x0000000000000003, RDX=0x0000000000000001
RSP=0x00007f5fe0fbeb30, RBP=0x00007f5fe0fbebc0, RSI=0x00000000ff558628, RDI=0x00007f5fdc1c6a80
R8 =0x000000000000000d, R9 =0x00000000dd0c2e05, R10=0x00007f5fe35caf20, R11=0x0000000000000030
R12=0x00007f5fdc1c6a80, R13=0x0000000000000000, R14=0x00007f5fdc1c6b20, R15=0x00007f5fe35caf30
RIP=0x00007f5fe2fb34e2, EFLAGS=0x0000000000010202, CSGSFS=0x002b000000000033, ERR=0x0000000000000004
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007f5fe0fbeb30)
0x00007f5fe0fbeb30:   0000000000000000 0000000000000400
0x00007f5fe0fbeb40:   0000000000000018 0000000000000003
0x00007f5fe0fbeb50:   0000000000000018 0000000000000005
0x00007f5fe0fbeb60:   00000000dd0c24a0 0000000000000400
0x00007f5fe0fbeb70:   00007f5fdc1c6a80 0000000000000000
0x00007f5fe0fbeb80:   000000000000dc38 00007f5fdc02e450
0x00007f5fe0fbeb90:   00007f5fdc02e428 00007f5fdc1c6a80
0x00007f5fe0fbeba0:   00000000dd0c2d28 0000000000000000
0x00007f5fe0fbebb0:   00007f5fdc1c6b20 00007f5fe35caf30
0x00007f5fe0fbebc0:   00007f5fe0fbec10 00007f5fe2fb2d68
0x00007f5fe0fbebd0:   00007f5fe0fbec10 00007f5fe2c702fe
0x00007f5fe0fbebe0:   00007f5fdc0206e0 00000000dba97200
0x00007f5fe0fbebf0:   00007f5fdc0193f0 0000000000000240
0x00007f5fe0fbec00:   00007f5fe18fa501 00007f5fe18fa4b9
0x00007f5fe0fbec10:   00007f5fe0fbecd0 00007f5fe29f3901
0x00007f5fe0fbec20:   00007f5f00000000 00007f5fe18fa500
0x00007f5fe0fbec30:   00007f5fe181d080 0000000000000080
0x00007f5fe0fbec40:   00007f5fe181d000 00007f5fdc1c6a80
0x00007f5fe0fbec50:   00000000dba97200 00000000dbabc480
0x00007f5fe0fbec60:   00000000dbaa0000 00007f5fe18fa480
0x00007f5fe0fbec70:   0000000000000400 00007f5fe18fa480
0x00007f5fe0fbec80:   00007f5fe18fa5e3 00007f5fe18fa400
0x00007f5fe0fbec90:   00007f5fe18fa4b9 00007f5fdc0191a0
0x00007f5fe0fbeca0:   00007f5fdc020790 00007f5fdc056a40
0x00007f5fe0fbecb0:   00007f5fdc1c6a80 00007f5fdc02d000
0x00007f5fe0fbecc0:   0000000000000000 00007f5fe35ef608
0x00007f5fe0fbecd0:   00007f5fe0fbed00 00007f5fe2fb6e89
0x00007f5fe0fbece0:   0000000000000008 00007f5fe2fb6e51
0x00007f5fe0fbecf0:   0000000000000001 00007f5fdc056a40
0x00007f5fe0fbed00:   00007f5fe0fbee10 00007f5fe2be86d6
0x00007f5fe0fbed10:   00000000000003d8 00007f5fdc02d8c0
0x00007f5fe0fbed20:   00007f5fdc02dce8 00007f5fdc02d910 

Instructions: (pc=0x00007f5fe2fb34e2)
0x00007f5fe2fb34c2:   ff ff 0f 1f 40 00 4c 8d 15 51 7a 61 00 8b 46 08
0x00007f5fe2fb34d2:   48 89 f3 49 89 fc 41 8b 4a 08 48 d3 e0 49 03 02
0x00007f5fe2fb34e2:   8b 48 08 83 f9 00 0f 8f 92 fd ff ff 0f 84 0c fe
0x00007f5fe2fb34f2:   ff ff 80 fa 01 48 8d 15 2e f8 5f 00 48 19 c0 83 

Register to memory mapping:

RAX=0x0000000100d93468 is an unknown value
RBX=0x00000000ff558628 is an oop

[error occurred during error reporting (printing register info), id 0xb]

Stack: [0x00007f5fe0ec0000,0x00007f5fe0fc0000],  sp=0x00007f5fe0fbeb30,  free space=1018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x9914e2]  oopDesc* PSPromotionManager::copy_to_survivor_space<false>(oopDesc*)+0x3b2
V  [libjvm.so+0x990d68]  PSPromotionManager::drain_stacks_depth(bool)+0x798
V  [libjvm.so+0x3d1901]  CardTableExtension::scavenge_contents_parallel(ObjectStartArray*, MutableSpace*, HeapWord*, PSPromotionManager*, unsigned int, unsigned int)+0x891
V  [libjvm.so+0x994e89]  OldToYoungRootsTask::do_it(GCTaskManager*, unsigned int)+0x49
V  [libjvm.so+0x5c66d6]  GCTaskThread::run()+0x1b6
V  [libjvm.so+0x9171b2]  java_start(Thread*)+0x102

这里贴错误信息

环境版本:

  • JDK版本:1.8、11、17
  • 浏览器版本:Chrome xx、Firefox xx、IE xx
  • 平台版本:JeeSite 4.x.x、5.x.x(pom.xml里查看)

Comments (3)

葛定财 created任务

链接里给的解决方案是升级 JDK8 版本到 251,我现在用的是 321,仍然有这个问题

是否有更详细的日志?从日志上看不出具体问题。也许是jvm参数设置导致内存不足问题,也许是jvm的bug,尝试升级到最jdk8的新版试试。

卓源软件 changed issue state from 待办的 to 已完成

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(2)
6732 thinkgem 1651893329
Java
1
https://gitee.com/thinkgem/jeesite5.git
git@gitee.com:thinkgem/jeesite5.git
thinkgem
jeesite5
JeeSite 4.x and 5.x

Search

53164aa7 5694891 3bd8fe86 5694891