We were signing and notarizing our dmg files (containing an universal app bundle) just fine until it failed this same month, from our xcrun notarytool history:
--------------------------------------------------
createdDate: 2023-02-03T14:01:28.116Z
id: ....
name: FILE.dmg
status: Invalid
--------------------------------------------------
createdDate: 2022-12-12T22:20:17.885Z
id: ...
name: FILE.dmg
status: Accepted
--------------------------------------------------
...
Today we're trying to notarize a dmg and we continue with this error:
When calling xcrun notarytool submit --wait:
Submission ID received
id: 3c6xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Upload progress: 100,00 % (18,2 MB of 18,2 MB)
Successfully uploaded file
id: 3c6xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
path: /Users/.../FILE.dmg
Waiting for processing to complete.
Current status: Invalid..........
Processing complete
id: 3c6xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
status: Invalid
When using xcrun stapler staple:
CloudKit query for FILE.dmg (2/883xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) failed due to "Record not found".
Could not find base64 encoded ticket in response for 2/883xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
The staple and validate action failed! Error 65.
We tried to update our "Developer ID Application" certificate but the problem is still there. Do you know if this is a temporal problem? Or why could be this happening? Why this was working until last year 2022?
Post
Replies
Boosts
Views
Activity
Hi there, on our macOS app we're using NSView.layer.drawsAsynchronously=YES to draw the content of a NSView: self.wantsLayer = true;
self.layer.drawsAsynchronously = true;Where self is a NSView.Before macOS Catalina the app worked great, but after Catalina I started noticing that sometimes some parts are not completelly redraw/updated in the view. Not sure if something has changed in the middle about this drawsAsynchronously flag (without the flag there are no issues, but the performance drops as we are doing some heavy color space conversions).Anyway today we got a crash report, but this case is from Mac OS X 10.14.6 (18G103), not sure if it's related or already fixed in Catalina (maybe some recommendation to give to this specific user would be to update to macOS 10.15):Thread 13 Crashed:: Dispatch queue: CA::CG::Queue
0 com.apple.CoreFoundation 0x00007fff53a60019 CFEqual + 49
1 com.apple.CoreFoundation 0x00007fff53a5d93e CFBasicHashFindBucket + 1218
2 com.apple.CoreFoundation 0x00007fff53a5d456 CFDictionaryGetValue + 90
3 com.apple.driver.AppleIntelBDWGraphicsMTLDriver 0x00007fff4b510648 -[MTLIGAccelDevice newTextureWithDescriptor:iosurface:plane:] + 217
4 com.apple.QuartzCore 0x00007fff5e67efc0 CA::OGL::MetalContext::update_surface(CA::OGL::MetalImage*, CA::Render::Surface*, unsigned int, char const*) + 2986
5 com.apple.QuartzCore 0x00007fff5e541a8b CA::OGL::MetalContext::bind_image_impl(unsigned int, CA::Render::Texture*, unsigned int, CA::OGL::TextureFilter, CA::OGL::TextureFilter, float, CA::OGL::TextureEdgeMode, float*, char const*) + 559
6 com.apple.QuartzCore 0x00007fff5e541018 CA::OGL::Context::bind_image(unsigned int, CA::Render::Texture*, unsigned int, CA::OGL::TextureFilter, CA::OGL::TextureFilter, float, CA::OGL::TextureEdgeMode, CA::OGL::ContentsGeometry const*, float*, char const*) + 1046
7 com.apple.QuartzCore 0x00007fff5e5470ce CA::CG::fill_image(CA::CG::Renderer&, CGImage*, CA::Rect const&, CA::Mat2 const&, bool, bool, CGInterpolationQuality, CA::Bounds const*) + 4823
8 com.apple.QuartzCore 0x00007fff5e545dd8 CA::CG::DrawImage::draw_image(CA::CG::Renderer&, bool) const + 194
9 com.apple.QuartzCore 0x00007fff5e532919 CA::CG::DrawOp::render(CA::CG::Renderer&) const + 1919
10 com.apple.QuartzCore 0x00007fff5e52dfc1 CA::CG::Queue::render_callback(void*) + 1351
11 libdispatch.dylib 0x00007fff7f99963d _dispatch_client_callout + 8
12 libdispatch.dylib 0x00007fff7f99fa17 _dispatch_lane_serial_drain + 913
13 libdispatch.dylib 0x00007fff7f9a0396 _dispatch_lane_invoke + 385
14 libdispatch.dylib 0x00007fff7f9a86ed _dispatch_workloop_worker_thread + 598
15 libsystem_pthread.dylib 0x00007fff7fbd9611 _pthread_wqthread + 421
16 libsystem_pthread.dylib 0x00007fff7fbd93fd start_wqthread + 13For reference:Code where the NSView is created: https://github.com/aseprite/laf/blob/287e30976e201f99e20884afea1f4a3a1d78cbdb/os/osx/view.mm#L132Code where the paint is done: https://github.com/aseprite/laf/blob/287e30976e201f99e20884afea1f4a3a1d78cbdb/os/skia/skia_window_osx.mm#L373In case that you want the full .crash file please send me an email address where I can send it privately.
When a try to use the "Time Profiler" of Instruments Version 11.1 (11A1027) on macOS 10.15 Catalina, after attaching to a process and after a couple of seconds Instruments crashes. The diagnostic .crash file has this stacktrace for the crashed thread:Process: Instruments [83778]
Path: /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/MacOS/Instruments
Identifier: com.apple.dt.Instruments
Version: 11.0 (64525.11)
Build Info: Instruments-64525011000000000~86
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Instruments [83778]
User ID: 501
Date/Time: 2019-10-16 13:48:00.382 -0300
OS Version: Mac OS X 10.15 (19A583)
Report Version: 12
Bridge OS Version: 4.0 (17P572)
[...]
Thread 8 Crashed:: Dispatch queue: symbolicator -> address queue
0 com.apple.CoreSymbolicationDT 0x00000001067fc956 invocation function for block in foreach_object_in_archive(char const*, unsigned long long, char const*, void (CSCppFileMemory*, CSCppArchiveEntry const*, unsigned long long, bool*, bool*) block_pointer) + 34
1 com.apple.CoreSymbolicationDT 0x00000001067fb1fe new_partial_file_memory(char const*, unsigned long long, unsigned int, unsigned long long (CSCppFileMemory*) block_pointer) + 94
2 com.apple.CoreSymbolicationDT 0x00000001067fc4b5 iterate_symbol_owners_from_archive(char const*, unsigned long long, unsigned int, CSCppArchitecture const&, char const*, bool, void (CSCppSymbolOwner*) block_pointer) + 474
3 com.apple.CoreSymbolicationDT 0x00000001067fb4f7 iterate_symbol_owners_from_memory(CSCppMemory*, char const*, unsigned int, unsigned long long, unsigned int, CSCppArchitecture const&, char const*, bool, void (CSCppSymbolOwner*) block_pointer) + 464
4 com.apple.CoreSymbolicationDT 0x00000001067fbd10 iterate_symbol_owners_from_path(char const*, bool, unsigned int, CSCppArchitecture const&, bool, void (CSCppSymbolOwner*) block_pointer) + 441
5 com.apple.CoreSymbolicationDT 0x00000001067ec0cb CSSymbolicatorCreateWithPathArchitectureFlagsAndNotification + 251
6 com.apple.CoreSymbolicationDT 0x00000001067e485f void extract_debug_maps_from_header<SizeAndEndianness<Pointer64, LittleEndian> >(TExtendedMachOHeader<SizeAndEndianness<Pointer64, LittleEndian> >&, TRawSymbolOwnerData<SizeAndEndianness<Pointer64, LittleEndian>::SIZE>&, TNList<SizeAndEndianness<Pointer64, LittleEndian> > const*, unsigned int, TRange<SizeAndEndianness<Pointer64, LittleEndian>::SIZE>) + 542
7 com.apple.CoreSymbolicationDT 0x0000000106818c32 TRawSymbolOwnerData<SizeAndEndianness<Pointer64, LittleEndian>::SIZE>* create_traw_symbol_owner_data_arch_specific<SizeAndEndianness<Pointer64, LittleEndian> >(CSCppSymbolOwner*, CSCppDsymData*) + 5456
8 com.apple.CoreSymbolicationDT 0x00000001067d99d2 CSCppSymbolOwnerData* create_symbol_owner_data_arch_specific<SizeAndEndianness<Pointer64, LittleEndian> >(CSCppSymbolOwner*, CSCppDsymData*) + 480
9 com.apple.CoreSymbolicationDT 0x00000001067d94cb create_symbol_owner_data2(CSCppSymbolOwner*, CSCppDsymData*) + 70
10 com.apple.CoreSymbolicationDT 0x00000001067d916e CSCppSymbolOwnerCache::create_symbol_owner_data(CSCppSymbolOwner*, CSCppDsymData*) + 602
11 com.apple.CoreSymbolicationDT 0x00000001067d8aed CSCppSymbolOwnerCache::data_for_symbol_owner(CSCppSymbolOwner*) + 45
12 com.apple.CoreSymbolicationDT 0x00000001067d8a96 CSCppSymbolOwner::data() + 24
13 com.apple.CoreSymbolicationDT 0x00000001067fb050 CSSymbolOwnerForEachStackFrameAtAddress + 50
14 com.apple.dt.instruments.InstrumentsPlugIn 0x0000000105a9c204 -[PFTPersistentSymbols _iterateStackFramesForAddress:inSymbolOwner:atTime:] + 256
15 com.apple.dt.instruments.InstrumentsPlugIn 0x0000000105a9c5ba -[PFTPersistentSymbols _shadowSymbolForAddress:inSymbolicator:atTime:] + 200
16 com.apple.dt.instruments.InstrumentsPlugIn 0x0000000105a98bc5 __49-[PFTPersistentSymbols learnSymbolsForBacktrace:]_block_invoke_2 + 101
17 com.apple.dt.instruments.InstrumentsPlugIn 0x0000000105b31652 -[XRBacktraceTypeAdapter enumerateFramesInRange:options:block:] + 272
18 com.apple.dt.instruments.InstrumentsPlugIn 0x0000000105a98afd __49-[PFTPersistentSymbols learnSymbolsForBacktrace:]_block_invoke + 111
19 libdispatch.dylib 0x00007fff661714de _dispatch_client_callout + 8
20 libdispatch.dylib 0x00007fff6617d576 _dispatch_lane_barrier_sync_invoke_and_complete + 60
21 com.apple.dt.instruments.InstrumentsPlugIn 0x0000000105a98a6f -[PFTPersistentSymbols learnSymbolsForBacktrace:] + 112
22 com.apple.dt.instruments.InstrumentsPlugIn 0x0000000105a7b045 __33-[XRCallstackFixupOracle invoke:]_block_invoke + 1363
23 libdispatch.dylib 0x00007fff661714de _dispatch_client_callout + 8
24 libdispatch.dylib 0x00007fff6617d8c2 _dispatch_sync_invoke_and_complete_recurse + 65
25 libdispatch.dylib 0x00007fff6617d435 _dispatch_sync_f_slow + 195
26 com.apple.dt.instruments.InstrumentsPlugIn 0x0000000105a7aab8 -[XRCallstackFixupOracle invoke:] + 144
27 com.apple.dt.InstrumentsAnalysisCore 0x000000010535db4f -[XRAnalysisCoreObjectRegistry invokeOracleFunction:invocation:] + 63
28 com.apple.dt.InstrumentsAnalysisCore 0x0000000105292791 XRCLIPSBlackboardEngine::_cpCallstackFixup(environmentData*, udfContext*, udfValue*) + 337
29 com.apple.dt.InstrumentsAnalysisCore 0x0000000105350b75 EvaluateExpression + 437
30 com.apple.dt.InstrumentsAnalysisCore 0x0000000105243ebe AssertCommand + 766
31 com.apple.dt.InstrumentsAnalysisCore 0x0000000105350b75 EvaluateExpression + 437
32 com.apple.dt.InstrumentsAnalysisCore 0x0000000105265c9b PrognFunction + 75
33 com.apple.dt.InstrumentsAnalysisCore 0x0000000105350b75 EvaluateExpression + 437
34 com.apple.dt.InstrumentsAnalysisCore 0x00000001053565ec EvaluateProcActions + 620
35 com.apple.dt.InstrumentsAnalysisCore 0x0000000105375d21 Run + 1985
36 com.apple.dt.InstrumentsAnalysisCore 0x00000001052a3e5a invocation function for block in XRCLIPS::run(long long) + 26
37 com.apple.dt.InstrumentsAnalysisCore 0x00000001052a3483 _runInCLocale(void () block_pointer) + 51
38 com.apple.dt.InstrumentsAnalysisCore 0x0000000105295cbe XRCLIPSBlackboardEngine::executeRules() + 238
39 com.apple.dt.InstrumentsAnalysisCore 0x0000000105295518 XRCLIPSBlackboardEngine::modelEventStream(XRAnalysisCoreReadCursor*, signed char _Atomic*) + 968
40 com.apple.dt.InstrumentsAnalysisCore 0x0000000105267b52 -[XRCLIPSModeler populateOutputTables:usingObserverations:parameters:yieldFlag:] + 50
41 com.apple.dt.InstrumentsAnalysisCore 0x0000000105365b82 -[XRAnalysisCoreModelingExecutor executeStopOnItinerary:] + 3650
42 com.apple.dt.instruments.DVTInstrumentsUtilities 0x00000001050578e6 -[XRMobileAgent(XRMobileAgentStop) hello] + 253
43 com.apple.dt.instruments.DVTInstrumentsUtilities 0x0000000105053e73 __51-[XRFrameActivityManager _reevaluateArrivingAgent:]_block_invoke + 105
44 com.apple.dt.instruments.DVTInstrumentsUtilities 0x000000010505ad57 xray::scheduler::ActivityManager::_processActivity(void*) + 115
45 libdispatch.dylib 0x00007fff661714de _dispatch_client_callout + 8
46 libdispatch.dylib 0x00007fff66173690 _dispatch_continuation_pop + 414
47 libdispatch.dylib 0x00007fff66172d8e _dispatch_async_redirect_invoke + 703
48 libdispatch.dylib 0x00007fff6617f7e5 _dispatch_root_queue_drain + 326
49 libdispatch.dylib 0x00007fff6617ff25 _dispatch_worker_thread2 + 92
50 libsystem_pthread.dylib 0x00007fff663ca71d _pthread_wqthread + 220
51 libsystem_pthread.dylib 0x00007fff663ca5c3 start_wqthread + 15Somebody is having these issues on Catalina?