JVM Crash 日志(hs_err_pid.log)分析

大家好,最新碰到JVM Crash的问题,拿出来跟大家分享下。

这个文件将包括:

  • 触发致命错误的操作异常或者信号;
  • 版本和配置信息;
  • 触发致命异常的线程详细信息和线程栈;
  • 当前运行的线程列表和它们的状态;
  • 堆的总括信息;
  • 加载的本地库;
  • 命令行参数;
  • 环境变量;
  • 操作系统CPU的详细信息。

第一部分

#
# A fatal error has been detected by the Java Runtime Environment:

#  SIGSEGV (0xb) at      pc=0x03568cf4,       pid=16819,          tid=3073346448
#  信号名称(信号码)    程序计数器的值(栈)   线程号              进程号

# JRE version: 6.0_32-b05 JRE版本

# Java VM: Java HotSpot(TM) Server VM (20.7-b02 mixed mode linux-x86 )

可以看到JVM的名字(HotSpot)、类型(client)和(Server)。
除此之外,我们还知道JVM以混合模式(mixed
mode)在运行,这是HotSpot默认的运行模式,意味着JVM在运行时可以动态的把字节码编译为本地代码。

1、-Xmixed           mixed mode execution (default)
    混合模式执行
  2、-Xint             interpreted mode execution only
    解释模式执行

3、-Xcomp            compiled mode

纯编译模式

# Problematic frame: 问题框架
# C  [libgtk-x11-2.0.so.0+0x19fcf4]  __float128+0x19fcf4

  • C:帧类型为本地帧,帧的类型包括:

    • C:本地C帧
    • j:解释的Java帧
    • V:虚拟机帧
    • v:虚拟机生成的存根栈帧
    • J:其他帧类型,包括编译后的Java帧

libgtk-x11-2.0.so.0+0x19fcf4:和程序计数器(pc)表达的含义一样,但是用的是本地so库+偏移量的方式。

#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

第二部分

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

Current thread (0x09f30c00):

当前线程        指针

JavaThread

线程类型,可能的类型包括:

  1. JavaThread
  2. VMThread
  3. CompilerThread
  4. GCTaskThread
  5. WatcherThread
  6. ConcurrentMarkSweepThread

"main" [_thread_in_native, ]

main:名字

  1. _thread_in_native:线程当前状态,状态枚举包括:
  2. _thread_uninitialized:线程还没有创建,它只在内存原因崩溃的时候才出现
  3. _thread_new:线程已经被创建,但是还没有启动
  4. _thread_in_native:线程正在执行本地代码,一般这种情况很可能是本地代码有问题
  5. _thread_in_vm:线程正在执行虚拟机代码
  6. _thread_in_Java:线程正在执行解释或者编译后的Java代码
  7. _thread_blocked:线程处于阻塞状态
  8. …_trans:以_trans结尾,线程正处于要切换到其它状态的中间状态

id=16822,stack(0xb72a8000,0xb72f9000)

线程ID   栈区间

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000010

这部分是导致虚拟机终止的非预期的信号信息,含义前面已经大致提到过了。其中si_errno和si_code是Linux下用来鉴别异常的,Windows下是一个ExceptionCode。

Registers:
EAX=0x00000000, EBX=0x0375dd84, ECX=0x00000000, EDX=0x00000000
ESP=0xb72f0fa0, EBP=0xb72f0fb8, ESI=0x00000000, EDI=0x0a6c1800
EIP=0x03568cf4, EFLAGS=0x00010246, CR2=0x00000010

这是寄存器上下文即程序计数器寄存器
JVM支持同一时间同时运行多个线程,每一个线程都有它们自己的pc
register。在同一个时刻,JVM的线程只能运行一个单独方法中的代码,此方法称为该线程的当前方法(Current Method)。
如果这个当前方法不是native的,PC register就指向正在被执行的JVM指令的地址。而如果一个当前方法是native的,则pc
register中的值是不确定的。Pc register有足够的空间来存储returnAddress或者native指针。

Top of Stack: (sp=0xb72f0fa0)
0xb72f0fa0:   00000000 00402250 0040217f 0375dd84
0xb72f0fb0:   00000000 0a6c1800 b72f0fe8 0356c2c0
0xb72f0fc0:   00000000 0a6c1800 b72f0fe8 003b3e77
0xb72f0fd0:   003e6c8b 0a1a70d0 0a193358 0375dd84
0xb72f0fe0:   0a276418 0a276418 b72f1048 03536c56
0xb72f0ff0:   0acad000 0b3ca978 0000000c 00dd0674
0xb72f1000:   00000003 0a2c7d50 b72f1038 0000330c
0xb72f1010:   ffffffff ffffffff 00000001 00000001

Instructions: (pc=0x03568cf4)
0x03568cd4:   89 14 24 89 75 f8 89 d6 89 7d fc 89 c7 e8 7e 1b
0x03568ce4:   ea ff 89 34 24 89 87 d4 02 00 00 e8 30 00 ea ff
0x03568cf4:   8b 40 10 89 3c 24 c7 44 24 08 00 00 00 00 89 87
0x03568d04:   d0 02 00 00 8b 83 88 24 00 00 89 44 24 04 e8 dd
栈顶程序计数器旁的操作码,它们可以被反汇编成系统崩溃前执行的指令。

Register to memory mapping:

EAX=0x00000000 is an unknown value
EBX=0x0375dd84: <offset 0x394d84> in /usr/lib/libgtk-x11-2.0.so.0 at 0x033c9000
ECX=0x00000000 is an unknown value
EDX=0x00000000 is an unknown value
ESP=0xb72f0fa0 is pointing into the stack for thread: 0x09f30c00
EBP=0xb72f0fb8 is pointing into the stack for thread: 0x09f30c00
ESI=0x00000000 is an unknown value
EDI=0x0a6c1800 is an unknown value
寄存器和内存映射信息

Stack: [0xb72a8000,0xb72f9000],  sp=0xb72f0fa0,  free space=291k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libgtk-x11-2.0.so.0+0x19fcf4]  __float128+0x19fcf4
C  [libgtk-x11-2.0.so.0+0x1a32c0]  __float128+0xc0
C  [libgtk-x11-2.0.so.0+0x16dc56]  __float128+0x16dc56
C  [libgobject-2.0.so.0+0x16169]  __float128+0x49
C  [libgobject-2.0.so.0+0x7639]  __float128+0x7639
C  [libgobject-2.0.so.0+0x8e98]  __float128+0x128
C  [libgobject-2.0.so.0+0x1a242]  __float128+0x1a242
C  [libgobject-2.0.so.0+0x1b2e7]  __float128+0x8c7
C  [libgobject-2.0.so.0+0x1b4a9]  __float128+0x29
C  [libgtk-x11-2.0.so.0+0x24b48a]  __float128+0xba
C  [libgtk-x11-2.0.so.0+0x24b779]  __float128+0xd9
C  [libgtk-x11-2.0.so.0+0x24badc]  __float128+0x24badc
C  [libgobject-2.0.so.0+0x16169]  __float128+0x49
C  [libgobject-2.0.so.0+0x7639]  __float128+0x7639
C  [libgobject-2.0.so.0+0x8e98]  __float128+0x128
C  [libgobject-2.0.so.0+0x1a242]  __float128+0x1a242
C  [libgobject-2.0.so.0+0x1b2e7]  __float128+0x8c7
C  [libgobject-2.0.so.0+0x1b4a9]  __float128+0x29
C  [libgtk-x11-2.0.so.0+0x24ab18]  __float128+0x58
C  [libgtk-x11-2.0.so.0+0x1893ff]  __float128+0x1893ff
C  [libgobject-2.0.so.0+0x157d9]  __float128+0x59
C  [libgobject-2.0.so.0+0x7639]  __float128+0x7639
C  [libgobject-2.0.so.0+0x8f81]  __float128+0x211
C  [libgobject-2.0.so.0+0x1a242]  __float128+0x1a242
C  [libgobject-2.0.so.0+0x1b2e7]  __float128+0x8c7
C  [libgobject-2.0.so.0+0x1b4a9]  __float128+0x29
C  [libgtk-x11-2.0.so.0+0x2497ea]  __float128+0x18a
C  [libgtk-x11-2.0.so.0+0xe518a]  __float128+0xe518a
C  [libswt-pi-gtk-3738.so+0x33f6a]  Java_org_eclipse_swt_internal_gtk_OS__1Call+0xf
J  org.eclipse.swt.internal.gtk.OS._Call(III)I
J  org.eclipse.swt.internal.gtk.OS.Call(III)I

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J  org.eclipse.swt.internal.gtk.OS._Call(III)I
J  org.eclipse.swt.internal.gtk.OS.Call(III)I
j  org.eclipse.swt.widgets.Widget.fixedSizeAllocateProc(II)I+5
j  org.eclipse.swt.widgets.Display.fixedSizeAllocateProc(II)I+17
v  ~StubRoutines::call_stub
J  org.eclipse.swt.internal.gtk.OS._Call(III)I
J  org.eclipse.swt.internal.gtk.OS.Call(III)I
j  org.eclipse.swt.widgets.Widget.fixedSizeAllocateProc(II)I+5
j  org.eclipse.swt.widgets.Display.fixedSizeAllocateProc(II)I+17
v  ~StubRoutines::call_stub
J  org.eclipse.swt.internal.gtk.OS._Call(III)I
J  org.eclipse.swt.internal.gtk.OS.Call(III)I
j  org.eclipse.swt.widgets.Widget.fixedSizeAllocateProc(II)I+5
j  org.eclipse.swt.widgets.Display.fixedSizeAllocateProc(II)I+17
v  ~StubRoutines::call_stub
J  org.eclipse.swt.internal.gtk.OS._Call(III)I
J  org.eclipse.swt.internal.gtk.OS.Call(III)I
j  org.eclipse.swt.widgets.Widget.fixedSizeAllocateProc(II)I+5
j  org.eclipse.swt.widgets.Display.fixedSizeAllocateProc(II)I+17
v  ~StubRoutines::call_stub
J  org.eclipse.swt.internal.gtk.OS._Call(III)I
J  org.eclipse.swt.internal.gtk.OS.Call(III)I
j  org.eclipse.swt.widgets.Widget.fixedSizeAllocateProc(II)I+5
j  org.eclipse.swt.widgets.Display.fixedSizeAllocateProc(II)I+17
v  ~StubRoutines::call_stub
J  org.eclipse.swt.internal.gtk.OS._Call(III)I
J  org.eclipse.swt.internal.gtk.OS.Call(III)I
j  org.eclipse.swt.widgets.Widget.fixedSizeAllocateProc(II)I+5
j  org.eclipse.swt.widgets.Display.fixedSizeAllocateProc(II)I+17
v  ~StubRoutines::call_stub
J  org.eclipse.swt.internal.gtk.OS._Call(III)I
J  org.eclipse.swt.internal.gtk.OS.Call(III)I
j  org.eclipse.swt.widgets.Widget.fixedSizeAllocateProc(II)I+5
j  org.eclipse.swt.widgets.Shell.fixedSizeAllocateProc(II)I+21
j  org.eclipse.swt.widgets.Display.fixedSizeAllocateProc(II)I+17
v  ~StubRoutines::call_stub
J  org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(IZ)Z
J  org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(IZ)Z
j  org.eclipse.swt.widgets.Display.readAndDispatch()Z+36
j  org.eclipse.ui.statushandlers.WorkbenchErrorHandler.showStatusAdapter(Lorg/eclipse/ui/statushandlers/StatusAdapter;Z)V+34
j  org.eclipse.ui.statushandlers.WorkbenchErrorHandler.handle(Lorg/eclipse/ui/statushandlers/StatusAdapter;I)V+51
j  org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler.handle(Lorg/eclipse/ui/statushandlers/StatusAdapter;I)V+71
j  org.eclipse.ui.internal.WorkbenchErrorHandlerProxy.handle(Lorg/eclipse/ui/statushandlers/StatusAdapter;I)V+11
j  org.eclipse.ui.statushandlers.StatusManager.handle(Lorg/eclipse/ui/statushandlers/StatusAdapter;I)V+68
j  org.eclipse.ui.statushandlers.StatusManager.handle(Lorg/eclipse/core/runtime/IStatus;I)V+12
j  org.eclipse.ui.statushandlers.StatusManager.handle(Lorg/eclipse/core/runtime/IStatus;)V+3
j  org.eclipse.ui.application.WorkbenchAdvisor.eventLoopException(Ljava/lang/Throwable;)V+22
j  org.eclipse.ui.internal.ExceptionHandler.handleException(Ljava/lang/Throwable;)V+76
J  org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V
j  org.eclipse.ui.internal.Workbench.runUI()I+555
j  org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/internal/Workbench;)I+1
j  org.eclipse.ui.internal.Workbench$7.run()V+55
j  org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12
j  org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+18
j  org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2
j  org.eclipse.ui.internal.ide.application.IDEApplication.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+108
j  org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+135
j  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103
j  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+149
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+183
v  ~StubRoutines::call_stub
j  sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j  sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
j  org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+211
j  org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+126
j  org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4
j  org.eclipse.equinox.launcher.Main.main([Ljava/lang/String;)V+10
v  ~StubRoutines::call_stub

线程栈。包含了地址、栈顶、栈计数器和线程尚未使用的栈信息,由于栈可能非常长,打印的长度有限制,但是至少本地栈和Java栈都打印出来了(很多时候本地栈打印不出来,但是Java栈一般都能打印出来)。从中可以看到,Eclipse的虚拟机崩溃了。

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x0b4c1000 JavaThread "Worker-247" [_thread_blocked, id=25417, stack(0x741bc000,0x7420d000)]
  0x0a300c00 JavaThread "Worker-246" [_thread_blocked, id=25235, stack(0x7d30c000,0x7d35d000)]
  0x0bad2000 JavaThread "Worker-245" [_thread_blocked, id=24508, stack(0x7e65b000,0x7e6ac000)]
  0x71d7a400 JavaThread "Timer-26300" daemon [_thread_blocked, id=24401, stack(0x73cfd000,0x73d4e000)]
  0x0a636800 JavaThread "Worker-243" [_thread_blocked, id=24259, stack(0x7e985000,0x7e9d6000)]
  0x71da3000 JavaThread "Thread-30514" [_thread_blocked, id=20113, stack(0x724ea000,0x7253b000)]
  0x0b864800 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=17996, stack(0x7535e000,0x753af000)]
  0x0bcf7000 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=12091, stack(0x7d5e7000,0x7d638000)]
  0x0b695800 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=10797, stack(0x8090d000,0x8095e000)]
  0x0b605c00 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=10572, stack(0x7e331000,0x7e382000)]
  0x0bc31000 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=10532, stack(0x7f8af000,0x7f900000)]
  0x0ad83800 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=10520, stack(0x7cf5d000,0x7cfae000)]
  0x0a2e2000 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=10502, stack(0x7e9d6000,0x7ea27000)]
  0x0b0a9000 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=5172, stack(0x7ec5e000,0x7ecaf000)]
  0x0b141400 JavaThread "org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor" daemon [_thread_blocked, id=853, stack(0x7e058000,0x7e0a9000)]
  0x0a7d2400 JavaThread "org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor" daemon [_thread_blocked, id=742, stack(0x7267f000,0x726d0000)]
  0x0b1e6000 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=698, stack(0x7d050000,0x7d0a1000)]
  0x0a4bb800 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=694, stack(0x832af000,0x83300000)]
  0x0bacbc00 JavaThread "org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor" daemon [_thread_blocked, id=27525, stack(0x7f85e000,0x7f8af000)]
  0x0a299c00 JavaThread "org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor" daemon [_thread_blocked, id=26377, stack(0x7d81e000,0x7d86f000)]
  0x0ba64400 JavaThread "org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor" daemon [_thread_blocked, id=25653, stack(0x80fc2000,0x81013000)]
  0x0ba68400 JavaThread "Thread-20705" daemon [_thread_in_native, id=19160, stack(0x717bc000,0x7180d000)]
  0x0aec1800 JavaThread "Thread-20703" daemon [_thread_in_native, id=19156, stack(0x7180d000,0x7185e000)]
  0x71dc6400 JavaThread "Thread-20701" daemon [_thread_in_native, id=19155, stack(0x7185e000,0x718af000)]
  0x0b1ec800 JavaThread "Thread-20699" daemon [_thread_in_native, id=19150, stack(0x718af000,0x71900000)]
  0x0ac56c00 JavaThread "process reaper" daemon [_thread_in_native, id=19147, stack(0x71a0e000,0x71a5f000)]
  0x71dcd000 JavaThread "process reaper" daemon [_thread_in_native, id=19146, stack(0x71a5f000,0x71ab0000)]
  0x0bace000 JavaThread "process reaper" daemon [_thread_in_native, id=19144, stack(0x71b52000,0x71ba3000)]
  0x0b4b2800 JavaThread "process reaper" daemon [_thread_in_native, id=19142, stack(0x71ab0000,0x71b01000)]
  0x8032b000 JavaThread "Thread-20695" daemon [_thread_in_native, id=19063, stack(0x71ba3000,0x71bf4000)]
  0x7c58b800 JavaThread "process reaper" daemon [_thread_in_native, id=19061, stack(0x71b01000,0x71b52000)]
  0x0a6e5000 JavaThread "Thread-20692" daemon [_thread_in_native, id=19050, stack(0x71bf4000,0x71c45000)]
  0x0a47b000 JavaThread "Thread-20690" daemon [_thread_in_native, id=19041, stack(0x71caf000,0x71d00000)]
  0x0a66a000 JavaThread "Thread-20687" daemon [_thread_in_native, id=19040, stack(0x71e45000,0x71e96000)]
  0x0a668800 JavaThread "Thread-20686" daemon [_thread_in_native, id=19031, stack(0x71c45000,0x71c96000)]
  0x0b342c00 JavaThread "process reaper" daemon [_thread_in_native, id=19029, stack(0x71e96000,0x71ee7000)]
  0x0ae16c00 JavaThread "process reaper" daemon [_thread_in_native, id=19026, stack(0x71ee7000,0x71f38000)]
  0x0a296000 JavaThread "process reaper" daemon [_thread_in_native, id=19024, stack(0x71f38000,0x71f89000)]
  0x0b9f0000 JavaThread "process reaper" daemon [_thread_in_native, id=19023, stack(0x71f89000,0x71fda000)]
  0x0a5c4400 JavaThread "Thread-20680" daemon [_thread_in_native, id=18708, stack(0x7207c000,0x720cd000)]
  0x0a4b3000 JavaThread "process reaper" daemon [_thread_in_native, id=18706, stack(0x720cd000,0x7211e000)]
  0x0b0f8800 JavaThread "Thread-20678" daemon [_thread_in_native, id=18701, stack(0x7211e000,0x7216f000)]
  0x0b06c400 JavaThread "Thread-20676" daemon [_thread_in_native, id=18693, stack(0x7216f000,0x721c0000)]
  0x0afb4c00 JavaThread "process reaper" daemon [_thread_in_native, id=18648, stack(0x73e41000,0x73e92000)]
  0x7f5cd800 JavaThread "Thread-20674" daemon [_thread_in_native, id=18641, stack(0x73e92000,0x73ee3000)]
  0x7f7ec000 JavaThread "process reaper" daemon [_thread_in_native, id=18639, stack(0x73ee3000,0x73f34000)]
  0x0b537c00 JavaThread "Thread-20672" daemon [_thread_in_native, id=18638, stack(0x73f34000,0x73f85000)]
  0x0a6c7400 JavaThread "process reaper" daemon [_thread_in_native, id=18635, stack(0x73f85000,0x73fd6000)]
  0x0ba3d800 JavaThread "process reaper" daemon [_thread_in_native, id=18634, stack(0x73fd6000,0x74027000)]
  0x7ff90000 JavaThread "Thread-20670" daemon [_thread_in_native, id=18094, stack(0x7416b000,0x741bc000)]
  0x7ff8f800 JavaThread "process reaper" daemon [_thread_in_native, id=18092, stack(0x742af000,0x74300000)]
  0x0b59fc00 JavaThread "Thread-20668" daemon [_thread_in_native, id=18080, stack(0x7c2ff000,0x7c350000)]
  0x0bab9c00 JavaThread "Thread-20666" daemon [_thread_in_native, id=18079, stack(0x7c3b3000,0x7c404000)]
  0x80d07800 JavaThread "Thread-20664" daemon [_thread_in_native, id=18075, stack(0x7ce19000,0x7ce6a000)]
  0x80bf0000 JavaThread "process reaper" daemon [_thread_in_native, id=18073, stack(0x7d401000,0x7d452000)]
  0x0a68d400 JavaThread "process reaper" daemon [_thread_in_native, id=18071, stack(0x7d452000,0x7d4a3000)]
  0x0b3c1c00 JavaThread "process reaper" daemon [_thread_in_native, id=18069, stack(0x7dc3b000,0x7dc8c000)]
  0x0a6f2400 JavaThread "Thread-20662" daemon [_thread_in_native, id=18065, stack(0x7ee0d000,0x7ee5e000)]
  0x0b001000 JavaThread "process reaper" daemon [_thread_in_native, id=18063, stack(0x7f80d000,0x7f85e000)]
  0x0baf5c00 JavaThread "Thread-20660" daemon [_thread_in_native, id=18022, stack(0x7d4f4000,0x7d545000)]
  0x0b973000 JavaThread "process reaper" daemon [_thread_in_native, id=18020, stack(0x7e74e000,0x7e79f000)]
  0x0af67c00 JavaThread "Thread-20653" daemon [_thread_in_native, id=18010, stack(0x7e382000,0x7e3d3000)]
  0x0af7f800 JavaThread "Thread-20654" daemon [_thread_in_native, id=18009, stack(0x7e19c000,0x7e1ed000)]
  0x0abf8400 JavaThread "Thread-20655" daemon [_thread_in_native, id=18008, stack(0x7e1ed000,0x7e23e000)]
  0x0a785400 JavaThread "Thread-20652" daemon [_thread_in_native, id=18007, stack(0x7d545000,0x7d596000)]
  0x0b00dc00 JavaThread "process reaper" daemon [_thread_in_native, id=17908, stack(0x7e6ac000,0x7e6fd000)]
  0x0a544800 JavaThread "process reaper" daemon [_thread_in_native, id=17891, stack(0x740c9000,0x7411a000)]
  0x0a69f400 JavaThread "process reaper" daemon [_thread_in_native, id=17888, stack(0x73c5b000,0x73cac000)]
  0x0bb3c800 JavaThread "process reaper" daemon [_thread_in_native, id=17887, stack(0x7e23e000,0x7e28f000)]
  0x0a2a5c00 JavaThread "Thread-20650" daemon [_thread_in_native, id=17407, stack(0x8086b000,0x808bc000)]
  0x0bb80c00 JavaThread "process reaper" daemon [_thread_in_native, id=17405, stack(0x7dd2e000,0x7dd7f000)]
  0x0b4ec800 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=17374, stack(0x815cb000,0x8161c000)]
  0x0bb85000 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=1048, stack(0x8170d000,0x8175e000)]
  0x0bb40400 JavaThread "Thread-15281" daemon [_thread_in_native, id=31343, stack(0x72d24000,0x72d75000)]
  0x0b003400 JavaThread "Thread-15279" daemon [_thread_in_native, id=31342, stack(0x72d75000,0x72dc6000)]
  0x0bb11400 JavaThread "Thread-15277" daemon [_thread_in_native, id=31341, stack(0x72dc6000,0x72e17000)]
  0x80ca1400 JavaThread "Thread-15275" daemon [_thread_in_native, id=31340, stack(0x72e17000,0x72e68000)]
  0x0b1a6400 JavaThread "process reaper" daemon [_thread_in_native, id=31337, stack(0x72e68000,0x72eb9000)]
  0x0abec000 JavaThread "process reaper" daemon [_thread_in_native, id=31334, stack(0x72eb9000,0x72f0a000)]
  0x0b0ff800 JavaThread "process reaper" daemon [_thread_in_native, id=31332, stack(0x72f0a000,0x72f5b000)]
  0x80ca1000 JavaThread "process reaper" daemon [_thread_in_native, id=31331, stack(0x72f5b000,0x72fac000)]
  0x0ae1bc00 JavaThread "Thread-15273" daemon [_thread_in_native, id=31314, stack(0x72fac000,0x72ffd000)]
  0x0b592800 JavaThread "process reaper" daemon [_thread_in_native, id=31312, stack(0x72ffd000,0x7304e000)]
  0x7ffc9400 JavaThread "Thread-15271" daemon [_thread_in_native, id=31293, stack(0x7304e000,0x7309f000)]
  0x0ad12800 JavaThread "Thread-15269" daemon [_thread_in_native, id=31291, stack(0x7309f000,0x730f0000)]
  0x0baaf000 JavaThread "Thread-15267" daemon [_thread_in_native, id=31290, stack(0x730f0000,0x73141000)]
  0x7fbb9c00 JavaThread "Thread-15265" daemon [_thread_in_native, id=31285, stack(0x73141000,0x73192000)]
  0x807cd400 JavaThread "process reaper" daemon [_thread_in_native, id=31283, stack(0x73192000,0x731e3000)]
  0x7fb37000 JavaThread "process reaper" daemon [_thread_in_native, id=31281, stack(0x73285000,0x732d6000)]
  0x0a367400 JavaThread "process reaper" daemon [_thread_in_native, id=31280, stack(0x732d6000,0x73327000)]
  0x0a031800 JavaThread "process reaper" daemon [_thread_in_native, id=31278, stack(0x731e3000,0x73234000)]
  0x81be3000 JavaThread "Thread-15263" daemon [_thread_in_native, id=31054, stack(0x73234000,0x73285000)]
  0x82379c00 JavaThread "process reaper" daemon [_thread_in_native, id=31052, stack(0x73327000,0x73378000)]
  0x0ba92000 JavaThread "Thread-15260" daemon [_thread_in_native, id=31036, stack(0x73378000,0x733c9000)]
  0x0af87000 JavaThread "Thread-15258" daemon [_thread_in_native, id=31029, stack(0x733c9000,0x7341a000)]
  0x0b012c00 JavaThread "process reaper" daemon [_thread_in_native, id=31027, stack(0x7341a000,0x7346b000)]
  0x0ba04400 JavaThread "process reaper" daemon [_thread_in_native, id=31025, stack(0x7346b000,0x734bc000)]
  0x0ac54400 JavaThread "Thread-15255" daemon [_thread_in_native, id=31018, stack(0x734bc000,0x7350d000)]
  0x0bb9cc00 JavaThread "Thread-15254" daemon [_thread_in_native, id=31017, stack(0x7350d000,0x7355e000)]
  0x0a64cc00 JavaThread "process reaper" daemon [_thread_in_native, id=31015, stack(0x7355e000,0x735af000)]
  0x0a71d800 JavaThread "process reaper" daemon [_thread_in_native, id=31013, stack(0x735af000,0x73600000)]
  0x82f2d000 JavaThread "Thread-15252" daemon [_thread_in_native, id=30938, stack(0x7374b000,0x7379c000)]
  0x82f2c800 JavaThread "process reaper" daemon [_thread_in_native, id=30936, stack(0x7379c000,0x737ed000)]
  0x0aeabc00 JavaThread "Thread-15250" daemon [_thread_in_native, id=30921, stack(0x737ed000,0x7383e000)]
  0x0b257800 JavaThread "Thread-15248" daemon [_thread_in_native, id=30909, stack(0x7383e000,0x7388f000)]
  0x0ac16400 JavaThread "Thread-15246" daemon [_thread_in_native, id=30907, stack(0x7388f000,0x738e0000)]
  0x0aa25800 JavaThread "process reaper" daemon [_thread_in_native, id=30905, stack(0x738e0000,0x73931000)]
  0x0b3ec000 JavaThread "process reaper" daemon [_thread_in_native, id=30903, stack(0x73931000,0x73982000)]
  0x0b05e000 JavaThread "process reaper" daemon [_thread_in_native, id=30902, stack(0x73982000,0x739d3000)]
  0x0bb8d800 JavaThread "Thread-15244" daemon [_thread_in_native, id=30901, stack(0x739d3000,0x73a24000)]
  0x0bb47800 JavaThread "process reaper" daemon [_thread_in_native, id=30899, stack(0x73a24000,0x73a75000)]
  0x0a122000 JavaThread "org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor" daemon [_thread_blocked, id=30552, stack(0x817af000,0x81800000)]
  0x7f036000 JavaThread "Thread-15237" daemon [_thread_in_native, id=30126, stack(0x7d8c0000,0x7d911000)]
  0x826b1000 JavaThread "process reaper" daemon [_thread_in_native, id=30124, stack(0x8040d000,0x8045e000)]
  0x0a68c000 JavaThread "org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor" daemon [_thread_blocked, id=27944, stack(0x7cd77000,0x7cdc8000)]
  0x0aa6ac00 JavaThread "Dali Event Handler" [_thread_blocked, id=2427, stack(0x816b1000,0x81702000)]
  0x80eec000 JavaThread "[email protected]" [_thread_blocked, id=30991, stack(0x7dd7f000,0x7ddd0000)]
  0x0a580c00 JavaThread "Thread-53" daemon [_thread_blocked, id=19216, stack(0x82c0d000,0x82c5e000)]
  0x0a3ee400 JavaThread "Timer-0" daemon [_thread_blocked, id=18531, stack(0x7e60a000,0x7e65b000)]
  0x0a328800 JavaThread "[email protected] - Acceptor0 [email protected]:39249" [_thread_in_native, id=18530, stack(0x7d35d000,0x7d3ae000)]
  0x80eb8800 JavaThread "Dali Event Handler" [_thread_blocked, id=18258, stack(0x7cc72000,0x7ccc3000)]
  0x0a737800 JavaThread "JavaScript indexing" daemon [_thread_blocked, id=18256, stack(0x809af000,0x80a00000)]
  0x0aa65400 JavaThread "Thread-25" daemon [_thread_in_native, id=17421, stack(0x804af000,0x80500000)]
  0x0a26ac00 JavaThread "process reaper" daemon [_thread_in_native, id=17419, stack(0x8045e000,0x804af000)]
  0x80b19400 JavaThread "Thread-24" daemon [_thread_blocked, id=17354, stack(0x8081a000,0x8086b000)]
  0x82814c00 JavaThread "Thread-20" daemon [_thread_blocked, id=17051, stack(0x808bc000,0x8090d000)]
  0x80c3b000 JavaThread "[ThreadPool Manager] - Idle Thread" daemon [_thread_blocked, id=17007, stack(0x82caf000,0x82d00000)]
  0x0a352400 JavaThread "Thread-12" daemon [_thread_in_native, id=16999, stack(0x8095e000,0x809af000)]
  0x0ad74800 JavaThread "process reaper" daemon [_thread_in_native, id=16997, stack(0x810c8000,0x81119000)]
  0x0aa97800 JavaThread "Worker-2" [_thread_blocked, id=16962, stack(0x8175e000,0x817af000)]
  0x0b5cf800 JavaThread "Java indexing" daemon [_thread_blocked, id=16947, stack(0x811dc000,0x8122d000)]
  0x82bf5c00 JavaThread "Thread-2" daemon [_thread_blocked, id=16914, stack(0x8225e000,0x822af000)]
  0x0ade3000 JavaThread "Provisioning Event Dispatcher" daemon [_thread_blocked, id=16912, stack(0x822af000,0x82300000)]
  0x0acbb400 JavaThread "Worker-JM" [_thread_blocked, id=16868, stack(0x82a5e000,0x82aaf000)]
  0x8298dc00 JavaThread "[Timer] - Main Queue Handler" daemon [_thread_blocked, id=16867, stack(0x82aaf000,0x82b00000)]
  0x0a851800 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=16859, stack(0x82c5e000,0x82caf000)]
  0x82dfbc00 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=16856, stack(0x8303f000,0x83090000)]
  0x82913400 JavaThread "Bundle File Closer" daemon [_thread_blocked, id=16846, stack(0x82e9e000,0x82eef000)]
  0x83309400 JavaThread "Framework Active Thread" [_thread_blocked, id=16843, stack(0x8342c000,0x8347d000)]
  0x09ff5400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=16834, stack(0x8365e000,0x836af000)]
  0x09ff3c00 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=16833, stack(0x836af000,0x83730000)]
  0x09fe8000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=16832, stack(0x83730000,0x837b1000)]
  0x09fe6800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=16831, stack(0x837b1000,0x83802000)]
  0x09fd4c00 JavaThread "Finalizer" daemon [_thread_blocked, id=16830, stack(0x83a02000,0x83a53000)]
  0x09fd3400 JavaThread "Reference Handler" daemon [_thread_blocked, id=16829, stack(0x83a53000,0x83aa4000)]
