Maybe you could try an older version of the JDK or JRE?
Jonathan Robie jonathan.robie@gmail.com schrieb am Mi., 10. Jan. 2024, 19:41:
I should have included this:
% java --version openjdk 21.0.1 2023-10-17 LTS OpenJDK Runtime Environment Temurin-21.0.1+12 (build 21.0.1+12-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.1+12 (build 21.0.1+12-LTS, mixed mode)
% basexgui 2024-01-10 13:40:21.624 java[56086:5869820] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:. # # A fatal error has been detected by the Java Runtime Environment: # # SIGILL (0x4) at pc=0x00007ff80e07cb73, pid=56086, tid=259 # # JRE version: OpenJDK Runtime Environment Homebrew (21.0.1) (build 21.0.1) # Java VM: OpenJDK 64-Bit Server VM Homebrew (21.0.1, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64) # Problematic frame: # C [AppKit+0xc8fb73] _NSCarbonMenuCrashIfNeeded+0x258 # # Core dump will be written. Default location: /cores/core.56086 # # An error report file with more information is saved as: # /Users/jonathan/github/Clear/hs_err_pid56086.log # # If you would like to submit a bug report, please visit: # https://github.com/Homebrew/homebrew-core/issues # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # zsh: abort basexgui
On Wed, Jan 10, 2024 at 1:30 PM Jonathan Robie jonathan.robie@gmail.com wrote:
Sigh - I just did that, it still crashes ...
Jonathan
On Wed, Jan 10, 2024 at 1:22 PM Jonathan Robie jonathan.robie@gmail.com wrote:
Thanks for the prompt, helpful response!
Jonathan
On Wed, Jan 10, 2024 at 5:54 AM Christian Grün < christian.gruen@gmail.com> wrote:
Hi Jonathan,
This problem is related to Homebrew and Apple [1], and does not seem to be solved yet.
There are alternatives, though. One solution that has been suggested by my colleague Michael is to:
- Uninstall the homebrew openjdk: brew uninstall openjdk --ignore-dependencies
- Manual install Adoptium Open JDK (11 or later): https://adoptium.net:
See [2] for further information.
Hope this helps, Christian
[1] https://github.com/Homebrew/homebrew-core/issues/150824 [2] https://www.mail-archive.com/basex-talk@mailman.uni-konstanz.de/msg15457.htm...
On Tue, Jan 9, 2024 at 9:17 PM Jonathan Robie jonathan.robie@gmail.com wrote:
Basexgui has been crashing for me.
I thought my environment might be messed up, so I uninstalled brew, reinstalled it, and checked my environment.
Then I ran basexgui, and got another crash.
% basexgui
2024-01-09 15:09:58.791 java[18502:5023580] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:. # # A fatal error has been detected by the Java Runtime Environment: # # SIGILL (0x4) at pc=0x00007ff80e07cb73, pid=18502, tid=259 # # JRE version: OpenJDK Runtime Environment Homebrew (21.0.1) (build 21.0.1) # Java VM: OpenJDK 64-Bit Server VM Homebrew (21.0.1, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64) # Problematic frame: # C [AppKit+0xc8fb73] _NSCarbonMenuCrashIfNeeded+0x258 # # Core dump will be written. Default location: /cores/core.18502 # # An error report file with more information is saved as: # /Users/jonathan/github/Clear/hs_err_pid18502.log # # If you would like to submit a bug report, please visit: # https://github.com/Homebrew/homebrew-core/issues # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # zsh: abort basexgui
What should I do?
Jonathan