jvm crush with EXCEPTION_ACCESS_VIOLATION when executing writeUTF method

-4

When i start my application and it happens this fatal error sometime, does anybody know what's the reason? The blow is the mainly trace, more details kindly see the link

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x028d5a8d, pid=9856, tid=8656
#
# JRE version: Java(TM) SE Runtime Environment (7.0_55-b13) (build 1.7.0_55-b13)
# Java VM: Java HotSpot(TM) Client VM (24.55-b03 mixed mode, sharing windows-x86 )
# Problematic frame:
# J  java.io.DataOutputStream.writeUTF(Ljava/lang/String;Ljava/io/DataOutput;)I
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

As the log shows, it indicates the process execute the writeUTF method failed, and received the crush signal, so is it possible the gson version has conflict with java?

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

Current thread (0x0532cc00):  JavaThread "RuntimeMqttCallback_thread_pool_0" [_thread_in_Java, id=8656, stack(0x06ec0000,0x06f10000)]

siginfo: ExceptionCode=0xc0000005, writing address 0x0000006e

Registers:
EAX=0x0000006e, EBX=0x24a15cb8, ECX=0x24972d50, EDX=0x00000021
ESP=0x06f0e980, EBP=0x06f0ea68, ESI=0x0000001f, EDI=0x0000001f
EIP=0x028d5a8d, EFLAGS=0x00010246

Top of Stack: (sp=0x06f0e980)
0x06f0e980:   00000000 00000024 00000000 24a15018
0x06f0e990:   06f0ea74 027739f9 06f0ead0 0284e518
0x06f0e9a0:   24a156d8 24a156e8 00000068 24a15688
0x06f0e9b0:   24a11e48 59c4989d 06f0ead0 028376c0
0x06f0e9c0:   0532cc05 24a15710 24a15780 0000001f
0x06f0e9d0:   0532cc05 0000001f 24972d50 028d907c
0x06f0e9e0:   24a157b0 6e182f51 06f0ea98 028d907c
0x06f0e9f0:   24a157b0 24a15710 06f0ea34 02773207 

Instructions: (pc=0x028d5a8d)
0x028d5a6d:   41 3b 53 08 0f 83 6e 05 00 00 88 44 13 0c 46 85
0x028d5a7d:   05 00 01 37 00 8b d1 8b 4c 24 58 e9 ff fe ff ff
0x028d5a8d:   8b 54 24 48 8b 7c 24 54 83 c7 02 83 fa 00 0f 84
0x028d5a9d:   15 00 00 00 8b 4a 04 81 79 2c 80 c6 62 39 0f 85 


Register to memory mapping:

EAX=0x0000006e is an unknown value
EBX=
[error occurred during error reporting (printing register info), id 0xc0000005]

Stack: [0x06ec0000,0x06f10000],  sp=0x06f0e980,  free space=314k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
J  java.io.DataOutputStream.writeUTF(Ljava/lang/String;Ljava/io/DataOutput;)I
j  sun.misc.ProxyGenerator$ConstantPool$ValueEntry.write(Ljava/io/DataOutputStream;)V+23
j  sun.misc.ProxyGenerator$ConstantPool.write(Ljava/io/OutputStream;)V+57
j  sun.misc.ProxyGenerator.generateClassFile()[B+432
j  sun.misc.ProxyGenerator.generateProxyClass(Ljava/lang/String;[Ljava/lang/Class;)[B+11
j  java.lang.reflect.Proxy.getProxyClass0(Ljava/lang/ClassLoader;[Ljava/lang/Class;)Ljava/lang/Class;+557
j  java.lang.reflect.Proxy.newProxyInstance(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;+30
j  sun.reflect.annotation.AnnotationParser.annotationForMap(Ljava/lang/Class;Ljava/util/Map;)Ljava/lang/annotation/Annotation;+21
j  sun.reflect.annotation.AnnotationParser.parseAnnotation(Ljava/nio/ByteBuffer;Lsun/reflect/ConstantPool;Ljava/lang/Class;Z)Ljava/lang/annotation/Annotation;+258
j  sun.reflect.annotation.AnnotationParser.parseAnnotations2([BLsun/reflect/ConstantPool;Ljava/lang/Class;)Ljava/util/Map;+39
j  sun.reflect.annotation.AnnotationParser.parseAnnotations([BLsun/reflect/ConstantPool;Ljava/lang/Class;)Ljava/util/Map;+11
j  java.lang.reflect.Field.declaredAnnotations()Ljava/util/Map;+28
j  java.lang.reflect.Field.getAnnotation(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;+13
j  com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getFieldNames(Ljava/lang/reflect/Field;)Ljava/util/List;+3
j  com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(Lcom/google/gson/Gson;Lcom/google/gson/reflect/TypeToken;Ljava/lang/Class;)Ljava/util/Map;+118
j  com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(Lcom/google/gson/Gson;Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter;+36
j  com.google.gson.Gson.getAdapter(Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter;+143
j  com.google.gson.internal.bind.CollectionTypeAdapterFactory.create(Lcom/google/gson/Gson;Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter;+37
j  com.google.gson.Gson.getAdapter(Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter;+143
j  com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(Lcom/google/gson/Gson;Ljava/lang/reflect/Field;Ljava/lang/String;Lcom/google/gson/reflect/TypeToken;ZZ)Lcom/google/gson/internal/bind/ReflectiveTypeAdapterFactory$BoundField;+67
j  com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(Lcom/google/gson/Gson;Lcom/google/gson/reflect/TypeToken;Ljava/lang/Class;)Ljava/util/Map;+178
j  com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(Lcom/google/gson/Gson;Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter;+36
j  com.google.gson.Gson.getAdapter(Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter;+143
j  com.google.gson.Gson.fromJson(Lcom/google/gson/stream/JsonReader;Ljava/lang/reflect/Type;)Ljava/lang/Object;+29
j  com.google.gson.Gson.fromJson(Ljava/io/Reader;Ljava/lang/reflect/Type;)Ljava/lang/Object;+9
j  com.google.gson.Gson.fromJson(Ljava/lang/String;Ljava/lang/reflect/Type;)Ljava/lang/Object;+18
j  com.google.gson.Gson.fromJson(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;+3
j  com.delta.cornerstone.common.serialization.GsonSerialization.deserialize(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;+15
j  com.delta.cornerstone.runtime.RuntimeEngine.registMeu(Lcom/delta/cornerstone/core/EventInterface;)V+8
j  com.delta.cornerstone.runtime.messaging.mqtt.RuntimeMqttCallback$2.run()V+110
j  java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95
j  java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub
V  [jvm.dll+0x13f25a]
V  [jvm.dll+0x202c1e]
V  [jvm.dll+0x13f425]
V  [jvm.dll+0x13f487]
V  [jvm.dll+0xeb7cf]
V  [jvm.dll+0x1604dc]
V  [jvm.dll+0x160f17]
V  [jvm.dll+0x1a4ab9]
C  [msvcr100.dll+0x5c556]
C  [msvcr100.dll+0x5c600]
C  [kernel32.dll+0x1337a]
C  [ntdll.dll+0x392e2]
C  [ntdll.dll+0x392b5]
java
jvm
crush
asked on Stack Overflow Apr 13, 2017 by Xinyuan.Yan • edited Apr 13, 2017 by Xinyuan.Yan

1 Answer

1

Such crash logs may be submitted to Oracle: http://bugreport.java.com/bugreport/crash.jsp

Error log reports: EXCEPTION_ACCESS_VIOLATION (0xc0000005). Windows 7, 64 bit. JDK jdk1.7.0_55 for windows-x86.

According to article: https://www.java.com/en/download/help/exception_access.xml, Oracle suspects that this issue may be caused by User Account Control (UAC) feature enabled in Windows 7 operating system.

answered on Stack Overflow Apr 13, 2017 by greenmarker

User contributions licensed under CC BY-SA 3.0