Glyphs freezing when saving

Hello, I am constantly getting the rainbow spinner and a frozen Glyphs application when saving a file. I can save a few times, but after a few times, it freezes. Is this a known issue? I am working in 3251, with a glyphspackage file.

Can you do a spindump when that happens.

Sure. Here:

Spindump_240329.txt (3.9 MB)

I reproduced it by marking several glyphs with a glyph colour and then immediately saving with Cmd+S. It worked twice, but the third time, Glyphs froze.

Do you have the Text preview window open?

No, just the font view. Nothing else.

Another data point - I’ve just upgraded to 3251 and Glyphs crashes almost immediately on Export>TTF every time.

Console says:

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called


Application Specific Backtrace 0:
0   CoreFoundation                      0x00007ff81b44911a __exceptionPreprocess + 242
1   libobjc.A.dylib                     0x00007ff81af6f0b7 objc_exception_throw + 48
2   CoreFoundation                      0x00007ff81b4dca3f __NSFastEnumerationMutationHandler + 151
3   GlyphsCore                          0x000000010e91d094 -[GSFont _applyRemoveParameters:didChange:error:] + 2716
4   GlyphsCore                          0x000000010e91de04 -[GSFont applyGlyphSetParameters:error:] + 161
5   OTF                                 0x000000011cf3e7eb AC_getVersion + 22913
6   OTF                                 0x000000011cf3ea3e AC_getVersion + 23508
7   Foundation                          0x00007ff81c23f8b2 __NSOPERATION_IS_INVOKING_MAIN__ + 17
8   Foundation                          0x00007ff81c23ebb2 -[NSOperation start] + 782
9   Foundation                          0x00007ff81c23e898 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 17
10  Foundation                          0x00007ff81c23e766 __NSOQSchedule_f + 182
11  libdispatch.dylib                   0x00007ff81b162771 _dispatch_block_async_invoke2 + 83
12  libdispatch.dylib                   0x00007ff81b155033 _dispatch_client_callout + 8
13  libdispatch.dylib                   0x00007ff81b157b65 _dispatch_continuation_pop + 463
14  libdispatch.dylib                   0x00007ff81b1571e9 _dispatch_async_redirect_invoke + 714
15  libdispatch.dylib                   0x00007ff81b164fa2 _dispatch_root_queue_drain + 343
16  libdispatch.dylib                   0x00007ff81b165768 _dispatch_worker_thread2 + 170
17  libsystem_pthread.dylib             0x00007ff81b2f2c0f _pthread_wqthread + 257
18  libsystem_pthread.dylib             0x00007ff81b2f1bbf start_wqthread + 15

Unfortunately I’ve had to revert back to an earlier version for now, so I can’t diagnose much more.

Did you send the crash report with the dialog that comes up when you restart the app?
Can you send me the .glyphs file that caused the crash?

I’m running into this again a lot: changing glyph colours in font view and then directly hitting Cmd+S leads to Glyphs freezing.

Spindump_240406.txt (4.2 MB)

I have identified the problem but the solution needs a lot changes that can break things all over the place. So I’m a bit hesitant to do this right now.

I understand. Is there something specific I can avoid doing in order to circumvent this issue?

Just wait a bit with the saving. And remove some of the sidebar filters that you don’t need a lot.