Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8259555

Webkit crashes on Apple Silicon

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: openjfx16
    • Fix Version/s: openjfx17
    • Component/s: javafx
    • Environment:

      Mac Mini with an Apple Silicon CPU running Big Sur

    • Subcomponent:
      web
    • CPU:
      aarch64
    • OS:
      os_x

      Backports

        Description

        Steps:
        * Run Ensemble
        * In the Search box, type "web". Select either WebView or WebEngine
        * Process crashes with SIGBUS:
        ```
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGBUS (0xa) at pc=0x00000001a64149cc, pid=46514, tid=771
        #
        # JRE version: OpenJDK Runtime Environment (11.0.10+7) (build 11.0.10+7-LTS)
        # Java VM: OpenJDK 64-Bit Server VM (11.0.10+7-LTS, mixed mode, tiered, compressed oops, g1 gc, bsd-aarch64)
        # Problematic frame:
        # C [libsystem_platform.dylib+0x39cc] _platform_memmove+0x9c
        #
        # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
        #
        # 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: Ensemble8.jar

        Host: Macmini9,1 arm64 1 MHz, 8 cores, 16G, Darwin 20.1.0
        Time: Mon Dec 28 15:07:57 2020 MSK elapsed time: 10.600855 seconds (0d 0h 0m 10s)

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

        Current thread (0x0000000135a4d000): JavaThread "JavaFX Application Thread" [_thread_in_native, id=771, stack(0x000000016bbc8000,0x000000016dbc8000)]

        Stack: [0x000000016bbc8000,0x000000016dbc8000], sp=0x000000016dbc1220, free space=32740k
        Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
        C [libsystem_platform.dylib+0x39cc] _platform_memmove+0x9c
        C [libjfxwebkit.dylib+0x14969b8] JSC::LinkBuffer::linkCode(JSC::MacroAssembler&, JSC::JITCompilationEffort)+0x38
        C [libjfxwebkit.dylib+0x19fd5e4] JSC::nativeForGenerator(JSC::VM&, JSC::ThunkFunctionType, JSC::CodeSpecializationKind, JSC::ThunkEntryType)+0x520
        C [libjfxwebkit.dylib+0x19ec0d4] JSC::JITThunks::ctiStub(JSC::VM&, JSC::MacroAssemblerCodeRef<(WTF::PtrTag)26129> (*)(JSC::VM&))+0x88
        C [libjfxwebkit.dylib+0x19ec2f8] JSC::JITThunks::ctiInternalFunctionCall(JSC::VM&)+0x20
        C [libjfxwebkit.dylib+0x1d5816c] JSC::VM::VM(JSC::VM::VMType, JSC::HeapType)+0x3564
        C [libjfxwebkit.dylib+0x1d5aec4] JSC::VM::create(JSC::HeapType)+0x28
        C [libjfxwebkit.dylib+0x6382dc] WebCore::commonVMSlow()+0x20
        C [libjfxwebkit.dylib+0xb2d8ac] WebCore::PageScriptDebugServer::PageScriptDebugServer(WebCore::Page&)+0x28
        C [libjfxwebkit.dylib+0xb119cc] WebCore::InspectorController::InspectorController(WebCore::Page&, WebCore::InspectorClient*)+0x160
        C [libjfxwebkit.dylib+0xc8b7dc] WebCore::Page::Page(WebCore::PageConfiguration&&)+0xd0
        C [libjfxwebkit.dylib+0xb3a20] Java_com_sun_webkit_WebPage_twkCreatePage+0x3a4
        ```

        See attached hs_err_pid46514.log

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ajoseph Arun Joseph
                Reporter:
                peterz Peter Zhelezniakov
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: