问题解决:
公司的产品,在进行一项操作的时候,每次都会直接闪退。在工具的目录下生成的堆栈信息如下:
# EXCEPTION_STACK_OVERFLOW (0xc00000fd) at pc=0x0761dc57, pid=11900, tid=12192
#
# JRE version: 6.0_32-b05
# Java VM: Java HotSpot(TM) Client VM (20.7-b02 mixed mode windows-x86 )
# Problematic frame:
# C [platDecodedll.dll+0xdc57]
Stack: [0x04340000,0x04380000], sp=0x0437e980, free space=250k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [platDecodedll.dll+0xdc57]
[error occurred during error reporting (printing native stack), id 0xc0000005]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.zte.ums.zxwomc.tools.trace.wsf.comm.st.decode.SignalDecode3G.SignalDecodeNesting(Lcom/zte/ums/zxwomc/tools/trace/wsf/comm/st/decode/DllRetInfo;[BISSIILjava/lang/String;III)[B+0
-------------------------------------------------------
出现EXCEPTION_STACK_OVERFLOW说明是堆栈溢出错误,# C [platDecodedll.dll+0xdc57] 这里表示是动态库的内部方法中出了问题
-------------------------------------------------------
Stack: [0x04340000,0x04380000], sp=0x0437e980, free space=250k
------------这里标明了线程堆栈的内存起止地址一共256K,sp是当前指针,free space=250k表明剩余栈空间大小250K
-------------------------------------------------------
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [platDecodedll.dll+0xdc57]
它说明Crash的时候,JVM正在从哪个库文件执行代码。除了“V”以外,还有可能是“C”、“j”、“v”、“J”。具体的表示意思如下:
FrameType Description:
C: Native C frame
j: Interpreted Java frame
V: VMframe
v: VMgenerated stub frame
J: Other frame types, including compi