Skip to content

Frequent crashes since moving to JDK 11 #1577

Closed

Description

@Palidino

I'm not really certain whether here or java debug is appropriate, as the crash results in both the redhat features and running/debugging to completely break.

Since moving to Oracle JDK 11, I'm finding frequent crash logs. I usually know to check for new crash logs because my running configurations bar disappears, autocompletion stops showing, no error checking, etc.

Environment
  • Operating System: MacOS Catalina 10.15.1
  • JDK version:
    java version "11.0.8" 2020-07-14 LTS
    Java(TM) SE Runtime Environment 18.9 (build 11.0.8+10-LTS)
    Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.8+10-LTS, mixed mode)
  • Visual Studio Code version: 1.47.3
  • Java extension version: 0.65.0
Steps To Reproduce
  1. Just use vscode for awhile until Java crashes.

hs_err_pid33690.log
replay_pid33690.log
client.log.2020-08-12.5.zip
log.zip

Activity

  1. fbricon commented on Aug 13, 2020

    @fbricon
    Collaborator

    can you provide your vscode settings? Have you tried with Java 11.0.7, or 14?

  2. robstryker commented on Nov 4, 2026

    @robstryker
    Contributor

    The hs_err log shows a SIGSEGV inside libjvm.dylib itself — the C2 JIT compiler thread crashed while doing loop
    optimization (PhaseIdealLoop::build_and_optimize → IdealLoopTree::check_safepts → idom/idom_no_update) on JDK 11.0.8.
    This is native HotSpot compiler code, not jdt.ls Java code — it's a known category of C2 JIT compiler bugs in early
    JDK 11 point releases (loop-optimization crashes were a recurring issue fixed across several 11.0.x updates). The
    method it was compiling (HandleFactory::getPkgFragmentRoot) is just whatever happened to be hot at the time; it's
    incidental, not the cause.

    The log.zip server log just shows the aftermath: after the JVM died mid-session, OSGi's bundle context became invalid
    and subsequent restart attempts failed with cascading BundleException/IllegalStateException — that's a normal
    consequence of the JVM having already crashed, not a separate bug.

    Closing as a bug in early jdk 11

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

Metadata

Metadata

Assignees

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