=>0x09f30c00 JavaThread "main" [_thread_in_native, id=16822, stack(0xb72a8000,0xb72f9000)]

Other Threads:
  0x09fcf800 VMThread [stack: 0x83aa4000,0x83b25000] [id=16828]
  0x09ff7400 WatcherThread [stack: 0x835dd000,0x8365e000] [id=16835]

线程信息,已经解释过具体的含义了,可以对照之前的解析看看

VM state:not at safepoint (normal execution)
虚拟机状态

  1. not at a safepoint:正常运行状态
  2. at safepoint:所有线程都因为虚拟机等待状态而阻塞,等待一个虚拟机操作完成
  3. synchronizing:一个特殊的虚拟机操作,要求虚拟机内的其它线程保持等待状态

VM Mutex/Monitor currently owned by a thread: None

虚拟机的Mutex和Monitor目前没有被线程持有。Mutex是虚拟机内部的锁,而Monitor则关联到了Java对象

Heap
 PSYoungGen      total 149056K, used 125317K [0xa9700000, 0xb41a0000, 0xb41a0000)
  eden space 123520K, 95% used [0xa9700000,0xb0ac0de0,0xb0fa0000)
  from space 25536K, 26% used [0xb28b0000,0xb2f50748,0xb41a0000)
  to   space 25600K, 0% used [0xb0fa0000,0xb0fa0000,0xb28a0000)
 PSOldGen        total 261248K, used 239964K [0x941a0000, 0xa40c0000, 0xa9700000)
  object space 261248K, 91% used [0x941a0000,0xa2bf7018,0xa40c0000)
 PSPermGen       total 163328K, used 130819K [0x841a0000, 0x8e120000, 0x941a0000)
  object space 163328K, 80% used [0x841a0000,0x8c160c40,0x8e120000)

堆信息。

在 Java 中,堆被划分成两个不同的区域:新生代 ( Young )、老年代 ( Old )。新生代 ( Young ) 又被划分为三个区域:Eden、From Survivor、To Survivor。
这样划分的目的是为了使 JVM 能够更好的管理堆内存中的对象,包括内存的分配以及回收。

方法区(Method Area)与Java堆一样,是各个线程共享的内存区域,它用于存储已被虚拟机加载的类信息、常量、静态变量、即时编译器编译后的代码等

Code Cache  [0xb4262000, 0xb5ac2000, 0xb7262000)
 total_blobs=5795 nmethods=5534 adapters=209 free_code_cache=25103616 largest_free_block=38336

代码缓存(Code Cache)。这是一块用于编译和保存本地代码的内存,注意是本地代码,它和PermGen(永久代)是不一样的,永久带是用来存放Java类定义的。

Dynamic libraries:
00101000-00122000 r-xp 00000000 08:01 3483560    /usr/lib/libjpeg.so.62.0.0
00122000-00123000 rwxp 00020000 08:01 3483560    /usr/lib/libjpeg.so.62.0.0
00125000-00130000 r-xp 00000000 08:01 9093202    /lib/libgcc_s-4.1.2-20080825.so.1
00130000-00131000 rwxp 0000a000 08:01 9093202    /lib/libgcc_s-4.1.2-20080825.so.1
00150000-00156000 r-xp 00000000 08:01 3481018    /usr/lib/libfam.so.0.0.0
00156000-00157000 rwxp 00006000 08:01 3481018    /usr/lib/libfam.so.0.0.0
00220000-00236000 r-xp 00000000 08:01 3491414    /usr/lib/libart_lgpl_2.so.2.3.17
00236000-00237000 rwxp 00016000 08:01 3491414    /usr/lib/libart_lgpl_2.so.2.3.17
00239000-00260000 r-xp 00000000 08:01 3488288    /usr/lib/libfontconfig.so.1.1.0
00260000-00268000 rwxp 00027000 08:01 3488288    /usr/lib/libfontconfig.so.1.1.0

.................

内存映射。这些信息是虚拟机崩溃时的虚拟内存列表区域。在定位崩溃原因的时候,它可以告诉你哪些类库正在被使用,位置在哪里,还有堆栈和守护页信息。就以列表中第一条为例说明:

  1. 00101000-00122000:内存区域
  2. r-xp:权限,r/w/x/p/s分别表示读/写/执行/私有/共享
  3. 00000000:文件内的偏移量
  4. 08:01:文件位置的majorID和minorID
  5. 3483560:索引节点号
  6. /usr/lib/libjpeg.so.62.0.0:文件位置

每一个lib都有两块虚拟内存区域——代码和数据,它们的权限不同,代码区域是r-xp;数据区域是rwxp。守护页(guard page)由权限为--xp和rwxp的一对组成。

VM Arguments:
jvm_args: -Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx512m -Dorg.eclipse.swt.browser.XULRunnerPath=‘‘
java_command: /rhel5pdi/apollo/var/env/eclipse-3.7/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -os linux -ws gtk -arch x86 -showsplash -launcher /rhel5pdi/apollo/var/env/eclipse-3.7/eclipse/eclipse -name Eclipse --launcher.library /rhel5pdi/apollo/var/env/eclipse-3.7/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505/eclipse_1407.so -startup /rhel5pdi/apollo/var/env/eclipse-3.7/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.overrideVmargs -exitdata d800b -product org.eclipse.epp.package.jee.product -vm /apollo/env/eclipse-3.7/jdk/bin/java -vmargs -Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx512m -Dorg.eclipse.swt.browser.XULRunnerPath=‘‘ -jar /rhel5pdi/apollo/var/env/eclipse-3.7/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=/apollo/env/eclipse-3.7/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/xiongyi/bin:/apollo/env/SDETools/bin:/sbin:/usr/sbin
LD_LIBRARY_PATH=/rhel5pdi/apollo/package/local_1/Linux-2.6c2.5-i686/JDK/JDK-4189.0-0/jdk1.6.0/jre/lib/i386/server:/rhel5pdi/apollo/package/local_1/Linux-2.6c2.5-i686/JDK/JDK-4189.0-0/jdk1.6.0/jre/lib/i386:/rhel5pdi/apollo/package/local_1/Linux-2.6c2.5-i686/JDK/JDK-4189.0-0/jdk1.6.0/jre/../lib/i386:/apollo/env/eclipse-3.7/lib
SHELL=/bin/zsh
DISPLAY=:0.0

虚拟机参数和环境变量,不解释

Signal Handlers:
SIGSEGV: [libjvm.so+0x726440], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x726440], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x5e0ff0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: SIG_IGN, sa_mask[0]=0x00001000, sa_flags=0x10000000
SIGXFSZ: [libjvm.so+0x5e0ff0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x5e0ff0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x5e4250], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x5e3e30], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0x5e3e30], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x5e3e30], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0x5e3e30], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004

信号句柄

---------------  S Y S T E M  ---------------

OS:Red Hat Enterprise Linux Client release 5.4 (Tikanga)

uname:Linux 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 i686
libc:glibc 2.5 NPTL 2.5
rlimit: STACK 10240k, CORE 0k, NPROC 65536, NOFILE 1024, AS infinity
load average:1.78 1.58 1.54

/proc/meminfo:
MemTotal:      3631860 kB
MemFree:        155144 kB
Buffers:         12784 kB
Cached:         424196 kB
SwapCached:       1388 kB
Active:        3186368 kB
Inactive:       136104 kB
HighTotal:     2752448 kB
HighFree:         3860 kB
LowTotal:       879412 kB
LowFree:        151284 kB
SwapTotal:     5124724 kB
SwapFree:      5056452 kB
Dirty:            1140 kB
Writeback:           0 kB
AnonPages:     2884788 kB
Mapped:         141436 kB
Slab:           129716 kB
PageTables:      11900 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:   6940652 kB
Committed_AS:  6866556 kB
VmallocTotal:   114680 kB
VmallocUsed:     70352 kB
VmallocChunk:    44100 kB
HugePages_Total:     0
HugePages_Free:      0
HugePages_Rsvd:      0
Hugepagesize:     4096 kB

CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

/proc/cpuinfo:
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 42
model name    : Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
stepping    : 7
cpu MHz        : 3063.219
cache size    : 6144 KB
physical id    : 0
siblings    : 4
core id        : 0
cpu cores    : 4
apicid        : 0
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 5
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc pni lahf_lm
bogomips    : 6126.43

processor    : 1
vendor_id    : GenuineIntel
cpu family    : 6
model        : 42
model name    : Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
stepping    : 7
cpu MHz        : 3063.219
cache size    : 6144 KB
physical id    : 0
siblings    : 4
core id        : 1
cpu cores    : 4
apicid        : 1
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 5
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc pni lahf_lm
bogomips    : 6123.51

processor    : 2
vendor_id    : GenuineIntel
cpu family    : 6
model        : 42
model name    : Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
stepping    : 7
cpu MHz        : 3063.219
cache size    : 6144 KB
physical id    : 0
siblings    : 4
core id        : 2
cpu cores    : 4
apicid        : 2
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 5
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc pni lahf_lm
bogomips    : 6126.30

processor    : 3
vendor_id    : GenuineIntel
cpu family    : 6
model        : 42
model name    : Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
stepping    : 7
cpu MHz        : 3063.219
cache size    : 6144 KB
physical id    : 0
siblings    : 4
core id        : 3
cpu cores    : 4
apicid        : 3
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 5
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc pni lahf_lm
bogomips    : 6077.87

Memory: 4k page, physical 3631860k(155144k free), swap 5124724k(5056452k free)

vm_info: Java HotSpot(TM) Server VM (20.7-b02) for linux-x86 JRE (1.6.0_32-b05), built on Apr  5 2012 12:54:54 by "java_re" with gcc 3.2.1-7a (J2SE release)

time: Mon Sep 17 23:05:13 2012
elapsed time: 419661 seconds

系统详细信息

时间: 2024-10-13 10:13:30

JVM Crash 日志(hs_err_pid.log)分析的相关文章

JVM致命错误日志(hs_err_pid.log)分析

当jvm出现致命错误时,会生成一个错误文件 hs_err_pid<pid>.log,其中包括了导致jvm crash的重要信息,可以通过分析该文件定位到导致crash的根源,从而改善以保证系统稳定.当出现crash时,该文件默认会生成到工作目录下,然而可以通过jvm参数指定生成路径(JDK6中引入): -XX:ErrorFile=./hs_err_pid<pid>.log 该文件包含如下几类关键信息: 日志头文件 导致crash的线程信息 所有线程信息 安全点和锁信息 堆信息 本地

jvm crash分析

问题描述:线上进程异常退出,查看服务器端日志,有jvm crash文件生成 # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f385c182889, pid=31877, tid=139878461208320 # # JRE version: Java(TM) SE Runtime Environment (7.0_80-b15) (build

JVM致命错误日志(hs_err_pid.log)解读

致命错误出现的时候,JVM生成了hs_err_pid<pid>.log这样的文件,其中往往包含了虚拟机崩溃原因的重要信息.因为经常遇 到,在这篇文章里,我挑选了一个,并且逐段分析它包含的内容(文件可以在文章最后下载).默认情况下文件是创建在工作目录下的(如果没权限创建的话JVM 会尝试把文件写到/tmp这样的临时目录下面去),当然,文件格式和路径也可以通过参数指定,比如: java -XX:ErrorFile=/var/log/java/java_error%p.log 这个文件将包括: 触发

Android Native crash日志分析

在Android应用crash的类型中,native类型crash应该是比较难的一种了,因为大家接触的少,然后相对也要多转几道工序,所有大部分对这个都比较生疏.虽然相关文章也有很多了,但是我在刚开始学的过程中还是遇到一些问题,下面一一记录,以便将来翻阅. 分析native crash 日志需要几个东西: addr2line,objdump,ndk-stack等几个工具 带symbols的so文件 log log native crash的日志都是从一行星号(*** *** *** *** ***

Xcode之Crash日志分析

从Crash文件出发解决bug的一般步骤,分三步: a, 获取设备上的崩溃日志. b, 分析崩溃日志,找到报错位置(定位到函数和代码行数). c, 打开代码,改bug. 1, 获取设备日志 1.在可以获取到运行app的手机,或者用户配合导出日志的情况下.可以将设备连接到电脑,然后与电脑上的iTunes同步,崩溃日志会同步到电脑上的指定文件夹.(上面博客有指明) 2.在可以直接获取到运行app的手机的情况下.可以将设备连接到电脑,然后打开xcode软件,选择Window->Devices,然后可以

在Xcode6下IOS Crash Log分析文一

1.导出Log文件 将手机连接到mac上,打开Xcode,window-Devices-This Device,就能刷新出所有本机crash时留下的日志文件,选择你的crash文件,右键-Export Log到User/crash目录下 2.获取app和dsYM文件 Xcode-window-organizer-Archives就能看到我们曾经archive过的所有文件,找到crash对应的archive文件,右键-show in finder-右键-显示包内容,将dSYMs/xxxx.dSYM

IOS Crash Log 分析

上架AppStroe 被打回来了,原因是: Your app crashed on iPad running iOS 11.3.1 connected to an IPv6 network when we tapped on profile image. We have attached detailed crash logs to help troubleshoot this issue. 崩溃日志 一.Crash文件结构 当程序运行Crash的时候,系统会把运行的最后时刻的运行信息记录下来,

APP闪退分析及Crash日志获取

现在人们越来越离不开手机了,手机已经是我们生活的一部分了.APP也越来越多,要想让自己的APP脱颖而出,能在移动互联网时代能有一席之地,除了能满足大多数用户的刚需之外,也要让自己APP的体验做到最佳.所以APP闪退可能会导致用户的流失,所以作为研发.测试人员应该把APP的crash率降到最低.所以在测试的过程中也要特别注意闪退. 说了那么多,那么尤其对于测试人员来说,遇到crash(或偶发)应该怎么办呢?必须要把日志抓取出来,这里以Android为例: 一.手机crash之后,如果弹出的"应用程

crash日志的分析

怎样获得crash日志 怎样解析crash日志 怎样分析crash日志 1. iOS策略相关 2. 常见错误标识 3. 代码bug 一.怎样获得crash日志 当一个iOS应用程序崩溃时,系统会创建一份crash日志保存在设备上. 这份crash日志记录着应用程序崩溃时的信息,通常包括着每一个运行线程的栈调用信息(低内存闪退日志例外),对于开发者定位问题非常有帮助. 假设设备就在身边,能够连接设备,打开Xcode - Window - Organizer,在左側面板中选择Device Logs(