Skip to content
New issue

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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-19794] Android: Recompile with NDK r11c #31

Closed
wants to merge 1 commit into from
Closed

[TIMOB-19794] Android: Recompile with NDK r11c #31

wants to merge 1 commit into from

Conversation

ashcoding
Copy link
Contributor

https://jira.appcelerator.org/browse/TIMOB-19794
PR is for recompiling the module with NDK r11c along with SDK 6.0.0 that
has the latest V8 library. 馃帀

@ashcoding
Copy link
Contributor Author

appcelerator.https-titanium-2.0.0.zip

Binary attached for testing purposes.

version: 1.1.3
apiversion: 2
version: 2.0.0
apiversion: 3
architectures: armeabi armeabi-v7a x86
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

armeabi should be removed. V8 doesn't officially support older variants of ARM like this (they support armeabi-v7a).

@sgtcoolguy
Copy link
Contributor

Need to also update the .travis.yml to make sure it builds against Xcode 7.3.1 NDK r11c, latest SDK/V8: https://github.com/sgtcoolguy/ti.geofence/blob/d843062df0d056fb569ab3d3ebb05abf2ecf3308/.travis.yml

@ashcoding
Copy link
Contributor Author

Comments addressed.
Just wanna confirm, when building, are we going to build iOS and Android together with the same version number?

@ashcoding
Copy link
Contributor Author

ashcoding commented Jul 14, 2016

This is one of those modules that can have both iOS and Android packaged together. As such, I'm gonna bump the iOS as well. Also, I'm just gonna rebase/squash the commits cause it's getting messy for the purpose of this simple PR.

https://jira.appcelerator.org/browse/TIMOB-19794
PR is for recompiling the module with NDK r11c along with SDK 6.0.0 that
has the latest V8 library. 馃帀
@ashcoding
Copy link
Contributor Author

@sgtcoolguy apiversion: 3 When I use that in the Manifest for Android, the module doesn't appear usable at all in my project. The PR might work correctly but I can't seem to compile it to make a workable module for Android.

@ashcoding
Copy link
Contributor Author

I believe it's compiling correctly but I seem not to be able to test/use any "apiversion: 3". Perhaps I'm missing something.

@ashcoding
Copy link
Contributor Author

Refer to tidev/ti.geofence#34 (comment) for more comments.

@ashcoding
Copy link
Contributor Author

ashcoding commented Jul 14, 2016

Got it working. Seems that the fault lies with Appcelerator Studio. Will be creating a issue ticket for that.

Creating a project from cmd line appc new --classic and running it appc ti build run --platform android --log-level trace --target device allows for it to run.

@ashcoding
Copy link
Contributor Author

appcelerator.https-titanium-2.0.0.zip
Binary for testing.
@sgtcoolguy for your review.

@sgtcoolguy
Copy link
Contributor

gave me a hard crash:

