Created attachment 237377 [details] idea.log Hi, i tried run android-studio for linux with FreeBSD java. Here is bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267093 pkg info openjdk11 openjdk11-11.0.16+8.1_2 Name : openjdk11 Version : 11.0.16+8.1_2 Installed on : Sun Oct 16 14:29:59 2022 CEST Origin : java/openjdk11 Architecture : FreeBSD:13:amd64 Prefix : /usr/local Categories : java devel Licenses : GPLv2 Maintainer : java@FreeBSD.org WWW : https://openjdk.java.net/ Comment : Java Development Kit 11 Process command line: /compat/linux/android-studio/jre/bin/java --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.invoke=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.prefs/java.util.prefs=ALL-UNNAMED --add-opens java.prefs/java.util.prefs=ALL-UNNAMED --add-opens java.base/java.nio.charset=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED -Xmx2048m -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant -cp /home/maxfx/AndroidStudioProjects/MyApplication/gradle/wrapper/dists/gradle-7.0.2-bin/857tjihv64xamwrf0h14cai3r/gradle-7.0.2/wrapper/dists/gradle-7.0.2-bin/857tjihv64xamwrf0h14cai3r/gradle-7.0.2/lib/gradle-launcher-7.0.2.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 7.0.2 Please read the following process output to find out more: ----------------------- # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x000000081359c140, pid=66614, tid=973593 # # JRE version: OpenJDK Runtime Environment (11.0.10) (build 11.0.10+0-b96-7249189) # Java VM: OpenJDK 64-Bit Server VM (11.0.10+0-b96-7249189, mixed mode, tiered, compressed oops, g1 gc, linux-amd64) # Problematic frame: # J 90 c2 java.lang.String.hashCode()I java.base@11.0.10 (49 bytes) @ 0x000000081359c140 [0x000000081359bfa0+0x00000000000001a0] # # Core dump will be written. Default location: core.66614 (may not exist) # # An error report file with more information is saved as: # /usr/home/maxfx/AndroidStudioProjects/MyApplication/gradle/wrapper/dists/gradle-7.0.2-bin/857tjihv64xamwrf0h14cai3r/gradle-7.0.2/daemon/7.0.2/hs_err_pid66614.log Compiled method (c2) 924 690 4 java.util.HashMap::get (23 bytes) total in heap [0x00000008135cb310,0x00000008135cb930] = 1568 relocation [0x00000008135cb488,0x00000008135cb4b0] = 40 main code [0x00000008135cb4c0,0x00000008135cb720] = 608 stub code [0x00000008135cb720,0x00000008135cb738] = 24 metadata [0x00000008135cb738,0x00000008135cb758] = 32 scopes data [0x00000008135cb758,0x00000008135cb830] = 216 scopes pcs [0x00000008135cb830,0x00000008135cb8d0] = 160 dependencies [0x00000008135cb8d0,0x00000008135cb8d8] = 8 handler table [0x00000008135cb8d8,0x00000008135cb920] = 72 nul chk table [0x00000008135cb920,0x00000008135cb930] = 16 Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled # # If you would like to submit a bug report, please visit: # https://bugreport.java.com/bugreport/crash.jsp #
Your process command line in the dump-info is different then where java/openjdk11 is installed: /compat/linux/android-studio/jre/bin/java And the version of your "pkg info openjdk11": 11.0.16 is different then the version in the error: 11.0.10. I doubt the crash is from java/openjdk11. I think it is an embedded (Linux) java in android-studio.
(In reply to Ronald Klop from comment #1) The problem is not implemented syscalls maybe linux: jid 0 pid 27328 (clang-tidy): syscall rseq not implemented linux: jid 0 pid 27460 (clang-tidy): syscall rseq not implemented linux: jid 0 pid 27461 (clang-tidy): syscall rseq not implemented linux: jid 0 pid 32080 (clang-tidy): syscall rseq not implemented linux: jid 0 pid 32081 (clang-tidy): syscall rseq not implemented linux: jid 0 pid 32093 (clang-tidy): syscall rseq not implemented linux: jid 0 pid 32094 (clang-tidy): syscall rseq not implemented linux: jid 0 pid 32095 (java): syscall rseq not implemented linux: jid 0 pid 32095 (java): syscall clone3 not implemented linux: jid 0 pid 32095 (Sweeper thread): syscall faccessat2 not implemented linux: jid 0 pid 32096 (java): syscall rseq not implemented linux: jid 0 pid 32096 (java): syscall clone3 not implemented pid 32096 (GC Thread#2), jid 0, uid 1001: exited on signal 6 (core dumped)