coteditor / CotEditor

Lightweight Plain-Text Editor for macOS
https://coteditor.com
Other
6.46k stars 431 forks source link

文字入力中にクラッシュする Crashes while typing #1621

Closed sdr0x07b6 closed 6 months ago

sdr0x07b6 commented 6 months ago

Description

CotEditor 利用中に急にクラッシュするようになりました。

To Reproduce

再現手順は特になく、文字入力中にいきなりクラッシュします。 たまたまかわかりませんが、放置中にクラッシュすることはなく、文字入力中にクラッシュします。 文字入力を開始すると直後クラッシュするわけでなく、問題なく入力している途中で急に発生します。漢字変換開始などのトリガも特になさそうです。

再現率は、毎日アクティブ時間計2時間くらい使っている中で、1 日 1 回くらいの割合でクラッシュします。 v4.8.0 の一つ前のバージョンからだったと思います。その後 4.8.0 にアップデートしましたが、改善されませんでした。

同現象報告を探しても見つからないようで、当方環境のみの問題でしょうか。

Expected behavior

No response

CotEditor version

4.8.0 (642)

macOS version

14.4.1

Additional context

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

Process:               CotEditor [3752]
Path:                  /Applications/CotEditor.app/Contents/MacOS/CotEditor
Identifier:            com.coteditor.CotEditor
Version:               4.8.0 (642)
App Item ID:           1024640650
App External ID:       864844543
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2024-04-20 12:04:44.1979 +0900
OS Version:            macOS 14.4.1 (23E224)
Report Version:        12
Anonymous UUID:        5D438983-616D-8AEA-09D7-57E2F0417DD8

Sleep/Wake UUID:       A546150C-F027-43C0-9816-4429FB472C3A

Time Awake Since Boot: 19000 seconds
Time Since Wake:       2986 seconds

System Integrity Protection: enabled

Crashed Thread:        5

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000001, 0x000000010227e384

Termination Reason:    Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process:   exc handler [3752]

Thread 0::  Dispatch queue: com.apple.main-thread
0   libswiftCore.dylib                     0x1909b620c swift_arrayInitWithCopy + 60
1   CotEditor                              0x102263d4c 0x1021c8000 + 638284
2   CotEditor                              0x102437880 0x1021c8000 + 2553984
3   CotEditor                              0x102292448 0x1021c8000 + 828488
4   CotEditor                              0x102281910 0x1021c8000 + 760080
5   CotEditor                              0x10229903c 0x1021c8000 + 856124
6   CotEditor                              0x10221d3a8 0x1021c8000 + 349096
7   CotEditor                              0x1022804cc 0x1021c8000 + 754892
8   libdispatch.dylib                      0x1807c9470 _dispatch_block_async_invoke2 + 148
9   libdispatch.dylib                      0x1807ba3e8 _dispatch_client_callout + 20
10  libdispatch.dylib                      0x1807c8bb8 _dispatch_main_queue_drain + 988
11  libdispatch.dylib                      0x1807c87cc _dispatch_main_queue_callback_4CF + 44
12  CoreFoundation                         0x180a8b4ac __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
13  CoreFoundation                         0x180a48c30 __CFRunLoopRun + 1996
14  CoreFoundation                         0x180a47e0c CFRunLoopRunSpecific + 608
15  HIToolbox                              0x18b1e3000 RunCurrentEventLoopInMode + 292
16  HIToolbox                              0x18b1e2c90 ReceiveNextEventCommon + 220
17  HIToolbox                              0x18b1e2b94 _BlockUntilNextEventMatchingListInModeWithFilter + 76
18  AppKit                                 0x1842a0970 _DPSNextEvent + 660
19  AppKit                                 0x184a92dec -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 700
20  AppKit                                 0x184293cb8 -[NSApplication run] + 476
21  AppKit                                 0x18426af54 NSApplicationMain + 880
22  CotEditor                              0x1021ed4bc 0x1021c8000 + 152764
23  dyld                                   0x1805e20e0 start + 2360

Thread 1:: com.apple.NSEventThread
0   libsystem_kernel.dylib                 0x18092a1f4 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x18093cb24 mach_msg2_internal + 80
2   libsystem_kernel.dylib                 0x180932e34 mach_msg_overwrite + 476
3   libsystem_kernel.dylib                 0x18092a578 mach_msg + 24
4   CoreFoundation                         0x180a4a058 __CFRunLoopServiceMachPort + 160
5   CoreFoundation                         0x180a4891c __CFRunLoopRun + 1208
6   CoreFoundation                         0x180a47e0c CFRunLoopRunSpecific + 608
7   AppKit                                 0x1843c9cb4 _NSEventThread + 144
8   libsystem_pthread.dylib                0x18096af94 _pthread_start + 136
9   libsystem_pthread.dylib                0x180965d34 thread_start + 8

Thread 2:
0   libsystem_pthread.dylib                0x180965d20 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib                0x180965d20 start_wqthread + 0

Thread 4:
0   libsystem_pthread.dylib                0x180965d20 start_wqthread + 0

Thread 5 Crashed:
0   CotEditor                              0x10227e384 0x1021c8000 + 746372
1   CotEditor                              0x102240084 0x1021c8000 + 491652
2   CotEditor                              0x102240fc1 0x1021c8000 + 495553
3   libswift_Concurrency.dylib             0x24705f0f9 completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*) + 1

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

Thread 5 crashed with ARM Thread State (64-bit):
    x0: 0x0000000113e0fde8   x1: 0x0000000400000003   x2: 0x00000001e8690588   x3: 0x000000016e006ec0
    x4: 0x0000000000000000   x5: 0x0000000000003e10   x6: 0x0000000000000000   x7: 0x0000000000000310
    x8: 0x0000000000000000   x9: 0x0000000400000003  x10: 0x0000000200000003  x11: 0x0000000400000003
   x12: 0x0000000000000012  x13: 0x00000001440c6d10  x14: 0x01000001e8690589  x15: 0x00000001e8690588
   x16: 0x00000001909ce2a0  x17: 0x000000025d488688  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x00000001e8ceb558  x21: 0x0000000000000000  x22: 0x0000000124813630  x23: 0x00000001e8ceb558
   x24: 0x0000000000000a53  x25: 0x0000000000000000  x26: 0x0000600002356000  x27: 0x00000000000005ed
   x28: 0x500060000107af40   fp: 0x000000016e006e20   lr: 0x356a80010227e06c
    sp: 0x000000016e006d00   pc: 0x000000010227e384 cpsr: 0x60001000
   far: 0x0000000000000000  esr: 0xf2000001 (Breakpoint) brk 1

Binary Images:
       0x10e65c000 -        0x10e65ffff com.apple.icloud.drive.fileprovider.override (1.0) <9a46ecc7-963a-3987-9d93-96f045d94980> /System/Library/Frameworks/FileProvider.framework/OverrideBundles/iCloudDriveFileProviderOverride.bundle/Contents/MacOS/iCloudDriveFileProviderOverride
       0x10e6e0000 -        0x10e6fffff com.apple.findersync.fileprovideroverride.FinderSyncCollaborationFileProviderOverride (14.4) <119667db-3868-34d8-8cd8-afa60afc3716> /System/Library/Frameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride
       0x10e644000 -        0x10e64bfff com.apple.FileProviderOverride (1835.101.3) <971d2994-1481-3ef2-b129-080baeadbf02> /System/Library/Frameworks/FileProvider.framework/OverrideBundles/FileProviderOverride.bundle/Contents/MacOS/FileProviderOverride
       0x1029c8000 -        0x1029d3fff libobjc-trampolines.dylib (*) <e8a1b184-0349-3c61-a119-6543eb038317> /usr/lib/libobjc-trampolines.dylib
       0x10298c000 -        0x1029abfff com.apple.security.csparser (3.0) <d5ba6df5-4b0f-3b49-b7e3-923347e0a7d1> /System/Library/Frameworks/Security.framework/Versions/A/PlugIns/csparser.bundle/Contents/MacOS/csparser
       0x1021c8000 -        0x1025d7fff com.coteditor.CotEditor (4.8.0) <101fa1ef-7e0c-36c2-9f85-352f9db174ec> /Applications/CotEditor.app/Contents/MacOS/CotEditor
       0x190623000 -        0x190b80fff libswiftCore.dylib (*) <05650d36-bbc5-3760-aec7-4d2751b5d729> /usr/lib/swift/libswiftCore.dylib
       0x1807b6000 -        0x1807fdfff libdispatch.dylib (*) <7f973554-8168-35bf-ae86-2e9123e81bf7> /usr/lib/system/libdispatch.dylib
       0x1809cc000 -        0x180ea4fff com.apple.CoreFoundation (6.9) <33908a83-098f-3437-973e-fb848c4f39df> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x18b1b0000 -        0x18b473fff com.apple.HIToolbox (2.1.1) <c315e2a3-3fd1-3a2b-b205-b8b492b0f506> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
       0x184266000 -        0x1855a2fff com.apple.AppKit (6.9) <8b85317d-d56a-3370-8b78-da6c1d0fb53c> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x1805dc000 -        0x1806649db dyld (*) <f6dd3ec2-85a4-3ab1-8486-b189cd980ebe> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x180929000 -        0x180963ffb libsystem_kernel.dylib (*) <2a91fd2c-4cef-3211-a025-7a1c0a8c2db5> /usr/lib/system/libsystem_kernel.dylib
       0x180964000 -        0x180970fff libsystem_pthread.dylib (*) <45239f06-cc53-36d0-9933-7776ac7ea2fa> /usr/lib/system/libsystem_pthread.dylib
       0x247009000 -        0x247074ff7 libswift_Concurrency.dylib (*) <d6c9a750-a3e9-3aa3-9d68-e0d6b1469648> /usr/lib/swift/libswift_Concurrency.dylib

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.3G resident=0K(0%) swapped_out_or_unallocated=1.3G(100%)
Writable regions: Total=1.7G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.7G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               128K        1 
Activity Tracing                   256K        1 
AttributeGraph Data               1024K        1 
CG image                          2464K       52 
ColorSync                          704K       33 
CoreAnimation                     97.3M      144 
CoreGraphics                        48K        3 
CoreImage                           32K        2 
CoreUI image data                  944K       15 
Foundation                          80K        2 
Image IO                           224K        2 
Kernel Alloc Once                   32K        1 
MALLOC                             1.6G       62 
MALLOC guard page                  288K       18 
STACK GUARD                       56.1M        7 
Stack                             11.2M        7 
VM_ALLOCATE                        208K       12 
__AUTH                            3504K      476 
__AUTH_CONST                      36.9M      703 
__CTF                               824        1 
__DATA                            19.0M      690 
__DATA_CONST                      36.9M      714 
__DATA_DIRTY                      2157K      248 
__FONT_DATA                          4K        1 
__INFO_FILTER                         8        1 
__LINKEDIT                       526.2M        7 
__OBJC_RO                         71.7M        1 
__OBJC_RW                         2195K        1 
__TEXT                           838.1M      733 
dyld private memory                272K        2 
mapped file                      642.7M       76 
shared memory                      896K       16 
===========                     =======  ======= 
TOTAL                              3.9G     4033 

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

{"app_name":"CotEditor","timestamp":"2024-04-20 12:04:46.00 +0900","app_version":"4.8.0","slice_uuid":"101fa1ef-7e0c-36c2-9f85-352f9db174ec","adam_id":"1024640650","build_version":"642","platform":1,"bundleID":"com.coteditor.CotEditor","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.4.1 (23E224)","roots_installed":0,"name":"CotEditor","incident_id":"52B2BBFF-CBF3-4133-9961-B196E2D3A70A"}
{
  "uptime" : 19000,
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "Mac14,2",
  "coalitionID" : 1706,
  "osVersion" : {
    "train" : "macOS 14.4.1",
    "build" : "23E224",
    "releaseType" : "User"
  },
  "captureTime" : "2024-04-20 12:04:44.1979 +0900",
  "codeSigningMonitor" : 1,
  "incident" : "52B2BBFF-CBF3-4133-9961-B196E2D3A70A",
  "pid" : 3752,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2024-04-19 19:56:05.3373 +0900",
  "procStartAbsTime" : 5610957575,
  "procExitAbsTime" : 472159192921,
  "procName" : "CotEditor",
  "procPath" : "\/Applications\/CotEditor.app\/Contents\/MacOS\/CotEditor",
  "bundleInfo" : {"CFBundleShortVersionString":"4.8.0","CFBundleVersion":"642","CFBundleIdentifier":"com.coteditor.CotEditor"},
  "storeInfo" : {"storeCohortMetadata":"10|date=1659744000000&sf=143462&prpg=Genre_25209&ctxt=Account&lngid=9","itemID":"1024640650","deviceIdentifierForVendor":"5E2EA4D7-64A1-5CD2-A9CF-A15556DD42E9","thirdParty":true,"softwareVersionExternalIdentifier":"864844543"},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.coteditor.CotEditor",
  "crashReporterKey" : "5D438983-616D-8AEA-09D7-57E2F0417DD8",
  "codeSigningID" : "com.coteditor.CotEditor",
  "codeSigningTeamID" : "HT3Z3A72WZ",
  "codeSigningFlags" : 570520337,
  "codeSigningValidationCategory" : 4,
  "codeSigningTrustLevel" : 4294967295,
  "instructionByteStream" : {"beforePC":"4AMXqryxCpT5Axuq+g9A+UB7QPlU2w6pj\/\/\/FyAAINQgACDUIAAg1A==","atPC":"IAAg1CAAINQgACDU1bAKlPhfvKn2VwGp9E8Cqf17A6n9wwCR8wMIqg=="},
  "wakeTime" : 2986,
  "sleepWakeUUID" : "A546150C-F027-43C0-9816-4429FB472C3A",
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000001, 0x000000010227e384","rawCodes":[1,4331135876],"type":"EXC_BREAKPOINT","signal":"SIGTRAP"},
  "termination" : {"flags":0,"code":5,"namespace":"SIGNAL","indicator":"Trace\/BPT trap: 5","byProc":"exc handler","byPid":3752},
  "os_fault" : {"process":"CotEditor"},
  "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" : 5,
  "threads" : [{"id":20240,"threadState":{"x":[{"value":105553167761184},{"value":4334886184},{"value":3},{"value":5444993616},{"value":3},{"value":16128},{"value":105553167761152},{"value":2},{"value":5444993608},{"value":127},{"value":253168126197760},{"value":126},{"value":105553146758852},{"value":2095104},{"value":2043},{"value":2680213631},{"value":5444993648},{"value":37282},{"value":0},{"value":5444993616},{"value":4334886184},{"value":3},{"value":105553167761184},{"value":105553167761184},{"value":4334886184},{"value":8194063264,"symbolLocation":224,"symbol":"_main_thread"},{"value":105553126953728},{"value":15},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":12185755433577102668},"cpsr":{"value":536875008},"fp":{"value":6136488416},"sp":{"value":6136488352},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6721069580},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":3748364,"symbol":"swift_arrayInitWithCopy","symbolLocation":60,"imageIndex":6},{"imageOffset":638284,"imageIndex":5},{"imageOffset":2553984,"imageIndex":5},{"imageOffset":828488,"imageIndex":5},{"imageOffset":760080,"imageIndex":5},{"imageOffset":856124,"imageIndex":5},{"imageOffset":349096,"imageIndex":5},{"imageOffset":754892,"imageIndex":5},{"imageOffset":78960,"symbol":"_dispatch_block_async_invoke2","symbolLocation":148,"imageIndex":7},{"imageOffset":17384,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":7},{"imageOffset":76728,"symbol":"_dispatch_main_queue_drain","symbolLocation":988,"imageIndex":7},{"imageOffset":75724,"symbol":"_dispatch_main_queue_callback_4CF","symbolLocation":44,"imageIndex":7},{"imageOffset":783532,"symbol":"__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__","symbolLocation":16,"imageIndex":8},{"imageOffset":511024,"symbol":"__CFRunLoopRun","symbolLocation":1996,"imageIndex":8},{"imageOffset":507404,"symbol":"CFRunLoopRunSpecific","symbolLocation":608,"imageIndex":8},{"imageOffset":208896,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":9},{"imageOffset":208016,"symbol":"ReceiveNextEventCommon","symbolLocation":220,"imageIndex":9},{"imageOffset":207764,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":76,"imageIndex":9},{"imageOffset":239984,"symbol":"_DPSNextEvent","symbolLocation":660,"imageIndex":10},{"imageOffset":8572396,"symbol":"-[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":700,"imageIndex":10},{"imageOffset":187576,"symbol":"-[NSApplication run]","symbolLocation":476,"imageIndex":10},{"imageOffset":20308,"symbol":"NSApplicationMain","symbolLocation":880,"imageIndex":10},{"imageOffset":152764,"imageIndex":5},{"imageOffset":24800,"symbol":"start","symbolLocation":2360,"imageIndex":11}]},{"id":20383,"name":"com.apple.NSEventThread","threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592},{"value":301296250781696},{"value":0},{"value":301296250781696},{"value":2},{"value":4294967295},{"value":18446744073709550527},{"value":70151},{"value":0},{"value":1},{"value":70151},{"value":148182},{"value":0},{"value":0},{"value":18446744073709551569},{"value":8365403664},{"value":0},{"value":4294967295},{"value":2},{"value":301296250781696},{"value":0},{"value":301296250781696},{"value":6404005992},{"value":8589934592},{"value":21592279046},{"value":21592279046},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6452136740},"cpsr":{"value":4096},"fp":{"value":6404005840},"sp":{"value":6404005760},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6452060660},"far":{"value":0}},"frames":[{"imageOffset":4596,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":13},{"imageOffset":80676,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":13},{"imageOffset":40500,"symbol":"mach_msg_overwrite","symbolLocation":476,"imageIndex":13},{"imageOffset":5496,"symbol":"mach_msg","symbolLocation":24,"imageIndex":13},{"imageOffset":516184,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":8},{"imageOffset":510236,"symbol":"__CFRunLoopRun","symbolLocation":1208,"imageIndex":8},{"imageOffset":507404,"symbol":"CFRunLoopRunSpecific","symbolLocation":608,"imageIndex":8},{"imageOffset":1457332,"symbol":"_NSEventThread","symbolLocation":144,"imageIndex":10},{"imageOffset":28564,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":14},{"imageOffset":7476,"symbol":"thread_start","symbolLocation":8,"imageIndex":14}]},{"id":280957,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":14}],"threadState":{"x":[{"value":6137049088},{"value":30627},{"value":6136512512},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6137049088},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6452305184},"far":{"value":0}}},{"id":280965,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":14}],"threadState":{"x":[{"value":6138195968},{"value":45127},{"value":6137659392},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6138195968},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6452305184},"far":{"value":0}}},{"id":281334,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":14}],"threadState":{"x":[{"value":6139342848},{"value":83063},{"value":6138806272},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6139342848},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6452305184},"far":{"value":0}}},{"triggered":true,"id":281335,"threadState":{"x":[{"value":4628479464},{"value":17179869187},{"value":8194164104,"symbolLocation":0,"symbol":"OBJC_CLASS_$___NSCFString"},{"value":6140489408},{"value":0},{"value":15888},{"value":0},{"value":784},{"value":0},{"value":17179869187},{"value":8589934595},{"value":17179869187},{"value":18},{"value":5436632336},{"value":72057602232092041,"symbolLocation":72057594037927937,"symbol":"OBJC_CLASS_$___NSCFString"},{"value":8194164104,"symbolLocation":0,"symbol":"OBJC_CLASS_$___NSCFString"},{"value":6721168032,"symbolLocation":0,"symbol":"swift_release"},{"value":10154968712},{"value":0},{"value":0},{"value":8200828248,"symbolLocation":0,"symbol":"_swiftEmptyArrayStorage"},{"value":0},{"value":4907415088},{"value":8200828248,"symbolLocation":0,"symbol":"_swiftEmptyArrayStorage"},{"value":2643},{"value":0},{"value":105553153318912},{"value":1517},{"value":5764713076167782208}],"flavor":"ARM_THREAD_STATE64","lr":{"value":3849029573361000556},"cpsr":{"value":1610616832},"fp":{"value":6140489248},"sp":{"value":6140488960},"esr":{"value":4060086273,"description":"(Breakpoint) brk 1"},"pc":{"value":4331135876,"matchesCrashFrame":1},"far":{"value":0}},"frames":[{"imageOffset":746372,"imageIndex":5},{"imageOffset":491652,"imageIndex":5},{"imageOffset":495553,"imageIndex":5},{"imageOffset":352505,"symbol":"completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*)","symbolLocation":1,"imageIndex":15}]},{"id":281821,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":14}],"threadState":{"x":[{"value":6137622528},{"value":0},{"value":6137085952},{"value":0},{"value":278531},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6137622528},"esr":{"value":0,"description":" Address size fault"},"pc":{"value":6452305184},"far":{"value":0}}}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4536516608,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.icloud.drive.fileprovider.override",
    "size" : 16384,
    "uuid" : "9a46ecc7-963a-3987-9d93-96f045d94980",
    "path" : "\/System\/Library\/Frameworks\/FileProvider.framework\/OverrideBundles\/iCloudDriveFileProviderOverride.bundle\/Contents\/MacOS\/iCloudDriveFileProviderOverride",
    "name" : "iCloudDriveFileProviderOverride",
    "CFBundleVersion" : "2720.100.117"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4537057280,
    "CFBundleShortVersionString" : "14.4",
    "CFBundleIdentifier" : "com.apple.findersync.fileprovideroverride.FinderSyncCollaborationFileProviderOverride",
    "size" : 131072,
    "uuid" : "119667db-3868-34d8-8cd8-afa60afc3716",
    "path" : "\/System\/Library\/Frameworks\/FileProvider.framework\/OverrideBundles\/FinderSyncCollaborationFileProviderOverride.bundle\/Contents\/MacOS\/FinderSyncCollaborationFileProviderOverride",
    "name" : "FinderSyncCollaborationFileProviderOverride",
    "CFBundleVersion" : "1630.4.15"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4536418304,
    "CFBundleShortVersionString" : "1835.101.3",
    "CFBundleIdentifier" : "com.apple.FileProviderOverride",
    "size" : 32768,
    "uuid" : "971d2994-1481-3ef2-b129-080baeadbf02",
    "path" : "\/System\/Library\/Frameworks\/FileProvider.framework\/OverrideBundles\/FileProviderOverride.bundle\/Contents\/MacOS\/FileProviderOverride",
    "name" : "FileProviderOverride",
    "CFBundleVersion" : "1835.101.3"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4338778112,
    "size" : 49152,
    "uuid" : "e8a1b184-0349-3c61-a119-6543eb038317",
    "path" : "\/usr\/lib\/libobjc-trampolines.dylib",
    "name" : "libobjc-trampolines.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4338532352,
    "CFBundleShortVersionString" : "3.0",
    "CFBundleIdentifier" : "com.apple.security.csparser",
    "size" : 131072,
    "uuid" : "d5ba6df5-4b0f-3b49-b7e3-923347e0a7d1",
    "path" : "\/System\/Library\/Frameworks\/Security.framework\/Versions\/A\/PlugIns\/csparser.bundle\/Contents\/MacOS\/csparser",
    "name" : "csparser",
    "CFBundleVersion" : "61123.100.169"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4330389504,
    "CFBundleShortVersionString" : "4.8.0",
    "CFBundleIdentifier" : "com.coteditor.CotEditor",
    "size" : 4259840,
    "uuid" : "101fa1ef-7e0c-36c2-9f85-352f9db174ec",
    "path" : "\/Applications\/CotEditor.app\/Contents\/MacOS\/CotEditor",
    "name" : "CotEditor",
    "CFBundleVersion" : "642"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6717321216,
    "size" : 5627904,
    "uuid" : "05650d36-bbc5-3760-aec7-4d2751b5d729",
    "path" : "\/usr\/lib\/swift\/libswiftCore.dylib",
    "name" : "libswiftCore.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6450536448,
    "size" : 294912,
    "uuid" : "7f973554-8168-35bf-ae86-2e9123e81bf7",
    "path" : "\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6452723712,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5083136,
    "uuid" : "33908a83-098f-3437-973e-fb848c4f39df",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "2420"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6628769792,
    "CFBundleShortVersionString" : "2.1.1",
    "CFBundleIdentifier" : "com.apple.HIToolbox",
    "size" : 2899968,
    "uuid" : "c315e2a3-3fd1-3a2b-b205-b8b492b0f506",
    "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox",
    "name" : "HIToolbox"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6512074752,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 20172800,
    "uuid" : "8b85317d-d56a-3370-8b78-da6c1d0fb53c",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2487.50.124"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6448594944,
    "size" : 559580,
    "uuid" : "f6dd3ec2-85a4-3ab1-8486-b189cd980ebe",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6452056064,
    "size" : 241660,
    "uuid" : "2a91fd2c-4cef-3211-a025-7a1c0a8c2db5",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6452297728,
    "size" : 53248,
    "uuid" : "45239f06-cc53-36d0-9933-7776ac7ea2fa",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 9781153792,
    "size" : 442360,
    "uuid" : "d6c9a750-a3e9-3aa3-9d68-e0d6b1469648",
    "path" : "\/usr\/lib\/swift\/libswift_Concurrency.dylib",
    "name" : "libswift_Concurrency.dylib"
  }
],
  "sharedCache" : {
  "base" : 6447841280,
  "size" : 4189880320,
  "uuid" : "a53b7d2f-a773-3524-8828-248b33ef0b4e"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.3G resident=0K(0%) swapped_out_or_unallocated=1.3G(100%)\nWritable regions: Total=1.7G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.7G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               128K        1 \nActivity Tracing                   256K        1 \nAttributeGraph Data               1024K        1 \nCG image                          2464K       52 \nColorSync                          704K       33 \nCoreAnimation                     97.3M      144 \nCoreGraphics                        48K        3 \nCoreImage                           32K        2 \nCoreUI image data                  944K       15 \nFoundation                          80K        2 \nImage IO                           224K        2 \nKernel Alloc Once                   32K        1 \nMALLOC                             1.6G       62 \nMALLOC guard page                  288K       18 \nSTACK GUARD                       56.1M        7 \nStack                             11.2M        7 \nVM_ALLOCATE                        208K       12 \n__AUTH                            3504K      476 \n__AUTH_CONST                      36.9M      703 \n__CTF                               824        1 \n__DATA                            19.0M      690 \n__DATA_CONST                      36.9M      714 \n__DATA_DIRTY                      2157K      248 \n__FONT_DATA                          4K        1 \n__INFO_FILTER                         8        1 \n__LINKEDIT                       526.2M        7 \n__OBJC_RO                         71.7M        1 \n__OBJC_RW                         2195K        1 \n__TEXT                           838.1M      733 \ndyld private memory                272K        2 \nmapped file                      642.7M       76 \nshared memory                      896K       16 \n===========                     =======  ======= \nTOTAL                              3.9G     4033 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "c63f01c5591ce69e098430f954a5d22730bd6ae8",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "648cada15dbc71671bb3aa1b",
      "factorPackIds" : {
        "SIRI_UNDERSTANDING_ATTENTION_ASSETS" : "65a8118e05d9422724106749",
        "SIRI_UNDERSTANDING_ASR_ASSISTANT" : "65a8115446dfa0720068876d",
        "SIRI_UNDERSTANDING_NL" : "65a811c046dfa0720068876e",
        "SIRI_EXPERIENCE_CAM" : "65a81173096f6a1f1ba46525",
        "SIRI_UNDERSTANDING_MORPHUN" : "65a811a96c2f903aa921c246"
      },
      "deploymentId" : 240000116
    },
    {
      "rolloutId" : "652eff3d1bce5442b8d753c9",
      "factorPackIds" : {

      },
      "deploymentId" : 240000009
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "15fbe652-1354-4591-bab2-e1616c7bd990",
      "experimentId" : "65024de67d575f27b43072b0",
      "deploymentId" : 500000003
    }
  ]
}
}

Model: Mac14,2, BootROM 10151.101.3, proc 8:4:4 processors, 24 GB, SMC 
Graphics: Apple M2, Apple M2, Built-In
Display: LG HDR WQHD, 3440 x 1440 (UWQHD - Ultra-Wide Quad HD), Main, MirrorOff, Online
Memory Module: LPDDR5, Hynix
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4387), wl0: Jan 20 2024 04:08:41 version 20.103.12.0.8.7.171 FWID 01-e09d2675
AirPort: 
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
PCI Card: pci144d,a808, NVM Express Controller, Thunderbolt@6,0,0
PCI Card: pci144d,a808, NVM Express Controller, Thunderbolt@5,0,0
PCI Card: pci144d,a808, NVM Express Controller, Thunderbolt@3,0,0
PCI Card: pci144d,a808, NVM Express Controller, Thunderbolt@4,0,0
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB3.1 Hub
USB Device: USB3.1 Hub
USB Device: USB3.2 Hub
USB Device: USB3.2 Hub
USB Device: SSD-PGU3/NL
USB Device: USB2.1 Hub
USB Device: USB2.0 Hub
USB Device: USB2.1 Hub
USB Device: iLok
USB Device: USB MIDI
USB Device: USB2.1 Hub
USB Device: USB Audio Device
Thunderbolt Bus: MacBook Air, Apple Inc.
Thunderbolt Device: Express 4M2, Other World Computing, 1, 33.1
Thunderbolt Bus: MacBook Air, Apple Inc.
1024jp commented 6 months ago

レポートありがとうございます。 いただいたクラッシュログを読むと文字カウントの最中でクラッシュをしているようです。

たまたまかわかりませんが、放置中にクラッシュすることはなく、文字入力中にクラッシュします。 文字入力を開始すると直後クラッシュするわけでなく、問題なく入力している途中で急に発生します。漢字変換開始などのトリガも特になさそうです。

という状況とも合致するかと思います。

これから可能性を洗いますが、それまでの応急処置としては、設定から「ウインドウ」の「ステータスバー表示」のチェックボックスを全てオフにするとクラッシュ自身は発生治るかと思います。

1024jp commented 6 months ago

クラッシュログから推察して怪しい箇所に手を加えました。 今月中にリリースする4.8.1で変更が反映される予定です。

sdr0x07b6 commented 6 months ago

4.8.1 リリース直後から使い続けてみました。いまのところ 1 度も再現しておらず、修正されていると思います。ありがとうございます!

1024jp commented 6 months ago

経過のご連絡ありがとうございます。 対処箇所が効いたようでよかったです。 また何かありましたらご連絡ください。