Menu

#107 Crash in -[NSCalendarDate initWithCoder:]

3.1.0
closed
nobody
crash (2)
1
2023-03-24
2023-03-23
Anonymous
No

Crash happening in both GrandPerspective 2.6.3 and 3.1.0 when scanning an old disk.

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

Process:               GrandPerspective [40486]
Path:                  /Applications/GrandPerspective.app/Contents/MacOS/GrandPerspective
Identifier:            net.sourceforge.grandperspectiv
Version:               3.1.0 (3.1.0)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2023-03-23 13:37:24.3867 +0800
OS Version:            macOS 13.3 (22E5246b)
Report Version:        12
Anonymous UUID:        3AA30E44-F9A9-D0F9-693B-54C0766FE3B6


Time Awake Since Boot: 57000 seconds

System Integrity Protection: enabled

Crashed Thread:        1

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

Application Specific Information:
abort() called


Application Specific Backtrace 0:
0   CoreFoundation                      0x00000001a27f719c __exceptionPreprocess + 176
1   libobjc.A.dylib                     0x00000001a23164d4 objc_exception_throw + 60
2   Foundation                          0x00000001a37a9b88 -[NSCalendarDate initWithCoder:] + 0
3   GrandPerspective                    0x0000000104135284 GrandPerspective + 37508
4   GrandPerspective                    0x0000000104134eb4 GrandPerspective + 36532
5   GrandPerspective                    0x0000000104134714 GrandPerspective + 34580
6   GrandPerspective                    0x00000001041341a0 GrandPerspective + 33184
7   GrandPerspective                    0x000000010413c774 GrandPerspective + 67444
8   GrandPerspective                    0x0000000104130350 GrandPerspective + 17232
9   Foundation                          0x00000001a36ee63c __NSThread__start__ + 716
10  libsystem_pthread.dylib             0x00000001a269ffa8 _pthread_start + 148
11  libsystem_pthread.dylib             0x00000001a269ada0 thread_start + 8


Thread 0::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib                 0x1a265ff14 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x1a2672240 mach_msg2_internal + 80
2   libsystem_kernel.dylib                 0x1a2668b78 mach_msg_overwrite + 604
3   libsystem_kernel.dylib                 0x1a2660290 mach_msg + 24
4   CoreFoundation                         0x1a277e8b8 __CFRunLoopServiceMachPort + 160
5   CoreFoundation                         0x1a277d198 __CFRunLoopRun + 1208
6   CoreFoundation                         0x1a277c58c CFRunLoopRunSpecific + 612
7   HIToolbox                              0x1abfb7df4 RunCurrentEventLoopInMode + 292
8   HIToolbox                              0x1abfb7c30 ReceiveNextEventCommon + 648
9   HIToolbox                              0x1abfb7988 _BlockUntilNextEventMatchingListInModeWithFilter + 76
10  AppKit                                 0x1a599bf58 _DPSNextEvent + 636
11  AppKit                                 0x1a599b0f4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
12  AppKit                                 0x1a598f558 -[NSApplication run] + 464
13  AppKit                                 0x1a59669a8 NSApplicationMain + 880
14  dyld                                   0x1a2347f28 start + 2236

Thread 1 Crashed:
0   libsystem_kernel.dylib                 0x1a2668724 __pthread_kill + 8
1   libsystem_pthread.dylib                0x1a269fc28 pthread_kill + 288
2   libsystem_c.dylib                      0x1a25adae8 abort + 180
3   libc++abi.dylib                        0x1a2658b84 abort_message + 132
4   libc++abi.dylib                        0x1a26483d0 demangling_terminate_handler() + 348
5   libobjc.A.dylib                        0x1a231f02c _objc_terminate() + 144
6   libc++abi.dylib                        0x1a2657f48 std::__terminate(void (*)()) + 16
7   libc++abi.dylib                        0x1a265af44 __cxa_rethrow + 148
8   libobjc.A.dylib                        0x1a2331670 objc_exception_rethrow + 44
9   GrandPerspective                       0x104134830 0x10412c000 + 34864
10  GrandPerspective                       0x1041341a0 0x10412c000 + 33184
11  GrandPerspective                       0x10413c774 0x10412c000 + 67444
12  GrandPerspective                       0x104130350 0x10412c000 + 17232
13  Foundation                             0x1a36ee63c __NSThread__start__ + 716
14  libsystem_pthread.dylib                0x1a269ffa8 _pthread_start + 148
15  libsystem_pthread.dylib                0x1a269ada0 thread_start + 8

Thread 2:
0   libsystem_kernel.dylib                 0x1a2663710 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x1a26a05a0 _pthread_cond_wait + 1276
2   Foundation                             0x1a36d0644 -[NSCondition waitUntilDate:] + 132
3   Foundation                             0x1a36d2bf0 -[NSConditionLock lockWhenCondition:beforeDate:] + 80
4   GrandPerspective                       0x104130300 0x10412c000 + 17152
5   Foundation                             0x1a36ee63c __NSThread__start__ + 716
6   libsystem_pthread.dylib                0x1a269ffa8 _pthread_start + 148
7   libsystem_pthread.dylib                0x1a269ada0 thread_start + 8

Thread 3:
0   libsystem_kernel.dylib                 0x1a2663710 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x1a26a05a0 _pthread_cond_wait + 1276
2   Foundation                             0x1a36d0644 -[NSCondition waitUntilDate:] + 132
3   Foundation                             0x1a36d2bf0 -[NSConditionLock lockWhenCondition:beforeDate:] + 80
4   GrandPerspective                       0x104130300 0x10412c000 + 17152
5   Foundation                             0x1a36ee63c __NSThread__start__ + 716
6   libsystem_pthread.dylib                0x1a269ffa8 _pthread_start + 148
7   libsystem_pthread.dylib                0x1a269ada0 thread_start + 8

Thread 4:
0   libsystem_kernel.dylib                 0x1a2663710 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x1a26a05a0 _pthread_cond_wait + 1276
2   Foundation                             0x1a36d0644 -[NSCondition waitUntilDate:] + 132
3   Foundation                             0x1a36d2bf0 -[NSConditionLock lockWhenCondition:beforeDate:] + 80
4   GrandPerspective                       0x104130300 0x10412c000 + 17152
5   Foundation                             0x1a36ee63c __NSThread__start__ + 716
6   libsystem_pthread.dylib                0x1a269ffa8 _pthread_start + 148
7   libsystem_pthread.dylib                0x1a269ada0 thread_start + 8

Thread 5:
0   libsystem_kernel.dylib                 0x1a2663710 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x1a26a05a0 _pthread_cond_wait + 1276
2   Foundation                             0x1a36d0644 -[NSCondition waitUntilDate:] + 132
3   Foundation                             0x1a36d2bf0 -[NSConditionLock lockWhenCondition:beforeDate:] + 80
4   GrandPerspective                       0x104130300 0x10412c000 + 17152
5   Foundation                             0x1a36ee63c __NSThread__start__ + 716
6   libsystem_pthread.dylib                0x1a269ffa8 _pthread_start + 148
7   libsystem_pthread.dylib                0x1a269ada0 thread_start + 8

Thread 6:: com.apple.NSEventThread
0   libsystem_kernel.dylib                 0x1a265ff14 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x1a2672240 mach_msg2_internal + 80
2   libsystem_kernel.dylib                 0x1a2668b78 mach_msg_overwrite + 604
3   libsystem_kernel.dylib                 0x1a2660290 mach_msg + 24
4   CoreFoundation                         0x1a277e8b8 __CFRunLoopServiceMachPort + 160
5   CoreFoundation                         0x1a277d198 __CFRunLoopRun + 1208
6   CoreFoundation                         0x1a277c58c CFRunLoopRunSpecific + 612
7   AppKit                                 0x1a5ac6508 _NSEventThread + 172
8   libsystem_pthread.dylib                0x1a269ffa8 _pthread_start + 148
9   libsystem_pthread.dylib                0x1a269ada0 thread_start + 8

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


Thread 1 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
    x4: 0x00000001a265c647   x5: 0x000000016befea70   x6: 0x000000000000006e   x7: 0x0000000000000003
    x8: 0x302c006c46dc35c8   x9: 0x302c006d2d33c5c8  x10: 0x0000000000000200  x11: 0x000000000000000b
   x12: 0x000000000000000b  x13: 0x00000000001ff800  x14: 0x00000000000007fb  x15: 0x00000000d4217045
   x16: 0x0000000000000148  x17: 0x0000000202619120  x18: 0x0000000000000000  x19: 0x0000000000000006
   x20: 0x000000016beff000  x21: 0x0000000000007b07  x22: 0x000000016beff0e0  x23: 0x000060000364dbc0
   x24: 0x0000000000000001  x25: 0x0000000000000001  x26: 0x0000000000000000  x27: 0x0000600001396340
   x28: 0x000060000388cde0   fp: 0x000000016befe9e0   lr: 0x00000001a269fc28
    sp: 0x000000016befe9c0   pc: 0x00000001a2668724 cpsr: 0x40001000
   far: 0x0000000102da4000  esr: 0x56000080  Address size fault

Binary Images:
       0x10412c000 -        0x104183fff net.sourceforge.grandperspectiv (3.1.0) <b1db46fb-c409-3d3d-8975-327e237a9a1c> /Applications/GrandPerspective.app/Contents/MacOS/GrandPerspective
       0x1141c8000 -        0x1141cffff com.apple.CloudDocsFileProvider (1.0) <26e33c5a-f76f-3570-8782-d0dc2d61ff00> /System/Library/Frameworks/FileProvider.framework/OverrideBundles/CloudDocsFileProvider.bundle/Contents/MacOS/CloudDocsFileProvider
       0x1142cc000 -        0x1142d3fff com.apple.FileProviderOverride (855.100.378) <782f062d-b9d5-3e62-9ce7-b68d197712a2> /System/Library/Frameworks/FileProvider.framework/OverrideBundles/FileProviderOverride.bundle/Contents/MacOS/FileProviderOverride
       0x11436c000 -        0x11438bfff com.apple.findersync.fileprovideroverride.FinderSyncCollaborationFileProviderOverride (13.3) <6595387e-b9f8-30db-80e9-74b906f4ecbc> /System/Library/Frameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride
       0x114194000 -        0x11419ffff libobjc-trampolines.dylib (*) <80f14f3d-d099-3693-a8e0-eb9a526b1790> /usr/lib/libobjc-trampolines.dylib
       0x1a265f000 -        0x1a2698fe7 libsystem_kernel.dylib (*) <7acbd9bc-d056-310e-858d-81b116cf6d28> /usr/lib/system/libsystem_kernel.dylib
       0x1a26ff000 -        0x1a2bd8fff com.apple.CoreFoundation (6.9) <b4fdaece-9727-3969-b014-27f7f24c8e01> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x1abf87000 -        0x1ac2bafff com.apple.HIToolbox (2.1.1) <9c280630-5809-33de-becf-2b6450175a0b> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
       0x1a5963000 -        0x1a6871fff com.apple.AppKit (6.9) <dbd67803-e4af-3304-ae10-581346225567> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x1a2342000 -        0x1a23d053b dyld (*) <19b64354-0fba-32a3-bce6-a38fd4547b86> /usr/lib/dyld
       0x1a2699000 -        0x1a26a5fff libsystem_pthread.dylib (*) <04373435-a2f3-3eb0-a8e1-8e24e9df064f> /usr/lib/system/libsystem_pthread.dylib
       0x1a2537000 -        0x1a25b5ff7 libsystem_c.dylib (*) <904e9645-d587-3981-94a4-545e31f32849> /usr/lib/system/libsystem_c.dylib
       0x1a2643000 -        0x1a265efff libc++abi.dylib (*) <fa1e66a8-48dd-3435-a00e-4fcd9bf5de69> /usr/lib/libc++abi.dylib
       0x1a22fc000 -        0x1a2341f3f libobjc.A.dylib (*) <25a3d3ea-8a9e-3a8f-becc-0199e4ed6f94> /usr/lib/libobjc.A.dylib
       0x1a3698000 -        0x1a405dfff com.apple.Foundation (6.9) <df9f26f5-906b-3240-b6e2-f81debdfd6c2> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation

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: 22
    thread_create: 1
    thread_set_state: 416


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

{"app_name":"GrandPerspective","timestamp":"2023-03-23 13:37:25.00 +0800","app_version":"3.1.0","slice_uuid":"b1db46fb-c409-3d3d-8975-327e237a9a1c","build_version":"3.1.0","platform":1,"bundleID":"net.sourceforge.grandperspectiv","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.3 (22E5246b)","roots_installed":0,"name":"GrandPerspective","incident_id":"02A64F6A-F43A-4A71-B407-3FBB9BE090BF"}
{
  "uptime" : 57000,
  "procRole" : "Background",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "Macmini9,1",
  "coalitionID" : 22056,
  "osVersion" : {
    "train" : "macOS 13.3",
    "build" : "22E5246b",
    "releaseType" : "User"
  },
  "captureTime" : "2023-03-23 13:37:24.3867 +0800",
  "incident" : "02A64F6A-F43A-4A71-B407-3FBB9BE090BF",
  "pid" : 40486,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-03-23 12:42:14.4784 +0800",
  "procStartAbsTime" : 1307472849210,
  "procExitAbsTime" : 1386908191293,
  "procName" : "GrandPerspective",
  "procPath" : "\/Applications\/GrandPerspective.app\/Contents\/MacOS\/GrandPerspective",
  "bundleInfo" : {"CFBundleShortVersionString":"3.1.0","CFBundleVersion":"3.1.0","CFBundleIdentifier":"net.sourceforge.grandperspectiv"},
  "storeInfo" : {"deviceIdentifierForVendor":"D7D3708B-65A0-56C8-8A0D-37B91E0F078A","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "net.sourceforge.grandperspectiv",
  "crashReporterKey" : "3AA30E44-F9A9-D0F9-693B-54C0766FE3B6",
  "throttleTimeout" : 2147483647,
  "codeSigningID" : "net.sourceforge.grandperspectiv",
  "codeSigningTeamID" : "3Z75QZGN66",
  "codeSigningFlags" : 570503953,
  "codeSigningValidationCategory" : 6,
  "codeSigningTrustLevel" : 0,
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "asi" : {"libsystem_c.dylib":["abort() called"]},
  "asiBacktraces" : ["0   CoreFoundation                      0x00000001a27f719c __exceptionPreprocess + 176\n1   libobjc.A.dylib                     0x00000001a23164d4 objc_exception_throw + 60\n2   Foundation                          0x00000001a37a9b88 -[NSCalendarDate initWithCoder:] + 0\n3   GrandPerspective                    0x0000000104135284 GrandPerspective + 37508\n4   GrandPerspective                    0x0000000104134eb4 GrandPerspective + 36532\n5   GrandPerspective                    0x0000000104134714 GrandPerspective + 34580\n6   GrandPerspective                    0x00000001041341a0 GrandPerspective + 33184\n7   GrandPerspective                    0x000000010413c774 GrandPerspective + 67444\n8   GrandPerspective                    0x0000000104130350 GrandPerspective + 17232\n9   Foundation                          0x00000001a36ee63c __NSThread__start__ + 716\n10  libsystem_pthread.dylib             0x00000001a269ffa8 _pthread_start + 148\n11  libsystem_pthread.dylib             0x00000001a269ada0 thread_start + 8"],
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":1,"thread_set_state":416,"task_for_pid":22},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "lastExceptionBacktrace" : [{"imageOffset":1016208,"symbol":"__exceptionPreprocess","symbolLocation":164,"imageIndex":6},{"imageOffset":107732,"symbol":"objc_exception_throw","symbolLocation":60,"imageIndex":13},{"imageOffset":1121160,"symbol":"-[NSCalendarDate initWithCoder:]","symbolLocation":0,"imageIndex":14},{"imageOffset":37508,"imageIndex":0},{"imageOffset":36532,"imageIndex":0},{"imageOffset":34580,"imageIndex":0},{"imageOffset":33184,"imageIndex":0},{"imageOffset":67444,"imageIndex":0},{"imageOffset":17232,"imageIndex":0},{"imageOffset":353852,"symbol":"__NSThread__start__","symbolLocation":716,"imageIndex":14},{"imageOffset":28584,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":10},{"imageOffset":7584,"symbol":"thread_start","symbolLocation":8,"imageIndex":10}],
  "faultingThread" : 1,
  "threads" : [{"id":524747,"queue":"com.apple.main-thread","frames":[{"imageOffset":3860,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":5},{"imageOffset":78400,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":5},{"imageOffset":39800,"symbol":"mach_msg_overwrite","symbolLocation":604,"imageIndex":5},{"imageOffset":4752,"symbol":"mach_msg","symbolLocation":24,"imageIndex":5},{"imageOffset":522424,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":6},{"imageOffset":516504,"symbol":"__CFRunLoopRun","symbolLocation":1208,"imageIndex":6},{"imageOffset":513420,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":6},{"imageOffset":200180,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":7},{"imageOffset":199728,"symbol":"ReceiveNextEventCommon","symbolLocation":648,"imageIndex":7},{"imageOffset":199048,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":76,"imageIndex":7},{"imageOffset":233304,"symbol":"_DPSNextEvent","symbolLocation":636,"imageIndex":8},{"imageOffset":229620,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":716,"imageIndex":8},{"imageOffset":181592,"symbol":"-[NSApplication run]","symbolLocation":464,"imageIndex":8},{"imageOffset":14760,"symbol":"NSApplicationMain","symbolLocation":880,"imageIndex":8},{"imageOffset":24360,"symbol":"start","symbolLocation":2236,"imageIndex":9}]},{"triggered":true,"id":524965,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":7019546183},{"value":6105852528},{"value":110},{"value":3},{"value":3471149877841114568},{"value":3471149881705612744},{"value":512},{"value":11},{"value":11},{"value":2095104},{"value":2043},{"value":3558961221},{"value":328},{"value":8629883168},{"value":0},{"value":6},{"value":6105853952},{"value":31495},{"value":6105854176},{"value":105553173208000},{"value":1},{"value":1},{"value":0},{"value":105553136804672},{"value":105553175563744}],"flavor":"ARM_THREAD_STATE64","lr":{"value":7019822120},"cpsr":{"value":1073745920},"fp":{"value":6105852384},"sp":{"value":6105852352},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":7019595556,"matchesCrashFrame":1},"far":{"value":4342824960}},"frames":[{"imageOffset":38692,"symbol":"__pthread_kill","symbolLocation":8,"imageIndex":5},{"imageOffset":27688,"symbol":"pthread_kill","symbolLocation":288,"imageIndex":10},{"imageOffset":486120,"symbol":"abort","symbolLocation":180,"imageIndex":11},{"imageOffset":88964,"symbol":"abort_message","symbolLocation":132,"imageIndex":12},{"imageOffset":21456,"symbol":"demangling_terminate_handler()","symbolLocation":348,"imageIndex":12},{"imageOffset":143404,"symbol":"_objc_terminate()","symbolLocation":144,"imageIndex":13},{"imageOffset":85832,"symbol":"std::__terminate(void (*)())","symbolLocation":16,"imageIndex":12},{"imageOffset":98116,"symbol":"__cxa_rethrow","symbolLocation":148,"imageIndex":12},{"imageOffset":218736,"symbol":"objc_exception_rethrow","symbolLocation":44,"imageIndex":13},{"imageOffset":34864,"imageIndex":0},{"imageOffset":33184,"imageIndex":0},{"imageOffset":67444,"imageIndex":0},{"imageOffset":17232,"imageIndex":0},{"imageOffset":353852,"symbol":"__NSThread__start__","symbolLocation":716,"imageIndex":14},{"imageOffset":28584,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":10},{"imageOffset":7584,"symbol":"thread_start","symbolLocation":8,"imageIndex":10}]},{"id":524966,"frames":[{"imageOffset":18192,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":5},{"imageOffset":30112,"symbol":"_pthread_cond_wait","symbolLocation":1276,"imageIndex":10},{"imageOffset":230980,"symbol":"-[NSCondition waitUntilDate:]","symbolLocation":132,"imageIndex":14},{"imageOffset":240624,"symbol":"-[NSConditionLock lockWhenCondition:beforeDate:]","symbolLocation":80,"imageIndex":14},{"imageOffset":17152,"imageIndex":0},{"imageOffset":353852,"symbol":"__NSThread__start__","symbolLocation":716,"imageIndex":14},{"imageOffset":28584,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":10},{"imageOffset":7584,"symbol":"thread_start","symbolLocation":8,"imageIndex":10}]},{"id":524967,"frames":[{"imageOffset":18192,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":5},{"imageOffset":30112,"symbol":"_pthread_cond_wait","symbolLocation":1276,"imageIndex":10},{"imageOffset":230980,"symbol":"-[NSCondition waitUntilDate:]","symbolLocation":132,"imageIndex":14},{"imageOffset":240624,"symbol":"-[NSConditionLock lockWhenCondition:beforeDate:]","symbolLocation":80,"imageIndex":14},{"imageOffset":17152,"imageIndex":0},{"imageOffset":353852,"symbol":"__NSThread__start__","symbolLocation":716,"imageIndex":14},{"imageOffset":28584,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":10},{"imageOffset":7584,"symbol":"thread_start","symbolLocation":8,"imageIndex":10}]},{"id":524968,"frames":[{"imageOffset":18192,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":5},{"imageOffset":30112,"symbol":"_pthread_cond_wait","symbolLocation":1276,"imageIndex":10},{"imageOffset":230980,"symbol":"-[NSCondition waitUntilDate:]","symbolLocation":132,"imageIndex":14},{"imageOffset":240624,"symbol":"-[NSConditionLock lockWhenCondition:beforeDate:]","symbolLocation":80,"imageIndex":14},{"imageOffset":17152,"imageIndex":0},{"imageOffset":353852,"symbol":"__NSThread__start__","symbolLocation":716,"imageIndex":14},{"imageOffset":28584,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":10},{"imageOffset":7584,"symbol":"thread_start","symbolLocation":8,"imageIndex":10}]},{"id":524969,"frames":[{"imageOffset":18192,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":5},{"imageOffset":30112,"symbol":"_pthread_cond_wait","symbolLocation":1276,"imageIndex":10},{"imageOffset":230980,"symbol":"-[NSCondition waitUntilDate:]","symbolLocation":132,"imageIndex":14},{"imageOffset":240624,"symbol":"-[NSConditionLock lockWhenCondition:beforeDate:]","symbolLocation":80,"imageIndex":14},{"imageOffset":17152,"imageIndex":0},{"imageOffset":353852,"symbol":"__NSThread__start__","symbolLocation":716,"imageIndex":14},{"imageOffset":28584,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":10},{"imageOffset":7584,"symbol":"thread_start","symbolLocation":8,"imageIndex":10}]},{"id":524985,"name":"com.apple.NSEventThread","frames":[{"imageOffset":3860,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":5},{"imageOffset":78400,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":5},{"imageOffset":39800,"symbol":"mach_msg_overwrite","symbolLocation":604,"imageIndex":5},{"imageOffset":4752,"symbol":"mach_msg","symbolLocation":24,"imageIndex":5},{"imageOffset":522424,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":6},{"imageOffset":516504,"symbol":"__CFRunLoopRun","symbolLocation":1208,"imageIndex":6},{"imageOffset":513420,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":6},{"imageOffset":1455368,"symbol":"_NSEventThread","symbolLocation":172,"imageIndex":8},{"imageOffset":28584,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":10},{"imageOffset":7584,"symbol":"thread_start","symbolLocation":8,"imageIndex":10}]},{"id":586219,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":10}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4363304960,
    "CFBundleShortVersionString" : "3.1.0",
    "CFBundleIdentifier" : "net.sourceforge.grandperspectiv",
    "size" : 360448,
    "uuid" : "b1db46fb-c409-3d3d-8975-327e237a9a1c",
    "path" : "\/Applications\/GrandPerspective.app\/Contents\/MacOS\/GrandPerspective",
    "name" : "GrandPerspective",
    "CFBundleVersion" : "3.1.0"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4632379392,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.CloudDocsFileProvider",
    "size" : 32768,
    "uuid" : "26e33c5a-f76f-3570-8782-d0dc2d61ff00",
    "path" : "\/System\/Library\/Frameworks\/FileProvider.framework\/OverrideBundles\/CloudDocsFileProvider.bundle\/Contents\/MacOS\/CloudDocsFileProvider",
    "name" : "CloudDocsFileProvider",
    "CFBundleVersion" : "1553.100.384"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4633444352,
    "CFBundleShortVersionString" : "855.100.378",
    "CFBundleIdentifier" : "com.apple.FileProviderOverride",
    "size" : 32768,
    "uuid" : "782f062d-b9d5-3e62-9ce7-b68d197712a2",
    "path" : "\/System\/Library\/Frameworks\/FileProvider.framework\/OverrideBundles\/FileProviderOverride.bundle\/Contents\/MacOS\/FileProviderOverride",
    "name" : "FileProviderOverride",
    "CFBundleVersion" : "855.100.378"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4634099712,
    "CFBundleShortVersionString" : "13.3",
    "CFBundleIdentifier" : "com.apple.findersync.fileprovideroverride.FinderSyncCollaborationFileProviderOverride",
    "size" : 131072,
    "uuid" : "6595387e-b9f8-30db-80e9-74b906f4ecbc",
    "path" : "\/System\/Library\/Frameworks\/FileProvider.framework\/OverrideBundles\/FinderSyncCollaborationFileProviderOverride.bundle\/Contents\/MacOS\/FinderSyncCollaborationFileProviderOverride",
    "name" : "FinderSyncCollaborationFileProviderOverride",
    "CFBundleVersion" : "1563.5.2"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4632166400,
    "size" : 49152,
    "uuid" : "80f14f3d-d099-3693-a8e0-eb9a526b1790",
    "path" : "\/usr\/lib\/libobjc-trampolines.dylib",
    "name" : "libobjc-trampolines.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7019556864,
    "size" : 237544,
    "uuid" : "7acbd9bc-d056-310e-858d-81b116cf6d28",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7020212224,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5087232,
    "uuid" : "b4fdaece-9727-3969-b014-27f7f24c8e01",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1971"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7180152832,
    "CFBundleShortVersionString" : "2.1.1",
    "CFBundleIdentifier" : "com.apple.HIToolbox",
    "size" : 3358720,
    "uuid" : "9c280630-5809-33de-becf-2b6450175a0b",
    "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox",
    "name" : "HIToolbox"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7073050624,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 15790080,
    "uuid" : "dbd67803-e4af-3304-ae10-581346225567",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2299.50.120"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7016292352,
    "size" : 582972,
    "uuid" : "19b64354-0fba-32a3-bce6-a38fd4547b86",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7019794432,
    "size" : 53248,
    "uuid" : "04373435-a2f3-3eb0-a8e1-8e24e9df064f",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7018344448,
    "size" : 520184,
    "uuid" : "904e9645-d587-3981-94a4-545e31f32849",
    "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7019442176,
    "size" : 114688,
    "uuid" : "fa1e66a8-48dd-3435-a00e-4fcd9bf5de69",
    "path" : "\/usr\/lib\/libc++abi.dylib",
    "name" : "libc++abi.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7016005632,
    "size" : 286528,
    "uuid" : "25a3d3ea-8a9e-3a8f-becc-0199e4ed6f94",
    "path" : "\/usr\/lib\/libobjc.A.dylib",
    "name" : "libobjc.A.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7036567552,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 10248192,
    "uuid" : "df9f26f5-906b-3240-b6e2-f81debdfd6c2",
    "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "1971"
  }
],
  "sharedCache" : {
  "base" : 7015628800,
  "size" : 3539419136,
  "uuid" : "7d40c862-2c25-373d-8e5f-398a70cd30e7"
},
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "d406b4abfb6915c06fece39509e2be79add0e153",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "62c751b6bcb0435c2153fe92",
      "factorPackIds" : {
        "SIRI_UNDERSTANDING_ASR_ASSISTANT" : "640bac73c473411a19effff2",
        "SIRI_UNDERSTANDING_MORPHUN" : "63f00b1c06644d312600c7bd"
      },
      "deploymentId" : 250000143
    },
    {
      "rolloutId" : "5f72dc58705eff005a46b3a9",
      "factorPackIds" : {

      },
      "deploymentId" : 250000014
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "783ca828-ae26-4bac-8c6e-8ac836d0cd5e",
      "experimentId" : "63b8ec83fd1d345f491884ba",
      "deploymentId" : 500000021
    },
    {
      "treatmentId" : "d064b8cd-c673-412c-b633-1a323a8ede00",
      "experimentId" : "6395821c8061fa721c8edc4c",
      "deploymentId" : 500000013
    }
  ]
}
}

Model: Macmini9,1, BootROM 8422.100.650, proc 8:4:4 processors, 16 GB, SMC 
Graphics: Apple M1, Apple M1, Built-In
Display: SAMSUNG, 1680 x 1050 (Widescreen Super eXtended Graphics Array Plus), Main, MirrorOff, Online
Memory Module: LPDDR4, Hynix
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4378), wl0: Jan 12 2023 05:52:26 version 18.20.383.14.7.8.149 FWID 01-1469d19d
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: My Passport 260F
USB Device: USB30Bus
USB Device: One Touch w/PW
USB Device: composite_device
Thunderbolt Bus: Mac mini, Apple Inc.
Thunderbolt Bus: Mac mini, Apple Inc.

Discussion

  • Erwin Bonsma

    Erwin Bonsma - 2023-03-23

    Thanks for the report. It's not directly clear what causes the crash. It appears to happen when GrandPerspective encounters a hard-linked item during the scan:

    atos -o GrandPerspective.app/Contents/MacOS/GrandPerspective -arch arm64 -l 0x10412c000 0x0000000104134eb4
    -[TreeBuilder(PrivateMethods) visitItemAtURL:parent:recurse:] (in GrandPerspective) (TreeBuilder.m:573)

    atos -o GrandPerspective.app/Contents/MacOS/GrandPerspective -arch arm64 -l 0x10412c000 0x0000000104135284
    -[TreeBuilder(PrivateMethods) visitHardLinkedItemAtURL:] (in GrandPerspective) (TreeBuilder.m:0)

    However, there's no explicit invocation of NSCalendarDate initWithCoder: there.

    Can you narrow down the problem? Does it always occur when scanning the same folder/file?
    See https://grandperspectiv.sourceforge.net/HelpDocumentation/HowToHandleCrashesWhileScanning.html. If you manage to narrow it down to a specific folder, do you see anything suspicious, in particular wrt to hard-linked items?

     
  • Cœur

    Cœur - 2023-03-24

    I'm the creator of this report.
    After running the scan from Xcode, the crash occurs on:

      NSAssert2(
        error==nil, @"Error getting attributes for %@: %@", url, error.description
      );
    

    And the error description is:

    Error Domain=NSPOSIXErrorDomain Code=63 "File name too long"

    The filename is indeed very long (337 characters). The disk is readonly NTFS, so I can't rename the file or delete it without risks.
    I replaced this assertion with:

      if (error != nil) {
        NSLog(@"Error getting attributes for %@: %@", url, error.description);
      }
    

    And I was able to scan the whole disk without a crash.

    I also made two merge requests for you while at it.

     

    Last edit: Cœur 2023-03-24
  • Erwin Bonsma

    Erwin Bonsma - 2023-03-24

    Thanks for the analysis and proposed fix. I have updated the code accordingly.

     
  • Erwin Bonsma

    Erwin Bonsma - 2023-03-24
    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB