[SOLVED]Crash sdkbox.PluginFacebook after login successful + CreatorV1.7 + android

I use creator v1.7 SDKBOX for creator V1.4.0.0 import PluginFacebook,my code just like the demo,i run successful on phone.and it crash after first facebook login successful .then logout and do login again,crash too…
I dont know whats wrong? by the way here is some log when crash.can anyone help?

01-05 18:38:13.615: I/CocosAnalytics(4338): ==> onResume()
01-05 18:38:13.615: E/CocosAnalytics(4338): ==> Please init sdk first!
01-05 18:38:13.655: D/FitAnimSurface(1342): nubia_start_app_transition AppWindowToken{3de9bd5 token=Token{3f44a88c ActivityRecord{2e72a9bf u0 org.cocos2d.helloworld/com.facebook.FacebookActivity t11627}}}
01-05 18:38:13.685: D/AppStateLogger(5021): Activity gdp.WebViewProxyAuth changed state to Stopped
01-05 18:38:13.695: D/AppStateLogger(5021): Activity gdp.WebViewProxyAuth changed state to Destroyed
01-05 18:38:13.705: I/Timeline(4338): Timeline: Activity_idle id: android.os.BinderProxy@394ef1e3 time:608393560
01-05 18:38:13.705: D/FitAnimSurface(1342): nubia_finish_app_transition AppWindowToken{af2b4a token=Token{22caa8b5 ActivityRecord{30175cec u0 com.facebook.katana/.gdp.WebViewProxyAuth t11627}}}
01-05 18:38:13.715: D/jswrapper(4338): JS: onLogin============
01-05 18:38:13.715: D/jswrapper(4338): JS: success
01-05 18:38:13.715: D/jswrapper(4338): JS: login successful
01-05 18:38:13.725: D/AppStateLogger(5021): Activity com.facebook.gdp.ProxyAuth changed state to Stopped
01-05 18:38:13.725: D/AppStateLogger(5021): Activity com.facebook.gdp.ProxyAuth changed state to Destroyed
01-05 18:38:13.745: E/AudioPolicyManager(286): unknown stream type 13
01-05 18:38:13.755: E/AudioPolicyManager(286): unknown stream type 13
01-05 18:38:13.755: D/ANRDetector$ANRDetectorThread(5021): ANRDetectorThread resuming
01-05 18:38:13.775: D/ActivityManager(1342): target_pkg = com.facebook.katana, target_process = com.facebook.katana
01-05 18:38:13.775: D/ActivityManager(1342): bindService caller Pid = 5021, Uid = 10142 callerApp.pkgList ={com.facebook.katana=com.android.internal.app.ProcessStats$ProcessStateHolder@3e23dedc}, service_name = ComponentInfo{com.facebook.katana/com.facebook.mqttlite.MqttService}
01-05 18:38:13.785: D/AppStateLogger(5021): Successfully dumped app state to log file
01-05 18:38:13.825: W/ActivityManager(1342): getRunningAppProcesses: caller 10142 does not hold REAL_GET_TASKS; limiting output
01-05 18:38:13.825: D/AppStateLogger(5021): Successfully dumped app state to log file
01-05 18:38:13.875: D/FitAnimSurface(1342): nubia_finish_app_transition AppWindowToken{3de9bd5 token=Token{3f44a88c ActivityRecord{2e72a9bf u0 org.cocos2d.helloworld/com.facebook.FacebookActivity t11627}}}
01-05 18:38:13.915: D/ActivityManager(1342): target_pkg = com.facebook.katana, target_process = com.facebook.katana
01-05 18:38:13.915: D/ActivityManager(1342): start service caller PID =5021, UID = 10142, callerPkgList = {com.facebook.katana=com.android.internal.app.ProcessStats$ProcessStateHolder@3e23dedc}, service_name = ComponentInfo{com.facebook.katana/com.facebook.mqttlite.MqttService}
01-05 18:38:13.945: D/SwipeUpService(3490): setting close
01-05 18:38:13.945: D/SwipeUpService(3490): multi-screen open
01-05 18:38:13.945: D/SwipeUpService(3490): in black list
01-05 18:38:13.945: D/SwipeUpService(3490): in boot tutorial
01-05 18:38:13.995: D/ActivityManager(1342): target_pkg = com.facebook.katana, target_process = com.facebook.katana
01-05 18:38:13.995: D/ActivityManager(1342): start service caller PID =5021, UID = 10142, callerPkgList = {com.facebook.katana=com.android.internal.app.ProcessStats$ProcessStateHolder@3e23dedc}, service_name = ComponentInfo{com.facebook.katana/com.facebook.conditionalworker.ConditionalWorkerService}
01-05 18:38:14.085: I/DEBUG(1182): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-05 18:38:14.085: I/DEBUG(1182): Build fingerprint: ‘nubia/NX512J/NX512J:5.1.1/LMY47V/eng.nubia.20160914.205117:user/release-keys’
01-05 18:38:14.085: I/DEBUG(1182): Revision: ‘0’
01-05 18:38:14.085: I/DEBUG(1182): ABI: ‘arm’
01-05 18:38:14.085: I/DEBUG(1182): pid: 4338, tid: 4338, name: os2d.helloworld >>> org.cocos2d.helloworld <<<
01-05 18:38:14.085: I/DEBUG(1182): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xe24
01-05 18:38:14.115: I/DEBUG(1182): r0 00000000 r1 00000000 r2 3df38dfe r3 00ed678c
01-05 18:38:14.125: I/DEBUG(1182): r4 00000000 r5 fffe9f80 r6 fffe9fe0 r7 12eb7f80
01-05 18:38:14.125: I/DEBUG(1182): r8 12ebb630 r9 ab37f480 sl 12eb7f80 fp fffe9f64
01-05 18:38:14.125: I/DEBUG(1182): ip e48f1a94 sp fffe9f30 lr e360e568 pc e360e574 cpsr 600e0010
01-05 18:38:14.125: I/DEBUG(1182): backtrace:
01-05 18:38:14.125: I/DEBUG(1182): #00 pc 00c6c574 /data/app/org.cocos2d.helloworld-1/lib/arm/libcocos2djs.so
01-05 18:38:14.125: I/DEBUG(1182): #01 pc 00c6c5ec /data/app/org.cocos2d.helloworld-1/lib/arm/libcocos2djs.so
01-05 18:38:14.125: I/DEBUG(1182): #02 pc 006adfa0 /data/app/org.cocos2d.helloworld-1/lib/arm/libcocos2djs.so (_ZN2se15AutoHandleScopeC2Ev+36)
01-05 18:38:14.125: I/DEBUG(1182): #03 pc 006afda4 /data/app/org.cocos2d.helloworld-1/lib/arm/libcocos2djs.so (_ZN18FacebookListenerJS13onGetUserInfoERKN6sdkbox11FBGraphUserE+68)
01-05 18:38:14.125: I/DEBUG(1182): #04 pc 006bc979 /data/app/org.cocos2d.helloworld-1/lib/arm/libcocos2djs.so (Java_com_sdkbox_plugin_PluginFacebook_onUserInfo+52)
01-05 18:38:14.125: I/DEBUG(1182): #05 pc 0017f6e1 /data/dalvik-cache/arm/data@app@org.cocos2d.helloworld-1@base.apk@classes.dex
01-05 18:38:14.415: D/omnistore_android_logger(5021): DebouncingRateLimiter attempting event SyncProtocol::onConnectionEstablished
01-05 18:38:14.415: D/omnistore_android_logger(5021): Event not rate limited: SyncProtocol::onConnectionEstablished
01-05 18:38:14.415: D/omnistore_android_logger(5021): SyncProtocol calling onConnectionEstablished callbacks
01-05 18:38:14.415: D/omnistore_android_logger(5021): SubscriptionManager::onConnectionEstablished is called back
01-05 18:38:14.415: I/omnistore_android_logger(5021): SubscriptionManager skipping connect message.
01-05 18:38:14.415: D/omnistore_android_logger(5021): SendQueue::onConnectionEstablished: sending 0 transaction(s)

I’m checking on this crash.

me too , first login facebook crash

plz try:

sdkbox import facebook --forcedownload --forcecopy --staging

or try the new fixed JS binding.

jsb2.zip (7.1 KB)

I changed but still crash

Is the crash log same as your previous one?

This problem seems to be solved, but using FaceBook App login jump to my game still stuck.

sdkbox import facebook --staging

the version is 2.3.17.7.

and u can use sdkbox.PluginFacebook.setLoginBehavior(1) to use web login.

this is log when frist login fb crashlog.cpp (18.9 KB)

01-19 00:46:44.577: I/System.out(31518): (HTTPLog)-Static: isSBSettingEnabled false
01-19 00:46:44.580: I/System.out(31518): (HTTPLog)-Static: isSBSettingEnabled false
01-19 00:46:44.890: A/libc(31518): Fatal signal 11 (SIGSEGV), code 1, fault addr 0xe24 in tid 31518 (game.cakiem2017)
01-19 00:46:44.895: V/AudioMixerController(31518): Play over ...
01-19 00:46:44.895: V/AudioMixerController(31518): Doesn't have enough tracks: 1, 1
01-19 00:46:47.855: D/TimaKeyStoreProvider(31927): TimaKeyStore is not enabled: cannot add TimaSignature Service and generateKeyPair Service

There is a crash, but I can not know where it crashed.
Is it the crash log from Android Studio logcat ?

Would you please check api virtual void onGetUserInfo(const sdkbox::FBGraphUser& userInfo ) in file PluginFacebookJSHelper.cpp:

    virtual void onGetUserInfo(const sdkbox::FBGraphUser& userInfo )
    {
        std::string funName(__FUNCTION__);
        cocos2d::Director::getInstance()->getScheduler()->performFunctionInCocosThread([funName,userInfo,this](){
            se::ScriptEngine::getInstance()->clearException();
            se::AutoHandleScope hs;
            if (!_JSDelegate.isObject())
                return;

            se::Value func;
            _JSDelegate.toObject()->getProperty(funName.c_str(), &func);

            if (func.isObject() && func.toObject()->isFunction()) {

                cocos2d::ValueMap info;
                FBGraphUserToJS(userInfo, info);
                se::Value jsinfo;
                ccvaluemap_to_seval(info, &jsinfo);

                se::ValueArray params;
                params.push_back(jsinfo);
                bool ok = func.toObject()->call(params, _JSDelegate.toObject());
                if (!ok) {
                    se::ScriptEngine::getInstance()->clearException();
                }
            }
        });
    }

P.S.:
Another developer has solved this issue. [SOLVED] Facebook Login/Logout game crash

this is log from eclipse :smiley: , i use cocos creator 1.8.1 , build deafault

would you please check it ?

  1. I build default
  2. I copy file (extract jsb2.zip) in folder Classe
  3. I compile
  4. I run game in eclipse

i checked and they duplicate

  1. plz try an empty function
virtual void onGetUserInfo(const sdkbox::FBGraphUser& userInfo )
    {
    }

Is it still crash ?

ok , i will try

If you just copy the jsb2, do not update the PluginFacebook, you can not compile successful.

  1. check your plugin version:
sdkbox info 

make sure it is 2.3.17.7.

update the plugin:

sdkbox update --staging --nohelp
1 Like

Thank you! it works.
STEP1: sdkbox update --staging --nohelp
to update my sdkbox to version:1.0.1.31
STEP2: sdkbox import facebook --forcedownload --forcecopy --staging
to import pluginFacebook to version:2.3.17.7
STEP3: rebuild project on android studio and it works,thank you very much!!!

I use cocos creator v1.8.1;:smiley:

but here is another problem~ ~when i call sdkbox.PluginFacebook.inviteFriends my app crash~~~
here s some log.can you check it plz~~~thank you.

* 01-23 18:19:18.577 25902-25902/org.cocos2d.helloworld D/ViewRootImpl@9933db6[AppActivity]: ViewPostImeInputStage processPointer 0
* 01-23 18:19:18.800 25902-25902/org.cocos2d.helloworld D/ViewRootImpl@9933db6[AppActivity]: ViewPostImeInputStage processPointer 1
* 01-23 18:19:18.873 25902-25902/org.cocos2d.helloworld D/ViewRootImpl@9933db6[AppActivity]: MSG_WINDOW_FOCUS_CHANGED 0
* 01-23 18:19:18.873 25902-25902/org.cocos2d.helloworld D/Cocos2dxActivity: onWindowFocusChanged() hasFocus=false
* 01-23 18:19:18.882 25902-25902/org.cocos2d.helloworld D/Cocos2dxActivity: onPause()
* 01-23 18:19:18.883 25902-25902/org.cocos2d.helloworld W/com.facebook.appevents.AppEventsLogger: deactivateApp events are being logged automatically. There's no need to call deactivateApp, this is safe to remove.
* 01-23 18:19:18.886 25902-25902/org.cocos2d.helloworld D/AudioFocusManager: abandonAudioFocus succeed!
* 01-23 18:19:18.887 25902-25902/org.cocos2d.helloworld W/System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.reflect.Method java.lang.Class.getMethod(java.lang.String, java.lang.Class[])' on a null object reference
* 01-23 18:19:18.887 25902-25981/org.cocos2d.helloworld D/cocos2d-x: cocos_audioengine_focus_change: 0
* 01-23 18:19:18.887 25902-25902/org.cocos2d.helloworld W/System.err:     at org.cocos2dx.javascript.SDKWrapper.onPause(SDKWrapper.java:64)
* 01-23 18:19:18.887 25902-25902/org.cocos2d.helloworld W/System.err:     at org.cocos2dx.javascript.AppActivity.onPause(AppActivity.java:98)
* 01-23 18:19:18.887 25902-25902/org.cocos2d.helloworld W/System.err:     at android.app.Activity.performPause(Activity.java:7146)
* 01-23 18:19:18.887 25902-25902/org.cocos2d.helloworld W/System.err:     at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1330)
* 01-23 18:19:18.887 25902-25902/org.cocos2d.helloworld W/System.err:     at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:4168)
* 01-23 18:19:18.887 25902-25902/org.cocos2d.helloworld W/System.err:     at android.app.ActivityThread.performPauseActivity(ActivityThread.java:4145)
* 01-23 18:19:18.887 25902-25902/org.cocos2d.helloworld W/System.err:     at android.app.ActivityThread.performPauseActivity(ActivityThread.java:4119)
* 01-23 18:19:18.887 25902-25902/org.cocos2d.helloworld W/System.err:     at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:4093)
* 01-23 18:19:18.887 25902-25902/org.cocos2d.helloworld W/System.err:     at android.app.ActivityThread.-wrap18(ActivityThread.java)
* 01-23 18:19:18.887 25902-25902/org.cocos2d.helloworld W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1654)
* 01-23 18:19:18.888 25902-25902/org.cocos2d.helloworld W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102)
* 01-23 18:19:18.888 25902-25902/org.cocos2d.helloworld W/System.err:     at android.os.Looper.loop(Looper.java:154)
* 01-23 18:19:18.888 25902-25902/org.cocos2d.helloworld W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:6776)
* 01-23 18:19:18.888 25902-25902/org.cocos2d.helloworld W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
* 01-23 18:19:18.888 25902-25902/org.cocos2d.helloworld W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1496)
* 01-23 18:19:18.888 25902-25902/org.cocos2d.helloworld W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1386)
* 01-23 18:19:18.888 25902-25981/org.cocos2d.helloworld I/CocosAnalytics: ==> onPause()
* 01-23 18:19:18.889 25902-25981/org.cocos2d.helloworld E/CocosAnalytics: ==> Please init sdk first!
* 01-23 18:19:19.068 25902-25902/org.cocos2d.helloworld D/ViewRootImpl@9933db6[AppActivity]: MSG_RESIZED: frame=Rect(0, 0 - 1920, 1080) ci=Rect(0, 0 - 0, 0) vi=Rect(0, 72 - 0, 0) or=2
* 01-23 18:19:19.241 25902-25902/org.cocos2d.helloworld D/ViewRootImpl@9933db6[AppActivity]: Relayout returned: oldFrame=[0,0][1920,1080] newFrame=[0,0][1920,1080] result=0x1 surface={isValid=true -972869632} surfaceGenerationChanged=false
* 01-23 18:19:19.250 25902-25902/org.cocos2d.helloworld D/InputTransport: Input channel destroyed: fd=105
* 01-23 18:19:24.705 25902-25902/org.cocos2d.helloworld D/ViewRootImpl@9933db6[AppActivity]: MSG_RESIZED: frame=Rect(0, 0 - 1920, 1080) ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=2
* 01-23 18:19:24.730 25902-25902/org.cocos2d.helloworld D/ViewRootImpl@9933db6[AppActivity]: MSG_WINDOW_FOCUS_CHANGED 1
* 01-23 18:19:24.730 25902-25902/org.cocos2d.helloworld D/ViewRootImpl@9933db6[AppActivity]: mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true -972869632}
* 01-23 18:19:24.730 25902-25902/org.cocos2d.helloworld D/Cocos2dxActivity: onWindowFocusChanged() hasFocus=true
* 01-23 18:19:24.732 25902-25902/org.cocos2d.helloworld V/InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo@e54a0a8 nm : org.cocos2d.helloworld ic=null
* 01-23 18:19:24.733 25902-25902/org.cocos2d.helloworld I/InputMethodManager: [IMM] startInputInner - mService.startInputOrWindowGainedFocus
* 01-23 18:19:24.735 25902-25902/org.cocos2d.helloworld D/InputTransport: Input channel constructed: fd=100
* 01-23 18:19:24.736 25902-26113/org.cocos2d.helloworld V/AudioMixerController: Track (name: 4096)'s volume is dirty, update volume to L: 1.000000, R: 1.000000
* 01-23 18:19:24.736 25902-25981/org.cocos2d.helloworld I/CocosAnalytics: ==> onResume()
* 01-23 18:19:24.736 25902-25981/org.cocos2d.helloworld E/CocosAnalytics: ==> Please init sdk first!
* 01-23 18:19:24.748 25902-25902/org.cocos2d.helloworld D/ViewRootImpl@9933db6[AppActivity]: Relayout returned: oldFrame=[0,0][1920,1080] newFrame=[0,0][1920,1080] result=0x1 surface={isValid=true -972869632} surfaceGenerationChanged=false
* 01-23 18:19:24.760 25902-25902/org.cocos2d.helloworld A/libc: Fatal signal 11 (SIGSEGV), code 1, fault * addr 0xe24 in tid 25902 (os2d.helloworld)
* 01-23 19:18:25.731 2321-2321/? I/SurfaceFlinger: id=619 createSurf (1920x1080),-1 flag=20004, com.facebook.katana/com.facebook.platform.common.activity.PlatformWrapperActivity_dim
* 01-23 19:18:25.734 2897-7171/? D/WindowManager: adjustSystemUiVisibilityLw : vis= 0x1706
* 01-23 19:18:25.735 2341-2509/? D/audio_hw_primary: start_output_stream (0xed3b47e0) out->pcm_device:5 out->config.rate:48000 out->config.format:0 out->period_size:240
* 01-23 19:18:25.735 2341-2509/? D/audio_hw_primary: start_output_stream (0xed3b47e0) out->config.rate:48000 out->config.format:0 out->period_size:240
* 01-23 19:18:25.735 2341-2509/? V/audio_hw_primary: select_devices output_scenario:0 input_scenario:-1 out_snd_device 0x2 in_snd_device:0x0
* 01-23 19:18:25.735 2341-2509/? D/audio_hw_spk_amp: check_speaker_amp_off: turning_off_speaker_amp = true 
* 01-23 19:18:25.736 2341-2509/? D/tfa98xxApp: [NXP] tfa_enable: turning tfa off
* 01-23 19:18:25.736 2341-2509/? D/tfa98xxApp: [NXP] tfa_enable: Tfa is already turned off
* 01-23 19:18:25.736 2341-2509/? D/tfa98xxApp: [NXP] tfa_enable: end
* 01-23 19:18:25.736 2341-2509/? I/audio_route: > audio_route_reset :
* 01-23 19:18:25.736 2341-2509/? I/audio_route: > audio_route_update_mixer : +
* 01-23 19:18:25.736 2341-2509/? I/audio_route: > audio_route_update_mixer : changed(0) -
* 01-23 19:18:25.736 2341-2509/? I/audio_route: > audio_route_apply_path : "media-speaker"
* 01-23 19:18:25.736 17663-17663/? D/ViewRootImpl@c4f4ddc[PlatformWrapperActivity]: MSG_WINDOW_FOCUS_CHANGED 0
* 01-23 19:18:25.737 17663-17663/? D/InputTransport: Input channel destroyed: fd=217
* 01-23 19:18:25.750 2321-2321/? D/SurfaceFlinger:   Display[0] configurations (* current):
*                                                      * 0: 1080x1920, xdpi=403.411011, ydpi=403.040985, refresh=16949152
*                                                    numHwLayers=4, flags=00000000
*                                                      type   |  handle  | hint | flag | tr | blnd |   format    |     source crop (l,t,r,b)      |          frame         | name 
*                                                  -----------+----------+------+------+----+------+-------------+--------------------------------+------------------------+------
*                                                         HWC | f5819be0 | 0000 | 0020 | 00 | 0100 | RGB_565     |    0.0,    0.0, 1080.0, 1920.0 |    0,    0, 1080, 1920 | SurfaceView - org.cocos2d.helloworld/org.cocos2dx.javascript.AppActivity
*                                                        GLES | 00000000 | 0000 | 0200 | 04 | 0105 | ? ffffffff  |    0.0,    0.0,   -1.0,   -1.0 |    0,    0, 1080, 1920 | com.facebook.katana/com.facebook.platform.common.activity.PlatformWrapperActivity_dim
*                                                         HWC | f5bf6be0 | 0000 | 0000 | 00 | 0105 | RGBA_8888   |    0.0,    0.0, 1080.0, 1909.0 |    0,   11, 1080, 1920 | com.facebook.katana/com.facebook.platform.common.activity.PlatformWrapperActivity
*                                                   FB TARGET | f5b
* 01-23 19:18:25.750 2321-2321/? D/SurfaceFlinger: f6500 | 0000 | 0000 | 00 | 0105 | RGBA_8888   |    0.0,    0.0, 1080.0, 1920.0 |    0,    0, 1080, 1920 | HWC_FRAMEBUFFER_TARGET
* 01-23 19:18:25.750 17663-17663/? D/ViewRootImpl@c4f4ddc[PlatformWrapperActivity]: mHardwareRenderer.destroy()#1
* 01-23 19:18:25.752 2897-2908/? V/WindowManager: Relayout Window{b26a2f9d0 u0 com.facebook.katana/com.facebook.platform.common.activity.PlatformWrapperActivity}: viewVisibility=8 req=1920x1080 WM.LayoutParams{(0,0)(fillxfill) sim=#120 ty=1 fl=#81810100 fmt=-2 wanim=0x1030465 vsysui=0x600 needsMenuKey=2 naviIconColor=0}
* 01-23 19:18:25.756 17663-17663/? D/ViewRootImpl@c4f4ddc[PlatformWrapperActivity]: Relayout returned: oldFrame=[0,0][1920,1080] newFrame=[0,0][1920,1080] result=0x5 surface={isValid=false 0} surfaceGenerationChanged=true
* 01-23 19:18:25.876 2708-2708/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
* 01-23 19:18:25.876 2708-2708/? A/DEBUG: Build fingerprint: 'samsung/a7xeltexx/a7xelte:7.0/NRD90M/A710FXXU2CQI7:user/release-keys'
* 01-23 19:18:25.876 2708-2708/? A/DEBUG: Revision: '8'
* 01-23 19:18:25.876 2708-2708/? A/DEBUG: ABI: 'arm'
* 01-23 19:18:25.876 2708-2708/? A/DEBUG: pid: 1998, tid: 1998, name: os2d.helloworld  >>> org.cocos2d.helloworld <<<
* 01-23 19:18:25.876 2708-2708/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xe24
* 01-23 19:18:25.876 2708-2708/? A/DEBUG:     r0 00000000  r1 00000000  r2 00000000  r3 c7f277a0
* 01-23 19:18:25.876 2708-2708/? A/DEBUG:     r4 00000000  r5 ffb8afb8  r6 c2bd3908  r7 c694fb08
* 01-23 19:18:25.876 2708-2708/? A/DEBUG:     r8 00000000  r9 e4d25310  sl ffb8b040  fp ffb8af9c
* 01-23 19:18:25.876 2708-2708/? A/DEBUG:     ip c7f099f4  sp ffb8af68  lr c6ec5bed  pc c6ec5bf0  cpsr 40070030
* 01-23 19:18:25.879 2341-2509/? V/audio_hw_primary: select_devices() output_route "media-speaker" 
* 01-23 19:18:25.879 2341-2509/? I/audio_route: > audio_route_apply_path : "gain-media-speaker"
* 01-23 19:18:25.879 2341-2509/? V/audio_hw_primary: select_devices() output_gain "gain-media-speaker" 
* 01-23 19:18:25.879 2341-2509/? I/audio_route: > audio_route_update_mixer : +
* 01-23 19:18:25.879 2341-2509/? I/audio_route: > audio_route_update_mixer : changed(0) -
* 01-23 19:18:25.879 2341-2509/? D/audio_hw_primary: select_devices: pcm_voice_out 0x0
* 01-23 19:18:25.879 2341-2509/? D/audio_hw_primary: select_devices: pcm_fm_out 0x0
* 01-23 19:18:25.879 2341-2509/? I/audio_hw_primary: select_devices - 
* 01-23 19:18:25.879 2341-2509/? D/audio_hw_spk_amp: check_speaker_amp_on: turning_on_speaker_amp = true 
* 01-23 19:18:25.879 2341-2509/? D/tfa98xxApp: [NXP] [SEP 03, 2016] tfa_enable: turning tfa on 
* 01-23 19:18:25.879 2341-2509/? D/tfa98xxApp: [NXP] tfa_enable: tfa_i2c_dev_name = /dev/i2c-0, tfa_log_enable_cnt = 61, tfa_log_coldboot_cnt = 1
* 01-23 19:18:25.879 2341-2509/? D/tfa98xxApp: [NXP] tfa_enable: coldstartup_flag = 1
* 01-23 19:18:25.879 2341-2509/? D/tfa98xxApp: [NXP] tfa_enable: check speakerOn(0) && (tfaMode(0) == prev_tfaMode(0)) 
* 01-23 19:18:25.880 2341-2509/? D/tfa98xxApp: [NXP] tfa_iscoldboot: Loaded container file /system/etc/Tfa9897.cnt.
* 01-23 19:18:25.880 2341-2509/? D/tfa98xxRuntime: [NXP] tfaRunIsCold:0x001c
* 01-23 19:18:25.880 2341-2509/? D/tfa98xxApp: [NXP] tfa_enable: warm boot 
* 01-23 19:18:25.880 2341-2509/? D/tfa98xxApp: [NXP] tfa_enable: ic stable time 80 ms