Skip to content

Java应用程序崩溃的的问题 #11

Description

@HallucinationOnce

在Sm3、Sm4Cbc传入long sm4_cbc_ctx、sm3_cbc_ctx时,Java应用程序崩溃,发生了SIGSEGV信号,访问了无效的内存地址:

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

SIGSEGV (0xb) at pc=0x00007ff5b9ec91b1, pid=31540, tid=0x00007ff5fe54f700

JRE version: OpenJDK Runtime Environment (8.0_392-b08) (build 1.8.0_392-b08)

Java VM: OpenJDK 64-Bit Server VM (25.392-b08 mixed mode linux-amd64 compressed oops)

Problematic frame:

C [libgmssl.so.3+0x2a1b1] sm4_cbc_encrypt_update+0x24

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

Activity

  1. HallucinationOnce commented on Oct 30, 2023

    @HallucinationOnce
    Author

    请问,在传输过程中,重新将Sm4对象反序列化后,sm4_cbc_ctx的数值跟传输前是一样的,但是会出现如下错误,请问怎么解决
    1698634095283
    41)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions