Traced
Traced copied to clipboard
NSUnarchiver failed
I actually wanted for ActivityMonitor but even tried the project for CoreAnimation.trace with relevant 1.run file, & the script threw
2018-03-14 20:46:11.574 Traced[51116:681102] *** Terminating app due to uncaught exception 'NSArchiverArchiveInconsistency', reason: '*** Incorrect archive: unexpected byte' *** First throw call stack: ( 0 CoreFoundation 0x00007fffd5c542cb __exceptionPreprocess + 171 1 libobjc.A.dylib 0x00007fffeaa6a48d objc_exception_throw + 48 2 CoreFoundation 0x00007fffd5cd2c3d +[NSException raise:format:] + 205 3 Foundation 0x00007fffd7638299 _decodeReusedCStringUsingTable + 329 4 Foundation 0x00007fffd7638131 -[NSUnarchiver decodeObject] + 73 5 Traced 0x00000001055c9e0b -[PFTTrackSegment initWithCoder:] + 203 6 Foundation 0x00007fffd76385a6 _decodeObject_old + 416 7 Foundation 0x00007fffd7638fd5 _decodeValueOfObjCType + 978 8 Foundation 0x00007fffd7638bb7 -[NSUnarchiver decodeValueOfObjCType:at:] + 92 9 Foundation 0x00007fffd75d00b4 -[NSArray(NSArray) initWithCoder:] + 466 10 Foundation 0x00007fffd76385a6 _decodeObject_old + 416 11 Traced 0x00000001055c9fb0 -[XRRun initWithCoder:] + 240 12 Traced 0x00000001055ca5a9 -[XRVideoCardRun initWithCoder:] + 73 13 Foundation 0x00007fffd76385a6 _decodeObject_old + 416 14 Foundation 0x00007fffd76379e8 +[NSUnarchiver unarchiveObjectWithData:] + 64 15 Traced 0x00000001055c9d15 main + 149 16 libdyld.dylib 0x00007fffeb350235 start + 1 17 ??? 0x0000000000000001 0x0 + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException Abort trap: 6
Can you suggest the changes to be done in order to make it work for ActivityMonitor instrument.
I have also tried other repo's
https://github.com/zijie0/AMParser https://github.com/powerli/InstrumentsParser https://github.com/Qusic/TraceUtility https://github.com/sherlockZ/TraceDump
Most places the error is because of NSUnarchiver
Did you find a solution for this? I am getting the same error and unable to find the resolution