Forums: 

After leaving my app running for some time, and having initialized it just like the example app does, it crashed. Is this a specific bug in the SDK? How can I solve this issue?

Here is a crashlog.

 

01-18 02:14:46.978  17923-19225/com.xcr.android D/MainActivity﹕ Debug: null
01-18 02:14:49.715  17923-17957/com.xcr.android D/OpenGLRenderer﹕ endAllStagingAnimators on 0x9d165280 (RippleDrawable) with handle 0xa0d061f0
01-18 02:14:49.796  17923-19269/com.xcr.android D/MainActivity﹕ Silence ratio 0.01
01-18 02:14:49.796  17923-19269/com.xcr.android D/MainActivity﹕ Debug: null
01-18 02:14:51.826  17923-19269/com.xcr.android D/MainActivity﹕ Noise...
01-18 02:14:51.826  17923-19269/com.xcr.android D/MainActivity﹕ Silence ratio 0.04
01-18 02:14:53.855  17923-19269/com.xcr.android D/MainActivity﹕ Noise...
01-18 02:14:53.856  17923-19269/com.xcr.android D/MainActivity﹕ Silence ratio 0.18
01-18 02:14:55.887  17923-19269/com.xcr.android D/MainActivity﹕ Noise...
01-18 02:14:55.902  17923-19269/com.xcr.android D/MainActivity﹕ Silence ratio 0.09
01-18 02:14:56.087  17923-19269/com.xcr.android D/MainActivity﹕ Debug: null
01-18 02:14:56.091  17923-19256/com.xcr.android D/MainActivity﹕ Debug: null
01-18 02:14:56.099  17923-19269/com.xcr.android D/MainActivity﹕ Debug: Max time between lookups reached. Requesting FP lookup.
01-18 02:14:57.105  17923-19269/com.xcr.android D/MainActivity﹕ Debug: null
01-18 02:14:57.917  17923-19269/com.xcr.android D/MainActivity﹕ Noise...
01-18 02:14:57.920  17923-19269/com.xcr.android D/MainActivity﹕ Silence ratio 0.16
01-18 02:14:59.541  17923-19255/com.xcr.android D/MainActivity﹕ Query begin...
01-18 02:14:59.842  17923-19255/com.xcr.android D/MainActivity﹕ Debug: null
01-18 02:14:59.945  17923-19269/com.xcr.android D/MainActivity﹕ Noise...
01-18 02:14:59.946  17923-19269/com.xcr.android D/MainActivity﹕ Silence ratio 0.02
01-18 02:15:00.137  17923-19255/com.xcr.android D/MainActivity﹕ Debug: null
01-18 02:15:02.704  17923-19255/com.xcr.android E/art﹕ JNI ERROR (app bug): attempt to use stale global reference 0x1004aa (should be 0x2004aa)
01-18 02:15:02.704  17923-19255/com.xcr.android E/art﹕ 0xac33fc00 SpaceTypeMallocSpace begin=0x12c00000,end=0x13201000,limit=0x32c00000,size=6MB,capacity=512MB,non_growth_limit_capacity=512MB,name="main rosalloc space"]
01-18 02:15:02.704  17923-19255/com.xcr.android E/art﹕ 0xac33bc60 allocspace main rosalloc space live-bitmap 3[begin=0x12c00000,end=0x32c00000]
01-18 02:15:02.704  17923-19255/com.xcr.android E/art﹕ 0xac33bc80 allocspace main rosalloc space mark-bitmap 3[begin=0x12c00000,end=0x32c00000]
01-18 02:15:02.704  17923-19255/com.xcr.android E/art﹕ 0xb5059120 SpaceTypeImageSpace begin=0x7078c000,end=0x712a6838,size=11MB,name="/data/dalvik-cache/arm/system@framework@boot.art"]
01-18 02:15:02.704  17923-19255/com.xcr.android E/art﹕ 0xb5050460 imagespace /data/dalvik-cache/arm/system@framework@boot.art live-bitmap 0[begin=0x7078c000,end=0x712a6900]
01-18 02:15:02.704  17923-19255/com.xcr.android E/art﹕ 0xb5050460 imagespace /data/dalvik-cache/arm/system@framework@boot.art live-bitmap 0[begin=0x7078c000,end=0x712a6900]
01-18 02:15:02.704  17923-19255/com.xcr.android E/art﹕ 0xac87b548 SpaceTypeZygoteSpace begin=0x741f6000,end=0x75280000,size=16MB,name="Zygote space"]
01-18 02:15:02.704  17923-19255/com.xcr.android E/art﹕ 0xb5050760 allocspace zygote / non moving space live-bitmap 0[begin=0x741f6000,end=0x75280000]
01-18 02:15:02.704  17923-19255/com.xcr.android E/art﹕ 0xb5050780 allocspace zygote / non moving space mark-bitmap 0[begin=0x741f6000,end=0x75280000]
01-18 02:15:02.704  17923-19255/com.xcr.android E/art﹕ 0xac33f900 SpaceTypeMallocSpace begin=0x75280000,end=0x75300000,limit=0x781f6000,size=512KB,capacity=47MB,non_growth_limit_capacity=47MB,name="alloc space"]
01-18 02:15:02.704  17923-19255/com.xcr.android E/art﹕ 0xb5050c60 allocspace alloc space live-bitmap 4[begin=0x75280000,end=0x781f6000]
01-18 02:15:02.704  17923-19255/com.xcr.android E/art﹕ 0xb5050c80 allocspace alloc space mark-bitmap 4[begin=0x75280000,end=0x781f6000]
01-18 02:15:02.704  17923-19255/com.xcr.android E/art﹕ 0xb504d340 large object space:GcRetentionPolicyAlwaysCollect
01-18 02:15:02.704  17923-19255/com.xcr.android E/art﹕ [ 01-18 02:15:02.734   183:19342 I/AudioFlinger ]
    AudioFlinger's thread 0xaee40000 ready to run
01-18 02:15:02.814  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: native code passing in reference to invalid global reference: 0x1004aa
01-18 02:15:02.814  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]     in call to GetObjectClass
01-18 02:15:02.814  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65] "Thread-10301" prio=5 tid=20 Runnable
01-18 02:15:02.814  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   | group="main" sCount=0 dsCount=0 obj=0x1314b200 self=0xac3a8000
01-18 02:15:02.814  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   | sysTid=19255 nice=0 cgrp=apps sched=0/0 handle=0xb50e9e80
01-18 02:15:02.814  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   | state=R schedstat=( 23204429 91490675 41 ) utm=0 stm=2 core=0 HZ=100
01-18 02:15:02.814  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   | stack=0x9c41c000-0x9c41e000 stackSize=1012KB
01-18 02:15:02.814  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   | held mutexes= "mutator lock"(shared held)
01-18 02:15:02.814  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #00 pc 00004c58  /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+23)
01-18 02:15:02.814  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #01 pc 000034c1  /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+8)
01-18 02:15:02.814  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #02 pc 002526ad  /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, char const*, art::mirror::ArtMethod*)+84)
01-18 02:15:02.814  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #03 pc 0023618b  /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+162)
01-18 02:15:02.814  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #04 pc 000b1215  /system/lib/libart.so (art::JniAbort(char const*, char const*)+620)
01-18 02:15:02.814  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #05 pc 000b1945  /system/lib/libart.so (art::JniAbortF(char const*, char const*, ...)+68)
01-18 02:15:02.814  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #06 pc 000b3e0f  /system/lib/libart.so (art::ScopedCheck::Check(bool, char const*, ...) (.constprop.128)+710)
01-18 02:15:02.814  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #07 pc 000b6f29  /system/lib/libart.so (art::CheckJNI::GetObjectClass(_JNIEnv*, _jobject*)+44)
01-18 02:15:02.814  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #08 pc 00001b59  /data/app/com.xcr.android-2/lib/arm/libgnsdk_acr_jni.so (???)
01-18 02:15:02.814  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #09 pc 0000a5a0  /data/app/com.xcr.android-2/lib/arm/libgnsdk_acr.3.2.0.so (_acr_callback_status+104)
01-18 02:15:02.814  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #10 pc 000117b8  /data/app/com.xcr.android-2/lib/arm/libgnsdk_acr.3.2.0.so (???)
01-18 02:15:02.815  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #11 pc 000ac618  /data/app/com.xcr.android-2/lib/arm/libgnsdk_manager.3.2.0.so (_sdkmgr_lookup_callback+40)
01-18 02:15:02.815  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #12 pc 0006e220  /data/app/com.xcr.android-2/lib/arm/libgnsdk_manager.3.2.0.so (???)
01-18 02:15:02.815  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #13 pc 000b97b4  /data/app/com.xcr.android-2/lib/arm/libgnsdk_manager.3.2.0.so (???)
01-18 02:15:02.815  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #14 pc 000ec744  /data/app/com.xcr.android-2/lib/arm/libgnsdk_manager.3.2.0.so (???)
01-18 02:15:02.815  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #15 pc 000eec98  /data/app/com.xcr.android-2/lib/arm/libgnsdk_manager.3.2.0.so (gcsl_http_send_request+2052)
01-18 02:15:02.815  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #16 pc 000b8d90  /data/app/com.xcr.android-2/lib/arm/libgnsdk_manager.3.2.0.so (gcsp_connection_send+676)
01-18 02:15:02.815  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #17 pc 000b83c4  /data/app/com.xcr.android-2/lib/arm/libgnsdk_manager.3.2.0.so (gcsl_gcsp_transaction_execute+620)
01-18 02:15:02.815  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #18 pc 000737b0  /data/app/com.xcr.android-2/lib/arm/libgnsdk_manager.3.2.0.so (???)
01-18 02:15:02.815  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #19 pc 00077720  /data/app/com.xcr.android-2/lib/arm/libgnsdk_manager.3.2.0.so (_sdkmgr_lookup_gcsp_execute+1956)
01-18 02:15:02.815  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #20 pc 000ad268  /data/app/com.xcr.android-2/lib/arm/libgnsdk_manager.3.2.0.so (_sdkmgr_lookup_execute+276)
01-18 02:15:02.815  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #21 pc 0001220c  /data/app/com.xcr.android-2/lib/arm/libgnsdk_acr.3.2.0.so (???)
01-18 02:15:02.815  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #22 pc 00013938  /data/app/com.xcr.android-2/lib/arm/libgnsdk_acr.3.2.0.so (???)
01-18 02:15:02.815  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #23 pc 00049ee8  /data/app/com.xcr.android-2/lib/arm/libgnsdk_acr.3.2.0.so (???)
01-18 02:15:02.815  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #24 pc 000162e3  /system/lib/libc.so (__pthread_start(void*)+30)
01-18 02:15:02.815  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   native: #25 pc 000142d3  /system/lib/libc.so (__start_thread+6)
01-18 02:15:02.815  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]   (no managed stack frames)
01-18 02:15:02.815  17923-19255/com.xcr.android A/art﹕ art/runtime/check_jni.cc:65]
01-18 02:15:02.888  17923-19343/com.xcr.android D/MainActivity﹕ Silence ratio 0.01
01-18 02:15:02.888  17923-19343/com.xcr.android D/MainActivity﹕ Debug: null
01-18 02:15:02.898  17923-19255/com.xcr.android A/art﹕ art/runtime/primitive.h:114] Primitive char conversion on invalid type -1233991735
01-18 02:15:02.898  17923-19255/com.xcr.android A/art﹕ art/runtime/runtime.cc:284] Runtime aborting --- recursively, so no thread-specific detail!
01-18 02:15:02.898  17923-19255/com.xcr.android A/art﹕ art/runtime/runtime.cc:284]
01-18 02:15:02.898  17923-19255/com.xcr.android A/libc﹕ Fatal signal 6 (SIGABRT), code -6 in tid 19255 (Thread-10301)
01-18 02:15:04.712  17923-17923/com.xcr.android I/Choreographer﹕ Skipped 102 frames!  The application may be doing too much work on its main thread.

 

Please, I need assistance asap

Hi, we have released a new version of GNSDK for Mobile. Can you try again using the latest version?

I am using Gracenote Entourage SDK. I see that the new version released is for the core of Gracenote SDK. Did Entourage get an update too?

We are working on a new release for Entourage SDK in the next few weeks. Please stay tuned!

Is it ready yet or is there any way I can get access to an early beta? I need to fix this asap. I am also now getting the following error sporadically too:

02-02 21:09:46.117 6129-6280/com.xcr.android A/libc﹕ Fatal signal 11 (SIGSEGV), code 1, fault addr 0x8 in tid 6280 (AudioReadBytes)

which is an error on the native library. My audioBytesReady() is pretty much like the sample:

@Override
public void audioBytesReady(byte[] data, int length) {
try {
acr.writeBytes(data, length);
} catch (GnException e) {
Log.e(TAG, "Could not write bytes to ACR: " + e.getMessage(), e);
}
}

I will appreciate any quick help.

Wai-Yu, are there any news??

Please, I need some assistance with this asap!

Forum Discussions