Post

Replies

Boosts

Views

Activity

instruments Error using CLI
While running instruments using CLI we are seeing below error: command: xcrun xctrace record --template Leaks --launch application --output recording.trace -e DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib Run issues were detected (trace is still ready to be viewed): [Error] An error occurred trying to capture Leaks data. [Error] Failed to generate memory graph for pid 7828: failed to create a VMUTaskMemoryScanner, probably because the target's libmalloc hasn't been initialized Recording failed with errors. Saving output file... System details: Xcode 15.4 Mac :Intel processors MacOs:14.5
0
1
1.2k
Jul ’24
Branch coverage data with UBSAN enable (UndefinedBehaviorSanitizer) in Xcode
Hi, On enabling UBSAN(UndefinedBehaviorSanitizer) on Xcode a dip in branch coverage is observed. Is this behaviour expected? If the answer is yes, is there a way to enable UBSAN without affecting branch coverage data? Below is the reference of same code base, branch coverage data with enable and disable UBSAN Xcode version: 14.3.1 With UBSAN enable: Total branches: 250733 No of branches hit: 47945 With UBSAN disable: Total branches: 38673 No of branches hit: 11220
0
0
710
Mar ’24
Branch coverage data with UBSAN enable (UndefinedBehaviorSanitizer) in Xcode
Hi, On enabling UBSAN(UndefinedBehaviorSanitizer) on Xcode a dip in branch coverage is observed. Is this behaviour expected? If the answer is yes, is there a way to enable UBSAN without affecting branch coverage data? Below is the reference of same code base, branch coverage data with enable and disable UBSAN Xcode version: 14.3.1 With UBSAN enable: Total branches: 250733 No of branches hit: 47945 With UBSAN disable: Total branches: 38673 No of branches hit: 11220
1
0
633
Mar ’24
Xctrace issue in M1 processor
Hi I am getting the below error while doing memory profiling(launching instruments using xctrace command) in M1 processor. Run issues were detected (trace is still ready to be viewed): [Error] Failed to start the recording: ktrace cannot trace the system under Rosetta translation [Error] Unexpected failure: Data source agent failed to arm. [Error] Unexpected failure: Couriers have returned unexpectedly. Recording failed with errors. Saving output file... I am launching below command via jenkins: xcrun xctrace record --template 'Leaks' --launch <app_name> --output 'recording.trace'.
3
0
2.2k
Mar ’23
Lcov Branch Coverage
Lcov config file (.lcovrc) is not present in below default locations: ~./lcovrc How to link manually created lcovrc file to lcov to customise the behaviour of lcov?
Replies
0
Boosts
0
Views
277
Activity
Dec ’24
instruments Error using CLI
While running instruments using CLI we are seeing below error: command: xcrun xctrace record --template Leaks --launch application --output recording.trace -e DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib Run issues were detected (trace is still ready to be viewed): [Error] An error occurred trying to capture Leaks data. [Error] Failed to generate memory graph for pid 7828: failed to create a VMUTaskMemoryScanner, probably because the target's libmalloc hasn't been initialized Recording failed with errors. Saving output file... System details: Xcode 15.4 Mac :Intel processors MacOs:14.5
Replies
0
Boosts
1
Views
1.2k
Activity
Jul ’24
Branch coverage data with UBSAN enable (UndefinedBehaviorSanitizer) in Xcode
Hi, On enabling UBSAN(UndefinedBehaviorSanitizer) on Xcode a dip in branch coverage is observed. Is this behaviour expected? If the answer is yes, is there a way to enable UBSAN without affecting branch coverage data? Below is the reference of same code base, branch coverage data with enable and disable UBSAN Xcode version: 14.3.1 With UBSAN enable: Total branches: 250733 No of branches hit: 47945 With UBSAN disable: Total branches: 38673 No of branches hit: 11220
Replies
0
Boosts
0
Views
710
Activity
Mar ’24
Branch coverage data with UBSAN enable (UndefinedBehaviorSanitizer) in Xcode
Hi, On enabling UBSAN(UndefinedBehaviorSanitizer) on Xcode a dip in branch coverage is observed. Is this behaviour expected? If the answer is yes, is there a way to enable UBSAN without affecting branch coverage data? Below is the reference of same code base, branch coverage data with enable and disable UBSAN Xcode version: 14.3.1 With UBSAN enable: Total branches: 250733 No of branches hit: 47945 With UBSAN disable: Total branches: 38673 No of branches hit: 11220
Replies
1
Boosts
0
Views
633
Activity
Mar ’24
Xctrace issue in M1 processor
Hi I am getting the below error while doing memory profiling(launching instruments using xctrace command) in M1 processor. Run issues were detected (trace is still ready to be viewed): [Error] Failed to start the recording: ktrace cannot trace the system under Rosetta translation [Error] Unexpected failure: Data source agent failed to arm. [Error] Unexpected failure: Couriers have returned unexpectedly. Recording failed with errors. Saving output file... I am launching below command via jenkins: xcrun xctrace record --template 'Leaks' --launch <app_name> --output 'recording.trace'.
Replies
3
Boosts
0
Views
2.2k
Activity
Mar ’23