Skip to content

Instantly share code, notes, and snippets.

View btimofeev's full-sized avatar

Boris Timofeev btimofeev

View GitHub Profile
task runNdkBuild(type: Exec) {
def ndkDir = android.ndkDirectory
executable = "$ndkDir/ndk-build"
args = ['NDK_PROJECT_PATH=build/intermediates/ndk',
'NDK_LIBS_OUT=src/main/jniLibs',
'APP_BUILD_SCRIPT=src/main/jni/ndkbuild/Android.mk',
'NDK_APPLICATION_MK=src/main/jni/ndkbuild/Application.mk']
}
android {
defaultConfig {
ndk {
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
}
}
externalNativeBuild {
cmake {
path "src/main/jni/cmake/CMakeLists.txt"
}
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
2020-01-24 17:37:15.211 ? A/DEBUG: Abort message: 'FORTIFY: strchr: prevented read past end of buffer'
2020-01-24 17:37:15.211 ? A/DEBUG: x0 0000000000000000 x1 0000000000004686 x2 0000000000000006 x3 0000000000000008
2020-01-24 17:37:15.211 ? A/DEBUG: x4 0000800000808080 x5 0000800000808080 x6 0000800000808080 x7 0000000000000018
2020-01-24 17:37:15.211 ? A/DEBUG: x8 0000000000000083 x9 2fc56cce4dcce831 x10 0000000000000000 x11 fffffffc7ffffbdf
2020-01-24 17:37:15.211 ? A/DEBUG: x12 0000000000000001 x13 7265666675622066 x14 0000000000000030 x15 aaaaaaaaaaaaaaab
2020-01-24 17:37:15.211 ? A/DEBUG: x16 000000702ee102b8 x17 000000702ed2fee0 x18 0000000000000010 x19 0000000000004668
2020-01-24 17:37:15.212 ? A/DEBUG: x20 0000000000004686 x21 00000000000006b8 x22 0000006fa74aaa10 x23 00000000fffffffe
2020-01-24 17:37:15.212 ? A/DEBUG: x24 0000000000000002 x25 0000000000000010 x26 0000006f94bec000

Keybase proof

I hereby claim:

  • I am btimofeev on github.
  • I am btimofeev (https://keybase.io/btimofeev) on keybase.
  • I have a public key whose fingerprint is 85B4 2F6C CBCF C12D 788C 709C 2748 4A34 35E3 2C2A

To claim this, I am signing this object: