21
SlickEdit 2023 v28 Beta Discussion / M1 macOS command-line invocation crashes
« Last post by JohnGivler on September 29, 2023, 07:17:24 AM »On various Apple M1 boxen running macOS Ventura & Sonoma, with mac-arm beta3's bin directory (a.k.a. /Applications/SlickEditPro2023Beta3.app/Contents/MacOS) on the PATH, invoking vs from the command line to edit 1-or-more files always crashes, with either "Bus error: 10" or "Segmentation fault: 11" (the choice seems random). It does not matter whether the cited files exist, or not. It does not matter whether I have VSLICK="+new", or not. It does not matter if the process is launched in the foreground, or in the background.
Example:
vs *Html*.[ch]pp &
(a window flashes on-screen & instantly disappears)
Bus error: 10
I routinely use the command line to specify which files to load & perhaps edit, and my primary system is M1 Ultra, so this is a show stopper for me.
Nevertheless, my testing included other use cases, in which some things worked properly:
Example:
vs *Html*.[ch]pp &
(a window flashes on-screen & instantly disappears)
Bus error: 10
I routinely use the command line to specify which files to load & perhaps edit, and my primary system is M1 Ultra, so this is a show stopper for me.
Nevertheless, my testing included other use cases, in which some things worked properly:
- Invoking mac-arm beta3 vs without specifying any filenames works correctly (= starts without crashing, but with no editable file loaded), the same as clicking on the "s|e" icon (which also works). The File dialog box works.
- Invoking mac-intel beta3 vs from the command line on a Monterey, Ventura, or Sonoma box with an Intel CPU works correctly, both with & without names of files-to-be-loaded.
- Invoking mac-intel beta3 vs from the command line on a Sonoma box with an M1 Ultra & Rosetta2 behaves identically with mac-arm beta3 vs on that box (= crashes iff a filename is given).
- SlickEdit 27.0.2 works correctly (invoked from the command line, with or without filenames) on these same M1 and Intel macOS systems.