Oh that’s unfortunate - I remember struggling to recreate the problem last time 
it was reported and once I got it (not) working, it was a pain to make it work 
again.

I’ll have to check my notes… 
https://mailman.uni-konstanz.de/pipermail/basex-talk/2023-October/018153.html
…so,
I think I had to remove everything; Jdk and BaseX. Afterwards I set my security 
preferences to “allow apps from App Store and trusted developers” and 
reinstalled openjdk and BaseX.  Bit of a pain!


I hope maybe this does the trick for you as well.

Best,

Michael


Am 10.01.2024 um 19:41 schrieb Jonathan Robie <jonathan.ro...@gmail.com>:


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.ro...@gmail.com<mailto:jonathan.ro...@gmail.com>> wrote:
Sigh - I just did that, it still crashes ...

Jonathan

On Wed, Jan 10, 2024 at 1:22 PM Jonathan Robie 
<jonathan.ro...@gmail.com<mailto:jonathan.ro...@gmail.com>> wrote:
Thanks for the prompt, helpful response!

Jonathan

On Wed, Jan 10, 2024 at 5:54 AM Christian Grün 
<christian.gr...@gmail.com<mailto:christian.gr...@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:

1. Uninstall the homebrew openjdk:
   brew uninstall openjdk --ignore-dependencies
2. 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.html



On Tue, Jan 9, 2024 at 9:17 PM Jonathan Robie 
<jonathan.ro...@gmail.com<mailto:jonathan.ro...@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

Reply via email to