Glyphs crash during updates

Hi all. Updates to Glyphs are causing the updated software to crash. I then have to download the Glyphs App from the site to get going again. I’ve reported this to Apple. Happened on the last two updates.

When you restart the downloaded app, you should get a crash reporter window. Please send it and add a note with a note pointing this thread.

Can you try version 3331. I hope I fixed the crash.

Sadly, 3331 also crashed and I’ve had to download the Glyphs site version again. I didn’t see a crash report in the refreshed Glyphs, only one for Apple, which I’ve copied and submitted to them.

You should get a crash report window when you open the older version. Please send that a few time (start 3331, let it crash, (don’t send the crash to Apple), Open the older versions, send the crash from there).

Any version including and above 3327 crashes on start for me.

Does that crash also occur when launching Glyphs without plugins? (Hold down the Option and Shift keys when launching Glyphs to prevent plugins from being loaded).

If so, do you get a crash report? Could you send us the full report.

I have fixed one crash in the lasted 3332 version: https://updates.glyphsapp.com/Glyphs3.3-3332.zip

Hmm, weird. I’m not getting any crash report window anymore. The icon animates and nothing else happens when I click on the docker Glyphs.app icon (with or without option+shift) or in the Applications folder.

Here’s the output when I try to open it from the command line:

/Applications/Glyphs\ 3.app/Contents/MacOS/Glyphs\ 3
2024-12-14 08:24:41.936 Glyphs 3[22638:1173710] +[IMKClient subclass]: chose IMKClient_Modern
*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArray0 objectAtIndex:]: index 18446744073709551614 beyond bounds for empty array'
*** First throw call stack:
(
        0   CoreFoundation                      0x00007ff804b946e6 __exceptionPreprocess + 242
        1   libobjc.A.dylib                     0x00007ff80467cbd0 objc_exception_throw + 62
        2   CoreFoundation                      0x00007ff804bbb66a CFArrayApply + 0
        3   Glyphs 3                            0x00000001022b919f _ZN7plcrash2MS5async35plcrash_async_dwarf_expression_evalIyxEE15plcrash_error_tP21plcrash_async_mobjectjPK26plcrash_async_thread_statePK25MSplcrash_async_byteorderyxyPT_mSD_ + 1560075
        4   Glyphs 3                            0x00000001022b5d98 _ZN7plcrash2MS5async35plcrash_async_dwarf_expression_evalIyxEE15plcrash_error_tP21plcrash_async_mobjectjPK26plcrash_async_thread_statePK25MSplcrash_async_byteorderyxyPT_mSD_ + 1546756
        5   Glyphs 3                            0x00000001022b5c24 _ZN7plcrash2MS5async35plcrash_async_dwarf_expression_evalIyxEE15plcrash_error_tP21plcrash_async_mobjectjPK26plcrash_async_thread_statePK25MSplcrash_async_byteorderyxyPT_mSD_ + 1546384
        6   Glyphs 3                            0x00000001022bb77f _ZN7plcrash2MS5async35plcrash_async_dwarf_expression_evalIyxEE15plcrash_error_tP21plcrash_async_mobjectjPK26plcrash_async_thread_statePK25MSplcrash_async_byteorderyxyPT_mSD_ + 1569771
        7   libdispatch.dylib                   0x00007ff8048977e2 _dispatch_client_callout + 8
        8   libdispatch.dylib                   0x00007ff804898a9e _dispatch_once_callout + 20
        9   Glyphs 3                            0x00000001022ba8af _ZN7plcrash2MS5async35plcrash_async_dwarf_expression_evalIyxEE15plcrash_error_tP21plcrash_async_mobjectjPK26plcrash_async_thread_statePK25MSplcrash_async_byteorderyxyPT_mSD_ + 1565979
        10  Glyphs 3                            0x000000010216b2db _ZN7plcrash2MS5async35plcrash_async_dwarf_expression_evalIyxEE15plcrash_error_tP21plcrash_async_mobjectjPK26plcrash_async_thread_statePK25MSplcrash_async_byteorderyxyPT_mSD_ + 192327
        11  AppKit                              0x00007ff80841c203 -[NSCustomObject nibInstantiate] + 406
        12  AppKit                              0x00007ff80841c014 -[NSIBObjectData instantiateObject:] + 223
        13  AppKit                              0x00007ff80841b77b -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 472
        14  AppKit                              0x00007ff808410174 loadNib + 413
        15  AppKit                              0x00007ff80840f89c +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 1592
        16  AppKit                              0x00007ff80840f16f -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 201
        17  AppKit                              0x00007ff80840ef4c +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 399
        18  AppKit                              0x00007ff808400e9d NSApplicationMain + 574
        19  Glyphs 3                            0x0000000102145c9a _ZN7plcrash2MS5async35plcrash_async_dwarf_expression_evalIyxEE15plcrash_error_tP21plcrash_async_mobjectjPK26plcrash_async_thread_statePK25MSplcrash_async_byteorderyxyPT_mSD_ + 39174
        20  dyld                                0x00007ff8046b12cd start + 1805
)
libc++abi: terminating due to uncaught exception of type NSException
[1]    22638 abort      /Applications/Glyphs\ 3.app/Contents/MacOS/Glyphs\ 3

What version is that?

Any version including and above 3327 and up to 3332 just to be clear. But that was the output of 3332 .

And is that an intel or apple silicon Mac? (I need that to make sense of those addresses)

I think I have fixed it.
Is it possible that you don’t have python installed? Can you show a screenshot of the Python version popup (in Preferences > Addons)?

Update is up.

Intel. You’re right I don’t have any Python version listed in Settings > Addons.
I reinstalled Homebrew python@3.9 and “3.9.21 (Homebrew)” is then listed and 3332 starts properly.
None of the other Homebrew Python versions installed nor the system’s python3 (3.9.6) that are currently installed are listed.

Where/how did you installed the “system” python?

I haven’t installed /usr/bin/python3, it was there.