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

Lost connection to DTServiceHub #29

Open
bikee1235 opened this issue Aug 3, 2021 · 4 comments
Open

Lost connection to DTServiceHub #29

bikee1235 opened this issue Aug 3, 2021 · 4 comments

Comments

@bikee1235
Copy link

when we are running sysmontap.py

after running this we are losing the connection of the ios device

and in log getting this error

2021-08-03 08:18:01.355 xcodebuild[50493:2023541] [MT] IDETestOperationsObserverDebug: 217.413 elapsed -- Testing started completed.
2021-08-03 08:18:01.355 xcodebuild[50493:2023541] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
2021-08-03 08:18:01.355 xcodebuild[50493:2023541] [MT] IDETestOperationsObserverDebug: 217.413 sec, +217.413 sec -- end
2021-08-03 08:18:01.356 xcodebuild[50493:2023541] Error Domain=com.apple.platform.iphoneos Code=-13 "Lost connection to DTServiceHub" UserInfo={NSLocalizedDescription=Lost connection to DTServiceHub}

wanted to know is this sysmontap.py trying to restart service or what.

@YueChen-C
Copy link
Owner

Will start the "com.apple.instruments.remoteserver.DVTSecureSocketProxy" service.
I tried to run sysmontap.py while running the xctest script, no exception

What were you doing before running sysmontap.py?

@bikee1235
Copy link
Author

Running xctest using xcodebuild on the same device

on which I am running sysmontap.py

this error is coming in less than 14.0 version devices

@huang1988519
Copy link

Refer to this: https://developer.apple.com/forums/thread/677773
sysmontap will increasing memory.

device log:
DTServiceHub[16212] : Lockdown handler: Incoming connection for service: com.apple.instruments.deviceservice.lockdown.secure
DTServiceHub(NetworkStatistics)[16212] : Unable to allocate a kernel control socket
DTServiceHub(DVTInstrumentsFoundation)[16212] : Could not create NStatManagerRef

@YueChen-C
Copy link
Owner

We can reduce memory consumption by reducing the parameters of procAttrs and sysAttrs

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

3 participants