JVM Crash,生成hs_err_pid.log文件

JVM Crash,生成了hs_err_pid.log文件,见附件!


原因参考附件jdk50-ts-guide-149808.rar中的
2.2.2.3 Crash in a HotSpot Compiler Thread
2.2.3.1 Crash in HotSpot Compiler Thread or Compiled Code
展开阅读全文

Jboss的jvm crash问题

12-16

jboss偶尔会宕机,我分析的日志结果是Jboss里面的一个HDScanner线程调用C造成的。rn各位有遇到这样问题的请帮个忙,该怎么解决!rn#rn# A fatal error has been detected by the Java Runtime Environment:rn#rn# SIGSEGV (0xb) at pc=0xf7e527e1, pid=1030, tid=3172658064rn#rn# JRE version: 6.0_20-b02rn# Java VM: Java HotSpot(TM) Server VM (16.3-b01 mixed mode linux-x86 )rn# Problematic frame:rn# C [libc.so.6+0x757e1] memcpy+0x61rn#rn# If you would like to submit a bug report, please visit:rn# http://java.sun.com/webapps/bugreport/crash.jsprn# The crash happened outside the Java Virtual Machine in native code.rn# See problematic frame for where to report the bug.rn#rnrn--------------- T H R E A D ---------------rnrnCurrent thread (0xc37e7800): JavaThread "HDScanner" [_thread_in_native, id=1082, stack(0xbd15e000,0xbd1af000)]rnrnsiginfo:si_signo=SIGSEGV: si_errno=0, si_code=2 (SEGV_ACCERR), si_addr=0xc3348000rnrnRegisters:rnEAX=0xb8adb010, EBX=0xf71926bc, ECX=0x00000348, EDX=0xc33445f2rnESP=0xbd1ac79c, EBP=0xbd1ac7c8, ESI=0xc3348000, EDI=0xb9fe3f42rnEIP=0xf7e527e1, CR2=0xc3348000, EFLAGS=0x00010206rnrnTop of Stack: (sp=0xbd1ac79c)rn0xbd1ac79c: f718dce6 b9fe0562 c3344620 00004700rn0xbd1ac7ac: f7f79e98 00004701 00004700 00000000rn0xbd1ac7bc: f71926bc 00000000 be047d80 bd1ac7e8rn0xbd1ac7cc: f718dfbd be047d80 c0a8bc08 00000001rn0xbd1ac7dc: f71926bc bd1ac82c c37e7800 bd1ac808rn0xbd1ac7ec: f71851c6 be047d80 00000000 c4a39a28rn0xbd1ac7fc: 00000000 c4a394d8 ffffffff bd1ac838rn0xbd1ac80c: f4340f90 c37e7910 bd1ac82c be047d80 rn....rn--------------- P R O C E S S ---------------rnrnJava Threads: ( => current thread )rn 0xc04f8800 JavaThread "ZipFile Lock Reaper" daemon [_thread_blocked, id=1985, stack(0xc1c0d000,0xc1c5e000)]rn...rnrnVM Arguments:rnjvm_args: -Dprogram.name=run.sh -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/usr/local/tds/jboss5/lib/endorsed rnjava_command: org.jboss.Main -b 0.0.0.0rnLauncher Type: SUN_STANDARDrnrnrnrnrn 论坛

jvm crash,产生hs_err_pid49125.log,求助

01-27

#rn# A fatal error has been detected by the Java Runtime Environment:rn#rn# SIGSEGV (0xb) at pc=0x0000003413288bfb, pid=49125, tid=139817553389312rn#rn# JRE version: 6.0_30-b12rn# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.5-b03 mixed mode linux-amd64 compressed oops)rn# Problematic frame:rn# C [libc.so.6+0x88bfb] unsigned long+0x15brn#rn# If you would like to submit a bug report, please visit:rn# http://java.sun.com/webapps/bugreport/crash.jsprn# The crash happened outside the Java Virtual Machine in native code.rn# See problematic frame for where to report the bug.rn#rnrn--------------- T H R E A D ---------------rnrnCurrent thread (0x00007f2b3c041800): JavaThread "pool-3-thread-126" [_thread_in_native, id=3734, stack(0x00007f29cf966000,0x00007f29cf9a7000)]rnrnsiginfo:si_signo=SIGSEGV: si_errno=0, si_code=2 (SEGV_ACCERR), si_addr=0x00007f2b5402d000rnrnRegisters:rnRAX=0x0000000000000069, RBX=0x0000000000002f6e, RCX=0x0000000000000352, RDX=0x0000000000002f69rnRSP=0x00007f29cf9a2768, RBP=0x00007f2b5401de19, RSI=0x00007f2b5402d000, RDI=0x00007f2b7c0394edrnR8 =0x00007f2b7c000088, R9 =0x0000000000000001, R10=0x0000000000002f6f, R11=0x0000000000002f68rnR12=0x00007f2b7c014c30, R13=0x0000000000006d6f, R14=0x00007f2b4c98a110, R15=0x0000000000006f6drnRIP=0x0000003413288bfb, EFLAGS=0x0000000000010206, CSGSFS=0x0000000000000033, ERR=0x0000000000000004rn TRAPNO=0x000000000000000ernrnTop of Stack: (sp=0x00007f29cf9a2768)rn0x00007f29cf9a2768: 00007f2bdefb83a3 00000000cf9a2790rn0x00007f29cf9a2778: 00007f2b4c4d9954 00007f2b4c98a110rn0x00007f29cf9a2788: 0000000000000000 00000000829140b1rn0x00007f29cf9a2798: 00007f29cf9a2800 0000000000000058rn0x00007f29cf9a27a8: 00007f2bdefb85c4 00007f2b3c041800rn0x00007f29cf9a27b8: 00007f29cf9a2800 00007f2b3c0419d0rn0x00007f29cf9a27c8: 0000000000000058 00007f29cf9a2ce0rn0x00007f29cf9a27d8: 0000000000000058 0000000000000001rn0x00007f29cf9a27e8: 00007f2bdefb0797 00007f29cf9a2800rn0x00007f29cf9a27f8: 00007f2b4c98a110 6c6f6f632f6d6f63rn0x00007f29cf9a2808: 61642f64756f6c63 61746e6f632f6174rn0x00007f29cf9a2818: 6f6d6d6f632f7463 702f6e6165622f6ern0x00007f29cf9a2828: 2f6675626f746f72 50746361746e6f43rn0x00007f29cf9a2838: 614424736f746f72 65426d6574496574rn0x00007f29cf9a2848: 646c697542246e61 7373616c632e7265rn0x00007f29cf9a2858: 0000000771356e00 0000000771356f18rn0x00007f29cf9a2868: 0000000771357ad0 00000007a0000000rn0x00007f29cf9a2878: 0000000000000000 0000000000000000rn0x00007f29cf9a2888: 0000000000000000 01000c001e000006rn0x00007f29cf9a2898: 0000000000000000 00007f2b3c041e80rn0x00007f29cf9a28a8: 00007f2bc8010120 00007f2bc8008c00rn0x00007f29cf9a28b8: 00007f29cf9a2868 00007f29cf9a28a9rn0x00007f29cf9a28c8: 0000000800000002 00007f2b3c042500rn0x00007f29cf9a28d8: 00007f29cf9a29e0 00007f2b3c041e80rn0x00007f29cf9a28e8: 00007f2bc8008720 00007f2bc8008c00rn0x00007f29cf9a28f8: 00007f2bc8010708 00000007f0006708rn0x00007f29cf9a2908: 00007f29cf9a2960 00007f29cf9a29a0rn0x00007f29cf9a2918: 00007f2b3c041800 00007f2bd8263f90rn0x00007f29cf9a2928: 00007f29cf9a2900 00007f2b3c041800rn0x00007f29cf9a2938: 00007f2bdfa51800 00007f2b3c042580rn0x00007f29cf9a2948: 0000000771393da0 0000000771393dc0rn0x00007f29cf9a2958: 0000000771393e50 00007f000000001b rnrnInstructions: (pc=0x0000003413288bfb)rn0x0000003413288bdb: fe ff ff f3 c3 4c 8b 1d 09 35 30 00 49 39 d3 4crn0x0000003413288beb: 0f 47 da 4c 89 d9 49 83 e3 f8 48 c1 e9 03 74 05rn0x0000003413288bfb: f3 48 a5 66 90 4c 29 da 48 f7 c2 f8 ff ff ff 75rn0x0000003413288c0b: 14 83 e2 07 48 8b 44 24 f8 0f 85 8f fe ff ff f3 rnrnRegister to memory mapping:rnrnRAX=0x0000000000000069 is an unknown valuernRBX=0x0000000000002f6e is an unknown valuernRCX=0x0000000000000352 is an unknown valuernRDX=0x0000000000002f69 is an unknown valuernRSP=0x00007f29cf9a2768 is pointing into the stack for thread: 0x00007f2b3c041800rnRBP=0x00007f2b5401de19 is an unknown valuernRSI=0x00007f2b5402d000 is an unknown valuernRDI=0x00007f2b7c0394ed is an unknown valuernR8 =0x00007f2b7c000088 is an unknown valuernR9 =0x0000000000000001 is an unknown valuernR10=0x0000000000002f6f is an unknown valuernR11=0x0000000000002f68 is an unknown valuernR12=0x00007f2b7c014c30 is an unknown valuernR13=0x0000000000006d6f is an unknown valuernR14=0x00007f2b4c98a110 is an unknown valuernR15=0x0000000000006f6d is an unknown valuernrnrnStack: [0x00007f29cf966000,0x00007f29cf9a7000], sp=0x00007f29cf9a2768, free space=241krnNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)rnC [libc.so.6+0x88bfb] unsigned long+0x15brnrnJava frames: (J=compiled Java code, j=interpreted, Vv=VM code)rnj java.util.zip.ZipFile.getEntry(JLjava/lang/String;Z)J+0rnj java.util.zip.ZipFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry;+31rnj java.util.jar.JarFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry;+2rnJ sun.misc.URLClassPath.getResource(Ljava/lang/String;Z)Lsun/misc/Resource;rnJ java.net.URLClassLoader$1.run()Ljava/lang/Object;rnv ~StubRoutines::call_stubrnj java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0rnj java.net.URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+13rnj java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+47rnj java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3rnv ~StubRoutines::call_stub 论坛

## 鼠标事件导致jvm crash? 求救!!

04-18

本人在ie下运行applet开发,运行以下的代码,试了n次,jvm系统都莫名其妙的crash(见后面);rn当去掉 if (n == 2) 这段代码后运行却是对的,请问各位大侠这是为何>?有类似的经历吗?> 如何解决的啊? rn 非常感激!!rnrnpublic class GraphCanvas extends Canvasrnimplements MouseListener, MouseMotionListener,ActionListenerrnrn public void mouseClicked(MouseEvent e) rn int n=e.getClickCount();rn if (n == 2)rn rn //......rn rn else if(n==1)rn rn //.......rn rnrnrn///////////////crash时系统的jvm出错日志rnrnAn unexpected exception has been detected in native code outside the VM.rnUnexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x6CB8487rnFunction=Java_sun_awt_windows_WColor_getDefaultColor+0x5DF8rnLibrary=C:\Program Files\Java\j2re1.4.2_07\bin\awt.dllrnrnCurrent Java thread:rn at sun.awt.windows.WToolkit.eventLoop(Native Method)rn at sun.awt.windows.WToolkit.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnrnDynamic libraries:rn0x00400000 - 0x00419000 C:\Program Files\Internet Explorer\iexplore.exern0x77F50000 - 0x77FDB000 C:\WINDOWS\System32\ntdll.dllrn0x77E40000 - 0x77F4E000 C:\WINDOWS\system32\kernel32.dllrn0x77BE0000 - 0x77C33000 C:\WINDOWS\system32\msvcrt.dllrn0x77D10000 - 0x77D9B000 C:\WINDOWS\system32\USER32.dllrn0x7E190000 - 0x7E1D1000 C:\WINDOWS\system32\GDI32.dllrn0x77DA0000 - 0x77E3B000 C:\WINDOWS\system32\ADVAPI32.dllrn0x06C40000 - 0x06D52000 C:\Program Files\Java\j2re1.4.2_07\bin\awt.dllrn0x06D60000 - 0x06DB1000 C:\Program Files\Java\j2re1.4.2_07\bin\fontmanager.dllrn0x736D0000 - 0x73714000 C:\WINDOWS\System32\ddraw.dllrn................rn0x73B30000 - 0x73B36000 C:\WINDOWS\System32\DCIMAN32.dllrn0x738B0000 - 0x73977000 C:\WINDOWS\System32\D3DIM700.DLLrn0x6D310000 - 0x6D324000 C:\Program Files\Java\j2re1.4.2_07\bin\jpicom32.dllrn0x6D480000 - 0x6D49D000 C:\Program Files\Java\j2re1.4.2_07\bin\RegUtils.dllrn0x74BE0000 - 0x74C0C000 C:\WINDOWS\System32\OLEACC.DLLrn0x71CC0000 - 0x71CDB000 C:\WINDOWS\System32\actxprxy.dllrn0x07570000 - 0x0757F000 C:\Program Files\Java\j2re1.4.2_07\bin\net.dllrn0x76F90000 - 0x76F95000 C:\WINDOWS\System32\rasadhlp.dllrn0x07600000 - 0x07622000 C:\Program Files\Java\j2re1.4.2_07\bin\dcpr.dllrn0x76BC0000 - 0x76BCB000 C:\WINDOWS\System32\PSAPI.DLLrnrnHeap at VM Abort:rnHeaprn def new generation total 576K, used 140K [0x21030000, 0x210d0000, 0x21790000)rn eden space 512K, 27% used [0x21030000, 0x21053140, 0x210b0000)rn from space 64K, 0% used [0x210c0000, 0x210c0000, 0x210d0000)rn to space 64K, 0% used [0x210b0000, 0x210b0000, 0x210c0000)rn tenured generation total 3068K, used 2209K [0x21790000, 0x21a8f000, 0x27030000)rn the space 3068K, 72% used [0x21790000, 0x219b8550, 0x219b8600, 0x21a8f000)rn compacting perm gen total 5376K, used 5248K [0x27030000, 0x27570000, 0x2b030000)rn the space 5376K, 97% used [0x27030000, 0x275503c0, 0x27550400, 0x27570000)rnrnLocal Time = Mon Apr 18 16:49:40 2005rnElapsed Time = 5rn#rn# The exception above was detected in native code outside the VMrn#rn# Java VM: Java HotSpot(TM) Client VM (1.4.2_07-b05 mixed mode)rn#rn 论坛

求救,调用GetStringUTFChars导致JVM crash

05-06

JNI不是很熟,请高手指点下如何定位/debug,多谢!!!rnrnJNI代码实现如下:rnrn--------------------------------------------------------------------------------------------rn[code=Java]JNIEXPORT jint JNICALL Java_client_common_ClientJNI_GetPolicyrn(JNIEnv * env, jclass cl, jstring login_name, jstring ip_addr, jobject obj)rnrn std::cout << "===============GetPolicy." << std::endl;rn const char * c_username = env->GetStringUTFChars(login_name, NULL);rn if (NULL == c_username) rn std::cout << "Failed to get user name." << std::endl;rn return -1;rn rn const char * c_address = env->GetStringUTFChars(ip_addr, NULL);rn if (NULL == c_address ) rn std::cout << "Failed to get address." << std::endl;rn env->ReleaseStringUTFChars(login_name, c_username);rn return -1;rn rnrn // 访问数据库,根据c_username 和 c_address 读取数据....rnrn env->ReleaseStringUTFChars(login_name, c_username);rn env->ReleaseStringUTFChars(ip_addr, c_address);rn return 0;rn[/code]rn--------------------------------------------------------------------------------------------rnrntomcat里的Java程序会调用这个方法,一个连接时没有问题。当同时20个连接访问的时候,JVM发生了crash。rntomcat 的catalina.out:rn--------------------------------------------------------------------------------------------rnINFO: Server startup in 1481 msrn===============GetPolicy.rn//前面多个访问正常,然后突然就歇菜了... rn===============GetPolicy.rn#rn# A fatal error has been detected by the Java Runtime Environment:rn#rn# SIGSEGV (0xb) at pc=0xf7af14f8, pid=8715, tid=4088118160rn#rn# JRE version: 6.0_23-b05rn# Java VM: Java HotSpot(TM) Client VM (19.0-b09 mixed mode, sharing linux-x86 )rn# Problematic frame:rn# V [libjvm.so+0x4324f8]rn#rn# An error report file with more information is saved as:rn# /var/hs_err_pid8715.logrn#rn# If you would like to submit a bug report, please visit:rn# http://java.sun.com/webapps/bugreport/crash.jsprn#rn--------------------------------------------------------------------------------------------rnrn/var/hs_err_pid8715.log文件很长,部分内容:rnrn--------------------------------------------------------------------------------------------rnRegister to memory mapping:rnrnEAX=0x6c717370rn0x6c717370 is pointing to unknown locationrnrnEBX=0xf7b930b0rn0xf7b930b0: in /usr/iwss/AdminUI/jre/lib/i386/client/libjvm.so at 0xf76bf000rnrnECX=0x00000000rn0x00000000 is pointing to unknown locationrnrnEDX=0x6c717370rn0x6c717370 is pointing to unknown locationrnrn...rnrnStack: [0xf3a6b000,0xf3abc000], sp=0xf3aba138, free space=316krnNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)rnV [libjvm.so+0x4324f8]rnV [libjvm.so+0x238a7b]rnV [libjvm.so+0x238b15]rnV [libjvm.so+0x260759]rnC [libRClientJNI.so+0x243c8] _ZN10_Jv_JNIEnv12NewStringUTFEPKc+0x1crnC [libRClientJNI.so+0x23e48] Java_client_common_ClientJNI_GetPolicy+0x5a4rnj client.common.ClientJNI.GetPolicy(Ljava/lang/String;Ljava/lang/String;Ljava/lang/ObjectI+0rn--------------------------------------------------------------------------------------------rnrn多谢! 论坛

程序崩溃生成 /var/crash/xxxxxx.crash 文件,如何分析

08-24

我的一个程序在 ubuntu 系的系统上 崩溃了,在 /var/crash/ 目录下生成 .crash 文件,文件内容如下:rn[code=text]rnProblemType: CrashrnArchitecture: i386rnDate: Thu Jun 7 14:21:30 2018rnDistroRelease: rnExecutablePath: rnExecutableTimestamp: 1528276015rnProcCmdline: rnProcCwd: /home/jimrnProcEnviron:rn PATH=(custom, no user)rn XDG_RUNTIME_DIR=rn LANG=zh_CN.utf-8rn SHELL=/bin/bashrnProcMaps:rn 08048000-0807a000 r-xp 00000000 fc:00 536414 rn 0807a000-0807b000 r--p 00031000 fc:00 536414 rn 0807b000-0807c000 rw-p 00032000 fc:00 536414 rn 0807c000-0807f000 rw-p 00000000 00:00 0 rn 096bb000-0970c000 rw-p 00000000 00:00 0 [heap]rn b67f3000-b67fe000 r-xp 00000000 fc:00 2093973 /lib/i386-linux-gnu/libnss_files-2.17.sorn b67fe000-b67ff000 r--p 0000a000 fc:00 2093973 /lib/i386-linux-gnu/libnss_files-2.17.sorn b67ff000-b6800000 rw-p 0000b000 fc:00 2093973 /lib/i386-linux-gnu/libnss_files-2.17.sorn b6800000-b6821000 rw-p 00000000 00:00 0 rn ...rn ...rn b6933000-b6934000 ---p 00000000 00:00 0 rn b6934000-b7137000 rw-p 00000000 00:00 0 [stack:3281]rn b7137000-b72c8000 r-xp 00000000 fc:00 2093908 /lib/i386-linux-gnu/libcrypto.so.1.0.0rn b72c8000-b72c9000 ---p 00191000 fc:00 2093908 /lib/i386-linux-gnu/libcrypto.so.1.0.0rn ...rn ...rn b7751000-b7752000 rw-p 00007000 fc:00 2093969 /lib/i386-linux-gnu/libnss_compat-2.17.sorn b7752000-b7755000 rw-p 00000000 00:00 0 rn b7755000-b7756000 r-xp 00000000 00:00 0 [vdso]rn b7756000-b7776000 r-xp 00000000 fc:00 2093874 /lib/i386-linux-gnu/ld-2.17.sorn b7776000-b7777000 r--p 0001f000 fc:00 2093874 /lib/i386-linux-gnu/ld-2.17.sorn b7777000-b7778000 rw-p 00020000 fc:00 2093874 /lib/i386-linux-gnu/ld-2.17.sorn bfa31000-bfa52000 rw-p 00000000 00:00 0 [stack]rnProcStatus:rn Name: rn State: S (sleeping)rn Tgid: 3256rn Pid: 3256rn PPid: 2778rn TracerPid: 0rn Uid: 1000 1000 1000 1000rn Gid: 1000 1000 1000 1000rn FDSize: 32rn Groups: 4 24 27 30 46 108 122 1000 rn VmPeak: 17048 kBrn VmSize: 16452 kBrn VmLck: 0 kBrn VmPin: 0 kBrn VmHWM: 2640 kBrn VmRSS: 2520 kBrn VmData: 9664 kBrn VmStk: 136 kBrn VmExe: 200 kBrn VmLib: 6184 kBrn VmPTE: 36 kBrn VmSwap: 0 kBrn Threads: 2rn SigQ: 0/32007rn SigPnd: 0000000000000000rn ShdPnd: 0000000000000000rn SigBlk: 0000000000000000rn SigIgn: 0000000020000000rn SigCgt: 0000000180000000rn CapInh: 0000000000000000rn CapPrm: 0000000000000000rn CapEff: 0000000000000000rn CapBnd: 0000001fffffffffrn Seccomp: 0rn Cpus_allowed: ffrn Cpus_allowed_list: 0-7rn Mems_allowed: 1rn Mems_allowed_list: 0rn voluntary_ctxt_switches: 505rn nonvoluntary_ctxt_switches: 50rnSignal: 11rnUname: Linux 3.8.13.13-cdos i686rnUserGroups: adm cdrom dip lpadmin plugdev sambashare sudornCoreDump: base64rn H4sICAAAAAAC/0NvcmVEdW1wAA==rn 7H0NgBtVtf9kd9NmsEAKKFtEGtoCQ(省略...)rn[/code]rnrn可是我找不到用哪个软件 利用该 .crash 文件 调试分析 程序的。有谁知道吗? 论坛

阿里云主机每小时产生一个hs_err_pid.log文件,请问是什么原因?

12-25

阿里云主机每小时产生一个hs_err_pid.log的文件,内容如下:rn]# cat hs_err_pid20341.logrn#rn# There is insufficient memory for the Java Runtime Environment to continue.rn# pthread_getattr_nprn# Possible reasons:rn# The system is out of physical RAM or swap spacern# In 32 bit mode, the process size limit was hitrn# Possible solutions:rn# Reduce memory load on the systemrn# Increase physical memory or swap spacern# Check if swap backing store is fullrn# Use 64 bit Java on a 64 bit OSrn# Decrease Java heap size (-Xmx/-Xms)rn# Decrease number of Java threadsrn# Decrease Java thread stack sizes (-Xss)rn# Set larger code cache with -XX:ReservedCodeCacheSize=rn# This output file may be truncated or incomplete.rn#rn# Out of Memory Error (os_linux_x86.cpp:715), pid=20341, tid=140397934696192rn#rn# JRE version: 6.0_45-b06rn# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.45-b01 mixed mode linux-amd64 compressed oops)rnrn--------------- T H R E A D ---------------rnrnCurrent thread (0x00007fb0ec080000): JavaThread "Signal Dispatcher" daemon [_thread_new, id=20346, stack(0x0000000000000000,0x0000000000000000)]rnrnStack: [0x0000000000000000,0x0000000000000000], sp=0x00007fb0f1064860, free space=137107358098krnNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)rnV [libjvm.so+0x861e05]rnrnfree查看了下系统的内存:rn]# freern total used free shared buffers cachedrnMem: 1920740 1476204 444536 0 164140 354808rn-/+ buffers/cache: 957256 963484rnSwap: 0 0 0rnrn系统中运行了一个tomcat+1web应用,想请问大侠们这个是什么原因?如何解决? 论坛

散尽积分求大神帮忙分析jvm crash的log

03-19

[b]1.[/b]环境 server2008r2, 24c+128g内存, 略高并发系统rnrn[b]2.[/b]从上周一开始, 系统会不定时的挂掉, 表现为tomcat直接不见了, tomcat的bin下会生成一个hs_err_pid.mdmp,也没有log文件, 后来一直录屏看到一次错误信息如下图, 出现如下图内容时, tomcat已经停止服务, jconsole里面看内存和cpu已经探底rn[img=https://img-bbs.csdn.net/upload/201903/19/1552956704_207244.png][/img]rnrn[b]3.[/b]感觉已经能排除高并发问题, 因为有时候系统会半夜11点突然挂掉rnrn[b]4.[/b]后来配了一堆参数, 现在能间歇的打印hs_err_pid.log了, 特地粘上来让大神帮忙分析下rnrn#rn# A fatal error has been detected by the Java Runtime Environment:rn#rn# Internal Error (sharedRuntime.cpp:834), pid=5632, tid=14464rn# fatal error: exception happened outside interpreter, nmethods and vtable stubs at pc 0x0000000002cc4990rn#rn# JRE version: Java(TM) SE Runtime Environment (8.0_40-b25) (build 1.8.0_40-b25)rn# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.40-b25 mixed mode windows-amd64 )rn# Core dump written. Default location: E:\zhkt\env\apache-tomcat-7.0.41\bin\hs_err_pid5632.mdmprn#rn# If you would like to submit a bug report, please visit:rn# http://bugreport.java.com/bugreport/crash.jsprn#rn--------------- T H R E A D ---------------rnrnCurrent thread (0x0000000078d31000): JavaThread "http-nio-443-exec-253" daemon [_thread_in_Java, id=14464, stack(0x0000001542320000,0x0000001542420000)]rnrnStack: [0x0000001542320000,0x0000001542420000]rnNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)rnV [jvm.dll+0x32b47a]rnV [jvm.dll+0x2797f3]rnV [jvm.dll+0x27a489]rnV [jvm.dll+0x271726]rnV [jvm.dll+0x228b8e]rnV [jvm.dll+0x297cb0]rnV [jvm.dll+0x32b308]rnC [ntdll.dll+0x2812d]rnC [ntdll.dll+0x1855f]rnC [ntdll.dll+0x4bcb8]rnC 0x0000000002cc4990rnrnrn 论坛

有人知道 jvm crash log 怎么分析吗?

11-23

有人知道 jvm crash log 怎么分析吗?或有相关的资料也行rnrnlog 如下:rnrnrn#rn# An unexpected error has been detected by HotSpot Virtual Machine:rn#rn# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77de17b1, pid=1772, tid=3024rn#rn# Java VM: Java HotSpot(TM) Client VM (1.4.2_09-b05 mixed mode)rn# Problematic frame:rn# C [kernel32.dll+0x17b1]rn#rnrn--------------- T H R E A D ---------------rnrnCurrent thread (0x007f16e8): VMThread [id=3024]rnrnsiginfo: ExceptionCode=0xc0000005, reading address 0xffffffffrnrnRegisters:rnEAX=0x00000000, EBX=0x007f16e8, ECX=0x00000007, EDX=0x7ffe0304rnESP=0x02b7fe18, EBP=0x02b7fe74, ESI=0x00377b80, EDI=0x02b7fe2crnEIP=0x77de17b1, EFLAGS=0x00010246rnrnTop of Stack: (sp=0x02b7fe18)rn0x02b7fe18: 00000000 00377b80 007f16e8 00000024rn0x02b7fe28: 00000001 007f16e8 00000024 00000001rn0x02b7fe38: 00000000 00000000 00000000 00000000rn0x02b7fe48: 00000000 00000000 00000000 080e33e0rn0x02b7fe58: 00000000 02b7fe18 02b7fa40 02b7ff74rn0x02b7fe68: 77e10abc 77e18ee0 ffffffff 02b7fed8rn0x02b7fe78: 77de168f 00000730 ffffffff 00000000rn0x02b7fe88: 080a3b18 00000730 ffffffff 080a2e0e rnrnInstructions: (pc=0x77de17b1)rn0x77de17a1: 00 c7 45 b4 01 00 00 00 6a 07 59 33 c0 8d 7d b8rn0x77de17b1: f3 ab 33 ff 39 7d 10 0f 85 81 00 00 00 89 7d fc rnrnrnStack: [0x02a80000,0x02b80000), sp=0x02b7fe18, free space=1023krnNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)rnC [kernel32.dll+0x17b1]rnC [kernel32.dll+0x168f]rnV [jvm.dll+0xb9f1e]rnV [jvm.dll+0xe081e]rnV [jvm.dll+0xe0595]rnC [MSVCRT.dll+0x291ed]rnC [kernel32.dll+0xa990]rnrnVM_Operation (0x0698f224): generation collection for allocation, mode: safepoint, requested by thread 0x039a8bf8rnrnrn--------------- P R O C E S S ---------------rnrnJava Threads: ( => current thread )rn 0x06c5f2b0 JavaThread "jrpp-29" [_thread_in_vm, id=5656]rn 0x06c75a08 JavaThread "jrpp-28" [_thread_in_vm, id=3404]rn 0x039a26c0 JavaThread "jrpp-27" [_thread_in_Java, id=4200]rn 0x08977928 JavaThread "jrpp-26" [_thread_in_native, id=3120]rn 0x06e1fdc0 JavaThread "jrpp-23" [_thread_in_native, id=1728]rn 0x039a8bf8 JavaThread "jrpp-22" [_thread_blocked, id=3972]rn 0x031a35d0 JavaThread "jrpp-21" [_thread_in_vm, id=3392]rn 0x06d59408 JavaThread "jrpp-19" [_thread_in_native, id=4420]rn 0x09240440 JavaThread "jrpp-16" [_thread_blocked, id=4292]rn 0x06d486d0 JavaThread "jrpp-15" [_thread_in_native, id=1768]rn 0x0716dc60 JavaThread "jrpp-10" [_thread_in_native, id=5560]rn 0x0396cea0 JavaThread "AWT-Windows" daemon [_thread_in_native, id=4208]rn 0x06bd6938 JavaThread "DB Connection Watcher" [_thread_blocked, id=2620]rn 0x032664e0 JavaThread "jndi-5" [_thread_blocked, id=1164]rn 0x003784c0 JavaThread "DestroyJavaVM" [_thread_blocked, id=6064]rn 0x03d4bc38 JavaThread "Thread-7" daemon [_thread_in_native, id=2080]rn 0x03b841c8 JavaThread "Thread-6" [_thread_blocked, id=296]rn 0x0337e408 JavaThread "Thread-5" [_thread_blocked, id=2392]rn 0x039a2ab8 JavaThread "scheduler-21" [_thread_blocked, id=2976]rn 0x0399d970 JavaThread "scheduler-20" [_thread_blocked, id=4624]rn 0x0399db68 JavaThread "mipc-1" [_thread_in_native, id=636]rn 0x0397c208 JavaThread "Thread-4" [_thread_blocked, id=2920]rn 0x03998300 JavaThread "clock" daemon [_thread_blocked, id=6028]rn 0x03967a70 JavaThread "scheduler-19" [_thread_blocked, id=2216]rn 0x03967008 JavaThread "scheduler-18" [_thread_blocked, id=5524]rn 0x0337d4a0 JavaThread "scheduler-17" [_thread_blocked, id=6056]rn 0x0398b998 JavaThread "scheduler-16" [_thread_blocked, id=5824]rn 0x0398aed8 JavaThread "scheduler-15" [_thread_blocked, id=496]rn 0x0398a418 JavaThread "scheduler-14" [_thread_blocked, id=3472]rn 0x03989958 JavaThread "scheduler-13" [_thread_blocked, id=5364]rn 0x03988e98 JavaThread "scheduler-12" [_thread_blocked, id=1028]rn 0x039883d8 JavaThread "scheduler-11" [_thread_blocked, id=3460]rn 0x03987918 JavaThread "scheduler-10" [_thread_blocked, id=2404]rn 0x03976a90 JavaThread "scheduler-9" [_thread_blocked, id=2268]rn 0x03976008 JavaThread "scheduler-8" [_thread_blocked, id=4400]rn 0x03376e30 JavaThread "scheduler-7" [_thread_blocked, id=5004]rn 0x03376c08 JavaThread "scheduler-6" [_thread_blocked, id=2524]rn 0x03376208 JavaThread "scheduler-5" [_thread_blocked, id=2476]rn 0x0396a970 JavaThread "scheduler-4" [_thread_blocked, id=5380]rn 0x0396a008 JavaThread "scheduler-3" [_thread_blocked, id=260]rn 0x03986408 JavaThread "scheduler-2" [_thread_blocked, id=4336]rn 0x03974808 JavaThread "scheduler-1" [_thread_blocked, id=4880]rn 0x033788f0 JavaThread "scheduler-0" [_thread_blocked, id=2288]rn 0x039774f0 JavaThread "Transaction Domain PrivateJmsDomain" [_thread_blocked, id=6032]rn 0x03977370 JavaThread "Transaction Domain DefaultDomain" [_thread_blocked, id=5092]rn 0x03977820 JavaThread "tyrex.util.daemonMaster" daemon [_thread_blocked, id=4360]rn 0x03375408 JavaThread "jndi-4" [_thread_blocked, id=2880]rn 0x039704f8 JavaThread "jndi-3" [_thread_in_native, id=5920]rn 0x0396fb90 JavaThread "jndi-2" [_thread_blocked, id=4220]rn 0x03970c18 JavaThread "jndi-0" [_thread_blocked, id=4152]rn 0x0335c578 JavaThread "jms-fifo-5" [_thread_blocked, id=4788]rn 0x0335a5f8 JavaThread "jms-fifo-4" [_thread_blocked, id=5772]rn 0x0335a3f8 JavaThread "jms-fifo-3" [_thread_blocked, id=4500]rn 0x0335ddc8 JavaThread "jms-fifo-2" [_thread_blocked, id=4564]rn 0x0335f7b8 JavaThread "jms-fifo-1" [_thread_blocked, id=5716]rn 0x03357908 JavaThread "GC Daemon" daemon [_thread_blocked, id=5084]rn 0x03352b08 JavaThread "RMI Reaper" [_thread_blocked, id=5728]rn 0x032cbde8 JavaThread "Thread-2" daemon [_thread_blocked, id=3056]rn 0x03330008 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=4140]rn 0x007f2290 JavaThread "CompilerThread0" daemon [_thread_blocked, id=4628]rn 0x007b2898 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2104]rn 0x007b0868 JavaThread "Finalizer" daemon [_thread_blocked, id=768]rn 0x007af4d8 JavaThread "Reference Handler" daemon [_thread_blocked, id=4920]rnrn 论坛

没有更多推荐了,返回首页