gtoolkit icon indicating copy to clipboard operation
gtoolkit copied to clipboard

v0.8.1428 beta does not launch on macOS 10.13

Open greedy opened this issue 3 years ago • 2 comments

Glamorous Toolkit v0.8.1428 does not actually run on macOS 10.13 as advertised. It crashes on start up creating the attached crash.dmp.

crash.dmp.txt

This on its own doesn't seem very informative, but since dyld was implicated in the stack trace I ran with DYLD_PRINT_APIS=1 and saw the following messages about missing __chkstk_darwin symbol and that the VM plugins had been compiled with a 10.15 target:

  dlopen() failed, error: 'dlopen(libfreetype.dylib, 10): Symbol not found: ____chkstk_darwin
  Referenced from: /Users/geoff/Downloads/GlamorousToolkit-MacOS-x86_64-v0.8.1428/GlamorousToolkit.app/Contents/MacOS/Plugins/libfreetype.dylib (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib
 in /Users/geoff/Downloads/GlamorousToolkit-MacOS-x86_64-v0.8.1428/GlamorousToolkit.app/Contents/MacOS/Plugins/libfreetype.dylib'
[...]
  dlopen() failed, error: 'dlopen(/Users/geoff/Downloads/GlamorousToolkit-MacOS-x86_64-v0.8.1428/GlamorousToolkit.app/Contents/MacOS/Plugins/libgit2.dylib, 10): Symbol not found: ____chkstk_darwin
  Referenced from: /Users/geoff/Downloads/GlamorousToolkit-MacOS-x86_64-v0.8.1428/GlamorousToolkit.app/Contents/MacOS/Plugins/libgit2.dylib (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib
 in /Users/geoff/Downloads/GlamorousToolkit-MacOS-x86_64-v0.8.1428/GlamorousToolkit.app/Contents/MacOS/Plugins/libgit2.dylib'
[...]
dlopen(/Users/geoff/Downloads/GlamorousToolkit-MacOS-x86_64-v0.8.1428/GlamorousToolkit.app/Contents/MacOS/Plugins/libSkia.dylib, 0x0000000A)
  dlopen() failed, error: 'dlopen(/Users/geoff/Downloads/GlamorousToolkit-MacOS-x86_64-v0.8.1428/GlamorousToolkit.app/Contents/MacOS/Plugins/libSkia.dylib, 10): Symbol not found: ____chkstk_darwin
  Referenced from: /Users/geoff/Downloads/GlamorousToolkit-MacOS-x86_64-v0.8.1428/GlamorousToolkit.app/Contents/MacOS/Plugins/libSkia.dylib
  Expected in: /usr/lib/libSystem.B.dylib
 in /Users/geoff/Downloads/GlamorousToolkit-MacOS-x86_64-v0.8.1428/GlamorousToolkit.app/Contents/MacOS/Plugins/libSkia.dylib'

I'm not sure that this is the cause for the crash but I suspect it's related and certainly indicates that even if it didn't crash it wouldn't work for not being able to load these plugins for the associated primitives. Perhaps the crash is caused by insufficient error checking around dlopen/dlsym causing invalid arguments to be used which end up crashing in dyld.

greedy avatar May 06 '22 14:05 greedy

It seems the most recent release that launches on macOS 10.13 is v0.8.943

greedy avatar May 06 '22 15:05 greedy

Could you try with the latest version?

girba avatar Jun 03 '22 22:06 girba

We are only supporting 10.15 or later now.

girba avatar Nov 04 '22 21:11 girba