We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Mirroring internal bug http://b/241493489.
danalbert-macbookpro2 :: ~ » Library/Android/sdk/ndk/25.0.8775105/simpleperf/bin/darwin/x86_64/simpleperf [1] 68271 killed Library/Android/sdk/ndk/25.0.8775105/simpleperf/bin/darwin/x86_64/simpleperf
The logs (via /usr/bin/log show) imply this is an issue with signing:
/usr/bin/log show
2022-08-25 12:01:14.425139-0700 0xa24b7 Default 0x0 0 0 kernel: CODE SIGNING: cs_invalid_page(0x1044dc000): p=68319[simpleperf] final status 0x23020200, denying page sending SIGKILL 2022-08-25 12:01:14.425167-0700 0xa24b7 Default 0x0 0 0 kernel: CODE SIGNING: process 68319[simpleperf]: rejecting invalid page at address 0x1044dc000 from offset 0xa48000 in file "/Users/danalbert/Library/Android/sdk/ndk/25.0.8775105/simpleperf/bin/darwin/x86_64/simpleperf" (cs_mtime:1659027423.751343174 == mtime:1659027423.751343174) (signed:1 validated:1 tainted:1 nx:0 wpmapped:0 dirty:0 depth:0)
xattr reports that simpleperf is not quarantined. Attributes and signing state appears to match that of clang, which runs fine.
xattr
clang
I have the same problem when running simpleperf from the prebuilts directory, so I think it was broken before it reached the NDK:
danalbert-macbookpro2 :: ~ » /Volumes/src/ndk/prebuilts/simpleperf/bin/darwin/x86_64/simpleperf [1] 68469 killed /Volumes/src/ndk/prebuilts/simpleperf/bin/darwin/x86_64/simpleperf
Aside from fixing this, we need to investigate why QA didn't catch this.
r25
No response
Mac
12.5.1
armeabi-v7a, arm64-v8a, x86, x86_64
Other (specify below)
n/a
The text was updated successfully, but these errors were encountered:
Just ran into this when using simpleperf scripts from NDK. To workaround, I ran the following commands:
sudo codesign -f -s - bin/darwin/x86_64/libsimpleperf_report.dylib sudo codesign -f -s - bin/darwin/x86_64/simpleperf
Sorry, something went wrong.
@yabinc as FYI
https://android-review.googlesource.com/c/platform/prebuilts/simpleperf/+/2213721/ and https://android-review.googlesource.com/c/platform/prebuilts/simpleperf/+/2213722/ are the patches to cherry-pick.
DanAlbert
No branches or pull requests
Description
Mirroring internal bug http://b/241493489.
danalbert-macbookpro2 :: ~ » Library/Android/sdk/ndk/25.0.8775105/simpleperf/bin/darwin/x86_64/simpleperf [1] 68271 killed Library/Android/sdk/ndk/25.0.8775105/simpleperf/bin/darwin/x86_64/simpleperf
The logs (via
/usr/bin/log show
) imply this is an issue with signing:xattr
reports that simpleperf is not quarantined. Attributes and signing state appears to match that ofclang
, which runs fine.I have the same problem when running simpleperf from the prebuilts directory, so I think it was broken before it reached the NDK:
danalbert-macbookpro2 :: ~ » /Volumes/src/ndk/prebuilts/simpleperf/bin/darwin/x86_64/simpleperf [1] 68469 killed /Volumes/src/ndk/prebuilts/simpleperf/bin/darwin/x86_64/simpleperf
Aside from fixing this, we need to investigate why QA didn't catch this.
Affected versions
r25
Canary version
No response
Host OS
Mac
Host OS version
12.5.1
Affected ABIs
armeabi-v7a, arm64-v8a, x86, x86_64
Build system
Other (specify below)
Other build system
n/a
minSdkVersion
n/a
Device API level
n/a
The text was updated successfully, but these errors were encountered: