Crash on undo -long living bug-

Hello,
this bug has been around for too long through many versions and it’s really frustrating to deal with
Glyphs randomly crash after undoing couple steps, it happens randomly and there is no specific trigger for the bug
when Glyphs reopens the work i wanted to undo is all gone and i have to redo everything again!
I know there are other posts about the same bug and I updated one of them that the issue is still occurring couple weeks ago but I got no response

running Glyphs Version 2.6.5 (1300) on OS 10.15.3

As long as I can’t reproduce the problem, I can’t fix it.
How often does it happen for you?
Can you try to run Glyphs without plugins and don’t use any scripts?

And please send every crash report you get.

You do not mean this one you posted one and a half weeks ago, right? You got a response within two minutes.

I do not find any forum posts by you that remained unanswered. Are you sure, you pressed the button to confirm the posting?

We really work hard and at very weird hours to answer all requests on the forum. If there is something unanswered, we may have overlooked it, please let us know.

1 Like

I know one undo bug: If you select nodes and guideline and move/scale/whatever together, undo gets broken.

I understand and appreciate your support to the app @mekkablue but this bug been around for so long as i mentioned
@GeorgSeifert I did try to run Glyphs without plugins or scripts and the issue still occured
it happens randomly and i can’t figure the scenario it happened around

  1. Please always send the crash reports. If we have no crash reports, we have no chance to fix anything.
  2. As said before, try to describe steps for reproducing a crash. If you can reliably reproduce it, we can fix it almost certainly.
  3. Perhaps it is happening more frequently because of some corrupted pref file or local setting? Some suggestions in the Crashes tutorial.

@mekkablue @GeorgSeifert
this crash keeps happening nonstop for 2 years now
I still use old version of Glyphs and not ready to fully move to 3 on all projects

this bug I reported it and sent all crash reports every time it happened but no update ever came to fix it

would that be fixed in the future?

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Glyphs [73138]
Path:                  /Applications/Glyphs.app/Contents/MacOS/Glyphs
Identifier:            com.GeorgSeifert.Glyphs2
Version:               2.6.7 (1357)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2022-01-16 12:08:04.7169 +0100
OS Version:            macOS 12.0.1 (21A559)
Report Version:        12
Bridge OS Version:     3.0 (14Y908)
Anonymous UUID:        ADF728DA-DDC3-89C4-91BF-5F7441C946F7

Sleep/Wake UUID:       E4F74DF1-D813-4A79-B9C1-164C7C9C3736

Time Awake Since Boot: 540000 seconds
Time Since Wake:       10707 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x000007f875a35190
Exception Codes:       0x0000000000000001, 0x000007f875a35190
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [73138]

VM Region Info: 0x7f875a35190 is not in any region.  Bytes after previous region: 8758758400401  Bytes before following region: 78699516702320
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      CoreAnimation               1269a9000-126f47000    [ 5752K] rw-/rwx SM=PRV  
--->  GAP OF 0x4f8af76b9000 BYTES
      JS JIT generated code    4f8c1e600000-4f8c1e601000 [    4K] ---/rwx SM=NUL  

Application Specific Information:
Performing @selector(undo:) from sender NSMenuItem 0x7f874cb230a0


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib               	    0x7ff80836bed3 objc_retain + 35
1   CoreFoundation                	    0x7ff8085b2b40 -[NSInvocation invokeWithTarget:] + 57
2   Foundation                    	    0x7ff8094cef6a -[_NSUndoStack popAndInvoke] + 187
3   Foundation                    	    0x7ff8094cece1 -[NSUndoManager undoNestedGroup] + 296
4   GlyphsCore                    	       0x105a5904e -[GSUndoManager undo] + 569
5   AppKit                        	    0x7ff80b1cd64d -[NSApplication(NSResponder) sendAction:to:from:] + 288
6   Glyphs                        	       0x104f1ec66 0x104e20000 + 1043558
7   AppKit                        	    0x7ff80b2c29de -[NSMenuItem _corePerformAction] + 413
8   AppKit                        	    0x7ff80b2c26fe -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 95
9   AppKit                        	    0x7ff80b5ecfdf -[NSMenu _performActionForItem:atIndex:fromEvent:] + 197
10  AppKit                        	    0x7ff80b2c1a25 -[NSMenu performKeyEquivalent:] + 418
11  AppKit                        	    0x7ff80b71ed4a routeKeyEquivalent + 668
12  AppKit                        	    0x7ff80b138b57 -[NSApplication(NSEvent) sendEvent:] + 1147
13  Glyphs                        	       0x104f1e682 0x104e20000 + 1042050
14  AppKit                        	    0x7ff80b3f180b -[NSApplication _handleEvent:] + 65
15  AppKit                        	    0x7ff80afb937e -[NSApplication run] + 623
16  AppKit                        	    0x7ff80af8d1f8 NSApplicationMain + 816
17  Glyphs                        	       0x104ea7bc2 0x104e20000 + 555970
18  dyld                          	       0x1104404fe start + 462

Thread 1:: JavaScriptCore bmalloc scavenger
0   libsystem_kernel.dylib        	    0x7ff80849e506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff8084d8a89 _pthread_cond_wait + 1224
2   libc++.1.dylib                	    0x7ff808437ec2 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   JavaScriptCore                	    0x7ff821bd9915 void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) + 85
4   JavaScriptCore                	    0x7ff821bde0bb bmalloc::Scavenger::threadRunLoop() + 443
5   JavaScriptCore                	    0x7ff821bddbe9 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 9
6   JavaScriptCore                	    0x7ff821bdf297 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scavenger*> >(void*) + 39
7   libsystem_pthread.dylib       	    0x7ff8084d8514 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7ff8084d402f thread_start + 15

Thread 2:
0   libsystem_kernel.dylib        	    0x7ff80849baba mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7ff80849be2b mach_msg + 59
2   Glyphs                        	       0x104e8524a 0x104e20000 + 414282
3   libsystem_pthread.dylib       	    0x7ff8084d8514 _pthread_start + 125
4   libsystem_pthread.dylib       	    0x7ff8084d402f thread_start + 15

Thread 3:: com.apple.CFSocket.private
0   libsystem_kernel.dylib        	    0x7ff8084a3e4a __select + 10
1   CoreFoundation                	    0x7ff8085c6e1d __CFSocketManager + 630
2   libsystem_pthread.dylib       	    0x7ff8084d8514 _pthread_start + 125
3   libsystem_pthread.dylib       	    0x7ff8084d402f thread_start + 15

Thread 4:: com.apple.NSURLConnectionLoader
0   libsystem_kernel.dylib        	    0x7ff80849baba mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7ff80849be2b mach_msg + 59
2   CoreFoundation                	    0x7ff80859fa42 __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7ff80859e11b __CFRunLoopRun + 1325
4   CoreFoundation                	    0x7ff80859d52d CFRunLoopRunSpecific + 563
5   CFNetwork                     	    0x7ff80d18b9a6 0x7ff80cf3d000 + 2419110
6   Foundation                    	    0x7ff8093fe3c9 __NSThread__start__ + 1025
7   libsystem_pthread.dylib       	    0x7ff8084d8514 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7ff8084d402f thread_start + 15

Thread 5:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	    0x7ff80849baba mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7ff80849be2b mach_msg + 59
2   CoreFoundation                	    0x7ff80859fa42 __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7ff80859e11b __CFRunLoopRun + 1325
4   CoreFoundation                	    0x7ff80859d52d CFRunLoopRunSpecific + 563
5   AppKit                        	    0x7ff80b136cec _NSEventThread + 132
6   libsystem_pthread.dylib       	    0x7ff8084d8514 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff8084d402f thread_start + 15

Thread 6:
0   libsystem_pthread.dylib       	    0x7ff8084d400c start_wqthread + 0

Thread 7:
0   libsystem_pthread.dylib       	    0x7ff8084d400c start_wqthread + 0

Thread 8:
0   libsystem_pthread.dylib       	    0x7ff8084d400c start_wqthread + 0

Thread 9:
0   libsystem_pthread.dylib       	    0x7ff8084d400c start_wqthread + 0

Thread 10:
0   libsystem_pthread.dylib       	    0x7ff8084d400c start_wqthread + 0

Thread 11:
0   libsystem_pthread.dylib       	    0x7ff8084d400c start_wqthread + 0

Thread 12:
0   libsystem_pthread.dylib       	    0x7ff8084d400c start_wqthread + 0

Thread 13:
0   libsystem_pthread.dylib       	    0x7ff8084d400c start_wqthread + 0


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0xb00007f875a35175  rbx: 0x00007f875a356d60  rcx: 0x000007f875a35170  rdx: 0x00007f8757615320
  rdi: 0x00007f873c842900  rsi: 0x0000000000000010  rbp: 0x00007ff7bb0df1d0  rsp: 0x00007ff7bb0df1a8
   r8: 0x0000180000000905   r9: 0x00007f8757600000  r10: 0x0000000000000001  r11: 0x00007f8757615320
  r12: 0x0000000000000001  r13: 0x00007f87555f9ec0  r14: 0x00007ff80836c040  r15: 0x00007f87555f9ea0
  rip: 0x00007ff80836bed3  rfl: 0x0000000000010202  cr2: 0x000007f875a35190
  
Logical CPU:     0
Error Code:      0x00000004 (no mapping for user data read)
Trap Number:     14

Thread 0 instruction stream:
  48 08 48 89 c8 48 83 e0-fe f6 c1 01 75 1e 8b 40  H.H..H......u..@
  08 83 c0 07 83 e0 f8 48-01 f0 48 83 f8 10 be 10  .......H..H.....
  00 00 00 48 0f 47 f0 e9-68 ff ff ff 48 8b 00 eb  ...H.G..h...H...
  dd 90 90 90 90 90 90 90-90 90 90 90 90 48 85 ff  .............H..
  0f 84 80 00 00 00 89 f8-83 e0 01 48 85 c0 75 76  ...........H..uv
  48 8b 07 48 b9 f8 ff ff-ff ff 7f 00 00 48 21 c1  H..H.........H!.
 [48]8b 51 20 f6 c2 04 74-38 a8 01 74 53 48 b9 00  H.Q ...t8..tSH..	<==
  00 00 00 00 00 00 01 48-89 c2 48 c1 ea 37 74 46  .......H..H..7tF
  48 89 c2 48 01 ca 72 12-f0 48 0f b1 17 74 37 a8  H..H..r..H...t7.
  01 75 e4 31 f6 e9 79 04-02 00 31 f6 e9 e8 b3 00  .u.1..y...1.....
  00 f6 c2 02 74 0d 66 83-79 1c 00 79 06 f6 41 28  ....t.f.y..y..A(
  02 75 17 48 8b 35 43 22-9a 41 ff 25 65 00 e7 3f  .u.H.5C".A.%e..?

Binary Images:
    0x7ff808366000 -     0x7ff80839ffff libobjc.A.dylib (*) <7cfcdc89-2bee-3784-b7af-c676f60fe211> /usr/lib/libobjc.A.dylib
    0x7ff80851f000 -     0x7ff808a21fff com.apple.CoreFoundation (6.9) <3002b545-6841-3fc8-91a2-bcfbe5872465> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7ff8093a5000 -     0x7ff80975ffff com.apple.Foundation (6.9) <d7fd0214-4bbb-3d84-88f7-820b25a6e16c> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
       0x1059db000 -        0x105c72fff com.schriftgestaltung.GlyphsCore (2.3.1) <09351419-2841-3676-bde7-e3a5f927ba77> /Applications/Glyphs.app/Contents/Frameworks/GlyphsCore.framework/Versions/A/GlyphsCore
    0x7ff80af8a000 -     0x7ff80be16fff com.apple.AppKit (6.9) <dd0028a3-78e3-3a8a-a51b-ddd68123adef> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x104e20000 -        0x105007fff com.GeorgSeifert.Glyphs2 (2.6.7) <552428bf-97a0-367b-ba1a-6478d86c0a26> /Applications/Glyphs.app/Contents/MacOS/Glyphs
       0x11043b000 -        0x1104a6fff dyld (*) <1a6ae033-9438-33c0-8077-988fd885250a> /usr/lib/dyld
    0x7ff80849b000 -     0x7ff8084d1fff libsystem_kernel.dylib (*) <12bd6f13-c452-35ee-9069-51befef29f1a> /usr/lib/system/libsystem_kernel.dylib
    0x7ff8084d2000 -     0x7ff8084ddfff libsystem_pthread.dylib (*) <29a2750e-f31b-3630-8761-242a6bc3e99e> /usr/lib/system/libsystem_pthread.dylib
    0x7ff80842c000 -     0x7ff808484fff libc++.1.dylib (*) <91a6d960-2646-34e2-a81e-4e34e3697a92> /usr/lib/libc++.1.dylib
    0x7ff820a0f000 -     0x7ff821d0efff com.apple.JavaScriptCore (17612) <17bfb8cd-a223-3b05-b5df-1577837316bc> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
    0x7ff80cf3d000 -     0x7ff80d3d2fff com.apple.CFNetwork (1325.0.1) <8a8cd85d-cf83-3019-bd2c-b99a711c97d7> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)
Writable regions: Total=1.5G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.5G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework              1152K        9 
Activity Tracing                   256K        1 
CG backing stores                  720K        4 
CG image                          1180K       97 
ColorSync                          240K       29 
CoreAnimation                     99.1M      954 
CoreGraphics                        12K        2 
CoreImage                            8K        2 
CoreUI image data                 3380K       56 
Dispatch continuations            64.0M        1 
Foundation                          40K        2 
Image IO                           392K       21 
JS JIT generated code              1.0G        3 
JS VM Isolated Heap                 24K        2 
Kernel Alloc Once                    8K        1 
MALLOC                           266.9M      355 
MALLOC guard page                   48K       11 
SQLite page cache                  192K        3 
STACK GUARD                       56.1M       14 
Stack                             14.6M       14 
VM_ALLOCATE                       17.8M      109 
WebKit Malloc                     8296K       10 
__DATA                            44.2M      601 
__DATA_CONST                      30.5M      367 
__DATA_DIRTY                      1545K      206 
__FONT_DATA                          4K        1 
__GLSLBUILTINS                    5176K        1 
__LINKEDIT                       640.0M       97 
__OBJC_RO                         81.5M        1 
__OBJC_RW                         3120K        2 
__TEXT                           511.5M      605 
__UNICODE                          588K        1 
dyld private memory               1024K        1 
libnetwork                         640K       16 
mapped file                      265.3M      599 
shared memory                     1288K       17 
===========                     =======  ======= 
TOTAL                              3.1G     4215 



-----------
Full Report
-----------

{"app_name":"Glyphs","timestamp":"2022-01-16 12:08:05.00 +0100","app_version":"2.6.7","slice_uuid":"552428bf-97a0-367b-ba1a-6478d86c0a26","build_version":"1357","platform":1,"bundleID":"com.GeorgSeifert.Glyphs2","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.0.1 (21A559)","incident_id":"851532D6-0882-4C80-A1C0-DF869CF46159","name":"Glyphs"}
{
  "uptime" : 540000,
  "procLaunch" : "2022-01-16 12:03:32.4584 +0100",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro13,3",
  "procStartAbsTime" : 547101559703490,
  "coalitionID" : 17474,
  "osVersion" : {
    "train" : "macOS 12.0.1",
    "build" : "21A559",
    "releaseType" : "User"
  },
  "captureTime" : "2022-01-16 12:08:04.7169 +0100",
  "incident" : "851532D6-0882-4C80-A1C0-DF869CF46159",
  "bug_type" : "309",
  "pid" : 73138,
  "procExitAbsTime" : 547373824039746,
  "cpuType" : "X86-64",
  "procName" : "Glyphs",
  "procPath" : "\/Applications\/Glyphs.app\/Contents\/MacOS\/Glyphs",
  "bundleInfo" : {"CFBundleShortVersionString":"2.6.7","CFBundleVersion":"1357","CFBundleIdentifier":"com.GeorgSeifert.Glyphs2"},
  "storeInfo" : {"deviceIdentifierForVendor":"D4EAA03F-5199-50B2-95C5-1969ACE27DEB","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.GeorgSeifert.Glyphs2",
  "crashReporterKey" : "ADF728DA-DDC3-89C4-91BF-5F7441C946F7",
  "wakeTime" : 10707,
  "bridgeVersion" : {"build":"14Y908","train":"3.0"},
  "sleepWakeUUID" : "E4F74DF1-D813-4A79-B9C1-164C7C9C3736",
  "sip" : "enabled",
  "vmRegionInfo" : "0x7f875a35190 is not in any region.  Bytes after previous region: 8758758400401  Bytes before following region: 78699516702320\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      CoreAnimation               1269a9000-126f47000    [ 5752K] rw-\/rwx SM=PRV  \n--->  GAP OF 0x4f8af76b9000 BYTES\n      JS JIT generated code    4f8c1e600000-4f8c1e601000 [    4K] ---\/rwx SM=NUL  ",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000001, 0x000007f875a35190","rawCodes":[1,8763706921360],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x000007f875a35190"},
  "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":73138},
  "vmregioninfo" : "0x7f875a35190 is not in any region.  Bytes after previous region: 8758758400401  Bytes before following region: 78699516702320\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      CoreAnimation               1269a9000-126f47000    [ 5752K] rw-\/rwx SM=PRV  \n--->  GAP OF 0x4f8af76b9000 BYTES\n      JS JIT generated code    4f8c1e600000-4f8c1e601000 [    4K] ---\/rwx SM=NUL  ",
  "asi" : {"AppKit":["Performing @selector(undo:) from sender NSMenuItem 0x7f874cb230a0"]},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":5340615,"instructionState":{"instructionStream":{"bytes":[72,8,72,137,200,72,131,224,254,246,193,1,117,30,139,64,8,131,192,7,131,224,248,72,1,240,72,131,248,16,190,16,0,0,0,72,15,71,240,233,104,255,255,255,72,139,0,235,221,144,144,144,144,144,144,144,144,144,144,144,144,72,133,255,15,132,128,0,0,0,137,248,131,224,1,72,133,192,117,118,72,139,7,72,185,248,255,255,255,255,127,0,0,72,33,193,72,139,81,32,246,194,4,116,56,168,1,116,83,72,185,0,0,0,0,0,0,0,1,72,137,194,72,193,234,55,116,70,72,137,194,72,1,202,114,18,240,72,15,177,23,116,55,168,1,117,228,49,246,233,121,4,2,0,49,246,233,232,179,0,0,246,194,2,116,13,102,131,121,28,0,121,6,246,65,40,2,117,23,72,139,53,67,34,154,65,255,37,101,0,231,63],"offset":96}},"threadState":{"r13":{"value":140219229642432},"rax":{"value":12682145314382238069},"rflags":{"value":66050},"cpu":{"value":0},"r14":{"value":140703266422848,"symbolLocation":0,"symbol":"objc_msgSend"},"rsi":{"value":16},"r8":{"value":26388279068933},"cr2":{"value":8763706921360},"rdx":{"value":140219263308576},"r10":{"value":1},"r9":{"value":140219263221760},"r15":{"value":140219229642400},"rbx":{"value":140219310763360},"trap":{"value":14,"description":"(no mapping for user data read)"},"err":{"value":4},"r11":{"value":140219263308576},"rip":{"value":140703266422483,"matchesCrashFrame":1},"rbp":{"value":140701971902928},"rsp":{"value":140701971902888},"r12":{"value":1},"rcx":{"value":8763706921328},"flavor":"x86_THREAD_STATE","rdi":{"value":140218812606720}},"queue":"com.apple.main-thread","frames":[{"imageOffset":24275,"symbol":"objc_retain","symbolLocation":35,"imageIndex":0},{"imageOffset":604992,"symbol":"-[NSInvocation invokeWithTarget:]","symbolLocation":57,"imageIndex":1},{"imageOffset":1220458,"symbol":"-[_NSUndoStack popAndInvoke]","symbolLocation":187,"imageIndex":2},{"imageOffset":1219809,"symbol":"-[NSUndoManager undoNestedGroup]","symbolLocation":296,"imageIndex":2},{"imageOffset":516174,"symbol":"-[GSUndoManager undo]","symbolLocation":569,"imageIndex":3},{"imageOffset":2373197,"symbol":"-[NSApplication(NSResponder) sendAction:to:from:]","symbolLocation":288,"imageIndex":4},{"imageOffset":1043558,"imageIndex":5},{"imageOffset":3377630,"symbol":"-[NSMenuItem _corePerformAction]","symbolLocation":413,"imageIndex":4},{"imageOffset":3376894,"symbol":"-[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:]","symbolLocation":95,"imageIndex":4},{"imageOffset":6696927,"symbol":"-[NSMenu _performActionForItem:atIndex:fromEvent:]","symbolLocation":197,"imageIndex":4},{"imageOffset":3373605,"symbol":"-[NSMenu performKeyEquivalent:]","symbolLocation":418,"imageIndex":4},{"imageOffset":7949642,"symbol":"routeKeyEquivalent","symbolLocation":668,"imageIndex":4},{"imageOffset":1764183,"symbol":"-[NSApplication(NSEvent) sendEvent:]","symbolLocation":1147,"imageIndex":4},{"imageOffset":1042050,"imageIndex":5},{"imageOffset":4618251,"symbol":"-[NSApplication _handleEvent:]","symbolLocation":65,"imageIndex":4},{"imageOffset":193406,"symbol":"-[NSApplication run]","symbolLocation":623,"imageIndex":4},{"imageOffset":12792,"symbol":"NSApplicationMain","symbolLocation":816,"imageIndex":4},{"imageOffset":555970,"imageIndex":5},{"imageOffset":21758,"symbol":"start","symbolLocation":462,"imageIndex":6}]},{"id":5340655,"name":"JavaScriptCore bmalloc scavenger","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":7},{"imageOffset":27273,"symbol":"_pthread_cond_wait","symbolLocation":1224,"imageIndex":8},{"imageOffset":48834,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":9},{"imageOffset":18655509,"symbol":"void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&)","symbolLocation":85,"imageIndex":10},{"imageOffset":18673851,"symbol":"bmalloc::Scavenger::threadRunLoop()","symbolLocation":443,"imageIndex":10},{"imageOffset":18672617,"symbol":"bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*)","symbolLocation":9,"imageIndex":10},{"imageOffset":18678423,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scavenger*> >(void*)","symbolLocation":39,"imageIndex":10},{"imageOffset":25876,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8239,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":5340706,"frames":[{"imageOffset":2746,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":7},{"imageOffset":3627,"symbol":"mach_msg","symbolLocation":59,"imageIndex":7},{"imageOffset":414282,"imageIndex":5},{"imageOffset":25876,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8239,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":5340774,"name":"com.apple.CFSocket.private","frames":[{"imageOffset":36426,"symbol":"__select","symbolLocation":10,"imageIndex":7},{"imageOffset":687645,"symbol":"__CFSocketManager","symbolLocation":630,"imageIndex":1},{"imageOffset":25876,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8239,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":5340862,"name":"com.apple.NSURLConnectionLoader","frames":[{"imageOffset":2746,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":7},{"imageOffset":3627,"symbol":"mach_msg","symbolLocation":59,"imageIndex":7},{"imageOffset":526914,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":1},{"imageOffset":520475,"symbol":"__CFRunLoopRun","symbolLocation":1325,"imageIndex":1},{"imageOffset":517421,"symbol":"CFRunLoopRunSpecific","symbolLocation":563,"imageIndex":1},{"imageOffset":2419110,"imageIndex":11},{"imageOffset":365513,"symbol":"__NSThread__start__","symbolLocation":1025,"imageIndex":2},{"imageOffset":25876,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8239,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":5341033,"name":"com.apple.NSEventThread","frames":[{"imageOffset":2746,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":7},{"imageOffset":3627,"symbol":"mach_msg","symbolLocation":59,"imageIndex":7},{"imageOffset":526914,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":1},{"imageOffset":520475,"symbol":"__CFRunLoopRun","symbolLocation":1325,"imageIndex":1},{"imageOffset":517421,"symbol":"CFRunLoopRunSpecific","symbolLocation":563,"imageIndex":1},{"imageOffset":1756396,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":4},{"imageOffset":25876,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8239,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":5341708,"frames":[{"imageOffset":8204,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]},{"id":5341982,"frames":[{"imageOffset":8204,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]},{"id":5341992,"frames":[{"imageOffset":8204,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]},{"id":5341993,"frames":[{"imageOffset":8204,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]},{"id":5341994,"frames":[{"imageOffset":8204,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]},{"id":5341995,"frames":[{"imageOffset":8204,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]},{"id":5341997,"frames":[{"imageOffset":8204,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]},{"id":5342640,"frames":[{"imageOffset":8204,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64h",
    "base" : 140703266398208,
    "size" : 237568,
    "uuid" : "7cfcdc89-2bee-3784-b7af-c676f60fe211",
    "path" : "\/usr\/lib\/libobjc.A.dylib",
    "name" : "libobjc.A.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64h",
    "base" : 140703268204544,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5255168,
    "uuid" : "3002b545-6841-3fc8-91a2-bcfbe5872465",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1855.105"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703283433472,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 3911680,
    "uuid" : "d7fd0214-4bbb-3d84-88f7-820b25a6e16c",
    "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "1855.105"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4389187584,
    "CFBundleShortVersionString" : "2.3.1",
    "CFBundleIdentifier" : "com.schriftgestaltung.GlyphsCore",
    "size" : 2719744,
    "uuid" : "09351419-2841-3676-bde7-e3a5f927ba77",
    "path" : "\/Applications\/Glyphs.app\/Contents\/Frameworks\/GlyphsCore.framework\/Versions\/A\/GlyphsCore",
    "name" : "GlyphsCore",
    "CFBundleVersion" : "1"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703312683008,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 15257600,
    "uuid" : "dd0028a3-78e3-3a8a-a51b-ddd68123adef",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2113"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4376887296,
    "CFBundleShortVersionString" : "2.6.7",
    "CFBundleIdentifier" : "com.GeorgSeifert.Glyphs2",
    "size" : 1998848,
    "uuid" : "552428bf-97a0-367b-ba1a-6478d86c0a26",
    "path" : "\/Applications\/Glyphs.app\/Contents\/MacOS\/Glyphs",
    "name" : "Glyphs",
    "CFBundleVersion" : "1357"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4567838720,
    "size" : 442368,
    "uuid" : "1a6ae033-9438-33c0-8077-988fd885250a",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703267663872,
    "size" : 225280,
    "uuid" : "12bd6f13-c452-35ee-9069-51befef29f1a",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703267889152,
    "size" : 49152,
    "uuid" : "29a2750e-f31b-3630-8761-242a6bc3e99e",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703267209216,
    "size" : 364544,
    "uuid" : "91a6d960-2646-34e2-a81e-4e34e3697a92",
    "path" : "\/usr\/lib\/libc++.1.dylib",
    "name" : "libc++.1.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703676035072,
    "CFBundleShortVersionString" : "17612",
    "CFBundleIdentifier" : "com.apple.JavaScriptCore",
    "size" : 19922944,
    "uuid" : "17bfb8cd-a223-3b05-b5df-1577837316bc",
    "path" : "\/System\/Library\/Frameworks\/JavaScriptCore.framework\/Versions\/A\/JavaScriptCore",
    "name" : "JavaScriptCore",
    "CFBundleVersion" : "17612.2.9.1.20"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703345922048,
    "CFBundleShortVersionString" : "1325.0.1",
    "CFBundleIdentifier" : "com.apple.CFNetwork",
    "size" : 4808704,
    "uuid" : "8a8cd85d-cf83-3019-bd2c-b99a711c97d7",
    "path" : "\/System\/Library\/Frameworks\/CFNetwork.framework\/Versions\/A\/CFNetwork",
    "name" : "CFNetwork",
    "CFBundleVersion" : "1325.0.1"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "sharedCache" : {
  "base" : 140703264661504,
  "size" : 15213641728,
  "uuid" : "3d05845f-3f65-358f-9ebf-2236e772ac01"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)\nWritable regions: Total=1.5G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.5G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework              1152K        9 \nActivity Tracing                   256K        1 \nCG backing stores                  720K        4 \nCG image                          1180K       97 \nColorSync                          240K       29 \nCoreAnimation                     99.1M      954 \nCoreGraphics                        12K        2 \nCoreImage                            8K        2 \nCoreUI image data                 3380K       56 \nDispatch continuations            64.0M        1 \nFoundation                          40K        2 \nImage IO                           392K       21 \nJS JIT generated code              1.0G        3 \nJS VM Isolated Heap                 24K        2 \nKernel Alloc Once                    8K        1 \nMALLOC                           266.9M      355 \nMALLOC guard page                   48K       11 \nSQLite page cache                  192K        3 \nSTACK GUARD                       56.1M       14 \nStack                             14.6M       14 \nVM_ALLOCATE                       17.8M      109 \nWebKit Malloc                     8296K       10 \n__DATA                            44.2M      601 \n__DATA_CONST                      30.5M      367 \n__DATA_DIRTY                      1545K      206 \n__FONT_DATA                          4K        1 \n__GLSLBUILTINS                    5176K        1 \n__LINKEDIT                       640.0M       97 \n__OBJC_RO                         81.5M        1 \n__OBJC_RW                         3120K        2 \n__TEXT                           511.5M      605 \n__UNICODE                          588K        1 \ndyld private memory               1024K        1 \nlibnetwork                         640K       16 \nmapped file                      265.3M      599 \nshared memory                     1288K       17 \n===========                     =======  ======= \nTOTAL                              3.1G     4215 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "60da5e84ab0ca017dace9abf",
      "factorPackIds" : {

      },
      "deploymentId" : 240000008
    },
    {
      "rolloutId" : "607844aa04477260f58a8077",
      "factorPackIds" : {
        "SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a"
      },
      "deploymentId" : 240000066
    },
    {
      "rolloutId" : "602ad4dac86151000cf27e46",
      "factorPackIds" : {
        "SIRI_DICTATION_ASSETS" : "614a34c5eae97a2111628dc5"
      },
      "deploymentId" : 240000290
    },
    {
      "rolloutId" : "5fc94383418129005b4e9ae0",
      "factorPackIds" : {

      },
      "deploymentId" : 240000207
    },
    {
      "rolloutId" : "601d9415f79519000ccd4b69",
      "factorPackIds" : {
        "SIRI_TEXT_TO_SPEECH" : "61c0d3122be4e338e11ae9e1"
      },
      "deploymentId" : 240000362
    },
    {
      "rolloutId" : "5ffde50ce2aacd000d47a95f",
      "factorPackIds" : {

      },
      "deploymentId" : 240000093
    }
  ],
  "experiments" : [

  ]
}
}

I know those crashes. I see a lot of them. But the report doesn’t say say why it crashes, only where. The undo system is notoriously difficult to debug.

The problem is that it crashes when the undo manager is in an invalid state. That can be caused by a script or a bug or a unusual usage pattern. But that corruption can happen minutes before the crash.

So what I need is a specific situation that I can reproduce. Like: open file X, do Y, do Z, undo > crash.

I understand that you need more information but its totally random that i cant even record it happen and its abusing my work flow really bad

i am not sure what to do about this and I cant be the only one dealing with this issue

Can you make a list of function, scripts and plugins you are using? Maybe we can narrow it down?