NOTE: Issues that are not bugs or feature requests will be closed. Please ask usage questions on StackOverflow.
You must complete this information or else your issue will be closed
Have I written custom code (as opposed to using a stock example script provided in TensorFlow)?: No. I am just trying to compile & run the Android demo in nesl/RSTensorFlow.
TensorFlow installed from (source or binary)?: source
TensorFlow version: Release 1.1.0
Bazel version (if compiling from source): Build label: 0.4.2
CUDA/cuDNN version: NA
GPU Model and Memory: Qualcomm, Adreno (TM) 530, OpenGL ES 3.2 V@145.0. On Pixel XL running Android 7.1.2.
Exact command to reproduce: TF Detect & TF Classify crash with similar error. See below.
Describe the problem clearly
Android demo app compiles OK. The app crashes as soon as it runs with the following crash details:
$ adb logcat -b crash
02-11 17:22:02.693 2724 3013 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x2c in tid 3013 (inference)
02-11 17:22:02.769 3022 3022 F DEBUG :
02-11 17:22:02.770 3022 3022 F DEBUG : Build fingerprint: 'google/marlin/marlin:7.1.2/N2G47Q/3866111:userdebug/dev-keys'
02-11 17:22:02.770 3022 3022 F DEBUG : Revision: '0'
02-11 17:22:02.770 3022 3022 F DEBUG : ABI: 'arm'
02-11 17:22:02.770 3022 3022 F DEBUG : pid: 2724, tid: 3013, name: inference >>> org.tensorflow.demo <<<
02-11 17:22:02.770 3022 3022 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2c
02-11 17:22:02.770 3022 3022 F DEBUG : r0 00000000 r1 00000000 r2 c2cff040 r3 00000004
02-11 17:22:02.770 3022 3022 F DEBUG : r4 c2cff030 r5 c2cff030 r6 00000014 r7 c407a000
02-11 17:22:02.770 3022 3022 F DEBUG : r8 00000000 r9 c407a34c sl c407a328 fp 00000008
02-11 17:22:02.770 3022 3022 F DEBUG : ip ebab2ab4 sp c2cfefd8 lr 00000000 pc ebaa3c24 cpsr 200f0030
02-11 17:22:02.774 3022 3022 F DEBUG :
02-11 17:22:02.774 3022 3022 F DEBUG : backtrace:
02-11 17:22:02.774 3022 3022 F DEBUG : #00 pc 0002ac24 /system/lib/libRS_internal.so (_ZN7android12renderscript6Script6setVarEjPKvj+7)
02-11 17:22:02.774 3022 3022 F DEBUG : #01 pc 0002ffe5 /system/lib/libRS_internal.so (_ZN7android12renderscript17rsp_ScriptSetVarVEPNS0_7ContextEPKvj+40)
02-11 17:22:02.775 3022 3022 F DEBUG : #02 pc 0002eb2d /system/lib/libRS_internal.so (_ZN7android12renderscript8ThreadIO16playCoreCommandsEPNS0_7ContextEi+240)
02-11 17:22:02.775 3022 3022 F DEBUG : #03 pc 000210eb /system/lib/libRS_internal.so (_ZN7android12renderscript7Context10threadProcEPv+1114)
02-11 17:22:02.775 3022 3022 F DEBUG : #04 pc 00047093 /system/lib/libc.so (_ZL15__pthread_startPv+22)
02-11 17:22:02.775 3022 3022 F DEBUG : #05 pc 00019bdd /system/lib/libc.so (__start_thread+6)
Source Code / Logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full-traceback. Large logs and files should be attached. Try to reproducible test-case code the bare-minimum necessary to generate the problem
NOTE: Issues that are not bugs or feature requests will be closed. Please ask usage questions on StackOverflow.
You must complete this information or else your issue will be closed
Have I written custom code (as opposed to using a stock example script provided in TensorFlow)?: No. I am just trying to compile & run the Android demo in nesl/RSTensorFlow.
TensorFlow installed from (source or binary)?: source
TensorFlow version: Release 1.1.0
Bazel version (if compiling from source): Build label: 0.4.2
CUDA/cuDNN version: NA
GPU Model and Memory: Qualcomm, Adreno (TM) 530, OpenGL ES 3.2 V@145.0. On Pixel XL running Android 7.1.2.
Exact command to reproduce: TF Detect & TF Classify crash with similar error. See below.
Describe the problem clearly
Android demo app compiles OK. The app crashes as soon as it runs with the following crash details:
$ adb logcat | grep RenderScript 02-11 17:22:02.687 2724 3013 V RenderScript: Successfully loaded runtime: libRSDriver_adreno.so 02-11 17:22:02.691 2724 3013 E RenderScript: Couldn't create cache directory: /data/data/edu.ucla.nesl.rsbenchmark 02-11 17:22:02.691 2724 3013 E RenderScript: Error: Permission denied
$ adb logcat -b crash 02-11 17:22:02.693 2724 3013 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x2c in tid 3013 (inference) 02-11 17:22:02.769 3022 3022 F DEBUG : 02-11 17:22:02.770 3022 3022 F DEBUG : Build fingerprint: 'google/marlin/marlin:7.1.2/N2G47Q/3866111:userdebug/dev-keys' 02-11 17:22:02.770 3022 3022 F DEBUG : Revision: '0' 02-11 17:22:02.770 3022 3022 F DEBUG : ABI: 'arm' 02-11 17:22:02.770 3022 3022 F DEBUG : pid: 2724, tid: 3013, name: inference >>> org.tensorflow.demo <<< 02-11 17:22:02.770 3022 3022 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2c 02-11 17:22:02.770 3022 3022 F DEBUG : r0 00000000 r1 00000000 r2 c2cff040 r3 00000004 02-11 17:22:02.770 3022 3022 F DEBUG : r4 c2cff030 r5 c2cff030 r6 00000014 r7 c407a000 02-11 17:22:02.770 3022 3022 F DEBUG : r8 00000000 r9 c407a34c sl c407a328 fp 00000008 02-11 17:22:02.770 3022 3022 F DEBUG : ip ebab2ab4 sp c2cfefd8 lr 00000000 pc ebaa3c24 cpsr 200f0030 02-11 17:22:02.774 3022 3022 F DEBUG : 02-11 17:22:02.774 3022 3022 F DEBUG : backtrace: 02-11 17:22:02.774 3022 3022 F DEBUG : #00 pc 0002ac24 /system/lib/libRS_internal.so (_ZN7android12renderscript6Script6setVarEjPKvj+7) 02-11 17:22:02.774 3022 3022 F DEBUG : #01 pc 0002ffe5 /system/lib/libRS_internal.so (_ZN7android12renderscript17rsp_ScriptSetVarVEPNS0_7ContextEPKvj+40) 02-11 17:22:02.775 3022 3022 F DEBUG : #02 pc 0002eb2d /system/lib/libRS_internal.so (_ZN7android12renderscript8ThreadIO16playCoreCommandsEPNS0_7ContextEi+240) 02-11 17:22:02.775 3022 3022 F DEBUG : #03 pc 000210eb /system/lib/libRS_internal.so (_ZN7android12renderscript7Context10threadProcEPv+1114) 02-11 17:22:02.775 3022 3022 F DEBUG : #04 pc 00047093 /system/lib/libc.so (_ZL15__pthread_startPv+22) 02-11 17:22:02.775 3022 3022 F DEBUG : #05 pc 00019bdd /system/lib/libc.so (__start_thread+6)
Source Code / Logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full-traceback. Large logs and files should be attached. Try to reproducible test-case code the bare-minimum necessary to generate the problem