[ERROR] art: JNI ERROR (app bug): attempt to pass an instance of java.lang.Object[] as argument 1 to appcelerator.https.PinningSecurityManager appcelerator.https.HttpsModule.createX509CertificatePinningSecurityManager(java.util.HashMap[])
[INFO]  art: art/runtime/java_vm_ext.cc:410] JNI DETECTED ERROR IN APPLICATION: bad arguments passed to appcelerator.https.PinningSecurityManager appcelerator.https.HttpsModule.createX509CertificatePinningSecurityManager(java.util.HashMap[]) (see above for details)
[INFO]  art: art/runtime/java_vm_ext.cc:410]     from void org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(java.lang.String, java.lang.String, org.appcelerator.kroll.KrollProxySupport)
[INFO]  art: art/runtime/java_vm_ext.cc:410] "main" prio=5 tid=1 Runnable
[INFO]  art: art/runtime/java_vm_ext.cc:410]   | group="main" sCount=0 dsCount=0 obj=0x7499b258 self=0xf4074500
[INFO]  art: art/runtime/java_vm_ext.cc:410]   | sysTid=2752 nice=0 cgrp=default sched=0/0 handle=0xf7740c00
[INFO]  art: art/runtime/java_vm_ext.cc:410]   | state=R schedstat=( 0 0 0 ) utm=11 stm=6 core=1 HZ=100
[INFO]  art: art/runtime/java_vm_ext.cc:410]   | stack=0xff6d5000-0xff6d7000 stackSize=8MB
[INFO]  art: art/runtime/java_vm_ext.cc:410]   | held mutexes= "mutator lock"(shared held)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #00 pc 0058bae2  /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, char const*, art::ArtMethod*, void*)+226)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #01 pc 0055172e  /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+286)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #02 pc 003a461f  /system/lib/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1247)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #03 pc 003a5d42  /system/lib/libart.so (art::JavaVMExt::JniAbortF(char const*, char const*, ...)+116)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #04 pc 0050b6bd  /system/lib/libart.so (art::CheckMethodArguments(art::JavaVMExt*, art::ArtMethod*, unsigned int*)+2109)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #05 pc 0050ee36  /system/lib/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue*)+1094)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #06 pc 003f23ec  /system/lib/libart.so (art::JNI::CallObjectMethodA(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)+572)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #07 pc 00185c27  /system/lib/libart.so (art::CheckJNI::CallMethodA(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*, art::Primitive::Type, art::InvokeType)+2471)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #08 pc 00187133  /system/lib/libart.so (art::CheckJNI::CallObjectMethodA(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)+92)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #09 pc 0000380a  /data/app/dsg.sdfg-2/lib/x86/libappcelerator.https.so (appcelerator::https::HttpsModule::createX509CertificatePinningSecurityManager(v8::FunctionCallbackInfo<v8::Value> const&)+266)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #10 pc 004e9394  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))+148)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #11 pc 005481bb  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (???)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #12 pc 005489cc  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (???)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #13 pc 0000007d   (???)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #14 pc 0006ac16   (???)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #15 pc 0001533d   (???)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #16 pc 000112a2   (???)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #17 pc 007aa8dc  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (???)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #18 pc 007aabe8  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*)+120)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #19 pc 004e0dae  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (v8::Script::Run(v8::Local<v8::Context>)+382)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #20 pc 004e10b9  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (v8::Script::Run()+73)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #21 pc 002d00d6  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (void titanium::WrappedScript::EvalMachine<(titanium::WrappedScript::EvalInputFlags)0, (titanium::WrappedScript::EvalContextFlags)0, (titanium::WrappedScript::EvalOutputFlags)0>(v8::FunctionCallbackInfo<v8::Value> const&)+262)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #22 pc 002d024b  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (titanium::WrappedScript::CompileRunInThisContext(v8::FunctionCallbackInfo<v8::Value> const&)+27)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #23 pc 004e9394  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))+148)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #24 pc 005481bb  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (???)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #25 pc 005489cc  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (???)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #26 pc 0000007d   (???)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #27 pc 0006a6de   (???)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #28 pc 00066ccf   (???)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #29 pc 00066699   (???)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #30 pc 0001533d   (???)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #31 pc 000112a2   (???)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #32 pc 007aa8dc  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (???)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #33 pc 007aabe8  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*)+120)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #34 pc 004df143  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)+323)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #35 pc 002ca185  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (Java_org_appcelerator_kroll_runtime_v8_V8Runtime_nativeRunModule+389)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   native: #36 pc 0023af40  /data/app/dsg.sdfg-2/oat/x86/base.odex (Java_org_appcelerator_kroll_runtime_v8_V8Runtime_nativeRunModule__Ljava_lang_String_2Ljava_lang_String_2Lorg_appcelerator_kroll_KrollProxySupport_2+196)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   at org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(Native method)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   at org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(V8Runtime.java:177)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   at org.appcelerator.kroll.KrollRuntime.runModule(KrollRuntime.java:241)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   at org.appcelerator.titanium.TiLaunchActivity.loadActivityScript(TiLaunchActivity.java:102)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   at org.appcelerator.titanium.TiLaunchActivity.windowCreated(TiLaunchActivity.java:150)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   at org.appcelerator.titanium.TiRootActivity.windowCreated(TiRootActivity.java:107)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:673)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   at org.appcelerator.titanium.TiLaunchActivity.onCreate(TiLaunchActivity.java:143)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   at org.appcelerator.titanium.TiRootActivity.onCreate(TiRootActivity.java:96)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   at android.app.Activity.performCreate(Activity.java:6237)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   at android.app.ActivityThread.-wrap11(ActivityThread.java:-1)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   at android.os.Handler.dispatchMessage(Handler.java:102)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   at android.os.Looper.loop(Looper.java:148)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   at android.app.ActivityThread.main(ActivityThread.java:5417)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   at java.lang.reflect.Method.invoke!(Native method)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
[INFO]  art: art/runtime/java_vm_ext.cc:410]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
[INFO]  art: art/runtime/java_vm_ext.cc:410]
[INFO]  art: art/runtime/runtime.cc:366] Runtime aborting...
[INFO]  art: art/runtime/runtime.cc:366] Aborting thread:
[INFO]  art: art/runtime/runtime.cc:366] "main" prio=5 tid=1 Native
[INFO]  art: art/runtime/runtime.cc:366]   | group="" sCount=0 dsCount=0 obj=0x7499b258 self=0xf4074500
[INFO]  art: art/runtime/runtime.cc:366]   | sysTid=2752 nice=0 cgrp=default sched=0/0 handle=0xf7740c00
[INFO]  art: art/runtime/runtime.cc:366]   | state=R schedstat=( 0 0 0 ) utm=12 stm=6 core=1 HZ=100
[INFO]  art: art/runtime/runtime.cc:366]   | stack=0xff6d5000-0xff6d7000 stackSize=8MB
[INFO]  art: art/runtime/runtime.cc:366]   | held mutexes= "abort lock"
[INFO]  art: art/runtime/runtime.cc:366]   native: #00 pc 0058bae2  /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, char const*, art::ArtMethod*, void*)+226)
[INFO]  art: art/runtime/runtime.cc:366]   native: #01 pc 0055172e  /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+286)
[INFO]  art: art/runtime/runtime.cc:366]   native: #02 pc 005174de  /system/lib/libart.so (art::Runtime::Abort()+1164)
[INFO]  art: art/runtime/runtime.cc:366]   native: #03 pc 0014d933  /system/lib/libart.so (art::LogMessage::~LogMessage()+1343)
[INFO]  art: art/runtime/runtime.cc:366]   native: #04 pc 003a5042  /system/lib/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+3842)
[INFO]  art: art/runtime/runtime.cc:366]   native: #05 pc 003a5d42  /system/lib/libart.so (art::JavaVMExt::JniAbortF(char const*, char const*, ...)+116)
[INFO]  art: art/runtime/runtime.cc:366]   native: #06 pc 0050b6bd  /system/lib/libart.so (art::CheckMethodArguments(art::JavaVMExt*, art::ArtMethod*, unsigned int*)+2109)
[INFO]  art: art/runtime/runtime.cc:366]   native: #07 pc 0050ee36  /system/lib/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue*)+1094)
[INFO]  art: art/runtime/runtime.cc:366]   native: #08 pc 003f23ec  /system/lib/libart.so (art::JNI::CallObjectMethodA(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)+572)
[INFO]  art: art/runtime/runtime.cc:366]   native: #09 pc 00185c27  /system/lib/libart.so (art::CheckJNI::CallMethodA(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*, art::Primitive::Type, art::InvokeType)+2471)
[INFO]  art: art/runtime/runtime.cc:366]   native: #10 pc 00187133  /system/lib/libart.so (art::CheckJNI::CallObjectMethodA(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)+92)
[INFO]  art: art/runtime/runtime.cc:366]   native: #11 pc 0000380a  /data/app/dsg.sdfg-2/lib/x86/libappcelerator.https.so (appcelerator::https::HttpsModule::createX509CertificatePinningSecurityManager(v8::FunctionCallbackInfo<v8::Value> const&)+266)
[INFO]  art: art/runtime/runtime.cc:366]   native: #12 pc 004e9394  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))+148)
[INFO]  art: art/runtime/runtime.cc:366]   native: #13 pc 005481bb  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #14 pc 005489cc  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #15 pc 0000007d   (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #16 pc 0006ac16   (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #17 pc 0001533d   (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #18 pc 000112a2   (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #19 pc 007aa8dc  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #20 pc 007aabe8  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*)+120)
[INFO]  art: art/runtime/runtime.cc:366]   native: #21 pc 004e0dae  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (v8::Script::Run(v8::Local<v8::Context>)+382)
[INFO]  art: art/runtime/runtime.cc:366]   native: #22 pc 004e10b9  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (v8::Script::Run()+73)
[INFO]  art: art/runtime/runtime.cc:366]   native: #23 pc 002d00d6  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (void titanium::WrappedScript::EvalMachine<(titanium::WrappedScript::EvalInputFlags)0, (titanium::WrappedScript::EvalContextFlags)0, (titanium::WrappedScript::EvalOutputFlags)0>(v8::FunctionCallbackInfo<v8::Value> const&)+262)
[INFO]  art: art/runtime/runtime.cc:366]   native: #24 pc 002d024b  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (titanium::WrappedScript::CompileRunInThisContext(v8::FunctionCallbackInfo<v8::Value> const&)+27)
[INFO]  art: art/runtime/runtime.cc:366]   native: #25 pc 004e9394  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))+148)
[INFO]  art: art/runtime/runtime.cc:366]   native: #26 pc 005481bb  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #27 pc 005489cc  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #28 pc 0000007d   (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #29 pc 0006a6de   (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #30 pc 00066ccf   (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #31 pc 00066699   (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #32 pc 0001533d   (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #33 pc 000112a2   (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #34 pc 007aa8dc  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #35 pc 007aabe8  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*)+120)
[INFO]  art: art/runtime/runtime.cc:366]   native: #36 pc 004df143  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)+323)
[INFO]  art: art/runtime/runtime.cc:366]   native: #37 pc 002ca185  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (Java_org_appcelerator_kroll_runtime_v8_V8Runtime_nativeRunModule+389)
[INFO]  art: art/runtime/runtime.cc:366]   native: #38 pc 0023af40  /data/app/dsg.sdfg-2/oat/x86/base.odex (???)
[INFO]  art: art/runtime/runtime.cc:366]   at org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(Native method)
[INFO]  art: art/runtime/runtime.cc:366]   at org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(V8Runtime.java:177)
[INFO]  art: art/runtime/runtime.cc:366]   at org.appcelerator.kroll.KrollRuntime.runModule(KrollRuntime.java:241)
[INFO]  art: art/runtime/runtime.cc:366]   at org.appcelerator.titanium.TiLaunchActivity.loadActivityScript(TiLaunchActivity.java:102)
[INFO]  art: art/runtime/runtime.cc:366]   at org.appcelerator.titanium.TiLaunchActivity.windowCreated(TiLaunchActivity.java:150)
[INFO]  art: art/runtime/runtime.cc:366]   at org.appcelerator.titanium.TiRootActivity.windowCreated(TiRootActivity.java:107)
[INFO]  art: art/runtime/runtime.cc:366]   at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:673)
[INFO]  art: art/runtime/runtime.cc:366]   at org.appcelerator.titanium.TiLaunchActivity.onCreate(TiLaunchActivity.java:143)
[INFO]  art: art/runtime/runtime.cc:366]   at org.appcelerator.titanium.TiRootActivity.onCreate(TiRootActivity.java:96)
[INFO]  art: art/runtime/runtime.cc:366]   at android.app.Activity.performCreate(Activity.java:6237)
[INFO]  art: art/runtime/runtime.cc:366]   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
[INFO]  art: art/runtime/runtime.cc:366]   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
[INFO]  art: art/runtime/runtime.cc:366]   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
[INFO]  art: art/runtime/runtime.cc:366]   at android.app.ActivityThread.-wrap11(ActivityThread.java:-1)
[INFO]  art: art/runtime/runtime.cc:366]   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
[INFO]  art: art/runtime/runtime.cc:366]   at android.os.Handler.dispatchMessage(Handler.java:102)
[INFO]  art: art/runtime/runtime.cc:366]   at android.os.Looper.loop(Looper.java:148)
[INFO]  art: art/runtime/runtime.cc:366]   at android.app.ActivityThread.main(ActivityThread.java:5417)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.reflect.Method.invoke!(Native method)
[INFO]  art: art/runtime/runtime.cc:366]   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
[INFO]  art: art/runtime/runtime.cc:366]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
[INFO]  art: art/runtime/runtime.cc:366] Dumping all threads without appropriate locks held: thread list lock mutator lock
[INFO]  art: art/runtime/runtime.cc:366] All threads:
[INFO]  art: art/runtime/runtime.cc:366] DALVIK THREADS (11):
[INFO]  art: art/runtime/runtime.cc:366] "main" prio=5 tid=1 Runnable
[INFO]  art: art/runtime/runtime.cc:366]   | group="" sCount=0 dsCount=0 obj=0x7499b258 self=0xf4074500
[INFO]  art: art/runtime/runtime.cc:366]   | sysTid=2752 nice=0 cgrp=default sched=0/0 handle=0xf7740c00
[INFO]  art: art/runtime/runtime.cc:366]   | state=R schedstat=( 0 0 0 ) utm=12 stm=6 core=1 HZ=100
[INFO]  art: art/runtime/runtime.cc:366]   | stack=0xff6d5000-0xff6d7000 stackSize=8MB
[INFO]  art: art/runtime/runtime.cc:366]   | held mutexes= "abort lock" "mutator lock"(shared held)
[INFO]  art: art/runtime/runtime.cc:366]   native: #00 pc 0058bae2  /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, char const*, art::ArtMethod*, void*)+226)
[INFO]  art: art/runtime/runtime.cc:366]   native: #01 pc 0055172e  /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+286)
[INFO]  art: art/runtime/runtime.cc:366]   native: #02 pc 0055c03b  /system/lib/libart.so (art::DumpCheckpoint::Run(art::Thread*)+923)
[INFO]  art: art/runtime/runtime.cc:366]   native: #03 pc 0055ebdd  /system/lib/libart.so (art::ThreadList::RunCheckpoint(art::Closure*)+301)
[INFO]  art: art/runtime/runtime.cc:366]   native: #04 pc 0055fed3  /system/lib/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+243)
[INFO]  art: art/runtime/runtime.cc:366]   native: #05 pc 00517348  /system/lib/libart.so (art::Runtime::Abort()+758)
[INFO]  art: art/runtime/runtime.cc:366]   native: #06 pc 0014d933  /system/lib/libart.so (art::LogMessage::~LogMessage()+1343)
[INFO]  art: art/runtime/runtime.cc:366]   native: #07 pc 003a5042  /system/lib/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+3842)
[INFO]  art: art/runtime/runtime.cc:366]   native: #08 pc 003a5d42  /system/lib/libart.so (art::JavaVMExt::JniAbortF(char const*, char const*, ...)+116)
[INFO]  art: art/runtime/runtime.cc:366]   native: #09 pc 0050b6bd  /system/lib/libart.so (art::CheckMethodArguments(art::JavaVMExt*, art::ArtMethod*, unsigned int*)+2109)
[INFO]  art: art/runtime/runtime.cc:366]   native: #10 pc 0050ee36  /system/lib/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue*)+1094)
[INFO]  art: art/runtime/runtime.cc:366]   native: #11 pc 003f23ec  /system/lib/libart.so (art::JNI::CallObjectMethodA(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)+572)
[INFO]  art: art/runtime/runtime.cc:366]   native: #12 pc 00185c27  /system/lib/libart.so (art::CheckJNI::CallMethodA(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*, art::Primitive::Type, art::InvokeType)+2471)
[INFO]  art: art/runtime/runtime.cc:366]   native: #13 pc 00187133  /system/lib/libart.so (art::CheckJNI::CallObjectMethodA(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)+92)
[INFO]  art: art/runtime/runtime.cc:366]   native: #14 pc 0000380a  /data/app/dsg.sdfg-2/lib/x86/libappcelerator.https.so (appcelerator::https::HttpsModule::createX509CertificatePinningSecurityManager(v8::FunctionCallbackInfo<v8::Value> const&)+266)
[INFO]  art: art/runtime/runtime.cc:366]   native: #15 pc 004e9394  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))+148)
[INFO]  art: art/runtime/runtime.cc:366]   native: #16 pc 005481bb  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #17 pc 005489cc  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #18 pc 0000007d   (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #19 pc 0006ac16   (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #20 pc 0001533d   (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #21 pc 000112a2   (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #22 pc 007aa8dc  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #23 pc 007aabe8  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*)+120)
[INFO]  art: art/runtime/runtime.cc:366]   native: #24 pc 004e0dae  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (v8::Script::Run(v8::Local<v8::Context>)+382)
[INFO]  art: art/runtime/runtime.cc:366]   native: #25 pc 004e10b9  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (v8::Script::Run()+73)
[INFO]  art: art/runtime/runtime.cc:366]   native: #26 pc 002d00d6  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (void titanium::WrappedScript::EvalMachine<(titanium::WrappedScript::EvalInputFlags)0, (titanium::WrappedScript::EvalContextFlags)0, (titanium::WrappedScript::EvalOutputFlags)0>(v8::FunctionCallbackInfo<v8::Value> const&)+262)
[INFO]  art: art/runtime/runtime.cc:366]   native: #27 pc 002d024b  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (titanium::WrappedScript::CompileRunInThisContext(v8::FunctionCallbackInfo<v8::Value> const&)+27)
[INFO]  art: art/runtime/runtime.cc:366]   native: #28 pc 004e9394  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))+148)
[INFO]  art: art/runtime/runtime.cc:366]   native: #29 pc 005481bb  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #30 pc 005489cc  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #31 pc 0000007d   (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #32 pc 0006a6de   (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #33 pc 00066ccf   (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #34 pc 00066699   (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #35 pc 0001533d   (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #36 pc 000112a2   (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #37 pc 007aa8dc  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (???)
[INFO]  art: art/runtime/runtime.cc:366]   native: #38 pc 007aabe8  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*)+120)
[INFO]  art: art/runtime/runtime.cc:366]   native: #39 pc 004df143  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)+323)
[INFO]  art: art/runtime/runtime.cc:366]   native: #40 pc 002ca185  /data/app/dsg.sdfg-2/lib/x86/libkroll-v8.so (Java_org_appcelerator_kroll_runtime_v8_V8Runtime_nativeRunModule+389)
[INFO]  art: art/runtime/runtime.cc:366]   native: #41 pc 0023af40  /data/app/dsg.sdfg-2/oat/x86/base.odex (Java_org_appcelerator_kroll_runtime_v8_V8Runtime_nativeRunModule__Ljava_lang_String_2Ljava_lang_String_2Lorg_appcelerator_kroll_KrollProxySupport_2+196)
[INFO]  art: art/runtime/runtime.cc:366]   at org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(Native method)
[INFO]  art: art/runtime/runtime.cc:366]   at org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(V8Runtime.java:177)
[INFO]  art: art/runtime/runtime.cc:366]   at org.appcelerator.kroll.KrollRuntime.runModule(KrollRuntime.java:241)
[INFO]  art: art/runtime/runtime.cc:366]   at org.appcelerator.titanium.TiLaunchActivity.loadActivityScript(TiLaunchActivity.java:102)
[INFO]  art: art/runtime/runtime.cc:366]   at org.appcelerator.titanium.TiLaunchActivity.windowCreated(TiLaunchActivity.java:150)
[INFO]  art: art/runtime/runtime.cc:366]   at org.appcelerator.titanium.TiRootActivity.windowCreated(TiRootActivity.java:107)
[INFO]  art: art/runtime/runtime.cc:366]   at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:673)
[INFO]  art: art/runtime/runtime.cc:366]   at org.appcelerator.titanium.TiLaunchActivity.onCreate(TiLaunchActivity.java:143)
[INFO]  art: art/runtime/runtime.cc:366]   at org.appcelerator.titanium.TiRootActivity.onCreate(TiRootActivity.java:96)
[INFO]  art: art/runtime/runtime.cc:366]   at android.app.Activity.performCreate(Activity.java:6237)
[INFO]  art: art/runtime/runtime.cc:366]   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
[INFO]  art: art/runtime/runtime.cc:366]   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
[INFO]  art: art/runtime/runtime.cc:366]   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
[INFO]  art: art/runtime/runtime.cc:366]   at android.app.ActivityThread.-wrap11(ActivityThread.java:-1)
[INFO]  art: art/runtime/runtime.cc:366]   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
[INFO]  art: art/runtime/runtime.cc:366]   at android.os.Handler.dispatchMessage(Handler.java:102)
[INFO]  art: art/runtime/runtime.cc:366]   at android.os.Looper.loop(Looper.java:148)
[INFO]  art: art/runtime/runtime.cc:366]   at android.app.ActivityThread.main(ActivityThread.java:5417)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.reflect.Method.invoke!(Native method)
[INFO]  art: art/runtime/runtime.cc:366]   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
[INFO]  art: art/runtime/runtime.cc:366]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
[INFO]  art: art/runtime/runtime.cc:366]
[INFO]  art: art/runtime/runtime.cc:366] "Signal Catcher" prio=5 tid=2 WaitingInMainSignalCatcherLoop
[INFO]  art: art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12c220a0 self=0xebaac500
[INFO]  art: art/runtime/runtime.cc:366]   | sysTid=2757 nice=0 cgrp=default sched=0/0 handle=0xf3471930
[INFO]  art: art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=1 HZ=100
[INFO]  art: art/runtime/runtime.cc:366]   | stack=0xf3375000-0xf3377000 stackSize=1014KB
[INFO]  art: art/runtime/runtime.cc:366]   | held mutexes=
[INFO]  art: art/runtime/runtime.cc:366]   kernel: do_sigtimedwait+0xe3/0x1b4
[INFO]  art: art/runtime/runtime.cc:366]   kernel: compat_SyS_rt_sigtimedwait+0x8f/0xc9
[INFO]  art: art/runtime/runtime.cc:366]   kernel: ia32_sysret+0x0/0x5
[INFO]  art: art/runtime/runtime.cc:366]   native: #00 pc 0008404b  /system/lib/libc.so (__rt_sigtimedwait+27)
[INFO]  art: art/runtime/runtime.cc:366]   native: #01 pc 00028e6c  /system/lib/libc.so (sigwait+69)
[INFO]  art: art/runtime/runtime.cc:366]   native: #02 pc 005229d6  /system/lib/libart.so (art::SignalCatcher::WaitForSignal(art::Thread*, art::SignalSet&)+118)
[INFO]  art: art/runtime/runtime.cc:366]   native: #03 pc 005261ce  /system/lib/libart.so (art::SignalCatcher::Run(void*)+302)
[INFO]  art: art/runtime/runtime.cc:366]   native: #04 pc 00081943  /system/lib/libc.so (__pthread_start(void*)+56)
[INFO]  art: art/runtime/runtime.cc:366]   native: #05 pc 000227f2  /system/lib/libc.so (__start_thread+25)
[INFO]  art: art/runtime/runtime.cc:366]   native: #06 pc 000170b6  /system/lib/libc.so (__bionic_clone+70)
[INFO]  art: art/runtime/runtime.cc:366]   (no managed stack frames)
[INFO]  art: art/runtime/runtime.cc:366]
[INFO]  art: art/runtime/runtime.cc:366] "JDWP" prio=5 tid=3 WaitingInMainDebuggerLoop
[INFO]  art: art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12c230a0 self=0xed3efd00
[INFO]  art: art/runtime/runtime.cc:366]   | sysTid=2758 nice=0 cgrp=default sched=0/0 handle=0xf336d930
[INFO]  art: art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=1 HZ=100
[INFO]  art: art/runtime/runtime.cc:366]   | stack=0xf3271000-0xf3273000 stackSize=1014KB
[INFO]  art: art/runtime/runtime.cc:366]   | held mutexes=
[INFO]  art: art/runtime/runtime.cc:366]   kernel: unix_stream_recvmsg+0x319/0x7cb
[INFO]  art: art/runtime/runtime.cc:366]   kernel: sock_recvmsg+0xad/0xce
[INFO]  art: art/runtime/runtime.cc:366]   kernel: ___sys_recvmsg+0x155/0x218
[INFO]  art: art/runtime/runtime.cc:366]   kernel: __sys_recvmsg+0x3d/0x5e
[INFO]  art: art/runtime/runtime.cc:366]   kernel: compat_sys_recvmsg+0x1a/0x1c
[INFO]  art: art/runtime/runtime.cc:366]   kernel: compat_sys_socketcall+0x14e/0x17d
[INFO]  art: art/runtime/runtime.cc:366]   kernel: ia32_sysret+0x0/0x5
[INFO]  art: art/runtime/runtime.cc:366]   native: #00 pc 00085791  /system/lib/libc.so (recvmsg+17)
[INFO]  art: art/runtime/runtime.cc:366]   native: #01 pc 0066e02f  /system/lib/libart.so (art::JDWP::JdwpAdbState::Accept()+267)
[INFO]  art: art/runtime/runtime.cc:366]   native: #02 pc 003be7ea  /system/lib/libart.so (art::JDWP::JdwpState::Run()+282)
[INFO]  art: art/runtime/runtime.cc:366]   native: #03 pc 003c06a1  /system/lib/libart.so (art::JDWP::StartJdwpThread(void*)+32)
[INFO]  art: art/runtime/runtime.cc:366]   native: #04 pc 00081943  /system/lib/libc.so (__pthread_start(void*)+56)
[INFO]  art: art/runtime/runtime.cc:366]   native: #05 pc 000227f2  /system/lib/libc.so (__start_thread+25)
[INFO]  art: art/runtime/runtime.cc:366]   native: #06 pc 000170b6  /system/lib/libc.so (__bionic_clone+70)
[INFO]  art: art/runtime/runtime.cc:366]   (no managed stack frames)
[INFO]  art: art/runtime/runtime.cc:366]
[INFO]  art: art/runtime/runtime.cc:366] "FinalizerWatchdogDaemon" prio=5 tid=4 Sleeping
[INFO]  art: art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12c009a0 self=0xed3f1b00
[INFO]  art: art/runtime/runtime.cc:366]   | sysTid=2761 nice=0 cgrp=default sched=0/0 handle=0xe4ba4930
[INFO]  art: art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=1 HZ=100
[INFO]  art: art/runtime/runtime.cc:366]   | stack=0xe4aa2000-0xe4aa4000 stackSize=1038KB
[INFO]  art: art/runtime/runtime.cc:366]   | held mutexes=
[INFO]  art: art/runtime/runtime.cc:366]   kernel: futex_wait_queue_me+0xde/0x12f
[INFO]  art: art/runtime/runtime.cc:366]   kernel: futex_wait+0x113/0x23c
[INFO]  art: art/runtime/runtime.cc:366]   kernel: do_futex+0xc0/0x8ba
[INFO]  art: art/runtime/runtime.cc:366]   kernel: compat_SyS_futex+0xb7/0x128
[INFO]  art: art/runtime/runtime.cc:366]   kernel: ia32_sysret+0x0/0x5
[INFO]  art: art/runtime/runtime.cc:366]   native: #00 pc 000171e2  /system/lib/libc.so (syscall+34)
[INFO]  art: art/runtime/runtime.cc:366]   native: #01 pc 00155e61  /system/lib/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long long, int)+849)
[INFO]  art: art/runtime/runtime.cc:366]   native: #02 pc 0044ef3d  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+813)
[INFO]  art: art/runtime/runtime.cc:366]   native: #03 pc 00452f85  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+197)
[INFO]  art: art/runtime/runtime.cc:366]   native: #04 pc 0047d8d4  /system/lib/libart.so (art::Thread_sleep(_JNIEnv*, _jclass*, _jobject*, long long, int)+107)
[INFO]  art: art/runtime/runtime.cc:366]   native: #05 pc 00024c8e  /data/dalvik-cache/x86/system@framework@boot.oat (Java_java_lang_Thread_sleep__Ljava_lang_Object_2JI+162)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.Thread.sleep!(Native method)
[INFO]  art: art/runtime/runtime.cc:366]   - sleeping on <0x0dd606bc> (a java.lang.Object)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.Thread.sleep(Thread.java:1031)
[INFO]  art: art/runtime/runtime.cc:366]   - locked <0x0dd606bc> (a java.lang.Object)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.Thread.sleep(Thread.java:985)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.Daemons$FinalizerWatchdogDaemon.sleepFor(Daemons.java:273)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization(Daemons.java:284)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:232)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.Thread.run(Thread.java:818)
[INFO]  art: art/runtime/runtime.cc:366]
[INFO]  art: art/runtime/runtime.cc:366] "FinalizerDaemon" prio=5 tid=5 Waiting
[INFO]  art: art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12c00940 self=0xed3f1600
[INFO]  art: art/runtime/runtime.cc:366]   | sysTid=2760 nice=0 cgrp=default sched=0/0 handle=0xe4ca9930
[INFO]  art: art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=1 HZ=100
[INFO]  art: art/runtime/runtime.cc:366]   | stack=0xe4ba7000-0xe4ba9000 stackSize=1038KB
[INFO]  art: art/runtime/runtime.cc:366]   | held mutexes=
[INFO]  art: art/runtime/runtime.cc:366]   kernel: futex_wait_queue_me+0xde/0x12f
[INFO]  art: art/runtime/runtime.cc:366]   kernel: futex_wait+0x113/0x23c
[INFO]  art: art/runtime/runtime.cc:366]   kernel: do_futex+0xc0/0x8ba
[INFO]  art: art/runtime/runtime.cc:366]   kernel: compat_SyS_futex+0xb7/0x128
[INFO]  art: art/runtime/runtime.cc:366]   kernel: ia32_sysret+0x0/0x5
[INFO]  art: art/runtime/runtime.cc:366]   native: #00 pc 000171e0  /system/lib/libc.so (syscall+32)
[INFO]  art: art/runtime/runtime.cc:366]   native: #01 pc 00154f74  /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+772)
[INFO]  art: art/runtime/runtime.cc:366]   native: #02 pc 0044f301  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+1777)
[INFO]  art: art/runtime/runtime.cc:366]   native: #03 pc 00452f85  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+197)
[INFO]  art: art/runtime/runtime.cc:366]   native: #04 pc 004708fc  /system/lib/libart.so (art::Object_waitJI(_JNIEnv*, _jobject*, long long, int)+92)
[INFO]  art: art/runtime/runtime.cc:366]   native: #05 pc 00000704  /data/dalvik-cache/x86/system@framework@boot.oat (Java_java_lang_Object_wait__JI+136)
[INFO]  art: art/runtime/runtime.cc:366]   native: #06 pc 4f4059ef  ???
[INFO]  art: art/runtime/runtime.cc:366]   native: #07 pc 4f4059d7  ???
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.Object.wait!(Native method)
[INFO]  art: art/runtime/runtime.cc:366]   - waiting on <0x0b965645> (a java.lang.ref.ReferenceQueue)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.Object.wait(Object.java:423)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:101)
[INFO]  art: art/runtime/runtime.cc:366]   - locked <0x0b965645> (a java.lang.ref.ReferenceQueue)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:72)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:185)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.Thread.run(Thread.java:818)
[INFO]  art: art/runtime/runtime.cc:366]
[INFO]  art: art/runtime/runtime.cc:366] "ReferenceQueueDaemon" prio=5 tid=6 Waiting
[INFO]  art: art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12c008e0 self=0xed3f1100
[INFO]  art: art/runtime/runtime.cc:366]   | sysTid=2759 nice=0 cgrp=default sched=0/0 handle=0xeb2e7930
[INFO]  art: art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=1 HZ=100
[INFO]  art: art/runtime/runtime.cc:366]   | stack=0xeb1e5000-0xeb1e7000 stackSize=1038KB
[INFO]  art: art/runtime/runtime.cc:366]   | held mutexes=
[INFO]  art: art/runtime/runtime.cc:366]   kernel: futex_wait_queue_me+0xde/0x12f
[INFO]  art: art/runtime/runtime.cc:366]   kernel: futex_wait+0x113/0x23c
[INFO]  art: art/runtime/runtime.cc:366]   kernel: do_futex+0xc0/0x8ba
[INFO]  art: art/runtime/runtime.cc:366]   kernel: compat_SyS_futex+0xb7/0x128
[INFO]  art: art/runtime/runtime.cc:366]   kernel: ia32_sysret+0x0/0x5
[INFO]  art: art/runtime/runtime.cc:366]   native: #00 pc 000171e0  /system/lib/libc.so (syscall+32)
[INFO]  art: art/runtime/runtime.cc:366]   native: #01 pc 00154f74  /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+772)
[INFO]  art: art/runtime/runtime.cc:366]   native: #02 pc 0044f301  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+1777)
[INFO]  art: art/runtime/runtime.cc:366]   native: #03 pc 00452f85  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+197)
[INFO]  art: art/runtime/runtime.cc:366]   native: #04 pc 00470899  /system/lib/libart.so (art::Object_wait(_JNIEnv*, _jobject*)+90)
[INFO]  art: art/runtime/runtime.cc:366]   native: #05 pc 00000494  /data/dalvik-cache/x86/system@framework@boot.oat (Java_java_lang_Object_wait__+104)
[INFO]  art: art/runtime/runtime.cc:366]   native: #06 pc 8b018b33  ???
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.Object.wait!(Native method)
[INFO]  art: art/runtime/runtime.cc:366]   - waiting on <0x0ba9f19a> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:147)
[INFO]  art: art/runtime/runtime.cc:366]   - locked <0x0ba9f19a> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.Thread.run(Thread.java:818)
[INFO]  art: art/runtime/runtime.cc:366]
[INFO]  art: art/runtime/runtime.cc:366]   native: #04 pc 000272d1  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+81)
[INFO]  art: art/runtime/runtime.cc:366]   native: #05 pc 00030362  /system/lib/libbinder.so (android::PoolThread::threadLoop()+40)
[INFO]  art: art/runtime/runtime.cc:366]   native: #06 pc 00014aac  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+418)
[INFO]  art: art/runtime/runtime.cc:366]   native: #07 pc 0006bfae  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+98)
[INFO]  art: art/runtime/runtime.cc:366]   native: #08 pc 000141cf  /system/lib/libutils.so (thread_data_t::trampoline(thread_data_t const*)+122)
[INFO]  art: art/runtime/runtime.cc:366]   native: #09 pc 00081943  /system/lib/libc.so (__pthread_start(void*)+56)
[INFO]  art: art/runtime/runtime.cc:366]   native: #10 pc 000227f2  /system/lib/libc.so (__start_thread+25)
[INFO]  art: art/runtime/runtime.cc:366]   native: #11 pc 000170b6  /system/lib/libc.so (__bionic_clone+70)
[INFO]  art: art/runtime/runtime.cc:366]   (no managed stack frames)
[INFO]  art: art/runtime/runtime.cc:366]
[INFO]  art: art/runtime/runtime.cc:366] "pool-1-thread-1" prio=5 tid=10 TimedWaiting
[INFO]  art: art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12e7fac0 self=0xed3fa200
[INFO]  art: art/runtime/runtime.cc:366]   | sysTid=2770 nice=0 cgrp=default sched=0/0 handle=0xe283f930
[INFO]  art: art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=1 HZ=100
[INFO]  art: art/runtime/runtime.cc:366]   | stack=0xe273d000-0xe273f000 stackSize=1038KB
[INFO]  art: art/runtime/runtime.cc:366]   | held mutexes=
[INFO]  art: art/runtime/runtime.cc:366]   kernel: futex_wait_queue_me+0xde/0x12f
[INFO]  art: art/runtime/runtime.cc:366]   kernel: futex_wait+0x113/0x23c
[INFO]  art: art/runtime/runtime.cc:366]   kernel: do_futex+0xc0/0x8ba
[INFO]  art: art/runtime/runtime.cc:366]   kernel: compat_SyS_futex+0xb7/0x128
[INFO]  art: art/runtime/runtime.cc:366]   kernel: ia32_sysret+0x0/0x5
[INFO]  art: art/runtime/runtime.cc:366]   native: #00 pc 000171e2  /system/lib/libc.so (syscall+34)
[INFO]  art: art/runtime/runtime.cc:366]   native: #01 pc 00155e61  /system/lib/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long long, int)+849)
[INFO]  art: art/runtime/runtime.cc:366]   native: #02 pc 0044ef3d  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+813)
[INFO]  art: art/runtime/runtime.cc:366]   native: #03 pc 00452f85  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+197)
[INFO]  art: art/runtime/runtime.cc:366]   native: #04 pc 004708fc  /system/lib/libart.so (art::Object_waitJI(_JNIEnv*, _jobject*, long long, int)+92)
[INFO]  art: art/runtime/runtime.cc:366]   native: #05 pc 00000704  /data/dalvik-cache/x86/system@framework@boot.oat (Java_java_lang_Object_wait__JI+136)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.Object.wait!(Native method)
[INFO]  art: art/runtime/runtime.cc:366]   - waiting on <0x0614facb> (a java.lang.Object)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.Thread.parkFor$(Thread.java:1220)
[INFO]  art: art/runtime/runtime.cc:366]   - locked <0x0614facb> (a java.lang.Object)
[INFO]  art: art/runtime/runtime.cc:366]   at sun.misc.Unsafe.park(Unsafe.java:299)
[INFO]  art: art/runtime/runtime.cc:366]   at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
[INFO]  art: art/runtime/runtime.cc:366]   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2053)
[INFO]  art: art/runtime/runtime.cc:366]   at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1090)
[INFO]  art: art/runtime/runtime.cc:366]   at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1071)
[INFO]  art: art/runtime/runtime.cc:366]   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1038)
[INFO]  art: art/runtime/runtime.cc:366]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)
[INFO]  art: art/runtime/runtime.cc:366]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.Thread.run(Thread.java:818)
[INFO]  art: art/runtime/runtime.cc:366]
[INFO]  art: art/runtime/runtime.cc:366] "pool-2-thread-1" prio=5 tid=11 TimedWaiting
[INFO]  art: art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12ea4580 self=0xed3fb600
[INFO]  art: art/runtime/runtime.cc:366]   | sysTid=2771 nice=0 cgrp=default sched=0/0 handle=0xe273a930
[INFO]  art: art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=1 HZ=100
[INFO]  art: art/runtime/runtime.cc:366]   | stack=0xe2638000-0xe263a000 stackSize=1038KB
[INFO]  art: art/runtime/runtime.cc:366]   | held mutexes=
[INFO]  art: art/runtime/runtime.cc:366]   kernel: futex_wait_queue_me+0xde/0x12f
[INFO]  art: art/runtime/runtime.cc:366]   kernel: futex_wait+0x113/0x23c
[INFO]  art: art/runtime/runtime.cc:366]   kernel: do_futex+0xc0/0x8ba
[INFO]  art: art/runtime/runtime.cc:366]   kernel: compat_SyS_futex+0xb7/0x128
[INFO]  art: art/runtime/runtime.cc:366]   kernel: ia32_sysret+0x0/0x5
[INFO]  art: art/runtime/runtime.cc:366]   native: #00 pc 000171e2  /system/lib/libc.so (syscall+34)
[INFO]  art: art/runtime/runtime.cc:366]   native: #01 pc 00155e61  /system/lib/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long long, int)+849)
[INFO]  art: art/runtime/runtime.cc:366]   native: #02 pc 0044ef3d  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+813)
[INFO]  art: art/runtime/runtime.cc:366]   native: #03 pc 00452f85  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+197)
[INFO]  art: art/runtime/runtime.cc:366]   native: #04 pc 004708fc  /system/lib/libart.so (art::Object_waitJI(_JNIEnv*, _jobject*, long long, int)+92)
[INFO]  art: art/runtime/runtime.cc:366]   native: #05 pc 00000704  /data/dalvik-cache/x86/system@framework@boot.oat (Java_java_lang_Object_wait__JI+136)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.Object.wait!(Native method)
[INFO]  art: art/runtime/runtime.cc:366]   - waiting on <0x0f5ad2a8> (a java.lang.Object)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.Thread.parkFor$(Thread.java:1220)
[INFO]  art: art/runtime/runtime.cc:366]   - locked <0x0f5ad2a8> (a java.lang.Object)
[INFO]  art: art/runtime/runtime.cc:366]   at sun.misc.Unsafe.park(Unsafe.java:299)
[INFO]  art: art/runtime/runtime.cc:366]   at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
[INFO]  art: art/runtime/runtime.cc:366]   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2053)
[INFO]  art: art/runtime/runtime.cc:366]   at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1090)
[INFO]  art: art/runtime/runtime.cc:366]   at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1071)
[INFO]  art: art/runtime/runtime.cc:366]   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1038)
[INFO]  art: art/runtime/runtime.cc:366]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)
[INFO]  art: art/runtime/runtime.cc:366]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
[INFO]  art: art/runtime/runtime.cc:366]   at java.lang.Thread.run(Thread.java:818)
[INFO]  art: art/runtime/runtime.cc:366]
[INFO]  art: art/runtime/runtime.cc:366]

@sgtcoolguy
Copy link
Contributor

For the record, I get the exact same error using 1.1.3 of the module on 5.3.1 GA of the SDK:

[ERROR] art: JNI ERROR (app bug): attempt to pass an instance of java.lang.Object[] as argument 1 to appcelerator.https.PinningSecurityManager appcelerator.https.HttpsModule.createX509CertificatePinningSecurityManager(java.util.HashMap[])
[INFO]  art: art/runtime/java_vm_ext.cc:410] JNI DETECTED ERROR IN APPLICATION: bad arguments passed to appcelerator.https.PinningSecurityManager appcelerator.https.HttpsModule.createX509CertificatePinningSecurityManager(java.util.HashMap[]) (see above for details)
[INFO]  art: art/runtime/java_vm_ext.cc:410]     from void org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(java.lang.String, java.lang.String, org.appcelerator.kroll.KrollProxySupport)

So it looks like the module or it's example code has been broken...

@sgtcoolguy sgtcoolguy self-assigned this Jul 15, 2016
@sgtcoolguy
Copy link
Contributor

Looking into the history of the android module and the example code, I'm 99.99% certain that no one ever actually tried running the code for Android. ARGH!

So my guess is that it has always and forever been broken.

@ashcoding
Copy link
Contributor Author

This seems bad. Will need to look into this.

@sgtcoolguy
Copy link
Contributor

@ashcoding I fixed the issue in a follow-on PR on top of yours: #32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants