Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Parse Activity Monitor trace #1

Open
irfan-cloudnix opened this issue Mar 14, 2018 · 1 comment
Open

Unable to Parse Activity Monitor trace #1

irfan-cloudnix opened this issue Mar 14, 2018 · 1 comment

Comments

@irfan-cloudnix
Copy link

Initially when I ran the compiled project passing activity_monitor.trace file, it threw "Data processor has not been implemented for this type of instrument." because instrumentID was not compared to exact value, after modifying & running again, it is throwing error like

Instrument: Activity Monitor (com.apple.xray.instrument-type.activity)
Run #1: Run 1
time, CPUUserLoad, PhysicalMemoryActive, PhysicalMemoryWired, PhysicalMemoryUsed
2018-03-14 19:17:23.283 TraceDump[45587:618666] -[NSTaggedPointerString countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x33d80010e32d745
2018-03-14 19:17:23.283 TraceDump[45587:618666] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSTaggedPointerString countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x33d80010e32d745'
*** First throw call stack:
(
0 CoreFoundation 0x00007fffd5c542cb __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffeaa6a48d objc_exception_throw + 48
2 CoreFoundation 0x00007fffd5cd5f04 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x00007fffd5bc6755 forwarding + 1061
4 CoreFoundation 0x00007fffd5bc62a8 _CF_forwarding_prep_0 + 120
5 TraceDump 0x000000010e0819e4 ParseActivitymonitor + 292
6 TraceDump 0x000000010e082fc9 main + 3849
7 libdyld.dylib 0x00007fffeb350235 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6

Occurs in
ActivityMonitorHeader.h
ParseActivitymonitor()
for (NSDictionary *sample in _data) {

@loveharuhi
Copy link

很简单,不兼容呗。
你的设备肯定是iOS11.3以上了,貌似tracedump最高只支持到11.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants