fastjson 进程crash了,错误信息指向SerializeWriter.writeFieldValueStringWithDoubleQuoteCheck

x6yk4ghg  于 2021-11-27  发布在  Java
关注(0)|答案(1)|浏览(650)

version:1.2.48.sec06

jdk: 1.8

出错场景:与单引号有关

hs_err报错信息:

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

SIGSEGV (0xb) at pc=0x00007f219206bc81, pid=18924, tid=0x00007f1d602ef700

JRE version: Java(TM) SE Runtime Environment (8.0_181-b13) (build 1.8.0_181-b13)

Java VM: Java HotSpot(TM) 64-Bit Server VM (25.181-b13 mixed mode linux-amd64 compressed oops)

Problematic frame:

J 10039 C2 com.alibaba.fastjson.serializer.SerializeWriter.writeFieldValueStringWithDoubleQuoteCheck(CLjava/lang/String;Ljava/lang/String;)V (1717 bytes) @ 0x00007f219206bc81 [0x00007f219206bc00+0x81]

Core dump written. Default location: /data/mrdapp/attn-api-online/bin/core or core.18924

If you would like to submit a bug report, please visit:

http://bugreport.java.com/bugreport/crash.jsp

Stack: [0x00007f1d601ef000,0x00007f1d602f0000], sp=0x00007f1d602ed610, free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
J 10039 C2 com.alibaba.fastjson.serializer.SerializeWriter.writeFieldValueStringWithDoubleQuoteCheck(CLjava/lang/String;Ljava/lang/String;)V (1717 bytes) @ 0x00007f219206bc81 [0x00007f219206bc00+0x81]
J 10502 C2 com.alibaba.fastjson.serializer.ASMSerializer_5_Feed4Show.writeDirectNonContext(Lcom/alibaba/fastjson/serializer/JSONSerializer;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/reflect/Type;I)V (1511 bytes) @ 0x00007f2193431d5c [0x00007f2193430ee0+0xe7c]
J 10491 C2 com.alibaba.fastjson.serializer.ASMSerializer_5_Feed4Show.write(Lcom/alibaba/fastjson/serializer/JSONSerializer;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/reflect/Type;I)V (1607 bytes) @ 0x00007f21933ee7f0 [0x00007f21933ee780+0x70]
J 7568 C2 com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/reflect/Type;I)V (60 bytes) @ 0x00007f2192a4bb9c [0x00007f2192a4bb00+0x9c]
J 8235 C1 com.alibaba.fastjson.serializer.ASMSerializer_1_PageData.writeDirectNonContext(Lcom/alibaba/fastjson/serializer/JSONSerializer;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/reflect/Type;I)V (381 bytes) @ 0x00007f219188c59c [0x00007f219188aba0+0x19fc]
J 8234 C1 com.alibaba.fastjson.serializer.ASMSerializer_1_PageData.write(Lcom/alibaba/fastjson/serializer/JSONSerializer;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/reflect/Type;I)V (469 bytes) @ 0x00007f2191c732cc [0x00007f2191c70a40+0x288c]
J 7030 C1 com.alibaba.fastjson.serializer.MapSerializer.write(Lcom/alibaba/fastjson/serializer/JSONSerializer;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/reflect/Type;IZ)V (1270 bytes) @ 0x00007f219289ed7c [0x00007f21928973c0+0x79bc]
J 7029 C1 com.alibaba.fastjson.serializer.MapSerializer.write(Lcom/alibaba/fastjson/serializer/JSONSerializer;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/reflect/Type;I)V (13 bytes) @ 0x00007f219282fc94 [0x00007f219282fc00+0x94]
J 8084 C1 com.alibaba.fastjson.serializer.JSONSerializer.write(Ljava/lang/Object;)V (55 bytes) @ 0x00007f2192c7dacc [0x00007f2192c7d4c0+0x60c]
J 7726 C1 com.alibaba.fastjson.JSON.toJSONString(Ljava/lang/Object;I[Lcom/alibaba/fastjson/serializer/SerializerFeature;)Ljava/lang/String; (52 bytes) @ 0x00007f2192b00534 [0x00007f2192b002a0+0x294]

相关问题