[TIMOB-24113] Android: Adding Geofence Module crashes application
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-11-22T20:55:53.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Backlog |
Components | Android |
Labels | android |
Reporter | Joshua Green |
Assignee | Hans Knöchel |
Created | 2016-10-28T15:46:08.000+0000 |
Updated | 2018-08-06T17:49:36.000+0000 |
Description
Adding the Geofence module to a Mobile App Project makes it so the app fails to run and crashes on launch.
Steps to reproduce:
Create a new Mobile App Project
Choose Classic > Single Window Application
Project Name: GeoDemo
App ID: test.geodemo
Titanium SDK: 5.5.1 GA
Deployment Target: Android
Enable Appcelerator Platform Services: Checked
Click "Finish"
Enable Test Services? No
Hyperloop? No
In tiapp.xml uncheck Windows deployment target and add the Geofence Module
In app.js add "var Geofence = require("ti.geofence");" to line 11
Save both the tiapp.xml and app.js files
Create a new Android Virtual Device and target Android 6.0 API 23
Start the emulator
From Appcelerator choose Run and select the emulator
The application is built, installed and tries to run
It crashes with a message of "Unfortunately, GeoDemo has stopped"
Log: (suspect info highlighted in red)
[INFO] : TiApplication: (main) [0,0] checkpoint, app created.
[INFO] : TiApplication: (main) [276,276] Titanium 5.5.1 (2016/09/27 05:39 b18727f)
[INFO] : DatabaseHelper: No value in database for platform key: 'unique_machine_id' returning supplied default ''
[INFO] : DatabaseHelper: No value in database for platform key: 'hardware_machine_id' returning supplied default ''
[WARN] : V8Object: (main) [2817,3093] Runtime disposed, cannot set property 'userAgent'
[INFO] : TiApplication: (main) [53,3146] Titanium Javascript runtime: v8
[INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null
{color:red}[INFO] : art: art/runtime/java_vm_ext.cc:410] JNI DETECTED ERROR IN APPLICATION: JNI CallStaticIntMethodV called with pending exception java.lang.NoSuchMethodError: No direct method <init>(Landroid/content/Context;)V in class Lti/geofence/GeofenceRemover; or its super classes (declaration of 'ti.geofence.GeofenceRemover' appears in /data/app/test.geodemo-1/base.apk)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at void ti.geofence.GeofenceModule.<init>() (GeofenceModule.java:92){color}
[INFO] : art: art/runtime/java_vm_ext.cc:410] at java.lang.Object java.lang.Class.newInstance!() (Class.java:-2)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at org.appcelerator.kroll.KrollProxy org.appcelerator.kroll.KrollProxy.createProxy(java.lang.Class, org.appcelerator.kroll.KrollObject, java.lang.Object[], java.lang.String) (KrollProxy.java:142)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at void org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(java.lang.String, java.lang.String, org.appcelerator.kroll.KrollProxySupport) (V8Runtime.java:-2)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at void org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(java.lang.String, java.lang.String, org.appcelerator.kroll.KrollProxySupport) (V8Runtime.java:189)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at void org.appcelerator.kroll.KrollRuntime.runModule(java.lang.String, java.lang.String, org.appcelerator.kroll.KrollProxySupport) (KrollRuntime.java:241)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at void org.appcelerator.titanium.TiLaunchActivity.loadActivityScript() (TiLaunchActivity.java:102)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at void org.appcelerator.titanium.TiLaunchActivity.windowCreated(android.os.Bundle) (TiLaunchActivity.java:150)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at void org.appcelerator.titanium.TiRootActivity.windowCreated(android.os.Bundle) (TiRootActivity.java:107)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at void org.appcelerator.titanium.TiBaseActivity.onCreate(android.os.Bundle) (TiBaseActivity.java:673)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at void org.appcelerator.titanium.TiLaunchActivity.onCreate(android.os.Bundle) (TiLaunchActivity.java:143)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at void org.appcelerator.titanium.TiRootActivity.onCreate(android.os.Bundle) (TiRootActivity.java:96)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6237)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1107)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2369)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2476)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:-1)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1344)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at void android.os.Looper.loop() (Looper.java:148)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:5417)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:726)
[INFO] : art: art/runtime/java_vm_ext.cc:410] at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:616)
[INFO] : art: art/runtime/java_vm_ext.cc:410]
[INFO] : art: art/runtime/java_vm_ext.cc:410] in call to CallStaticIntMethodV
[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=0x750d3258 self=0xb4134500
[INFO] : art: art/runtime/java_vm_ext.cc:410] | sysTid=3654 nice=0 cgrp=default sched=0/0 handle=0xb77f8c00
[INFO] : art: art/runtime/java_vm_ext.cc:410] | state=R schedstat=( 0 0 0 ) utm=10 stm=14 core=1 HZ=100
[INFO] : art: art/runtime/java_vm_ext.cc:410] | stack=0xbf344000-0xbf346000 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 0058bd02 /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 0055194e /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 003a482f /system/lib/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1247)
[INFO] : art: art/runtime/java_vm_ext.cc:410] native: #03 pc 003a5eac /system/lib/libart.so (art::JavaVMExt::JniAbortV(char const*, char const*, char*)+116)
[INFO] : art: art/runtime/java_vm_ext.cc:410] native: #04 pc 00163a10 /system/lib/libart.so (art::ScopedCheck::AbortF(char const*, ...)+62)
[INFO] : art: art/runtime/java_vm_ext.cc:410] native: #05 pc 0016d9d2 /system/lib/libart.so (art::ScopedCheck::CheckThread(_JNIEnv*)+1890)
[INFO] : art: art/runtime/java_vm_ext.cc:410] native: #06 pc 0016e4e1 /system/lib/libart.so (art::ScopedCheck::Check(art::ScopedObjectAccess&, bool, char const*, art::JniValueType*) (.constprop.114)+1489)
[INFO] : art: art/runtime/java_vm_ext.cc:410] native: #07 pc 0018764d /system/lib/libart.so (art::CheckJNI::CallMethodV(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, char*, art::Primitive::Type, art::InvokeType)+1101)
[INFO] : art: art/runtime/java_vm_ext.cc:410] native: #08 pc 00188b9b /system/lib/libart.so (art::CheckJNI::CallStaticIntMethodV(_JNIEnv*, _jclass*, _jmethodID*, char*)+92)
[INFO] : art: art/runtime/java_vm_ext.cc:410] native: #09 pc 00088c0a /data/app/test.geodemo-1/lib/x86/libkroll-v8.so (_JNIEnv::CallStaticIntMethod(_jclass*, _jmethodID*, ...)+42)
[INFO] : art: art/runtime/java_vm_ext.cc:410] native: #10 pc 00088c7c /data/app/test.geodemo-1/lib/x86/libkroll-v8.so (titanium::ReferenceTable::createReference(_jobject*)+60)
[INFO] : art: art/runtime/java_vm_ext.cc:410] native: #11 pc 0007f43a /data/app/test.geodemo-1/lib/x86/libkroll-v8.so (titanium::JavaObject::newGlobalRef()+90)
[INFO] : art: art/runtime/java_vm_ext.cc:410] native: #12 pc 0007f6cc /data/app/test.geodemo-1/lib/x86/libkroll-v8.so (titanium::JavaObject::attach(_jobject*)+76)
[INFO] : art: art/runtime/java_vm_ext.cc:410] native: #13 pc 00086c6e /data/app/test.geodemo-1/lib/x86/libkroll-v8.so (titanium::Proxy::proxyConstructor(v8::Arguments const&)+366)
[INFO] : art: art/runtime/java_vm_ext.cc:410] native: #14 pc 0027a24b /data/app/test.geodemo-1/lib/x86/libkroll-v8.so (???)
[INFO] : art: art/runtime/java_vm_ext.cc:410] native: #15 pc 000d49b8 (???)
[INFO] : art: art/runtime/java_vm_ext.cc:410] native: #16 pc 98ffffff ???
[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:189)
[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=0x750d3258 self=0xb4134500
[INFO] : art: art/runtime/runtime.cc:366] | sysTid=3654 nice=0 cgrp=default sched=0/0 handle=0xb77f8c00
[INFO] : art: art/runtime/runtime.cc:366] | state=R schedstat=( 0 0 0 ) utm=10 stm=15 core=1 HZ=100
[INFO] : art: art/runtime/runtime.cc:366] | stack=0xbf344000-0xbf346000 stackSize=8MB
[INFO] : art: art/runtime/runtime.cc:366] | held mutexes= "abort lock"
[INFO] : art: art/runtime/runtime.cc:366] native: #00 pc 0058bd02 /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 0055194e /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 005176de /system/lib/libart.so (art::Runtime::Abort()+1164)
[INFO] : art: art/runtime/runtime.cc:366] native: #03 pc 0014d9f3 /system/lib/libart.so (art::LogMessage::~LogMessage()+1343)
[INFO] : art: art/runtime/runtime.cc:366] native: #04 pc 003a5252 /system/lib/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+3842)
[INFO] : art: art/runtime/runtime.cc:366] native: #05 pc 003a5eac /system/lib/libart.so (art::JavaVMExt::JniAbortV(char const*, char const*, char*)+116)
[INFO] : art: art/runtime/runtime.cc:366] native: #06 pc 00163a10 /system/lib/libart.so (art::ScopedCheck::AbortF(char const*, ...)+62)
[INFO] : art: art/runtime/runtime.cc:366] native: #07 pc 0016d9d2 /system/lib/libart.so (art::ScopedCheck::CheckThread(_JNIEnv*)+1890)
[INFO] : art: art/runtime/runtime.cc:366] native: #08 pc 0016e4e1 /system/lib/libart.so (art::ScopedCheck::Check(art::ScopedObjectAccess&, bool, char const*, art::JniValueType*) (.constprop.114)+1489)
[INFO] : art: art/runtime/runtime.cc:366] native: #09 pc 0018764d /system/lib/libart.so (art::CheckJNI::CallMethodV(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, char*, art::Primitive::Type, art::InvokeType)+1101)
[INFO] : art: art/runtime/runtime.cc:366] native: #10 pc 00188b9b /system/lib/libart.so (art::CheckJNI::CallStaticIntMethodV(_JNIEnv*, _jclass*, _jmethodID*, char*)+92)
[INFO] : art: art/runtime/runtime.cc:366] native: #11 pc 00088c0a /data/app/test.geodemo-1/lib/x86/libkroll-v8.so (_JNIEnv::CallStaticIntMethod(_jclass*, _jmethodID*, ...)+42)
[INFO] : art: art/runtime/runtime.cc:366] native: #12 pc 00088c7c /data/app/test.geodemo-1/lib/x86/libkroll-v8.so (titanium::ReferenceTable::createReference(_jobject*)+60)
[INFO] : art: art/runtime/runtime.cc:366] native: #13 pc 0007f43a /data/app/test.geodemo-1/lib/x86/libkroll-v8.so (titanium::JavaObject::newGlobalRef()+90)
[INFO] : art: art/runtime/runtime.cc:366] native: #14 pc 0007f6cc /data/app/test.geodemo-1/lib/x86/libkroll-v8.so (titanium::JavaObject::attach(_jobject*)+76)
[INFO] : art: art/runtime/runtime.cc:366] native: #15 pc 00086c6e /data/app/test.geodemo-1/lib/x86/libkroll-v8.so (titanium::Proxy::proxyConstructor(v8::Arguments const&)+366)
[INFO] : art: art/runtime/runtime.cc:366] native: #16 pc 0027a24b /data/app/test.geodemo-1/lib/x86/libkroll-v8.so (???)
[INFO] : art: art/runtime/runtime.cc:366] native: #17 pc 000d49b8 (???)
[INFO] : art: art/runtime/runtime.cc:366] native: #18 pc 98ffffff ???
[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:189)
[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)
{color:red}[INFO] : art: art/runtime/runtime.cc:366] Pending exception java.lang.NoSuchMethodError: No direct method <init>(Landroid/content/Context;)V in class Lti/geofence/GeofenceRemover; or its super classes (declaration of 'ti.geofence.GeofenceRemover' appears in /data/app/test.geodemo-1/base.apk)
[INFO] : art: art/runtime/runtime.cc:366] at void ti.geofence.GeofenceModule.<init>() (GeofenceModule.java:92){color}
[INFO] : art: art/runtime/runtime.cc:366] at java.lang.Object java.lang.Class.newInstance!() (Class.java:-2)
[INFO] : art: art/runtime/runtime.cc:366] at org.appcelerator.kroll.KrollProxy org.appcelerator.kroll.KrollProxy.createProxy(java.lang.Class, org.appcelerator.kroll.KrollObject, java.lang.Object[], java.lang.String) (KrollProxy.java:142)
[INFO] : art: art/runtime/runtime.cc:366] at void org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(java.lang.String, java.lang.String, org.appcelerator.kroll.KrollProxySupport) (V8Runtime.java:-2)
[INFO] : art: art/runtime/runtime.cc:366] at void org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(java.lang.String, java.lang.String, org.appcelerator.kroll.KrollProxySupport) (V8Runtime.java:189)
[INFO] : art: art/runtime/runtime.cc:366] at void org.appcelerator.kroll.KrollRuntime.runModule(java.lang.String, java.lang.String, org.appcelerator.kroll.KrollProxySupport) (KrollRuntime.java:241)
[INFO] : art: art/runtime/runtime.cc:366] at void org.appcelerator.titanium.TiLaunchActivity.loadActivityScript() (TiLaunchActivity.java:102)
[INFO] : art: art/runtime/runtime.cc:366] at void org.appcelerator.titanium.TiLaunchActivity.windowCreated(android.os.Bundle) (TiLaunchActivity.java:150)
[INFO] : art: art/runtime/runtime.cc:366] at void org.appcelerator.titanium.TiRootActivity.windowCreated(android.os.Bundle) (TiRootActivity.java:107)
[INFO] : art: art/runtime/runtime.cc:366] at void org.appcelerator.titanium.TiBaseActivity.onCreate(android.os.Bundle) (TiBaseActivity.java:673)
[INFO] : art: art/runtime/runtime.cc:366] at void org.appcelerator.titanium.TiLaunchActivity.onCreate(android.os.Bundle) (TiLaunchActivity.java:143)
[INFO] : art: art/runtime/runtime.cc:366] at void org.appcelerator.titanium.TiRootActivity.onCreate(android.os.Bundle) (TiRootActivity.java:96)
[INFO] : art: art/runtime/runtime.cc:366] at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6237)
[INFO] : art: art/runtime/runtime.cc:366] at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1107)
[INFO] : art: art/runtime/runtime.cc:366] at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2369)
[INFO] : art: art/runtime/runtime.cc:366] at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2476)
[INFO] : art: art/runtime/runtime.cc:366] at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:-1)
[INFO] : art: art/runtime/runtime.cc:366] at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1344)
[INFO] : art: art/runtime/runtime.cc:366] at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
[INFO] : art: art/runtime/runtime.cc:366] at void android.os.Looper.loop() (Looper.java:148)
[INFO] : art: art/runtime/runtime.cc:366] at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:5417)
[INFO] : art: art/runtime/runtime.cc:366] at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
[INFO] : art: art/runtime/runtime.cc:366] at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:726)
[INFO] : art: art/runtime/runtime.cc:366] at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (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=0x750d3258 self=0xb4134500
[INFO] : art: art/runtime/runtime.cc:366] | sysTid=3654 nice=0 cgrp=default sched=0/0 handle=0xb77f8c00
[INFO] : art: art/runtime/runtime.cc:366] | state=R schedstat=( 0 0 0 ) utm=10 stm=15 core=1 HZ=100
[INFO] : art: art/runtime/runtime.cc:366] | stack=0xbf344000-0xbf346000 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 0058bd02 /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 0055194e /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 0055c25b /system/lib/libart.so (art::DumpCheckpoint::Run(art::Thread*)+923)
[INFO] : art: art/runtime/runtime.cc:366] native: #03 pc 0055edfd /system/lib/libart.so (art::ThreadList::RunCheckpoint(art::Closure*)+301)
[INFO] : art: art/runtime/runtime.cc:366] native: #04 pc 005600f3 /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 00517548 /system/lib/libart.so (art::Runtime::Abort()+758)
[INFO] : art: art/runtime/runtime.cc:366] native: #06 pc 0014d9f3 /system/lib/libart.so (art::LogMessage::~LogMessage()+1343)
[INFO] : art: art/runtime/runtime.cc:366] native: #07 pc 003a5252 /system/lib/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+3842)
[INFO] : art: art/runtime/runtime.cc:366] native: #08 pc 003a5eac /system/lib/libart.so (art::JavaVMExt::JniAbortV(char const*, char const*, char*)+116)
[INFO] : art: art/runtime/runtime.cc:366] native: #09 pc 00163a10 /system/lib/libart.so (art::ScopedCheck::AbortF(char const*, ...)+62)
[INFO] : art: art/runtime/runtime.cc:366] native: #10 pc 0016d9d2 /system/lib/libart.so (art::ScopedCheck::CheckThread(_JNIEnv*)+1890)
[INFO] : art: art/runtime/runtime.cc:366] native: #11 pc 0016e4e1 /system/lib/libart.so (art::ScopedCheck::Check(art::ScopedObjectAccess&, bool, char const*, art::JniValueType*) (.constprop.114)+1489)
[INFO] : art: art/runtime/runtime.cc:366] native: #12 pc 0018764d /system/lib/libart.so (art::CheckJNI::CallMethodV(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, char*, art::Primitive::Type, art::InvokeType)+1101)
[INFO] : art: art/runtime/runtime.cc:366] native: #13 pc 00188b9b /system/lib/libart.so (art::CheckJNI::CallStaticIntMethodV(_JNIEnv*, _jclass*, _jmethodID*, char*)+92)
[INFO] : art: art/runtime/runtime.cc:366] native: #14 pc 00088c0a /data/app/test.geodemo-1/lib/x86/libkroll-v8.so (_JNIEnv::CallStaticIntMethod(_jclass*, _jmethodID*, ...)+42)
[INFO] : art: art/runtime/runtime.cc:366] native: #15 pc 00088c7c /data/app/test.geodemo-1/lib/x86/libkroll-v8.so (titanium::ReferenceTable::createReference(_jobject*)+60)
[INFO] : art: art/runtime/runtime.cc:366] native: #16 pc 0007f43a /data/app/test.geodemo-1/lib/x86/libkroll-v8.so (titanium::JavaObject::newGlobalRef()+90)
[INFO] : art: art/runtime/runtime.cc:366] native: #17 pc 0007f6cc /data/app/test.geodemo-1/lib/x86/libkroll-v8.so (titanium::JavaObject::attach(_jobject*)+76)
[INFO] : art: art/runtime/runtime.cc:366] native: #18 pc 00086c6e /data/app/test.geodemo-1/lib/x86/libkroll-v8.so (titanium::Proxy::proxyConstructor(v8::Arguments const&)+366)
[INFO] : art: art/runtime/runtime.cc:366] native: #19 pc 0027a24b /data/app/test.geodemo-1/lib/x86/libkroll-v8.so (???)
[INFO] : art: art/runtime/runtime.cc:366] native: #20 pc 000d49b8 (???)
[INFO] : art: art/runtime/runtime.cc:366] native: #21 pc 98ffffff ???
[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:189)
[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=0x12ca10a0 self=0xaec82000
[INFO] : art: art/runtime/runtime.cc:366] | sysTid=3659 nice=0 cgrp=default sched=0/0 handle=0xb3511930
[INFO] : art: art/runtime/runtime.cc:366] | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
[INFO] : art: art/runtime/runtime.cc:366] | stack=0xb3415000-0xb3417000 stackSize=1014KB
[INFO] : art: art/runtime/runtime.cc:366] | held mutexes=
[INFO] : art: art/runtime/runtime.cc:366] kernel: do_sigtimedwait+0xd7/0x19f
[INFO] : art: art/runtime/runtime.cc:366] kernel: SyS_rt_sigtimedwait+0x6d/0x9c
[INFO] : art: art/runtime/runtime.cc:366] kernel: syscall_call+0x7/0xb
[INFO] : art: art/runtime/runtime.cc:366] native: #00 pc 000833bb /system/lib/libc.so (__rt_sigtimedwait+27)
[INFO] : art: art/runtime/runtime.cc:366] native: #01 pc 00027fcc /system/lib/libc.so (sigwait+69)
[INFO] : art: art/runtime/runtime.cc:366] native: #02 pc 00522bd6 /system/lib/libart.so (art::SignalCatcher::WaitForSignal(art::Thread*, art::SignalSet&)+118)
[INFO] : art: art/runtime/runtime.cc:366] native: #03 pc 005263ce /system/lib/libart.so (art::SignalCatcher::Run(void*)+302)
[INFO] : art: art/runtime/runtime.cc:366] native: #04 pc 00080a93 /system/lib/libc.so (__pthread_start(void*)+56)
[INFO] : art: art/runtime/runtime.cc:366] native: #05 pc 00021952 /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=0x12ca40a0 self=0xacc6fd00
[INFO] : art: art/runtime/runtime.cc:366] | sysTid=3660 nice=0 cgrp=default sched=0/0 handle=0xb340d930
[INFO] : art: art/runtime/runtime.cc:366] | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
[INFO] : art: art/runtime/runtime.cc:366] | stack=0xb3311000-0xb3313000 stackSize=1014KB
[INFO] : art: art/runtime/runtime.cc:366] | held mutexes=
[INFO] : art: art/runtime/runtime.cc:366] kernel: unix_stream_recvmsg+0x22d/0x600
[INFO] : art: art/runtime/runtime.cc:366] kernel: sock_recvmsg+0x85/0x9e
[INFO] : art: art/runtime/runtime.cc:366] kernel: ___sys_recvmsg+0xec/0x17c
[INFO] : art: art/runtime/runtime.cc:366] kernel: __sys_recvmsg+0x2b/0x49
[INFO] : art: art/runtime/runtime.cc:366] kernel: SyS_recvmsg+0x11/0x13
[INFO] : art: art/runtime/runtime.cc:366] kernel: SyS_socketcall+0x192/0x1db
[INFO] : art: art/runtime/runtime.cc:366] kernel: syscall_call+0x7/0xb
[INFO] : art: art/runtime/runtime.cc:366] native: #00 pc 00084d01 /system/lib/libc.so (recvmsg+17)
[INFO] : art: art/runtime/runtime.cc:366] native: #01 pc 0066e27f /system/lib/libart.so (art::JDWP::JdwpAdbState::Accept()+267)
[INFO] : art: art/runtime/runtime.cc:366] native: #02 pc 003be9fa /system/lib/libart.so (art::JDWP::JdwpState::Run()+282)
[INFO] : art: art/runtime/runtime.cc:366] native: #03 pc 003c08b1 /system/lib/libart.so (art::JDWP::StartJdwpThread(void*)+32)
[INFO] : art: art/runtime/runtime.cc:366] native: #04 pc 00080a93 /system/lib/libc.so (__pthread_start(void*)+56)
[INFO] : art: art/runtime/runtime.cc:366] native: #05 pc 00021952 /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] "HeapTaskDaemon" prio=5 tid=4 Blocked
[INFO] : art: art/runtime/runtime.cc:366] | group="" sCount=1 dsCount=0 obj=0x12ca05e0 self=0xacc77500
[INFO] : art: art/runtime/runtime.cc:366] | sysTid=3664 nice=0 cgrp=default sched=0/0 handle=0xaac3f930
[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=0xaab3d000-0xaab3f000 stackSize=1038KB
[INFO] : art: art/runtime/runtime.cc:366] | held mutexes=
[INFO] : art: art/runtime/runtime.cc:366] kernel: futex_wait_queue_me+0xcd/0x113
[INFO] : art: art/runtime/runtime.cc:366] kernel: futex_wait+0xc5/0x197
[INFO] : art: art/runtime/runtime.cc:366] kernel: do_futex+0x9b/0x742
[INFO] : art: art/runtime/runtime.cc:366] kernel: SyS_futex+0xaf/0xf6
[INFO] : art: art/runtime/runtime.cc:366] kernel: syscall_call+0x7/0xb
[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 00155f21 /system/lib/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long long, int)+849)
[INFO] : art: art/runtime/runtime.cc:366] native: #02 pc 002da812 /system/lib/libart.so (art::gc::TaskProcessor::GetTask(art::Thread*)+1170)
[INFO] : art: art/runtime/runtime.cc:366] native: #03 pc 002daf35 /system/lib/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*)+37)
[INFO] : art: art/runtime/runtime.cc:366] native: #04 pc 0045f34c /system/lib/libart.so (art::VMRuntime_runHeapTasks(_JNIEnv*, _jobject*)+53)
[INFO] : art: art/runtime/runtime.cc:366] native: #05 pc 00000494 /data/dalvik-cache/x86/system@framework@boot.oat (Java_dalvik_system_VMRuntime_runHeapTasks__+104)
[INFO] : art: art/runtime/runtime.cc:366] at dalvik.system.VMRuntime.runHeapTasks(Native method)
[INFO] : art: art/runtime/runtime.cc:366] - waiting to lock an unknown object
[INFO] : art: art/runtime/runtime.cc:366] at java.lang.Daemons$HeapTaskDaemon.run(Daemons.java:355)
[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] "Binder_1" prio=5 tid=5 Native
[INFO] : art: art/runtime/runtime.cc:366] | group="" sCount=1 dsCount=0 obj=0x12cdc0a0 self=0xacc77a00
[INFO] : art: art/runtime/runtime.cc:366] | sysTid=3665 nice=0 cgrp=default sched=0/0 handle=0xaa8bf930
[INFO] : art: art/runtime/runtime.cc:366] | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
[INFO] : art: art/runtime/runtime.cc:366] | stack=0xaa7c3000-0xaa7c5000 stackSize=1014KB
[INFO] : art: art/runtime/runtime.cc:366] | held mutexes=
[INFO] : art: art/runtime/runtime.cc:366] kernel: binder_thread_read+0xa4a/0xbf3
[INFO] : art: art/runtime/runtime.cc:366] kernel: binder_ioctl+0xce0/0x1114
[INFO] : art: art/runtime/runtime.cc:366] kernel: do_vfs_ioctl+0x36b/0x418
[INFO] : art: art/runtime/runtime.cc:366] kernel: SyS_ioctl+0x4a/0x6a
[INFO] : art: art/runtime/runtime.cc:366] kernel: syscall_call+0x7/0xb
[INFO] : art: art/runtime/runtime.cc:366] native: #00 pc 00084424 /system/lib/libc.so (__ioctl+20)
[INFO] : art: art/runtime/runtime.cc:366] native: #01 pc 00094f7a /system/lib/libc.so (ioctl+42)
[INFO] : art: art/runtime/runtime.cc:366] native: #02 pc 000267ab /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+187)
[INFO] : art: art/runtime/runtime.cc:366] native: #03 pc 000270e7 /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+37)
[INFO] : art: art/runtime/runtime.cc:366] native: #04 pc 00027227 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+151)
[INFO] : art: art/runtime/runtime.cc:366] native: #05 pc 0003004a /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 0006bfee /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 00080a93 /system/lib/libc.so (__pthread_start(void*)+56)
[INFO] : art: art/runtime/runtime.cc:366] native: #10 pc 00021952 /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] "FinalizerWatchdogDaemon" prio=5 tid=6 Waiting
[INFO] : art: art/runtime/runtime.cc:366] | group="" sCount=1 dsCount=0 obj=0x12ca0580 self=0xacc77000
[INFO] : art: art/runtime/runtime.cc:366] | sysTid=3663 nice=0 cgrp=default sched=0/0 handle=0xb30f9930
[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=0xb2ff7000-0xb2ff9000 stackSize=1038KB
[INFO] : art: art/runtime/runtime.cc:366] | held mutexes=
[INFO] : art: art/runtime/runtime.cc:366] kernel: futex_wait_queue_me+0xcd/0x113
[INFO] : art: art/runtime/runtime.cc:366] kernel: futex_wait+0xc5/0x197
[INFO] : art: art/runtime/runtime.cc:366] kernel: do_futex+0x9b/0x742
[INFO] : art: art/runtime/runtime.cc:366] kernel: SyS_futex+0xaf/0xf6
[INFO] : art: art/runtime/runtime.cc:366] kernel: syscall_call+0x7/0xb
[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 00155034 /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+772)
[INFO] : art: art/runtime/runtime.cc:366] native: #02 pc 0044f511 /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 00453195 /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 00470aa9 /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 4aec9417 ???
[INFO] : art: art/runtime/runtime.cc:366] at java.lang.Object.wait!(Native method)
[INFO] : art: art/runtime/runtime.cc:366] - waiting on <0x035a5fa6> (a java.lang.Daemons$FinalizerWatchdogDaemon)
[INFO] : art: art/runtime/runtime.cc:366] at java.lang.Daemons$FinalizerWatchdogDaemon.waitForObject(Daemons.java:255)
[INFO] : art: art/runtime/runtime.cc:366] - locked <0x035a5fa6> (a java.lang.Daemons$FinalizerWatchdogDaemon)
[INFO] : art: art/runtime/runtime.cc:366] at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:227)
[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=7 Waiting
[INFO] : art: art/runtime/runtime.cc:366] | group="" sCount=1 dsCount=0 obj=0x12ca0520 self=0xacc71b00
[INFO] : art: art/runtime/runtime.cc:366] | sysTid=3662 nice=0 cgrp=default sched=0/0 handle=0xb3200930
[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=0xb30fe000-0xb3100000 stackSize=1038KB
[INFO] : art: art/runtime/runtime.cc:366] | held mutexes=
[INFO] : art: art/runtime/runtime.cc:366] kernel: futex_wait_queue_me+0xcd/0x113
[INFO] : art: art/runtime/runtime.cc:366] kernel: futex_wait+0xc5/0x197
[INFO] : art: art/runtime/runtime.cc:366] kernel: do_futex+0x9b/0x742
[INFO] : art: art/runtime/runtime.cc:366] kernel: SyS_futex+0xaf/0xf6
[INFO] : art: art/runtime/runtime.cc:366] kernel: syscall_call+0x7/0xb
[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 00155034 /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+772)
[INFO] : art: art/runtime/runtime.cc:366] native: #02 pc 0044f511 /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 00453195 /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 00470b0c /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 4b4119d7 ???
[INFO] : art: art/runtime/runtime.cc:366] native: #07 pc 4aec93ff ???
[INFO] : art: art/runtime/runtime.cc:366] at java.lang.Object.wait!(Native method)
[INFO] : art: art/runtime/runtime.cc:366] - waiting on <0x07037de7> (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 <0x07037de7> (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=8 Waiting
[INFO] : art: art/runtime/runtime.cc:366] | group="" sCount=1 dsCount=0 obj=0x12ca04c0 self=0xacc71600
[INFO] : art: art/runtime/runtime.cc:366] | sysTid=3661 nice=0 cgrp=default sched=0/0 handle=0xb3307930
[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=0xb3205000-0xb3207000 stackSize=1038KB
[INFO] : art: art/runtime/runtime.cc:366] | held mutexes=
[INFO] : art: art/runtime/runtime.cc:366] kernel: futex_wait_queue_me+0xcd/0x113
[INFO] : art: art/runtime/runtime.cc:366] kernel: futex_wait+0xc5/0x197
[INFO] : art: art/runtime/runtime.cc:366] kernel: do_futex+0x9b/0x742
[INFO] : art: art/runtime/runtime.cc:366] kernel: SyS_futex+0xaf/0xf6
[INFO] : art: art/runtime/runtime.cc:366] kernel: syscall_call+0x7/0xb
[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 00155034 /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+772)
[INFO] : art: art/runtime/runtime.cc:366] native: #02 pc 0044f511 /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 00453195 /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 00470aa9 /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 <0x04832d94> (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 <0x04832d94> (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] "Binder_2" prio=5 tid=9 Native
[INFO] : art: art/runtime/runtime.cc:366] | group="" sCount=1 dsCount=0 obj=0x12cdf0a0 self=0xacc79800
[INFO] : art: art/runtime/runtime.cc:366] | sysTid=3666 nice=0 cgrp=default sched=0/0 handle=0xa2dfd930
[INFO] : art: art/runtime/runtime.cc:366] | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
[INFO] : art: art/runtime/runtime.cc:366] | stack=0xa2d01000-0xa2d03000 stackSize=1014KB
[INFO] : art: art/runtime/runtime.cc:366] | held mutexes=
[INFO] : art: art/runtime/runtime.cc:366] kernel: binder_thread_read+0xa4a/0xbf3
[INFO] : art: art/runtime/runtime.cc:366] kernel: binder_ioctl+0xce0/0x1114
[INFO] : art: art/runtime/runtime.cc:366] kernel: do_vfs_ioctl+0x36b/0x418
[INFO] : art: art/runtime/runtime.cc:366] kernel: SyS_ioctl+0x4a/0x6a
[INFO] : art: art/runtime/runtime.cc:366] kernel: syscall_call+0x7/0xb
[INFO] : art: art/runtime/runtime.cc:366] native: #00 pc 00084424 /system/lib/libc.so (__ioctl+20)
[INFO] : art: art/runtime/runtime.cc:366] native: #01 pc 00094f7a /system/lib/libc.so (ioctl+42)
[INFO] : art: art/runtime/runtime.cc:366] native: #02 pc 000267ab /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+187)
[INFO] : art: art/runtime/runtime.cc:366] native: #03 pc 000270e7 /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+37)
[INFO] : art: art/runtime/runtime.cc:366] native: #04 pc 000271e1 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+81)
[INFO] : art: art/runtime/runtime.cc:366] native: #05 pc 0003004a /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 0006bfee /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 00080a93 /system/lib/libc.so (__pthread_start(void*)+56)
[INFO] : art: art/runtime/runtime.cc:366] native: #10 pc 00021952 /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=0x12d81640 self=0xacc7ac00
[INFO] : art: art/runtime/runtime.cc:366] | sysTid=3671 nice=0 cgrp=default sched=0/0 handle=0xa16ff930
[INFO] : art: art/runtime/runtime.cc:366] | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
[INFO] : art: art/runtime/runtime.cc:366] | stack=0xa15fd000-0xa15ff000 stackSize=1038KB
[INFO] : art: art/runtime/runtime.cc:366] | held mutexes=
[INFO] : art: art/runtime/runtime.cc:366] kernel: futex_wait_queue_me+0xcd/0x113
[INFO] : art: art/runtime/runtime.cc:366] kernel: futex_wait+0xc5/0x197
Which version of Ti.Geofence are you using? You might use 2.0.x which only works with Titanium 6 and later (due to recompiling against the latest V8 version). Please try 1.x (e.g. 1.1.5) instead if thats the case. Thx!
Hans, Steps Taken:
Set Ti.Geofence to use explicitly only version 1.1.5
Created a new Android emulator using Android 5.1.1 API 22 (since geofence 1.1.5 says it only works with android versions < 6.0.0)
Saved and tried to run program on the emulator
Application crashes
Console Output: (suspect lines in red) [INFO] : TiApplication: (main) [0,0] checkpoint, app created. [INFO] : TiApplication: (main) [59,59] Titanium 5.5.1 (2016/09/27 05:39 b18727f) [INFO] : DatabaseHelper: No value in database for platform key: 'unique_machine_id' returning supplied default '' [INFO] : DatabaseHelper: No value in database for platform key: 'hardware_machine_id' returning supplied default '' [WARN] : V8Object: (main) [2189,2248] Runtime disposed, cannot set property 'userAgent' [INFO] : TiApplication: (main) [41,2289] Titanium Javascript runtime: v8 [INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null {color:red}[INFO] : art: art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: JNI CallStaticIntMethodV called with pending exception 'java.lang.NoSuchMethodError' thrown in unknown throw location [INFO] : art: art/runtime/check_jni.cc:65] in call to CallStaticIntMethodV{color} [INFO] : art: art/runtime/check_jni.cc:65] from void org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(java.lang.String, java.lang.String, org.appcelerator.kroll.KrollProxySupport) [INFO] : art: art/runtime/check_jni.cc:65] "main" prio=5 tid=1 Runnable [INFO] : art: art/runtime/check_jni.cc:65] | group="main" sCount=0 dsCount=0 obj=0x73571000 self=0xb4025800 [INFO] : art: art/runtime/check_jni.cc:65] | sysTid=3144 nice=0 cgrp=default sched=0/0 handle=0xb77e2ea0 [INFO] : art: art/runtime/check_jni.cc:65] | state=R schedstat=( 0 0 0 ) utm=5 stm=16 core=0 HZ=100 [INFO] : art: art/runtime/check_jni.cc:65] | stack=0xbf7b3000-0xbf7b5000 stackSize=8MB [INFO] : art: art/runtime/check_jni.cc:65] | held mutexes= "mutator lock"(shared held) [INFO] : art: art/runtime/check_jni.cc:65] native: #00 pc 00005d03 /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+83) [INFO] : art: art/runtime/check_jni.cc:65] native: #01 pc 00003051 /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+33) [INFO] : art: art/runtime/check_jni.cc:65] native: #02 pc 003c9e67 /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostreamAdditional Information: https://developer.android.com/training/articles/perf-jni.html#exceptions This link describes what is happening in the above red highlighted areas. Trying to call method while an exception is pending.
Hello, Geofence module should be used with physical device. Not on virtual emulators. Thanks.
Same error on a physical device (Nexus 5x). Log: [INFO] : TiApplication: (main) [0,0] checkpoint, app created. [INFO] : TiApplication: (main) [182,182] Titanium 5.5.1 (2016/09/27 05:39 b18727f) [WARN] : V8Object: (main) [424,606] Runtime disposed, cannot set property 'userAgent' [INFO] : TiApplication: (main) [33,639] Titanium Javascript runtime: v8 [INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null {color:red}[INFO] : art: art/runtime/java_vm_ext.cc:470] JNI DETECTED ERROR IN APPLICATION: obj == null [INFO] : art: art/runtime/java_vm_ext.cc:470] in call to CallVoidMethodV [INFO] : art: art/runtime/java_vm_ext.cc:470] from void{color} org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(java.lang.String, java.lang.String, org.appcelerator.kroll.KrollProxySupport) {color:red}[INFO] : art: art/runtime/runtime.cc:403] Pending exception java.lang.NoSuchMethodError: No direct method
Ok, so
GeofenceRemover
is causing problems? And previous versions did work? I noticed that 2.0.1 hadUpdate Google Play services to 9.6.1
in it. Can you try 2.0.x with Titanium 6 to see if that worked? If so, we need to backport the commit.Setting up the project with: Titanium SDK: 6.0.0.v20161017194738 Geofence: 2.0.1 Under mobile modules it says ti.geofence [ios] after installing and changing the platform to android in tiapp.xml results in the following message: "The ti.geofence module does not support 'android' platform for Titanium SDK 6.0.0.v20161017194738"
Upgrading to Node v6.9.1, and disregarding the message above allows for successful build and execution. However, the previous bug remains with anything below Titanium SDK 6.
Using: * Titanium SDK 5.5.1GA * Node v5.12.0 * ti.geofence 1.1.5 You will get the original error on execution: [INFO] : art: art/runtime/runtime.cc:289] Pending exception java.lang.NoSuchMethodError thrown by 'unknown throw location' [INFO] : art: art/runtime/runtime.cc:289] java.lang.NoSuchMethodError: No direct method
Ok, so it's probably what I suspected and the 1.1.x version that does not have the Google Play Services update causes the problems. I will setup a PR to include the commit from the 2.0.x branch and bump the version to 1.1.6. We'll keep you updated here!
PR (ti.geofence/1_1_X): https://github.com/appcelerator-modules/ti.geofence/pull/38
Thank you Hans! Is there an estimation on how long it usually takes? Not sure if this is normal but I get a 404 error on that link above.
PR merged. Created APPTS-9003 for [~pkclark] to update the version in our Downloads section.
Thank you, I will be on the lookout for it.
What
app.js
code was used because you specifically mention to addvar Geofence = require("ti.geofence");
at line 11 in step 12. Was it example code inti.geofence/example/Basic/
?It is the default app.js code that is created when you create a new app project > single window application. I didn't use an example project.
Any update on when 1.1.6 will be available for download?
Any updates? https://github.com/appcelerator-modules/ti.geofence/pull/38 Does not exist.
Any updates?
[~joshua.green] The repository is private, so Github returns 404. I've sent you the latest 1.1.6 which didn't seem to work for you (although it did for me), so we need to check it again. I thought it was the google play services causing the issue, but it may be something else. /cc [~gmathews]
Hans, I have not tried 1.1.6, the current download available is still 1.1.5 on the downloads page.
Any updates? The download page still has the old version.
Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.