Re: [basex-talk] Crash when starting basexgui

2023-10-24 Thread Michael Seiferle
…as  others seem to experience this as well with i.e. jemeter, regardless of 
intel/arm — maybe this workaround can be of help?

https://github.com/apache/jmeter/issues/6083#issuecomment-1765484046


Best
Michael

Von: BaseX-Talk  im Auftrag von 
Michael Seiferle 
Datum: Dienstag, 24. Oktober 2023 um 16:13
An: Joe Wicentowski 
Cc: BaseX 
Betreff: Re: [basex-talk] Crash when starting basexgui
Hi Joe,

Unfortunately, I am unable to reproduce this behavior — I am running the 
following:

❯  brew install basex openjdk
Warning: basex 10.7 is already installed and up-to-date.
To reinstall 10.7, run:
  brew reinstall basex
Warning: openjdk 21 is already installed and up-to-date.
To reinstall 21, run:
  brew reinstall openjdk

❯ java -version
openjdk version "21" 2023-09-19
OpenJDK Runtime Environment Homebrew (build 21)
OpenJDK 64-Bit Server VM Homebrew (build 21, mixed mode, sharing)

Which seems to be identical to your version, the only detail different, seems 
to be that you are on x86_64 while I am running arm.

I also tried to install openjdk 17 — this seemed to work as well, maybe you 
could see if the behavior is any different with 17:

bash-3.2$ brew install openjdk@17
bash-3.2$ export JAVA_HOME=`/usr/libexec/java_home -v 17`
bash-3.2$ java -version
openjdk version "17.0.7" 2023-04-18 LTS
bash-3.2$ basexgui

Maybe someone else running Sonoma on Intel might be able to share their 
experiences; my remaining Intel Mac will not run Sonoma.


Best
Michael


Am 24.10.2023 um 14:28 schrieb Michael Seiferle :

Dear Joe,

Thanks for the report,I haven’t upgraded to Sonoma yet, but will this afternoon 
:)

I will try to reproduce the error and come back to the list. :-)


Best
Michael

Am 24.10.2023 um 13:40 schrieb Joe Wicentowski :

Hi all,

I am experiencing a crash when starting basexgui. The splash screen appears 
briefly, and then the message pasted in below appears, and I've also attached 
the referenced error report file and the crash report that appears in the Mac 
crash dialog. I'm using BaseX 10.7, installed via Homebrew (which installed 
BaseX's openjdk dependency and thus is using openjdk 21), on macOS Sonoma 
(14.0).

I'd be happy to provide any other info that would help in identifying the cause 
of the crash.

Joe


% basexgui
2023-10-24 07:34:22.308 java[69449:3862142] 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=0x7ff80d2b1b73, pid=69449, tid=259
#
# JRE version: OpenJDK Runtime Environment Homebrew (21.0) (build 21)
# Java VM: OpenJDK 64-Bit Server VM Homebrew (21, mixed mode, sharing, tiered, 
compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Problematic frame:
# C  [AppKit+0xc8fb73]  _NSCarbonMenuCrashIfNeeded+0x258
#
# No core dump will be written. Core dumps have been disabled. To enable core 
dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/joe/workspace/hsg-project/repos/hsg-shell/hs_err_pid69449.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







Re: [basex-talk] Crash when starting basexgui

2023-10-24 Thread Michael Seiferle
Hi Joe,

Unfortunately, I am unable to reproduce this behavior — I am running the 
following:

❯  brew install basex openjdk
Warning: basex 10.7 is already installed and up-to-date.
To reinstall 10.7, run:
  brew reinstall basex
Warning: openjdk 21 is already installed and up-to-date.
To reinstall 21, run:
  brew reinstall openjdk

❯ java -version
openjdk version "21" 2023-09-19
OpenJDK Runtime Environment Homebrew (build 21)
OpenJDK 64-Bit Server VM Homebrew (build 21, mixed mode, sharing)

Which seems to be identical to your version, the only detail different, seems 
to be that you are on x86_64 while I am running arm.

I also tried to install openjdk 17 — this seemed to work as well, maybe you 
could see if the behavior is any different with 17:

bash-3.2$ brew install openjdk@17
bash-3.2$ export JAVA_HOME=`/usr/libexec/java_home -v 17`
bash-3.2$ java -version
openjdk version "17.0.7" 2023-04-18 LTS
bash-3.2$ basexgui

Maybe someone else running Sonoma on Intel might be able to share their 
experiences; my remaining Intel Mac will not run Sonoma.


Best
Michael

Am 24.10.2023 um 14:28 schrieb Michael Seiferle :

Dear Joe,

Thanks for the report,I haven’t upgraded to Sonoma yet, but will this afternoon 
:)

I will try to reproduce the error and come back to the list. :-)


Best
Michael

Am 24.10.2023 um 13:40 schrieb Joe Wicentowski :


Hi all,

I am experiencing a crash when starting basexgui. The splash screen appears 
briefly, and then the message pasted in below appears, and I've also attached 
the referenced error report file and the crash report that appears in the Mac 
crash dialog. I'm using BaseX 10.7, installed via Homebrew (which installed 
BaseX's openjdk dependency and thus is using openjdk 21), on macOS Sonoma 
(14.0).

I'd be happy to provide any other info that would help in identifying the cause 
of the crash.

Joe


% basexgui
2023-10-24 07:34:22.308 java[69449:3862142] 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=0x7ff80d2b1b73, pid=69449, tid=259
#
# JRE version: OpenJDK Runtime Environment Homebrew (21.0) (build 21)
# Java VM: OpenJDK 64-Bit Server VM Homebrew (21, mixed mode, sharing, tiered, 
compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Problematic frame:
# C  [AppKit+0xc8fb73]  _NSCarbonMenuCrashIfNeeded+0x258
#
# No core dump will be written. Core dumps have been disabled. To enable core 
dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/joe/workspace/hsg-project/repos/hsg-shell/hs_err_pid69449.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







Re: [basex-talk] Crash when starting basexgui

2023-10-24 Thread Christian Grün
Hi Joe, thanks Michael,

I’m pretty sure this is something that needs to be fixed by Apple or the
OpenJDK guys. A Homebrew issue seems to point to a similar failure [1].

Maybe BaseX can be run with an older version of the JRE?

Best,
Christian

[1] https://github.com/Homebrew/homebrew-core/issues/150965



On Tue, Oct 24, 2023 at 2:28 PM Michael Seiferle  wrote:

> Dear Joe,
>
> Thanks for the report,I haven’t upgraded to Sonoma yet, but will this
> afternoon :)
>
> I will try to reproduce the error and come back to the list. :-)
>
>
> Best
> Michael
>
> Am 24.10.2023 um 13:40 schrieb Joe Wicentowski :
>
> 
> Hi all,
>
> I am experiencing a crash when starting basexgui. The splash screen
> appears briefly, and then the message pasted in below appears, and I've
> also attached the referenced error report file and the crash report that
> appears in the Mac crash dialog. I'm using BaseX 10.7, installed via
> Homebrew (which installed BaseX's openjdk dependency and thus is using
> openjdk 21), on macOS Sonoma (14.0).
>
> I'd be happy to provide any other info that would help in identifying the
> cause of the crash.
>
> Joe
>
>
> % basexgui
> 2023-10-24 07:34:22.308 java[69449:3862142] 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=0x7ff80d2b1b73, pid=69449, tid=259
> #
> # JRE version: OpenJDK Runtime Environment Homebrew (21.0) (build 21)
> # Java VM: OpenJDK 64-Bit Server VM Homebrew (21, mixed mode, sharing,
> tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
> # Problematic frame:
> # C  [AppKit+0xc8fb73]  _NSCarbonMenuCrashIfNeeded+0x258
> #
> # No core dump will be written. Core dumps have been disabled. To enable
> core dumping, try "ulimit -c unlimited" before starting Java again
> #
> # An error report file with more information is saved as:
> # /Users/joe/workspace/hsg-project/repos/hsg-shell/hs_err_pid69449.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
>
>
> 
> 
>
>


Re: [basex-talk] Crash when starting basexgui

2023-10-24 Thread Michael Seiferle
Dear Joe,

Thanks for the report,I haven’t upgraded to Sonoma yet, but will this afternoon 
:)

I will try to reproduce the error and come back to the list. :-)


Best
Michael

Am 24.10.2023 um 13:40 schrieb Joe Wicentowski :


Hi all,

I am experiencing a crash when starting basexgui. The splash screen appears 
briefly, and then the message pasted in below appears, and I've also attached 
the referenced error report file and the crash report that appears in the Mac 
crash dialog. I'm using BaseX 10.7, installed via Homebrew (which installed 
BaseX's openjdk dependency and thus is using openjdk 21), on macOS Sonoma 
(14.0).

I'd be happy to provide any other info that would help in identifying the cause 
of the crash.

Joe


% basexgui
2023-10-24 07:34:22.308 java[69449:3862142] 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=0x7ff80d2b1b73, pid=69449, tid=259
#
# JRE version: OpenJDK Runtime Environment Homebrew (21.0) (build 21)
# Java VM: OpenJDK 64-Bit Server VM Homebrew (21, mixed mode, sharing, tiered, 
compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Problematic frame:
# C  [AppKit+0xc8fb73]  _NSCarbonMenuCrashIfNeeded+0x258
#
# No core dump will be written. Core dumps have been disabled. To enable core 
dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/joe/workspace/hsg-project/repos/hsg-shell/hs_err_pid69449.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






[basex-talk] Crash when starting basexgui

2023-10-24 Thread Joe Wicentowski
Hi all,

I am experiencing a crash when starting basexgui. The splash screen appears
briefly, and then the message pasted in below appears, and I've also
attached the referenced error report file and the crash report that appears
in the Mac crash dialog. I'm using BaseX 10.7, installed via Homebrew
(which installed BaseX's openjdk dependency and thus is using openjdk 21),
on macOS Sonoma (14.0).

I'd be happy to provide any other info that would help in identifying the
cause of the crash.

Joe


% basexgui
2023-10-24 07:34:22.308 java[69449:3862142] 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=0x7ff80d2b1b73, pid=69449, tid=259
#
# JRE version: OpenJDK Runtime Environment Homebrew (21.0) (build 21)
# Java VM: OpenJDK 64-Bit Server VM Homebrew (21, mixed mode, sharing,
tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Problematic frame:
# C  [AppKit+0xc8fb73]  _NSCarbonMenuCrashIfNeeded+0x258
#
# No core dump will be written. Core dumps have been disabled. To enable
core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/joe/workspace/hsg-project/repos/hsg-shell/hs_err_pid69449.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
<>
<>