Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

If you have any questions, reports, suggestions, or requests about Live2D, please send them to this forum.
※We cannot guarantee statements or answers from Live2D staff. Thank you for your understanding in advance.
 
Live2D Cubism
Cubism Products and Downloads
Cubism product manuals and tutorials
Cubism Editor Manual    Cubism Editor Tutorial    Cubism SDK Manual    Cubism SDK Tutorial
For inquiries regarding issues with license purchases or license activation errors, please contact us through the email form.

Crash on startup with EXCEPTION_ACCESS_VIOLATION in OpenCL.dll - Unable to run Live2D Cubism

I am encountering a persistent crash issue when trying to launch Live2D Cubism 5.2 on my Windows 11 system. The program fails to start and immediately crashes with an error related to OpenCL.dll, resulting in an EXCEPTION_ACCESS_VIOLATION. I have attached the crash log (hs_err_pid*.log) for your reference.

**System Environment:**

- OS: Windows 11 64-bit (Build 26100)
- CPU: Intel Core i5-14500 (20 cores)
- RAM: 32 GB
- Java Version: OpenJDK 17.0.9+11-LTS (Java HotSpot 64-bit Server VM)
- Graphics Card: 4070super
- Graphics Driver: ver.581.08
- Live2D Software Version: Cubism Editor 5.2.03

**Problem Description:**

- The crash occurs within native code during OpenCL.dll library calls.
- The error in the log pinpoints an EXCEPTION_ACCESS_VIOLATION at OpenCL.dll+0x24ac.
- The error happens almost immediately on startup, preventing any UI from being shown.

**Troubleshooting Steps Taken:**

1. Updated Windows 11 system to the latest patches and builds.
2. Updated GPU drivers to the latest official release (NVIDIA/AMD/Intel).
3. Tried launching Cubism with the JVM parameter `-Djogamp.opencl.disable=true` to disable OpenCL usage, but the crash still occurs.
4. Verified Java JDK version and environment — using the officially recommended JDK 17 LTS version.
5. Attempted to run as administrator and in compatibility mode for earlier Windows versions.

Despite following these steps, the issue persists consistently.

Tagged:

Comments

  • #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffbe16724ac, pid=3164, tid=21596
    #
    # JRE version: Java(TM) SE Runtime Environment (17.0.9+11) (build 17.0.9+11-LTS-201)
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0.9+11-LTS-201, mixed mode, sharing, tiered, compressed class ptrs, g1 gc, windows-amd64)
    # Problematic frame:
    # C [OpenCL.dll+0x24ac]
    #
    # No core dump will be written. Minidumps are not enabled by default on client versions of Windows
    #
    # If you would like to submit a bug report, please visit:
    # https://bugreport.java.com/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    #

    --------------- S U M M A R Y ------------

    Command Line: -Djogamp.opencl.disable=true -Djava.library.path=app\dll64;app\dll64\windows-amd64 -Djogamp.gluegen.UseTempJarCache=false -Dsun.java2d.d3d=false -Duser.language=zh -XX:MaxRAMPercentage=100 -Djava.locale.providers=COMPAT,SPI com.live2d.cubism.CECubismEditorApp

    Host: Intel(R) Core(TM) i5-14500, 20 cores, 31G, Windows 11 , 64 bit Build 26100 (10.0.26100.4768)
    Time: Wed Aug 20 05:15:45 2025 Windows 11 , 64 bit Build 26100 (10.0.26100.4768) elapsed time: 1.075443 seconds (0d 0h 0m 1s)

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

    Current thread (0x00000251b665e4c0): JavaThread "main" [_thread_in_native, id=21596, stack(0x00000092eba00000,0x00000092ebb00000)]

    Stack: [0x00000092eba00000,0x00000092ebb00000], sp=0x00000092ebafef18, free space=1019k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [OpenCL.dll+0x24ac]

    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j com.jogamp.opencl.llb.impl.CLImpl11.dispatch_clGetPlatformInfo0(JIJLjava/lang/Object;ILjava/lang/Object;IJ)I+0
    j com.jogamp.opencl.llb.impl.CLImpl11.clGetPlatformInfo(JIJLjava/nio/Buffer;Lcom/jogamp/common/nio/PointerBuffer;)I+106
    j com.jogamp.opencl.impl.CLTLAccessorFactory$CLTLPlatformInfoAccessor.getInfo(IJLjava/nio/Buffer;Lcom/jogamp/common/nio/PointerBuffer;)I+14
    j com.jogamp.opencl.impl.CLTLInfoAccessor.getString(I)Ljava/lang/String;+10
    j com.jogamp.opencl.CLPlatform.getInfoString(I)Ljava/lang/String;+5
    j com.jogamp.opencl.CLPlatform.(JLcom/jogamp/opencl/spi/CLAccessorFactory;)V+57
    j com.jogamp.opencl.CLPlatform.(J)V+3
    j com.jogamp.opencl.CLPlatform.listCLPlatforms([Lcom/jogamp/opencl/util/Filter;)[Lcom/jogamp/opencl/CLPlatform;+87
    j com.jogamp.opencl.CLPlatform.listCLPlatforms()[Lcom/jogamp/opencl/CLPlatform;+4
    j com.live2d.cubism.CECubismEditorApp.d()V+1
    j com.live2d.cubism.CECubismEditorApp.main([Ljava/lang/String;)V+261
    v ~StubRoutines::call_stub

    siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0x00007ffb7c78f9c8


  • Register to memory mapping:

    RIP=0x00007ffbe16724ac OpenCL.dll
    RAX=0x00007ffbe16724a0 OpenCL.dll
    RBX={method} {0x0000025a250716c0} 'dispatch_clGetPlatformInfo0' '(JIJLjava/lang/Object;ILjava/lang/Object;IJ)I' in 'com/jogamp/opencl/llb/impl/CLImpl11'
    RCX=0x0000025a2a835840 points into unknown readable memory: 0x00007ffb7c78f9c0 | c0 f9 78 7c fb 7f 00 00
    RDX=0x0000000000000901 is an unknown value
    RSP=0x00000092ebafef18 is pointing into the stack for thread: 0x00000251b665e4c0
    RBP=0x00000092ebafeff0 is pointing into the stack for thread: 0x00000251b665e4c0
    RSI=0x00000000000001c0 is an unknown value
    RDI=0x0000000000000042 is an unknown value
    R8 =0x0 is NULL
    R9 =0x0 is NULL
    R10=0x00007ffb7c78f9c0 is an unknown value
    R11=0x000000000000000e is an unknown value
    R12=0x000002520c44ff60 is pointing into object: [Ljava.lang.Object;
    {0x000002520c44ff50} - klass: 'java/lang/Object'[]
    - length: 10
    R13={method} {0x0000025a250716c0} 'dispatch_clGetPlatformInfo0' '(JIJLjava/lang/Object;ILjava/lang/Object;IJ)I' in 'com/jogamp/opencl/llb/impl/CLImpl11'
    R14=0x00000092ebaff068 is pointing into the stack for thread: 0x00000251b665e4c0
    R15=0x00000251b665e4c0 is a thread


    Registers:
    RAX=0x00007ffbe16724a0, RBX=0x0000025a250716b8, RCX=0x0000025a2a835840, RDX=0x0000000000000901
    RSP=0x00000092ebafef18, RBP=0x00000092ebafeff0, RSI=0x00000000000001c0, RDI=0x0000000000000042
    R8 =0x0000000000000000, R9 =0x0000000000000000, R10=0x00007ffb7c78f9c0, R11=0x000000000000000e
    R12=0x000002520c44ff60, R13=0x0000025a250716b8, R14=0x00000092ebaff068, R15=0x00000251b665e4c0
    RIP=0x00007ffbe16724ac, EFLAGS=0x0000000000010202

    Top of Stack: (sp=0x00000092ebafef18)
    0x00000092ebafef18: 00000251c534d621 00000092ebafef79
    0x00000092ebafef28: 00007ffb7f05ff77 0000025a2505c80b
    0x00000092ebafef38: 00000251b41c8bc0 0000025a29eb9340
    0x00000092ebafef48: 0000000000000000 0000009200000000
    0x00000092ebafef58: 00000092ebaff028 0000025a00000000
    0x00000092ebafef68: 00007ffbe16724a0 0000025a250f4da0
    0x00000092ebafef78: 0000000000000000 000002520c43e280
    0x00000092ebafef88: 0000025a250f42b0 0000000000000000
    0x00000092ebafef98: 00000092ebafefb0 00000092ebaff008
    0x00000092ebafefa8: 00000092ebafefa8 0000000000000000
    0x00000092ebafefb8: 00000092ebaff068 0000025a25080000
    0x00000092ebafefc8: 0000000000000000 000002520c2907e8
    0x00000092ebafefd8: 0000025a250716b8 0000000000000000
    0x00000092ebafefe8: 00000092ebaff010 00000092ebaff0b8
    0x00000092ebafeff8: 00000251c5349612 0000000000000000
    0x00000092ebaff008: 00000251c534af76 00007ffbe16724a0

    Instructions: (pc=0x00007ffbe16724ac)
    0x00007ffbe16723ac: ff 48 85 c0 75 21 48 85 ff 74 1a 48 8b 07 48 8b
    0x00007ffbe16723bc: d3 48 8b cf 48 8b 5c 24 30 48 83 c4 20 5f 48 ff
    0x00007ffbe16723cc: a0 58 03 00 00 33 c0 48 8b 5c 24 30 48 83 c4 20
    0x00007ffbe16723dc: 5f c3 cc cc 48 89 5c 24 08 57 48 83 ec 20 48 8b
    0x00007ffbe16723ec: da 48 8b f9 48 85 d2 75 0d 33 c0 48 8b 5c 24 30
    0x00007ffbe16723fc: 48 83 c4 20 5f c3 48 8b cb e8 b6 f6 ff ff 48 85
    0x00007ffbe167240c: c0 75 14 48 85 ff 74 e1 48 8b 07 48 8b d3 48 8b
    0x00007ffbe167241c: cf ff 90 58 03 00 00 48 8b 5c 24 30 48 83 c4 20
    0x00007ffbe167242c: 5f c3 cc cc 48 89 5c 24 08 57 48 83 ec 20 48 8b
    0x00007ffbe167243c: fa 48 8b d9 48 8d 15 09 19 00 00 45 33 c9 48 8d
    0x00007ffbe167244c: 0d ff b1 06 00 45 33 c0 ff 15 4e 0c 05 00 48 85
    0x00007ffbe167245c: ff 75 0d 33 c0 48 8b 5c 24 30 48 83 c4 20 5f c3
    0x00007ffbe167246c: 48 8b cf e8 4c f6 ff ff 48 85 c0 75 14 48 85 db
    0x00007ffbe167247c: 74 e1 48 8b 03 48 8b d7 48 8b cb ff 90 58 03 00
    0x00007ffbe167248c: 00 48 8b 5c 24 30 48 83 c4 20 5f c3 cc cc cc cc
    0x00007ffbe167249c: cc cc cc cc 48 85 c9 75 04 8d 41 e0 c3 4c 8b 11
    0x00007ffbe16724ac: 49 ff 62 08 48 85 c9 75 04 8d 41 e0 c3 4c 8b 11
    0x00007ffbe16724bc: 49 ff 62 10 48 85 c9 75 04 8d 41 df c3 4c 8b 11
    0x00007ffbe16724cc: 49 ff 62 18 85 d2 74 2c 4d 85 c0 74 27 4d 8b 10
    0x00007ffbe16724dc: 48 8b 44 24 30 4d 85 d2 75 0e 48 85 c0 74 25 c7
    0x00007ffbe16724ec: 00 df ff ff ff 33 c0 c3 4d 8b 12 48 89 44 24 30
    0x00007ffbe16724fc: 49 ff 62 20 48 8b 44 24 30 48 85 c0 74 06 c7 00
    0x00007ffbe167250c: e2 ff ff ff 33 c0 c3 cc cc cc cc cc cc cc cc cc
    0x00007ffbe167251c: cc cc cc cc 48 89 5c 24 08 48 89 6c 24 10 48 89
    0x00007ffbe167252c: 74 24 18 57 48 83 ec 30 49 8b f9 49 8b f0 48 8b
    0x00007ffbe167253c: ea 48 8b d9 45 33 c9 48 8d 15 06 18 00 00 45 33
    0x00007ffbe167254c: c0 48 8d 0d fc b0 06 00 ff 15 4e 0b 05 00 48 85
    0x00007ffbe167255c: db 75 12 4c 8b 15 e2 b0 06 00 4d 85 d2 74 06 4d
    0x00007ffbe167256c: 8b 52 18 eb 2a 45 33 d2 48 8b c3 48 85 db 74 43
    0x00007ffbe167257c: 0f 1f 40 00 48 8b 08 48 85 c9 74 13 48 81 f9 84
    0x00007ffbe167258c: 10 00 00 75 04 4c 8b 50 08 48 83 c0 10 75 e5 4d
    0x00007ffbe167259c: 85 d2 74 1f 48 8b 44 24 60 4c 8b cf 4d 8b 12 4c


    Stack slot to memory mapping:
    stack at sp + 0 slots: 0x00000251c534d621 is at code_begin+993 in an Interpreter codelet
    method entry point (kind = native) [0x00000251c534d240, 0x00000251c534dbc0] 2432 bytes
    stack at sp + 1 slots: 0x00000092ebafef79 is pointing into the stack for thread: 0x00000251b665e4c0
    stack at sp + 2 slots: 0x00007ffb7f05ff77 jvm.dll
    stack at sp + 3 slots: 0x0000025a2505c80b is pointing into metadata
    stack at sp + 4 slots: 0x00000251b41c8bc0 points into unknown readable memory: 0x000002520c43e718 | 18 e7 43 0c 52 02 00 00
    stack at sp + 5 slots: 0x0000025a29eb9340 points into unknown readable memory: 0x0000000000000018 | 18 00 00 00 00 00 00 00
    stack at sp + 6 slots: 0x0 is NULL
    stack at sp + 7 slots: 0x0000009200000000 is an unknown value

  • Hi @j955229

    Thank you for using our product.
    Please let us confirm a few things.


    When did it stop starting up?
    Was it immediately after installing it on your PC?
    Or was it working fine before, but suddenly stopped starting up?

    If it happened suddenly, were there any driver updates or Windows updates before or after?


    Can you install and launch Cubism Editor 5.0.02?
    This version can be downloaded from here.
    https://www.live2d.com/en/cubism/download/editor/


    Would downgrading the graphics driver version improve the situation?


    We have been investigating issues similar to yours in the following topic. Please refer to it and try any steps you have not yet attempted.
    https://community.live2d.com/discussion/1921/the-latest-version-of-ive2d-does-not-run

    Thank you.
  • edited August 21

    Hi @j955229

    Thank you for using our product.
    Please let us confirm a few things.


    When did it stop starting up?
    Was it immediately after installing it on your PC?
    Or was it working fine before, but suddenly stopped starting up?

    If it happened suddenly, were there any driver updates or Windows updates before or after?


    Can you install and launch Cubism Editor 5.0.02?
    This version can be downloaded from here.
    https://www.live2d.com/en/cubism/download/editor/


    Would downgrading the graphics driver version improve the situation?


    We have been investigating issues similar to yours in the following topic. Please refer to it and try any steps you have not yet attempted.
    https://community.live2d.com/discussion/1921/the-latest-version-of-ive2d-does-not-run

    Thank you.

    Thank you for your continued support.

    ① The problem occurs immediately after installing Cubism Editor version 5.2. The program fails to start right away; it has never launched successfully on my PC after installation.

    ② I am able to install and run Cubism Editor 5.0.02 without any issues. However, my workflow requires the Material Separation Photoshop Plugin, which is only available in Cubism Editor 5.2. Using an older version does not meet my needs.

    ③ The issue was present even before updating my graphics driver, and persists after upgrading to the latest version. Downgrading and upgrading the graphics driver do not resolve the startup problem.

    ④ I have carefully reviewed and attempted all suggested solutions in the referenced discussion (https://community.live2d.com/discussion/1921/the-latest-version-of-ive2d-does-not-run), but none have worked in my case.

    Additionally, my system has the correct Java environments installed (Java 8, Java 17, Java 21), and I am using the recommended Java 17 for Cubism.
    I have also checked for any AMD OpenCL files or registry entries as per your guidance, and found none; my system only has Intel CPU and NVIDIA GPU.

    Since I urgently need to use Cubism Editor 5.2 for its plugin compatibility, I would appreciate any further assistance or advice you can provide.

    Thank you very much.
  • Hi @j955229

    Thank you for your reply.

    We have investigated the issue, but have not been able to resolve the error.

    We have a few questions we would like to ask.

    What is Java 17, which is recommended for Cubism? Cubism Editor uses the JRE that is installed during installation.

    If you have changed the bat file to refer to something else, please revert it back to the original.

    The Material Separation Photoshop Plugin can be used regardless of the Cubism Editor version. It is not limited to Cubism Editor 5.2.

    How many monitors are connected to your PC? For investigation purposes, please confirm whether you can start up using only the graphics card and one monitor. Do not connect the onboard HDMI and monitor.


    Additionally, please send us the files for troubleshooting purposes.
    hs_err_pid*.log file (full error log)

    Please store the files in this data box.
    https://biz.datadeliver.net/posts/DQKdVAxdKAYF


    Thank you for your cooperation.
Sign In or Register to comment.