Samsung / GearVRf

The GearVR framework(GearVRf) is an Open Source VR rendering library for application development on VR-supported Android devices.
http://www.gearvrf.org
Apache License 2.0
407 stars 217 forks source link

Clojure integration #272

Closed ethernyEonian closed 8 years ago

ethernyEonian commented 8 years ago

Hi, i m working to use your SDK under clojure but i have an error at resource loading at application start. When the application start i receive an resource Exception : App start, and crash just before oculus loading ring.

It's looks like the loading ring resource not found. But i don't have the resource name.

E/SamsungIME( 2142):          isHWKeyboardConnected() = false --> false
E/SurfaceFlinger(  307): rejecting buffer: bufWidth=1440, bufHeight=2560, front.active.{w=2560, h=1440}
E/SmartFaceService(  925): onReceive: android.intent.action.CONFIGURATION_CHANGED
E/SmartFaceService(  925): mFolderCoverOpened: (true, true) -> true
E/EnterpriseSharedDevicePolicy(  925): isSharedDeviceEnabled
F/art     (24388): sart/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: JNI GetStringUTFChars called with pending exception 'android.content.res.Resources$NotFoundException' thrown in unknown throw location
F/art     (24388): sart/runtime/check_jni.cc:65]     in call to GetStringUTFChars
F/art     (24388): sart/runtime/check_jni.cc:65] "Thread-64552" prio=10 tid=4 Runnable
F/art     (24388): sart/runtime/check_jni.cc:65]   | group="main" sCount=0 dsCount=0 obj=0x12e4d160 self=0xb482f400
F/art     (24388): sart/runtime/check_jni.cc:65]   | sysTid=24422 nice=-11 cgrp=apps sched=0/0 handle=0xb4906b00
F/art     (24388): sart/runtime/check_jni.cc:65]   | state=R schedstat=( 86653857 14300415 119 ) utm=6 stm=2 core=3 HZ=100
F/art     (24388): sart/runtime/check_jni.cc:65]   | stack=0xa02aa000-0xa02ac000 stackSize=124KB
F/art     (24388): sart/runtime/check_jni.cc:65]   | held mutexes= "mutator lock"(shared held)
F/art     (24388): sart/runtime/check_jni.cc:65]   native: #00 pc 0000484c  /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+23)
F/art     (24388): sart/runtime/check_jni.cc:65]   native: #01 pc 00003031  /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+8)
F/art     (24388): sart/runtime/check_jni.cc:65]   native: #02 pc 0025d881  /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, char const*, art::mirror::ArtMethod*)+68)
F/art     (24388): sart/runtime/check_jni.cc:65]   native: #03 pc 00241191  /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+144)
F/art     (24388): sart/runtime/check_jni.cc:65]   native: #04 pc 000b612b  /system/lib/libart.so (art::JniAbort(char const*, char const*)+582)
F/art     (24388): sart/runtime/check_jni.cc:65]   native: #05 pc 000b6861  /system/lib/libart.so (art::JniAbortF(char const*, char const*, ...)+60)
F/art     (24388): sart/runtime/check_jni.cc:65]   native: #06 pc 000b99af  /system/lib/libart.so (art::ScopedCheck::ScopedCheck(_JNIEnv*, int, char const*)+1286)
F/art     (24388): sart/runtime/check_jni.cc:65]   native: #07 pc 000c1799  /system/lib/libart.so (art::CheckJNI::GetStringUTFChars(_JNIEnv*, _jstring*, unsigned char*)+24)
F/art     (24388): sart/runtime/check_jni.cc:65]   native: #08 pc 0000a93c  /data/app/test.leindroid.sample.debug-1/lib/arm/libvrapi.so (???)
F/art     (24388): sart/runtime/check_jni.cc:65]   native: #09 pc 00010cdc  /data/app/test.leindroid.sample.debug-1/lib/arm/libvrapi.so (vrapi_EnterVrMode+164)
F/art     (24388): sart/runtime/check_jni.cc:65]   native: #10 pc 0011a5e0  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (OVR::AppLocal::EnterVrMode()+144)
F/art     (24388): sart/runtime/check_jni.cc:65]   native: #11 pc 0011eb8c  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (OVR::AppLocal::HandleVrModeChanges()+72)
F/art     (24388): sart/runtime/check_jni.cc:65]   native: #12 pc 0011b15c  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (OVR::AppLocal::Command(char const*)+384)
F/art     (24388): sart/runtime/check_jni.cc:65]   native: #13 pc 0011c008  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (OVR::AppLocal::VrThreadFunction()+1104)
F/art     (24388): sart/runtime/check_jni.cc:65]   native: #14 pc 0011d3a8  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (OVR::AppLocal::ThreadStarter(OVR::Thread*, void*)+8)
F/art     (24388): sart/runtime/check_jni.cc:65]   native: #15 pc 00139cc8  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (???)
F/art     (24388): sart/runtime/check_jni.cc:65]   native: #16 pc 0013a0d0  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (???)
F/art     (24388): sart/runtime/check_jni.cc:65]   native: #17 pc 00013f07  /system/lib/libc.so (__pthread_start(void*)+30)
F/art     (24388): sart/runtime/check_jni.cc:65]   native: #18 pc 00011f3b  /system/lib/libc.so (__start_thread+6)
F/art     (24388): sart/runtime/check_jni.cc:65]   (no managed stack frames)
F/art     (24388): sart/runtime/check_jni.cc:65]
F/art     (24388): sart/runtime/runtime.cc:292] Runtime aborting...
F/art     (24388): sart/runtime/runtime.cc:292] Aborting thread:
F/art     (24388): sart/runtime/runtime.cc:292] "Thread-64552" prio=10 tid=4 Native
F/art     (24388): sart/runtime/runtime.cc:292]   | group="" sCount=0 dsCount=0 obj=0x12e4d160 self=0xb482f400
F/art     (24388): sart/runtime/runtime.cc:292]   | sysTid=24422 nice=-11 cgrp=apps sched=0/0 handle=0xb4906b00
F/art     (24388): sart/runtime/runtime.cc:292]   | state=R schedstat=( 103365575 18072655 187 ) utm=7 stm=3 core=3 HZ=100
F/art     (24388): sart/runtime/runtime.cc:292]   | stack=0xa02aa000-0xa02ac000 stackSize=124KB
F/art     (24388): sart/runtime/runtime.cc:292]   | held mutexes= "abort lock" "mutator lock"(shared held)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #00 pc 0000484c  /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+23)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #01 pc 00003031  /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+8)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #02 pc 0025d881  /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, char const*, art::mirror::ArtMethod*)+68)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #03 pc 00241191  /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+144)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #04 pc 0022fec7  /system/lib/libart.so (art::AbortState::DumpThread(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, art::Thread*)+22)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #05 pc 00230845  /system/lib/libart.so (art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+364)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #06 pc 00230a11  /system/lib/libart.so (art::Runtime::Abort()+72)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #07 pc 000ac4db  /system/lib/libart.so (art::LogMessage::~LogMessage()+1322)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #08 pc 000b6309  /system/lib/libart.so (art::JniAbort(char const*, char const*)+1060)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #09 pc 000b6861  /system/lib/libart.so (art::JniAbortF(char const*, char const*, ...)+60)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #10 pc 000b99af  /system/lib/libart.so (art::ScopedCheck::ScopedCheck(_JNIEnv*, int, char const*)+1286)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #11 pc 000c1799  /system/lib/libart.so (art::CheckJNI::GetStringUTFChars(_JNIEnv*, _jstring*, unsigned char*)+24)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #12 pc 0000a93c  /data/app/test.leindroid.sample.debug-1/lib/arm/libvrapi.so (???)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #13 pc 00010cdc  /data/app/test.leindroid.sample.debug-1/lib/arm/libvrapi.so (vrapi_EnterVrMode+164)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #14 pc 0011a5e0  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (OVR::AppLocal::EnterVrMode()+144)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #15 pc 0011eb8c  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (OVR::AppLocal::HandleVrModeChanges()+72)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #16 pc 0011b15c  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (OVR::AppLocal::Command(char const*)+384)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #17 pc 0011c008  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (OVR::AppLocal::VrThreadFunction()+1104)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #18 pc 0011d3a8  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (OVR::AppLocal::ThreadStarter(OVR::Thread*, void*)+8)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #19 pc 00139cc8  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (???)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #20 pc 0013a0d0  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (???)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #21 pc 00013f07  /system/lib/libc.so (__pthread_start(void*)+30)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #22 pc 00011f3b  /system/lib/libc.so (__start_thread+6)
F/art     (24388): sart/runtime/runtime.cc:292]   (no managed stack frames)
F/art     (24388): sart/runtime/runtime.cc:292] Pending exception android.content.res.Resources$NotFoundException thrown by 'unknown throw location'
F/art     (24388): sart/runtime/runtime.cc:292] android.content.res.Resources$NotFoundException: String resource ID #0x0
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.CharSequence android.content.res.Resources.getText(int) (Resources.java:1409)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.String android.content.res.Resources.getString(int) (Resources.java:1503)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.String android.content.Context.getString(int) (Context.java:383)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.String com.oculus.vrapi.VrApi.getApplicationName(android.app.Activity) (VrApi.java:183)
F/art     (24388): sart/runtime/runtime.cc:292] Dumping all threads without appropriate locks held: thread list lock mutator lock
F/art     (24388): sart/runtime/runtime.cc:292] All threads:
F/art     (24388): sart/runtime/runtime.cc:292] DALVIK THREADS (16):
F/art     (24388): sart/runtime/runtime.cc:292] "main" prio=10 tid=1 Native
F/art     (24388): sart/runtime/runtime.cc:292]   | group="" sCount=0 dsCount=0 obj=0x881aa000 self=0xb4827800
F/art     (24388): sart/runtime/runtime.cc:292]   | sysTid=24388 nice=-11 cgrp=apps sched=0/0 handle=0xb6f94bec
F/art     (24388): sart/runtime/runtime.cc:292]   | state=S schedstat=( 401787710 101389436 1236 ) utm=28 stm=12 core=2 HZ=100
F/art     (24388): sart/runtime/runtime.cc:292]   | stack=0xbe58e000-0xbe590000 stackSize=8MB
F/art     (24388): sart/runtime/runtime.cc:292]   | held mutexes=
F/art     (24388): sart/runtime/runtime.cc:292]   native: #00 pc 000104b0  /system/lib/libc.so (syscall+28)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #01 pc 00013dd9  /system/lib/libc.so (__pthread_cond_timedwait_relative(pthread_cond_t*, pthread_mutex_t*, timespec const*)+56)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #02 pc 0013afb8  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (???)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #03 pc 0013080c  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (OVR::ovrMessageQueue::PostMessage(char const*, bool, bool)+432)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #04 pc 00130ae4  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (OVR::ovrMessageQueue::SendPrintf(char const*, ...)+116)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #05 pc 005f593d  /data/dalvik-cache/arm/data@app@test.leindroid.sample.debug-1@base.apk@classes.dex (Java_com_oculus_vrappframework_VrApp_nativeSurfaceCreated__JLandroid_view_Surface_2+120)
F/art     (24388): sart/runtime/runtime.cc:292]   at com.oculus.vrappframework.VrApp.nativeSurfaceCreated(Native method)
F/art     (24388): sart/runtime/runtime.cc:292]   at com.oculus.vrappframework.VrApp.surfaceCreated(VrApp.java:75)
F/art     (24388): sart/runtime/runtime.cc:292]   at android.view.SurfaceView.updateWindow(SurfaceView.java:688)
F/art     (24388): sart/runtime/runtime.cc:292]   at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:200)
F/art     (24388): sart/runtime/runtime.cc:292]   at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:1018)
F/art     (24388): sart/runtime/runtime.cc:292]   at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2296)
F/art     (24388): sart/runtime/runtime.cc:292]   at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1297)
F/art     (24388): sart/runtime/runtime.cc:292]   at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6981)
F/art     (24388): sart/runtime/runtime.cc:292]   at android.view.Choreographer$CallbackRecord.run(Choreographer.java:777)
F/art     (24388): sart/runtime/runtime.cc:292]   at android.view.Choreographer.doCallbacks(Choreographer.java:590)
F/art     (24388): sart/runtime/runtime.cc:292]   at android.view.Choreographer.doFrame(Choreographer.java:560)
F/art     (24388): sart/runtime/runtime.cc:292]   at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:763)
F/art     (24388): sart/runtime/runtime.cc:292]   at android.os.Handler.handleCallback(Handler.java:739)
F/art     (24388): sart/runtime/runtime.cc:292]   at android.os.Handler.dispatchMessage(Handler.java:95)
F/art     (24388): sart/runtime/runtime.cc:292]   at android.os.Looper.loop(Looper.java:145)
F/art     (24388): sart/runtime/runtime.cc:292]   at android.app.ActivityThread.main(ActivityThread.java:6872)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.reflect.Method.invoke!(Native method)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.reflect.Method.invoke(Method.java:372)
F/art     (24388): sart/runtime/runtime.cc:292]   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
F/art     (24388): sart/runtime/runtime.cc:292]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
F/art     (24388): sart/runtime/runtime.cc:292]
F/art     (24388): sart/runtime/runtime.cc:292] "Signal Catcher" prio=10 tid=2 WaitingInMainSignalCatcherLoop
F/art     (24388): sart/runtime/runtime.cc:292]   | group="" sCount=0 dsCount=0 obj=0x12c450a0 self=0xae492400
F/art     (24388): sart/runtime/runtime.cc:292]   | sysTid=24395 nice=0 cgrp=apps sched=0/0 handle=0xb4904f80
F/art     (24388): sart/runtime/runtime.cc:292]   | state=S schedstat=( 1460729 5329272 6 ) utm=0 stm=0 core=1 HZ=100
F/art     (24388): sart/runtime/runtime.cc:292]   | stack=0xb4005000-0xb4007000 stackSize=1012KB
F/art     (24388): sart/runtime/runtime.cc:292]   | held mutexes=
F/art     (24388): sart/runtime/runtime.cc:292]   native: #00 pc 000387a4  /system/lib/libc.so (__rt_sigtimedwait+12)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #01 pc 000156a1  /system/lib/libc.so (sigwait+24)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #02 pc 00234b4b  /system/lib/libart.so (art::SignalCatcher::WaitForSignal(art::Thread*, art::SignalSet&)+66)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #03 pc 00236643  /system/lib/libart.so (art::SignalCatcher::Run(void*)+194)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #04 pc 00013f07  /system/lib/libc.so (__pthread_start(void*)+30)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #05 pc 00011f3b  /system/lib/libc.so (__start_thread+6)
F/art     (24388): sart/runtime/runtime.cc:292]   (no managed stack frames)
F/art     (24388): sart/runtime/runtime.cc:292]
F/art     (24388): sart/runtime/runtime.cc:292] "JDWP" prio=10 tid=3 WaitingInMainDebuggerLoop
F/art     (24388): sart/runtime/runtime.cc:292]   | group="" sCount=0 dsCount=0 obj=0x12c480a0 self=0xb4827c00
F/art     (24388): sart/runtime/runtime.cc:292]   | sysTid=24396 nice=0 cgrp=apps sched=0/0 handle=0xb4906380
F/art     (24388): sart/runtime/runtime.cc:292]   | state=S schedstat=( 2096617 4829738 19 ) utm=0 stm=0 core=3 HZ=100
F/art     (24388): sart/runtime/runtime.cc:292]   | stack=0xb3f07000-0xb3f09000 stackSize=1012KB
F/art     (24388): sart/runtime/runtime.cc:292]   | held mutexes=
F/art     (24388): sart/runtime/runtime.cc:292]   native: #00 pc 00037dd8  /system/lib/libc.so (__pselect6+20)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #01 pc 0001369f  /system/lib/libc.so (select+60)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #02 pc 0029d527  /system/lib/libart.so (art::JDWP::JdwpAdbState::ProcessIncoming()+186)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #03 pc 001a2021  /system/lib/libart.so (art::JDWP::JdwpState::Run()+348)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #04 pc 001a354b  /system/lib/libart.so (art::JDWP::StartJdwpThread(void*)+10)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #05 pc 00013f07  /system/lib/libc.so (__pthread_start(void*)+30)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #06 pc 00011f3b  /system/lib/libc.so (__start_thread+6)
F/art     (24388): sart/runtime/runtime.cc:292]   (no managed stack frames)
F/art     (24388): sart/runtime/runtime.cc:292]
F/art     (24388): sart/runtime/runtime.cc:292] "ReferenceQueueDaemon" prio=10 tid=5 Waiting
F/art     (24388): sart/runtime/runtime.cc:292]   | group="" sCount=0 dsCount=0 obj=0x12c4e0a0 self=0xae493400
F/art     (24388): sart/runtime/runtime.cc:292]   | sysTid=24398 nice=0 cgrp=apps sched=0/0 handle=0xae463d00
F/art     (24388): sart/runtime/runtime.cc:292]   | state=S schedstat=( 1678074 1889063 21 ) utm=0 stm=0 core=0 HZ=100
F/art     (24388): sart/runtime/runtime.cc:292]   | stack=0xb3cff000-0xb3d01000 stackSize=1036KB
F/art     (24388): sart/runtime/runtime.cc:292]   | held mutexes=
F/art     (24388): sart/runtime/runtime.cc:292]   native: #00 pc 000104b0  /system/lib/libc.so (syscall+28)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #01 pc 000aef9b  /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #02 pc 001ff99b  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+998)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #03 pc 00200db9  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+120)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #04 pc 0020fd85  /system/lib/libart.so (art::Object_wait(_JNIEnv*, _jobject*)+32)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #05 pc 000003ef  /system/framework/arm/boot.oat (Java_java_lang_Object_wait__+82)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Object.wait!(Native method)
F/art     (24388): sart/runtime/runtime.cc:292]   - waiting on <0x05ae8c0e> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:134)
F/art     (24388): sart/runtime/runtime.cc:292]   - locked <0x05ae8c0e> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Thread.run(Thread.java:818)
F/art     (24388): sart/runtime/runtime.cc:292]
F/art     (24388): sart/runtime/runtime.cc:292] "Binder_1" prio=10 tid=6 Native
F/art     (24388): sart/runtime/runtime.cc:292]   | group="" sCount=0 dsCount=0 obj=0x12c680a0 self=0xae494400
F/art     (24388): sart/runtime/runtime.cc:292]   | sysTid=24399 nice=0 cgrp=apps sched=0/0 handle=0xb4904080
F/art     (24388): sart/runtime/runtime.cc:292]   | state=S schedstat=( 17890053 66813381 356 ) utm=1 stm=0 core=3 HZ=100
F/art     (24388): sart/runtime/runtime.cc:292]   | stack=0xb3b03000-0xb3b05000 stackSize=1012KB
F/art     (24388): sart/runtime/runtime.cc:292]   | held mutexes=
F/art     (24388): sart/runtime/runtime.cc:292]   native: #00 pc 00038628  /system/lib/libc.so (__ioctl+8)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #01 pc 0004f65d  /system/lib/libc.so (ioctl+14)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #02 pc 0001cde3  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+138)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #03 pc 0001d2eb  /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+6)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #04 pc 0001d34d  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #05 pc 00021547  /system/lib/libbinder.so (???)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #06 pc 0000ef11  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+112)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #07 pc 00061bc9  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+72)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #08 pc 0000ea81  /system/lib/libutils.so (???)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #09 pc 00013f07  /system/lib/libc.so (__pthread_start(void*)+30)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #10 pc 00011f3b  /system/lib/libc.so (__start_thread+6)
F/art     (24388): sart/runtime/runtime.cc:292]   (no managed stack frames)
F/art     (24388): sart/runtime/runtime.cc:292]
F/art     (24388): sart/runtime/runtime.cc:292] "FinalizerDaemon" prio=10 tid=7 Waiting
F/art     (24388): sart/runtime/runtime.cc:292]   | group="" sCount=0 dsCount=0 obj=0x12c4e100 self=0xae493800
F/art     (24388): sart/runtime/runtime.cc:292]   | sysTid=24400 nice=0 cgrp=apps sched=0/0 handle=0xae463f80
F/art     (24388): sart/runtime/runtime.cc:292]   | state=S schedstat=( 3014944 1090366 20 ) utm=0 stm=0 core=1 HZ=100
F/art     (24388): sart/runtime/runtime.cc:292]   | stack=0xb39ff000-0xb3a01000 stackSize=1036KB
F/art     (24388): sart/runtime/runtime.cc:292]   | held mutexes=
F/art     (24388): sart/runtime/runtime.cc:292]   native: #00 pc 000104b0  /system/lib/libc.so (syscall+28)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #01 pc 000aef9b  /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #02 pc 001ff99b  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+998)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #03 pc 00200db9  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+120)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #04 pc 0020fd5d  /system/lib/libart.so (art::Object_waitJI(_JNIEnv*, _jobject*, long long, int)+36)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #05 pc 0000061b  /system/framework/arm/boot.oat (Java_java_lang_Object_wait__JI+102)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Object.wait!(Native method)
F/art     (24388): sart/runtime/runtime.cc:292]   - waiting on <0x3ad2162f> (a java.lang.ref.ReferenceQueue)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Object.wait(Object.java:422)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:101)
F/art     (24388): sart/runtime/runtime.cc:292]   - locked <0x3ad2162f> (a java.lang.ref.ReferenceQueue)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:72)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:174)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Thread.run(Thread.java:818)
F/art     (24388): sart/runtime/runtime.cc:292]
F/art     (24388): sart/runtime/runtime.cc:292] "FinalizerWatchdogDaemon" prio=10 tid=8 Sleeping
F/art     (24388): sart/runtime/runtime.cc:292]   | group="" sCount=0 dsCount=0 obj=0x12c4e160 self=0xae493c00
F/art     (24388): sart/runtime/runtime.cc:292]   | sysTid=24401 nice=0 cgrp=apps sched=0/0 handle=0xae464200
F/art     (24388): sart/runtime/runtime.cc:292]   | state=S schedstat=( 640363 737240 7 ) utm=0 stm=0 core=2 HZ=100
F/art     (24388): sart/runtime/runtime.cc:292]   | stack=0xb38fb000-0xb38fd000 stackSize=1036KB
F/art     (24388): sart/runtime/runtime.cc:292]   | held mutexes=
F/art     (24388): sart/runtime/runtime.cc:292]   native: #00 pc 000104b4  /system/lib/libc.so (syscall+32)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #01 pc 000aed43  /system/lib/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long long, int)+98)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #02 pc 001ff789  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+468)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #03 pc 00200db9  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+120)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #04 pc 00074b29  /system/framework/arm/boot.oat (Java_java_lang_Thread_sleep__Ljava_lang_Object_2JI+132)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Thread.sleep!(Native method)
F/art     (24388): sart/runtime/runtime.cc:292]   - sleeping on <0x258ff43c> (a java.lang.Object)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Thread.sleep(Thread.java:1031)
F/art     (24388): sart/runtime/runtime.cc:292]   - locked <0x258ff43c> (a java.lang.Object)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Thread.sleep(Thread.java:985)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Daemons$FinalizerWatchdogDaemon.sleepFor(Daemons.java:258)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization(Daemons.java:269)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:217)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Thread.run(Thread.java:818)
F/art     (24388): sart/runtime/runtime.cc:292]
F/art     (24388): sart/runtime/runtime.cc:292] "Binder_2" prio=10 tid=9 Native
F/art     (24388): sart/runtime/runtime.cc:292]   | group="" sCount=0 dsCount=0 obj=0x12c6f0a0 self=0xb4828c00
F/art     (24388): sart/runtime/runtime.cc:292]   | sysTid=24402 nice=0 cgrp=apps sched=0/0 handle=0xae464700
F/art     (24388): sart/runtime/runtime.cc:292]   | state=S schedstat=( 16143914 64587866 340 ) utm=0 stm=1 core=2 HZ=100
F/art     (24388): sart/runtime/runtime.cc:292]   | stack=0xb37fd000-0xb37ff000 stackSize=1012KB
F/art     (24388): sart/runtime/runtime.cc:292]   | held mutexes=
F/art     (24388): sart/runtime/runtime.cc:292]   native: #00 pc 00038628  /system/lib/libc.so (__ioctl+8)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #01 pc 0004f65d  /system/lib/libc.so (ioctl+14)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #02 pc 0001cde3  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+138)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #03 pc 0001d2eb  /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+6)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #04 pc 0001d34d  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #05 pc 00021547  /system/lib/libbinder.so (???)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #06 pc 0000ef11  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+112)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #07 pc 00061bc9  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+72)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #08 pc 0000ea81  /system/lib/libutils.so (???)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #09 pc 00013f07  /system/lib/libc.so (__pthread_start(void*)+30)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #10 pc 00011f3b  /system/lib/libc.so (__start_thread+6)
F/art     (24388): sart/runtime/runtime.cc:292]   (no managed stack frames)
F/art     (24388): sart/runtime/runtime.cc:292]
F/art     (24388): sart/runtime/runtime.cc:292] "HeapTrimmerDaemon" prio=10 tid=10 Waiting
F/art     (24388): sart/runtime/runtime.cc:292]   | group="" sCount=0 dsCount=0 obj=0x12c4e1c0 self=0xae494000
F/art     (24388): sart/runtime/runtime.cc:292]   | sysTid=24403 nice=0 cgrp=apps sched=0/0 handle=0xae464480
F/art     (24388): sart/runtime/runtime.cc:292]   | state=S schedstat=( 1142448 223333 7 ) utm=0 stm=0 core=1 HZ=100
F/art     (24388): sart/runtime/runtime.cc:292]   | stack=0xb36f9000-0xb36fb000 stackSize=1036KB
F/art     (24388): sart/runtime/runtime.cc:292]   | held mutexes=
F/art     (24388): sart/runtime/runtime.cc:292]   native: #00 pc 000104b0  /system/lib/libc.so (syscall+28)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #01 pc 000aef9b  /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #02 pc 001ff99b  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+998)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #03 pc 00200db9  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+120)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #04 pc 0020fd85  /system/lib/libart.so (art::Object_wait(_JNIEnv*, _jobject*)+32)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #05 pc 000003ef  /system/framework/arm/boot.oat (Java_java_lang_Object_wait__+82)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Object.wait!(Native method)
F/art     (24388): sart/runtime/runtime.cc:292]   - waiting on <0x3d1d75c5> (a java.lang.Daemons$HeapTrimmerDaemon)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Daemons$HeapTrimmerDaemon.run(Daemons.java:311)
F/art     (24388): sart/runtime/runtime.cc:292]   - locked <0x3d1d75c5> (a java.lang.Daemons$HeapTrimmerDaemon)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Thread.run(Thread.java:818)
F/art     (24388): sart/runtime/runtime.cc:292]
F/art     (24388): sart/runtime/runtime.cc:292] "GCDaemon" prio=10 tid=11 Waiting
F/art     (24388): sart/runtime/runtime.cc:292]   | group="" sCount=0 dsCount=0 obj=0x12c4e220 self=0xae495400
F/art     (24388): sart/runtime/runtime.cc:292]   | sysTid=24404 nice=0 cgrp=apps sched=0/0 handle=0xae465100
F/art     (24388): sart/runtime/runtime.cc:292]   | state=S schedstat=( 219204291 94425609 219 ) utm=21 stm=0 core=1 HZ=100
F/art     (24388): sart/runtime/runtime.cc:292]   | stack=0xb35f5000-0xb35f7000 stackSize=1036KB
F/art     (24388): sart/runtime/runtime.cc:292]   | held mutexes=
F/art     (24388): sart/runtime/runtime.cc:292]   native: #00 pc 000104b0  /system/lib/libc.so (syscall+28)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #01 pc 000aef9b  /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #02 pc 001ff99b  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+998)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #03 pc 00200db9  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+120)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #04 pc 0020fd85  /system/lib/libart.so (art::Object_wait(_JNIEnv*, _jobject*)+32)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #05 pc 000003ef  /system/framework/arm/boot.oat (Java_java_lang_Object_wait__+82)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Object.wait!(Native method)
F/art     (24388): sart/runtime/runtime.cc:292]   - waiting on <0x1acb5b1a> (a java.lang.Daemons$GCDaemon)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Daemons$GCDaemon.run(Daemons.java:344)
F/art     (24388): sart/runtime/runtime.cc:292]   - locked <0x1acb5b1a> (a java.lang.Daemons$GCDaemon)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Thread.run(Thread.java:818)
F/art     (24388): sart/runtime/runtime.cc:292]
F/art     (24388): sart/runtime/runtime.cc:292] "RenderThread" prio=10 tid=12 Native
F/art     (24388): sart/runtime/runtime.cc:292]   | group="" sCount=0 dsCount=0 obj=0x12c4e2e0 self=0xae496800
F/art     (24388): sart/runtime/runtime.cc:292]   | sysTid=24408 nice=-4 cgrp=apps sched=0/0 handle=0xb4904a80
F/art     (24388): sart/runtime/runtime.cc:292]   | state=S schedstat=( 510761104 222996019 1975 ) utm=38 stm=13 core=3 HZ=100
F/art     (24388): sart/runtime/runtime.cc:292]   | stack=0xae867000-0xae869000 stackSize=1012KB
F/art     (24388): sart/runtime/runtime.cc:292]   | held mutexes=
F/art     (24388): sart/runtime/runtime.cc:292]   native: #00 pc 00038a3c  /system/lib/libc.so (__epoll_pwait+20)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #01 pc 000121d7  /system/lib/libc.so (epoll_pwait+26)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #02 pc 000121e5  /system/lib/libc.so (epoll_wait+6)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #03 pc 00010def  /system/lib/libutils.so (android::Looper::pollInner(int)+98)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #04 pc 00011019  /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+92)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #05 pc 00045625  /system/lib/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+44)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #06 pc 0000ef11  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+112)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #07 pc 00061bc9  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+72)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #08 pc 0000ea81  /system/lib/libutils.so (???)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #09 pc 00013f07  /system/lib/libc.so (__pthread_start(void*)+30)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #10 pc 00011f3b  /system/lib/libc.so (__start_thread+6)
F/art     (24388): sart/runtime/runtime.cc:292]   (no managed stack frames)
F/art     (24388): sart/runtime/runtime.cc:292]
F/art     (24388): sart/runtime/runtime.cc:292] "hwuiTask1" prio=10 tid=13 Native
F/art     (24388): sart/runtime/runtime.cc:292]   | group="" sCount=0 dsCount=0 obj=0x12e4d0a0 self=0xb482d800
F/art     (24388): sart/runtime/runtime.cc:292]   | sysTid=24411 nice=-2 cgrp=apps sched=0/0 handle=0x9fc8ba80
F/art     (24388): sart/runtime/runtime.cc:292]   | state=S schedstat=( 974530 2962032 9 ) utm=0 stm=0 core=0 HZ=100
F/art     (24388): sart/runtime/runtime.cc:292]   | stack=0x9e274000-0x9e276000 stackSize=1012KB
F/art     (24388): sart/runtime/runtime.cc:292]   | held mutexes=
F/art     (24388): sart/runtime/runtime.cc:292]   native: #00 pc 000104b0  /system/lib/libc.so (syscall+28)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #01 pc 00013dd9  /system/lib/libc.so (__pthread_cond_timedwait_relative(pthread_cond_t*, pthread_mutex_t*, timespec const*)+56)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #02 pc 000153e9  /system/lib/libhwui.so (???)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #03 pc 0000ef11  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+112)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #04 pc 00061bc9  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+72)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #05 pc 0000ea81  /system/lib/libutils.so (???)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #06 pc 00013f07  /system/lib/libc.so (__pthread_start(void*)+30)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #07 pc 00011f3b  /system/lib/libc.so (__start_thread+6)
F/art     (24388): sart/runtime/runtime.cc:292]   (no managed stack frames)
F/art     (24388): sart/runtime/runtime.cc:292]
F/art     (24388): sart/runtime/runtime.cc:292] "clojure-agent-send-off-pool-0" prio=10 tid=14 Native
F/art     (24388): sart/runtime/runtime.cc:292]   | group="" sCount=0 dsCount=0 obj=0x12dc6fa0 self=0xb482ec00
F/art     (24388): sart/runtime/runtime.cc:292]   | sysTid=24417 nice=0 cgrp=apps sched=0/0 handle=0xb4907000
F/art     (24388): sart/runtime/runtime.cc:292]   | state=S schedstat=( 687604 0 1 ) utm=0 stm=0 core=1 HZ=100
F/art     (24388): sart/runtime/runtime.cc:292]   | stack=0x9b17e000-0x9b180000 stackSize=1036KB
F/art     (24388): sart/runtime/runtime.cc:292]   | held mutexes=
F/art     (24388): sart/runtime/runtime.cc:292]   native: #00 pc 00038890  /system/lib/libc.so (__accept4+8)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #01 pc 000009e7  /system/lib/libnetd_client.so (???)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #02 pc 00011c11  /system/lib/libc.so (accept4+8)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #03 pc 0001f633  /system/lib/libjavacore.so (???)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #04 pc 002864f7  /system/framework/arm/boot.oat (Java_libcore_io_Posix_accept__Ljava_io_FileDescriptor_2Ljava_net_InetSocketAddress_2+122)
F/art     (24388): sart/runtime/runtime.cc:292]   at libcore.io.Posix.accept(Native method)
F/art     (24388): sart/runtime/runtime.cc:292]   at libcore.io.BlockGuardOs.accept(BlockGuardOs.java:63)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:89)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.net.ServerSocket.implAccept(ServerSocket.java:216)
F/art     (24388): sart/runtime/runtime.cc:292]   - locked <0x2e73e64b> (a java.net.ServerSocket)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.net.ServerSocket.accept(ServerSocket.java:140)
F/art     (24388): sart/runtime/runtime.cc:292]   at clojure.tools.nrepl.server$accept_connection.invoke(server.clj:42)
F/art     (24388): sart/runtime/runtime.cc:292]   at clojure.tools.nrepl.server$start_server$fn__765.invoke(server.clj:155)
F/art     (24388): sart/runtime/runtime.cc:292]   at clojure.core$binding_conveyor_fn$fn__4438.invoke(core.clj:1910)
F/art     (24388): sart/runtime/runtime.cc:292]   at clojure.lang.AFn.call(AFn.java:18)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.util.concurrent.FutureTask.run(FutureTask.java:237)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Thread.run(Thread.java:818)
F/art     (24388): sart/runtime/runtime.cc:292]
F/art     (24388): sart/runtime/runtime.cc:292] "Thread-64552" prio=10 tid=4 Native
F/art     (24388): sart/runtime/runtime.cc:292]   | group="" sCount=0 dsCount=0 obj=0x12e4d160 self=0xb482f400
F/art     (24388): sart/runtime/runtime.cc:292]   | sysTid=24422 nice=-11 cgrp=apps sched=0/0 handle=0xb4906b00
F/art     (24388): sart/runtime/runtime.cc:292]   | state=R schedstat=( 243693697 19465051 243 ) utm=17 stm=7 core=1 HZ=100
F/art     (24388): sart/runtime/runtime.cc:292]   | stack=0xa02aa000-0xa02ac000 stackSize=124KB
F/art     (24388): sart/runtime/runtime.cc:292]   | held mutexes= "abort lock"
F/art     (24388): sart/runtime/runtime.cc:292]   native: #00 pc 0000484c  /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+23)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #01 pc 00003031  /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+8)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #02 pc 0025d881  /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, char const*, art::mirror::ArtMethod*)+68)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #03 pc 00241191  /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+144)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #04 pc 0024a2a1  /system/lib/libart.so (art::ThreadList::DumpLocked(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+104)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #05 pc 002307c5  /system/lib/libart.so (art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+236)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #06 pc 00230a11  /system/lib/libart.so (art::Runtime::Abort()+72)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #07 pc 000ac4db  /system/lib/libart.so (art::LogMessage::~LogMessage()+1322)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #08 pc 000b6309  /system/lib/libart.so (art::JniAbort(char const*, char const*)+1060)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #09 pc 000b6861  /system/lib/libart.so (art::JniAbortF(char const*, char const*, ...)+60)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #10 pc 000b99af  /system/lib/libart.so (art::ScopedCheck::ScopedCheck(_JNIEnv*, int, char const*)+1286)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #11 pc 000c1799  /system/lib/libart.so (art::CheckJNI::GetStringUTFChars(_JNIEnv*, _jstring*, unsigned char*)+24)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #12 pc 0000a93c  /data/app/test.leindroid.sample.debug-1/lib/arm/libvrapi.so (???)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #13 pc 00010cdc  /data/app/test.leindroid.sample.debug-1/lib/arm/libvrapi.so (vrapi_EnterVrMode+164)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #14 pc 0011a5e0  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (OVR::AppLocal::EnterVrMode()+144)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #15 pc 0011eb8c  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (OVR::AppLocal::HandleVrModeChanges()+72)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #16 pc 0011b15c  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (OVR::AppLocal::Command(char const*)+384)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #17 pc 0011c008  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (OVR::AppLocal::VrThreadFunction()+1104)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #18 pc 0011d3a8  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (OVR::AppLocal::ThreadStarter(OVR::Thread*, void*)+8)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #19 pc 00139cc8  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (???)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #20 pc 0013a0d0  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (???)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #21 pc 00013f07  /system/lib/libc.so (__pthread_start(void*)+30)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #22 pc 00011f3b  /system/lib/libc.so (__start_thread+6)
F/art     (24388): sart/runtime/runtime.cc:292]   (no managed stack frames)
F/art     (24388): sart/runtime/runtime.cc:292]
F/art     (24388): sart/runtime/runtime.cc:292] "Thread-64553" prio=10 tid=15 Native
F/art     (24388): sart/runtime/runtime.cc:292]   | group="" sCount=0 dsCount=0 obj=0x1382e0a0 self=0xb4830800
F/art     (24388): sart/runtime/runtime.cc:292]   | sysTid=24424 nice=-11 cgrp=apps sched=0/0 handle=0xb4904580
F/art     (24388): sart/runtime/runtime.cc:292]   | state=S schedstat=( 640105 491458 3 ) utm=0 stm=0 core=2 HZ=100
F/art     (24388): sart/runtime/runtime.cc:292]   | stack=0xa028a000-0xa028c000 stackSize=124KB
F/art     (24388): sart/runtime/runtime.cc:292]   | held mutexes=
F/art     (24388): sart/runtime/runtime.cc:292]   native: #00 pc 000104b0  /system/lib/libc.so (syscall+28)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #01 pc 00013dd9  /system/lib/libc.so (__pthread_cond_timedwait_relative(pthread_cond_t*, pthread_mutex_t*, timespec const*)+56)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #02 pc 0013afb8  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (???)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #03 pc 00130ce8  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (OVR::ovrMessageQueue::SleepUntilMessage()+72)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #04 pc 00130f30  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (OVR::TalkToJava::TtjThreadFunction()+292)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #05 pc 00130f74  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (OVR::TalkToJava::ThreadStarter(OVR::Thread*, void*)+32)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #06 pc 00139cc8  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (???)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #07 pc 0013a0d0  /data/app/test.leindroid.sample.debug-1/lib/arm/libgvrf.so (???)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #08 pc 00013f07  /system/lib/libc.so (__pthread_start(void*)+30)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #09 pc 00011f3b  /system/lib/libc.so (__start_thread+6)
F/art     (24388): sart/runtime/runtime.cc:292]   (no managed stack frames)
F/art     (24388): sart/runtime/runtime.cc:292]
F/art     (24388): sart/runtime/runtime.cc:292] "GVRF Finalize Thread" prio=10 tid=16 Waiting
F/art     (24388): sart/runtime/runtime.cc:292]   | group="" sCount=0 dsCount=0 obj=0x12c48700 self=0xb482f800
F/art     (24388): sart/runtime/runtime.cc:292]   | sysTid=24426 nice=-8 cgrp=apps sched=0/0 handle=0xb4906d80
F/art     (24388): sart/runtime/runtime.cc:292]   | state=S schedstat=( 570833 173542 3 ) utm=0 stm=0 core=0 HZ=100
F/art     (24388): sart/runtime/runtime.cc:292]   | stack=0x9aafe000-0x9ab00000 stackSize=1036KB
F/art     (24388): sart/runtime/runtime.cc:292]   | held mutexes=
F/art     (24388): sart/runtime/runtime.cc:292]   native: #00 pc 000104b0  /system/lib/libc.so (syscall+28)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #01 pc 000aef9b  /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #02 pc 001ff99b  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+998)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #03 pc 00200db9  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+120)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #04 pc 0020fd5d  /system/lib/libart.so (art::Object_waitJI(_JNIEnv*, _jobject*, long long, int)+36)
F/art     (24388): sart/runtime/runtime.cc:292]   native: #05 pc 0000061b  /system/framework/arm/boot.oat (Java_java_lang_Object_wait__JI+102)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Object.wait!(Native method)
F/art     (24388): sart/runtime/runtime.cc:292]   - waiting on <0x00861828> (a java.lang.ref.ReferenceQueue)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.Object.wait(Object.java:422)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:101)
F/art     (24388): sart/runtime/runtime.cc:292]   - locked <0x00861828> (a java.lang.ref.ReferenceQueue)
F/art     (24388): sart/runtime/runtime.cc:292]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:72)
F/art     (24388): sart/runtime/runtime.cc:292]   at org.gearvrf.GVRHybridObject$GVRFinalizeThread.run(GVRHybridObject.java:335)
F/art     (24388): sart/runtime/runtime.cc:292]
F/art     (24388): sart/runtime/runtime.cc:292]
F/libc    (24388): Fatal signal 6 (SIGABRT), code -6 in tid 24422 (OVR::VrThread)
E/        (  328): ro.product_ship = true
E/        (  328): ro.debug_level = 0x4f4c
E/audit   ( 2480): type=1701 msg=audit(1444614306.160:2198): auid=4294967295 uid=10327 gid=10327 ses=4294967295 subj=u:r:untrusted_app:s0 pid=24422 comm="OVR::VrThread" reason="memory violation" sig=6
E/InputDispatcher(  925): channel ~ Channel is unrecoverably broken and will be disposed!
E/lowmemorykiller(  304): Error opening /proc/24388/oom_score_adj; errno=2
E/android.os.Debug(  925): ro.product_ship = true
E/android.os.Debug(  925): ro.debug_level = 0x4f4c
E/EnterpriseSharedDevicePolicy(  925): isSharedDeviceEnabled
E/SamsungIME( 2142):          isHWKeyboardConnected() = false --> false
E/SmartFaceService(  925): onReceive: android.intent.action.CONFIGURATION_CHANGED
E/SmartFaceService(  925): mFolderCoverOpened: (true, true) -> true
E/Watchdog(  925): !@Sync 3594 [10-11 21:45:27.510]
ethernyEonian commented 8 years ago

Starting activity from another. This work in the gvrtextviewsample, i tried to start activity from anthoer and it's works but not from clojure code.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="test.leindroid.sample"
          android:versionCode="{{version-code}}"
          android:versionName="{{version-name}}" >

  <uses-sdk android:minSdkVersion="15"
            android:targetSdkVersion="{{target-version}}" />

  <uses-permission android:name="android.permission.INTERNET" />
  <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

  <application 
               android:allowBackup="true"
               android:theme="@style/AppTheme" 
               android:icon="@drawable/gearvr_logo"
               android:label="Android-Clojure">

    <meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only"/>

    <activity android:name=".SplashActivity"
              android:theme="@android:style/Theme.Translucent.NoTitleBar">
      <intent-filter>
        <action android:name="android.intent.action.MAIN"/>
        <category android:name="android.intent.category.LAUNCHER"/>
      </intent-filter>
    </activity>

    <activity
              android:name=".MainActivity"
              android:screenOrientation="landscape"
              android:label="@string/app_name" >
      <intent-filter>
        <action android:name='test.leindroid.sample.MAIN'/>
        <category android:name="android.intent.category.DEFAULT" />
      </intent-filter>
    </activity>

  </application>
</manifest>
ethernyEonian commented 8 years ago

I campared your gvrtextviewsample APK containt with the clojure APK, it looks good.

Liahim commented 8 years ago

Hi there. I am not familiar with Clojure so it will take me couple of days to get up and running and study the problems. In the meantime you could send me a sample clojure project that exhibits the described problems - it may turn out faster.

ethernyEonian commented 8 years ago

Hi thank you for your interest ! You need to do some things to be able to compile the project. You need first add maven local dependencies :

This will put the three needed jars in .m2 local repo : 
mvn install:install-file -Dfile=VrAppFramework.jar -DartifactId=VrAppFramework -Dversion=0.0.1 -DgroupId=oculus -Dpackaging=jar
mvn install:install-file -Dfile=VrApi.jar -DartifactId=VrApi -Dversion=0.0.1 -DgroupId=oculus -Dpackaging=jar
mvn install:install-file -Dfile=framework.jar -DartifactId=gearvrf -Dversion=0.0.2 -DgroupId=gearvrf -Dpackaging=jar

Install leiningen : Download from https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein Install in you /use/bin (or in your .bachrc) You can unzip and go to the project folder and run lein with lein droid do all This command will compile, package and push the APK to the connected device. If you pass the launch step, you can add your device id in Assets folder under root.

You can debug with adb logcat command.

sample.zip | uploaded via ZenHub

ethernyEonian commented 8 years ago

You need to comment in GVRActivity.java in your framework.jar. It loaded from the first activity in clojure project. Because of reflexion error in AOT compilation.

static {
        System.loadLibrary("gvrf");
    } 
liaxim commented 8 years ago

Oculus for some reason refers to a resource id of 0x00000000. Given that this comes out of Oculus code we don't have the sources for, it could be tricky.

10-13 17:03:23.299 9448 9977 I VrApi : vrapi_EnterVrMode: defaulting to docked due to lack of dock events 10-13 17:03:23.299 9448 9977 I VrApi : vrapi_EnterVrMode: defaulting to mounted due to lack of mount events 10-13 17:03:23.299 9448 9977 W ResourceType: No package identifier when getting value for resource number 0x00000000 10-13 17:03:23.339 9448 9977 F art : sart/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: JNI GetStringUTFChars called with pending exception 'android.content.res.Resources$NotFoundException' thrown in unknown throw location

Why not launch the SampleActivity directly? For the sake of the test, what happens if you don't use the intermediate SplashActivity?

ethernyEonian commented 8 years ago

Tried to launch SampleActivity directly and i have the same issue. I think it's perhaps the loading circle asset. But i don't know why i can not access to this asset.

liaxim commented 8 years ago

In your AndroidManifest.template.xml change the label to "android:label="@string/app_name"". Apparently there is a bug in Oculus if the label is not a resource id. This should get you past the resource-not-found exception. Afterwards I see some class-not-found exceptions but you can tackle these I hope.

ethernyEonian commented 8 years ago

Hi thank you for your answer the next Class not found is about the splashscreen texture loading on GVRScript class. When i look in the res (@root source) folder of the gvrtextviewsample project i don't find any trace of this default_splash_screen as needed at getSplashTexture of GVRScript class. But if i open the apk (bin) build by eclipse (with your instructions) i found the default_splash_screen file in the drawable-xhdpi-v4 res folder. Do you have a super apk aggregator for the common part of all your projects at build step ? I tried to add the default_splash_screen file in my res folder, but i have the same error, because, i think, about of a new generated ID for this resource, or you already have a R.java in your framework.

thank you by advance, for your help,.... again.....

S.

liaxim commented 8 years ago

Hi there. Nothing fancy like "super apk aggregators"; in the case you describe the image is picked from the Framework (GVRF) project.

Not really a fix but you could just turn off the splash screen by adding this to your SampleViewManager:

    @Override
    public SplashMode getSplashMode() {
        return SplashMode.NONE;
    }

Or implement your own "public GVRTexture getSplashTexture(GVRContext gvrContext)" method that uses whatever splash you want. HTH.

liaxim commented 8 years ago

Hi. Did this help? Are you unblocked? Can we consider this issue closed? Thanks.

ethernyEonian commented 8 years ago

Yes you can consider it closed, i have a black screen now. but it's another issue. Thank you for your help.

On Thu, Oct 29, 2015 at 12:09 PM, Mihail notifications@github.com wrote:

Hi. Did this help? Are you unblocked? Can we consider this issue closed? Thanks.

— Reply to this email directly or view it on GitHub https://github.com/Samsung/GearVRf/issues/272#issuecomment-152228621.