JDK-8305197 : [macos] WebView crashes App
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: jfx17
  • Priority: P4
  • Status: Resolved
  • Resolution: Cannot Reproduce
  • OS: os_x
  • CPU: x86_64
  • Submitted: 2023-03-24
  • Updated: 2023-03-29
  • Resolved: 2023-03-29
Related Reports
Relates :  
Description
A DESCRIPTION OF THE PROBLEM :
I am running into the same problem in my environment.

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.13.6
BuildVersion:	17G14042

$ /usr/libexec/java_home -V
Matching Java Virtual Machines (10):
    20, x86_64:	"OpenJDK 20"	/Library/Java/JavaVirtualMachines/temurin-20.jdk/Contents/Home
    19.0.2, x86_64:	"Zulu 19.32.13"	/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home
    17.0.4, x86_64:	"OpenJDK 17.0.4"	/Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home
    17.0.3, x86_64:	"Zulu 17.34.19"	/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home
    15.0.7, x86_64:	"Zulu 15.40.19"	/Library/Java/JavaVirtualMachines/zulu-15.jdk/Contents/Home
    15.0.2, x86_64:	"AdoptOpenJDK 15"	/Library/Java/JavaVirtualMachines/adoptopenjdk-15.jdk/Contents/Home
    14.0.1, x86_64:	"AdoptOpenJDK 14"	/Library/Java/JavaVirtualMachines/adoptopenjdk-14.jdk/Contents/Home
    11.0.6, x86_64:	"AdoptOpenJDK 11"	/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
    1.8.0_202, x86_64:	"Java SE 8"	/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home
    1.8.0_144, x86_64:	"Java SE 8"	/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home

/Library/Java/JavaVirtualMachines/temurin-20.jdk/Contents/Home

$ java -version
openjdk version "19.0.2" 2023-01-17
OpenJDK Runtime Environment Zulu19.32+13-CA (build 19.0.2+7)
OpenJDK 64-Bit Server VM Zulu19.32+13-CA (build 19.0.2+7, mixed mode, sharing)

I had the problem with my application and was able to reproduce it with the example given here.

$ java --module-path /Users/treimers/Downloads/MacOSX/javafx-sdk-17.0.6/lib/ --add-modules javafx.controls,javafx.fxml,javafx.web WebView2
Ran out of executable memory while allocating 160 bytes.
Trace/BPT trap: 5

An error dialog from Mac OS opens asking for details when sending the report to Apple.

Note: A hs_err_pid log file is not (!) generated. I pasted the contents of the error report to the text field in the web form here.

I would be glad if you can let me know how to figure out more details of the problem. Thanks in advance.

REGRESSION : Last worked in version 15


FREQUENCY : always



Comments
Checked with attached Testcase in macOS Ventura 13.2.1, with following JDK version, openjdk version "19.0.2" 2023-01-17 OpenJDK Runtime Environment Zulu19.32+13-CA (build 19.0.2+7) OpenJDK 64-Bit Server VM Zulu19.32+13-CA (build 19.0.2+7, mixed mode, sharing) Issue is not reproducible Test Result ========== jfx11: Pass jfx17: Pass jfx19: Pass jfx20: Pass jfx21ea9: Pass
29-03-2023