This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I downloaded mali graphics debugger v2.0 for win7 32bit, but i can't capture any data after setting up host and target following the MGD user guide, what should i do?

I downloaded mali graphics debugger v2.0 for win7 32bit, but i can't capture any data after setting up host and target following the MGD user guide, what should i do?

Parents
  • I change the permissions of libGLES.so and libGLES_mgd.so, now the interceptor library is loaded, but it crashes every 3D app.

    Below is what logcat says:

    V/AudioFlinger(  133): AUDIO_OUTPUT_FLAG_FAST denied: isTimed=0 sharedBuffer=0xb71ac1f0 frameCount=12992 mFrameCount=1024 format=1 isLinear=1 channelMask=0x3 sampleRate=48000 mSampleRate=48000 hasFastMixer=0 tid=5093 fastTrackAvailMask=0xfe

    V/AudioFlinger(  133): ThreadBase::setParameters() routing=2

    V/AudioFlinger(  133): thread 0xb367e008 type 0 TID 548 waking up

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_2 statu[ 8096.058943@0] ----aml_hw_iec958_init,runtime->rate=48000--

    s [ 8096.064796@0] ----aml_hw_iec958_init,runtime->rate=48000,sample_rate=4--

    [ 8096.071130@0] iec958 mode PCM16

    [ 8096.074534@0] IEC958 16bit

    [ 8096.076803@0] hdmitx: audio: aout notify rate 48000

    [ 8096.081657@0] hdmitx: audio: aout notify size 16

    [ 8096.087046@0] hdmitx: audio: audio channel num is 1

    0

    D/a[ 8096.091510@0] hdmitx: audio: SPDIF

    [ 8096.094780@0] hdmitx: audio: current VIC: 16

    udi[ 8096.101815@0] hdmitx: audio: audio sample rate: 3

    [ 8096.103912@0] hdmitx: audio: reset audio N para

    [ 8096.109629@0] hdmitx: audio: PCM out to HDMI

    [ 8096.112781@0] hdmitx: audio: i2s_to_spdif_flag:1

    [ 8096.117410@0] hdmitx: audio: Enable audio spdif to HDMI

    [ 8096.122865@0] hdmitx: audio: Audio Type: PCM

    [ 8096.127142@0] hdmitx: audio: set audio param

    [ 8096.131413@0] [aml-i2s-dai]i2s dma ef300000,phy addr 2f500000,mode 0,ch 2

    [ 8096.138103@0] speaker_events--mute =1

    [ 8096.141548@0] [aml-spdif-dai]aiu 958 playback enable

    o[ 8096.146804@0] aiu i2s playback enable

    [ 8096.146804@0]

    _hw_primary(  133): out_set_parameters(kvpairs(routing=2), out_device=0x2)

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_2 status 0

    V/AudioFlinger(  133): ThreadBase::setParameters() routing=1024

    V/AudioFlinger(  133): thread 0xb34fc008 type 0 TID 557 waking up

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_7 status 0

    D/audio_hw_hdmi(  133): out_set_parameters(kvpairs(routing=1024), out_device=0[ 8096.187809@0] video_disable_store(2)

    [ 8096.190986@0] DisableVideoLayer()

    x400)

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_7 status 0

    V/AudioFlinger(  133): th[ 8096.204596@0] VsyncDisableVideoLayer

    read 0xb33bb008 type 2 TID 560 waking up

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_8 status 0

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_8 status 0

    I/Track   (  133): OutPut Track restore active track to thread 0xb34fc008

    I/Track   (  133): OutPut Track restore active track to thread 0xb367e008

    I/Track   (  133): OutPut Track restore active track to thread 0xb34fc008

    I/Track   (  133): OutPut Track restore active track to thread 0xb367e008

    I/Track   (  133): OutPut Track restore active track to thread 0xb34fc008

    I/Track   (  133): OutPut Track restore active track to thread 0xb367e008

    I/Track   (  133): OutPut Track restore active track to thread 0xb34fc008

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_7 status 0

    D/audio_hw_hdmi(  133): select_output_device(mode=0, out_device=0x400)

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_2 status 0

    D/audio_hw_primary(  133): start_output_stream(adev->out_device=0x2, adev->mode=0)

    D/audio_hw_primary(  133): select_devices(mode=0, out_device=0x2)

    D/audio_hw_hdmi(  133): start_output_stream(adev->out_device=0x400, adev->mode=0)

    D/audio_hw_primary(  133): ~~~~ select_devices : hs=0 , hp=0, sp=2, hdmi=0x0,earpiece=0x0

    I/audio_hw_hdmi(  133): hdmi sound card id 0,device id 1

    D/audio_hw_primary(  133): ~~~~ select_devices : in_device(0x4), mic_in(0x4), headset_mic(0)

    D/audio_hw_primary(  133): ****select_devices : output_standby=1,input_standby=1

    D/audio_hw_primary(  133): *start_output_stream, open card(0) port(0)-------

    D/audio_hw_primary(  133): channels=2---format=0---period_count4---period_size1024---rate=48000---

    D/audio_hw_hdmi(  133): ------------open on board audio-------

    I/audio_hw_hdmi(  133): channels=2---format=0---period_count4---period_size1024---rate=48000---

    I/Track   (  133): OutPut Track restore active track to thread 0xb367e008

    I/Track   (  133): OutPut Track restore active track to thread 0xb34fc008

    I/Track   (  133): OutPut Track restore active track to thread 0xb367e008

    V/AudioFlinger(  133): remove track (4101) and delete from mixer

    I/ActivityManager(  967): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=com.vectorunit.redcmgeplaycn cmp=com.vectorunit.redcmgeplaycn/.Red} from pid 4852

    I/ActivityManager(  967): start package name is com.vectorunit.redcmgeplaycn, class name is com.vectorunit.redcmgeplaycn.Red, error code is 0

    V/MGD Daemon GUI( 4852): onPause

    D/dalvikvm( 5094): Late-enabling CheckJNI

    I/ActivityManager(  967): Start proc com.vectorunit.redcmgeplaycn for activity com.vectorunit.redcmgeplaycn/.Red: pid=5094 uid=10046 gids={50046, 3003, 1028, 1015}

    D/dalvikvm( 5094): GC_CONCURRENT freed 193K, 24% free 713K/936K, paused 2ms+0ms, total 5ms

    D/dalvikvm( 5094): GC_CONCURRENT freed 162K, 18% free 936K/1128K, paused 2ms+1ms, total 6ms

    D/dalvikvm( 5094): GC_CONCURRENT freed 199K, 18% free 1123K/1356K, paused 2ms+0ms, total 7ms

    I/InputDispatcher(  967): Dropping event because there is no touchable window at (234, 486).

    I/InputDispatcher(  967): Dropping event because there is no touchable window at (234, 487).

    I/InputDispatcher(  967): Dropping event because there is no touchable window at (234, 488).

    D/dalvikvm( 5094): Trying to load lib /data/app-lib/com.vectorunit.redcmgeplaycn-1/libfmodex.so 0x42090c38

    D/dalvikvm( 5094): Added shared lib /data/app-lib/com.vectorunit.redcmgeplaycn-1/libfmodex.so 0x42090c38

    D/dalvikvm( 5094): No JNI_OnLoad found in /data/app-lib/com.vectorunit.redcmgeplaycn-1/libfmodex.so 0x42090c38, skipping init

    D/dalvikvm( 5094): Trying to load lib /data/app-lib/com.vectorunit.redcmgeplaycn-1/libfmodevent.so 0x42090c38

    D/dalvikvm( 5094): Added shared lib /data/app-lib/com.vectorunit.redcmgeplaycn-1/libfmodevent.so 0x42090c38

    D/dalvikvm( 5094): No JNI_OnLoad found in /data/app-lib/com.vectorunit.redcmgeplaycn-1/libfmodevent.so 0x42090c38, skipping init

    D/dalvikvm( 5094): Trying to load lib /data/app-lib/com.vectorunit.redcmgeplaycn-1/libRed.so 0x42090c38

    D/dalvikvm( 5094): Added shared lib /data/app-lib/com.vectorunit.redcmgeplaycn-1/libRed.so 0x42090c38

    D/dalvikvm( 5094): No JNI_OnLoad found in /data/app-lib/com.vectorunit.redcmgeplaycn-1/libRed.so 0x42090c38, skipping init

    I/Red     ( 5094): OnInitApp

    D/sys     ( 5094): VuAndroidSys::bindJavaMethods()

    D/GamePad ( 5094): VuAndroidGamePad::bindJavaMethods()

    W/dalvikvm( 5094): dvmFindClassByName rejecting 'com/vectorunit/VuGamePadHelper'

    D/Http    ( 5094): VuAndroidHttpClient::bindJavaMethods()

    W/dalvikvm( 5094): dvmFindClassByName rejecting 'com/vectorunit/VuHttpHelper'

    D/ofm     ( 5094): VuAndroidAnalyticsManager::bindJavaMethods()

    W/dalvikvm( 5094): dvmFindClassByName rejecting 'com/vectorunit/VuAnalyticsHelper'

    D/ofm     ( 5094): VuAndroidCommunityManager::bindJavaMethods()

    W/dalvikvm( 5094): dvmFindClassByName rejecting 'com/vectorunit/VuCommunityHelper'

    D/Online  ( 5094): VuAndroidSignInManager::bindJavaMethods()

    W/dalvikvm( 5094): dvmFindClassByName rejecting 'com/vectorunit/VuOnlineHelper'

    D/Online  ( 5094): VuAndroidNetGameManager::bindJavaMethods()

    D/Leaderboard( 5094): VuAndroidLeaderboardManager::bindJavaMethods()

    W/dalvikvm( 5094): dvmFindClassByName rejecting 'com/vectorunit/VuLeaderboardHelper'

    D/Achievement( 5094): VuAndroidAchievementManager::bindJavaMethods()

    W/dalvikvm( 5094): dvmFindClassByName rejecting 'com/vectorunit/VuAchievementHelper'

    D/Billing ( 5094): VuAndroidBillingManager::bindJavaMethods()

    W/dalvikvm( 5094): dvmFindClassByName rejecting 'com/vectorunit/VuBillingHelper'

    D/NvInput ( 5094): Initialized (Supported)

    I/Red     ( 5094): OnStart

    D/dalvikvm( 5094): GC_CONCURRENT freed 151K, 11% free 1490K/1656K, paused 2ms+1ms, total 13ms

    W/FlurryAgent( 5094): Start session

    I/Red     ( 5094): OnResume

    E/MobileUtils( 5094): the appkey is empty,please init datau.sdk

    W/MobileUtils( 5094): Could not rea[ 8096.841153@1] audit_printk_skb: 94 callbacks suppressed

    [ 8096.847135@0] type=1400 audit(1421843869.280:188): avc:  denied  { read } for  pid=5107 comm="t.redcmgeplaycn" name="app_process" dev="system" ino=8197 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:zygote_exec:s0 tclass=file

    d MOBILE_CHANNEL meta-data from [ 8096.869087@0] type=1400 audit(1421843869.320:189): avc:  denied  { open } for  pid=5107 comm="t.redcmgeplaycn" path="/system/bin/app_process" dev="system" ino=8197 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:zygote_exec:s0 tclass=file

    AndroidManifest.xml.

    E/UploadThread( 5094): unexpected empty channelId

    E/MobileUtils( 5094): the appkey is empty,please init datau.sdk

    D/dalvikvm( 5094): GC_CONCURRENT freed 357K, 21% free 1521K/1908K, paused 2ms+0ms, total 10ms

    I/Red     ( 5094): OnInitWindow

    I/libGLES_mgd( 5094): Initialising interceptor.

    I/Red     ( 5094): onWindowFocusChanged()

    I/Red     ( 5094): onSystemUiVisibilityChange()

    I/ActivityManager(  967): Displayed com.vectorunit.redcmgeplaycn/.Red: +692ms (total +1m6s405ms)

    I/libGLES_mgd( 5094): libGLES_mgd is in a system folder

    E/libGLES_mgd( 5094): Failed to parse process mappings.

    D/libEGL  ( 5094): loaded /system/lib/egl/libGLES.so

    I/mgd_interceptor( 5094): Interceptor constructor called

    I/mgd_interceptor( 5094): Trying to connect to the daemon...

    I/mgd_interceptor( 5094): Connected to the daemon.

    I/MGDDAEMON( 4852): An intercepted application is connected.

    I/MGDDAEMON( 4852): An intercepted application is being traced.

    I/mgd_interceptor( 5094): Sending header...

    I/MGDDAEMON( 4852): Waiting for an interceptor to connect...

    I/mgd_interceptor( 5094): Header sent.

    I/mgd_interceptor( 5094): Reading process name for PID=5094

    I/mgd_interceptor( 5094): Process = com.vectorunit.redcmgeplaycn

    I/mgd_interceptor( 5094):

    I/mgd_interceptor( 5094): Could not open /system/lib/egl/processlist.cfg, so tracing by default

    I/mgd_interceptor( 5094): Attempting to load libEGL at /vendor/lib/egl/libGLES_mali.so ...

    I/MGDDAEMON( 4852): Interceptor is version: B002

    E/mgd_interceptor( 5094): Could not get handle to libEGL (dlerror=`dlopen failed: library "/vendor/lib/egl/libGLES_mali.so" not found`).

    W/mgd_interceptor( 5094): Unable to locate library libEGL, no functions for this library will be intercepted

    E/mgd_interceptor( 5094): User called extension function eglGetProcAddress} which does not exist

    F/libc    ( 5094): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 5107 (t.redcmgeplaycn)

    D/dalvikvm( 5094): GC_FOR_ALLOC freed 289K, 23% free 1592K/2060K, paused 7ms, total 8ms

    I/DEBUG   ( 5068): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

    I/DEBUG   ( 5068): Build fingerprint: 'MBX/m201/m201:4.4.2/KOT49H/20150116:user/test-keys'

    I/DEBUG   ( 5068): Revision: '10'

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068):  Crash Time:----- 2015-01-21-20-37 -----

    I/DEBUG   ( 5068): pid: 5094, tid: 5107, name: t.redcmgeplaycn  >>> com.vectorunit.redcmgeplaycn <<<

    I/DEBUG   ( 5068): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000

    I/DEBUG   ( 5068):     r0 00000000  r1 00000000  r2 ccf02a09  r3 00000000

    I/DEBUG   ( 5068):     r4 00000000  r5 4031da54  r6 67aa0710  r7 00000001

    I/DEBUG   ( 5068):     r8 000000b0  r9 40336750  sl 00000007  fp 40336764

    I/DEBUG   ( 5068):     ip 00000001  sp 67aa06f8  lr 683017d3  pc 00000000  cpsr 000f0010

    I/DEBUG   ( 5068):     d0  6c61632072657355  d1  657478652064656c

    I/DEBUG   ( 5068):     d2  7566206e6f69736e  d3  65206e6f6974636e

    I/DEBUG   ( 5068):     d4  6f72507465476c67  d5  7373657264644163

    I/DEBUG   ( 5068):     d6  206863696877207d  d7  746f6e2073656f64

    I/DEBUG   ( 5068):     d8  0000000000000000  d9  0000000000000000

    I/DEBUG   ( 5068):     d10 0000000000000000  d11 0000000000000000

    I/DEBUG   ( 5068):     d12 0000000000000000  d13 0000000000000000

    I/DEBUG   ( 5068):     d14 0000000000000000  d15 0000000000000000

    I/DEBUG   ( 5068):     d16 000000000000001c  d17 3fc999999999999a

    I/DEBUG   ( 5068):     d18 4000000000000000  d19 3fd99a27ad32ddf5

    I/DEBUG   ( 5068):     d20 3f8948b0fcd6e9e0  d21 3fe555b0aaeac752

    I/DEBUG   ( 5068):     d22 3fd24998d6307188  d23 3fcc7288e957b53b

    I/DEBUG   ( 5068):     d24 3fc74721cad6b0ed  d25 3fc2f112df3e5244

    I/DEBUG   ( 5068):     d26 40026bb1bbb55516  d27 0000000000000000

    I/DEBUG   ( 5068):     d28 0000000000000000  d29 0000000000000000

    I/DEBUG   ( 5068):     d30 0000000000000000  d31 0000000000000000

    I/DEBUG   ( 5068):     scr 60000011

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068): backtrace:

    I/DEBUG   ( 5068):     #00  pc 00000000  <unknown>

    I/DEBUG   ( 5068):     #01  pc 000817cf  /system/lib/egl/libGLES_mgd.so (eglGetProcAddress+78)

    I/DEBUG   ( 5068):     #02  pc 000347ed  /system/lib/libEGL.so

    I/DEBUG   ( 5068):     #03  pc 0003489b  /system/lib/libEGL.so

    I/DEBUG   ( 5068):     #04  pc 0000dc19  /system/lib/libEGL.so

    I/DEBUG   ( 5068):     #05  pc 0000e321  /system/lib/libEGL.so (eglGetDisplay+24)

    I/DEBUG   ( 5068):     #06  pc 00183ce9  /data/app-lib/com.vectorunit.redcmgeplaycn-1/libRed.so (OnInitWindow(ANativeActivity*, ANativeWindow*)+68)

    I/DEB[ 8097.325204@0] [aml-spdif-dai]aiu 958 playback disable

    UG   ( 5068):     #07  pc 001842e9  /data/app-lib/com.vectorunit.redcmgeplaycn-1/libRed.so

    I/DEBUG   ( 5068):     #08  pc 00184e75  /data/app-lib/com.vectoruni[ 8097.345198@0] aiu i2s playback disable

    [ 8097.345198@0]

    t.redcmgeplaycn-1/libRed.so

    I/DEBUG   ( 5068):     #09  pc 001834eb  /data/app-lib/com.vectorunit.redcmgeplaycn-1/libRed.so (android_main+82)

    I/DEBUG   ( 5068):     #10  pc 00184a67  /data/app-lib/com.vectorunit.redcmgeplaycn-1/libRed.so

    I/DEBUG   ( 5068):     #11  pc 0000d1a0  /system/lib/libc.so (__thread_entry+72)

    I/DEBUG   ( 5068):     #12  pc 0000d338  /system/lib/libc.so (pthread_create+240)

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068): stack:

    I/DEBUG   ( 5068):          67aa06b8  40336764 

    I/DEBUG   ( 5068):          67aa06bc  40087d44  /system/lib/libc.so (malloc+24)

    I/DEBUG   ( 5068):          67aa06c0  685dde3c 

    I/DEBUG   ( 5068):          67aa06c4  68403a40  /system/lib/egl/libGLES_mgd.so

    I/DEBUG   ( 5068):          67aa06c8  00000001 

    I/DEBUG   ( 5068):          67aa06cc  ccf02a09 

    I/DEBUG   ( 5068):          67aa06d0  6845a024  /system/lib/egl/libGLES_mgd.so

    I/DEBUG   ( 5068):          67aa06d4  6845a13c  /system/lib/egl/libGLES_mgd.so

    I/DEBUG   ( 5068):          67aa06d8  4031da54  /system/lib/libEGL.so

    I/DEBUG   ( 5068):          67aa06dc  ccf02a09 

    I/DEBUG   ( 5068):          67aa06e0  00000000 

    I/DEBUG   ( 5068):          67aa06e4  4031da54  /system/lib/libEGL.so

    I/DEBUG   ( 5068):          67aa06e8  00000001 

    I/DEBUG   ( 5068):          67aa06ec  68301847  /system/lib/egl/libGLES_mgd.so (eglGetProcAddress+198)

    I/DEBUG   ( 5068):          67aa06f0  68421ae0  /system/lib/egl/libGLES_mgd.so

    I/DEBUG   ( 5068):          67aa06f4  6845a13c  /system/lib/egl/libGLES_mgd.so

    I/DEBUG   ( 5068):     #00  67aa06f8  67995258 

    I/DEBUG   ( 5068):          ........  ........

    I/DEBUG   ( 5068):     #01  67aa06f8  67995258 

    I/DEBUG   ( 5068):          67aa06fc  4031da54  /system/lib/libEGL.so

    I/DEBUG   ( 5068):          67aa0700  4005[ 8097.504131@1] video_disable_store(2)

    [ 8097.506248@1] DisableVideoLayer()

    dfda  /system/bin/linker

    I/DEBUG   ( 5068):          67aa0704  00000000 

    I/DEBUG   ( 5068):          67aa0708  54bf9d9[ 8097.521273@0] VsyncDisableVideoLayer

    d  /dev/ashmem/dalvik-heap (deleted)

    I/DEBUG   ( 5068):          67aa070c  00062b8a 

    I/DEBUG   ( 5068):          67aa0710  54bf9d9d  /dev/ashmem/dalvik-heap (deleted)

    I/DEBUG   ( 5068):   [ 8097.541434@1] video_disable_store(2)

    [ 8097.543440@1] DisableVideoLayer()

           67aa0714  00062ba2 

    I/DEBUG   ( 5068):          67aa071[ 8097.554597@0] VsyncDisableVideoLayer

    8  41647a48 

    I/DEBUG   ( 5068):          67aa071c  4031da54  /system/lib/libEGL.so

    I/DEBUG   ( 5068):          67aa0720  66b5[ 8097.567276@1] type=1400 audit(1421843870.010:190): avc:  denied  { transfer } for  pid=4865 comm="Thread-165" scontext=u:r:untrusted_app:s0 tcontext=u:r:init:s0 tclass=binder

    de88 

    I/DEBUG   ( 5068):          67aa0724  4032ede8  /system/lib/libEGL.so

    I/DEBUG   ( 5068):          67aa0728  000000b0 

    I/DEBUG   ( 5068):          67aa072c  403177ef  /system/lib/libEGL.so

    I/DEBUG   ( 5068):     #02  67aa0730  00000000 

    I/DEBUG   ( 5068):          67aa0734  4006fcad  /system/lib/libcutils.so (__android_log_print+56)

    I/DEBUG   ( 5068):          67aa0738  67aa0b54  [stack:5107]

    I/DEBUG   ( 5068):          67aa073c  4032dc88  /system/lib/libEGL.so

    I/DEBUG   ( 5068):          67aa0740  6798f200 

    I/DEBUG   ( 5068):          67aa0744  6798f1e0 

    I/DEBUG   ( 5068):          67aa0748  614e7942  /dev/ashmem/dalvik-mark-stack (deleted)

    I/DEBUG   ( 5068):          67aa074c  40336750 

    I/DEBUG   ( 5068):          67aa0750  66b5de88 

    I/DEBUG   ( 5068):          67aa0754  66b5de88 

    I/DEBUG   ( 5068):          67aa0758  678698cd  /data/app-lib/com.vectorunit.redcmgeplaycn-1/libRed.so

    I/DEBUG   ( 5068):          67aa075c  67aa07b8  [stack:5107]

    I/DEBUG   ( 5068):          67aa0760  6799c348 

    I/DEBUG   ( 5068):          67aa0764  6799e8d0 

    I/DEBUG   ( 5068):          67aa0768  400ca384 

    I/DEBUG   ( 5068):          67aa076c  4031789f  /system/lib/libEGL.so

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068): memory near r5:

    I/DEBUG   ( 5068):     4031da34 53746547 41636e79 69727474 52484b62 

    I/DEBUG   ( 5068):     4031da44 6c676500 74696157 636e7953 0052484b 

    I/DEBUG   ( 5068):     4031da54 536c6765 77537465 65527061 6e617463 

    I/DEBUG   ( 5068):     4031da64 41656c67 4f52444e 65004449 65476c67 

    I/DEBUG   ( 5068):     4031da74 6e655274 42726564 65666675 444e4172 

    I/DEBUG   ( 5068):     4031da84 44494f52 6c676500 4e707544 76697461 

    I/DEBUG   ( 5068):     4031da94 6e654665 44466563 52444e41 0044494f 

    I/DEBUG   ( 5068):     4031daa4 476c6765 79537465 6d657473 656d6954 

    I/DEBUG   ( 5068):     4031dab4 71657246 636e6575 00564e79 476c6765 

    I/DEBUG   ( 5068):     4031dac4 79537465 6d657473 656d6954 6500564e 

    I/DEBUG   ( 5068):     4031dad4 69486c67 6e726562 50657461 65636f72 

    I/DEBUG   ( 5068):     4031dae4 4d497373 67650047 6177416c 506e656b 

    I/DEBUG   ( 5068):     4031daf4 65636f72 4d497373 6c670047 69746341 

    I/DEBUG   ( 5068):     4031db04 68536576 72656461 676f7250 456d6172 

    I/DEBUG   ( 5068):     4031db14 67005458 7463416c 54657669 75747865 

    I/DEBUG   ( 5068):     4031db24 67006572 706c416c 75466168 6700636e 

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068): memory near r6:

    I/DEBUG   ( 5068):     67aa06f0 68421ae0 6845a13c 67995258 4031da54 

    I/DEBUG   ( 5068):     67aa0700 4005dfda 00000000 54bf9d9d 00062b8a 

    I/DEBUG   ( 5068):     67aa0710 54bf9d9d 00062ba2 41647a48 4031da54 

    I/DEBUG   ( 5068):     67aa0720 66b5de88 4032ede8 000000b0 403177ef 

    I/DEBUG   ( 5068):     67aa0730 00000000 4006fcad 67aa0b54 4032dc88 

    I/DEBUG   ( 5068):     67aa0740 6798f200 6798f1e0 614e7942 40336750 

    I/DEBUG   ( 5068):     67aa0750 66b5de88 66b5de88 678698cd 67aa07b8 

    I/DEBUG   ( 5068):     67aa0760 6799c348 6799e8d0 400ca384 4031789f 

    I/DEBUG   ( 5068):     67aa0770 00000000 40336750 66b5de88 403374ec 

    I/DEBUG   ( 5068):     67aa0780 678698cd 402f0c1d 00000000 00000001 

    I/DEBUG   ( 5068):     67aa0790 67aa080c 402f1325 678a1b08 676a3ced 

    I/DEBUG   ( 5068):     67aa07a0 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):     67aa07b0 00000000 6799e7e8 00000000 00000000 

    I/DEBUG   ( 5068):     67aa07c0 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):     67aa07d0 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):     67aa07e0 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068): memory near r9:

    I/DEBUG   ( 5068):     40336730 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):     40336740 00000000 00000000 00000000 00000001 

    I/DEBUG   ( 5068):     40336750 00000000 40334e64 40335ad8 00000000 

    I/DEBUG   ( 5068):     40336760 00000000 682ff079 682ff15d 682ff255 

    I/DEBUG   ( 5068):     40336770 682ff45d 682ff55d 682ff691 682ff791 

    I/DEBUG   ( 5068):     40336780 682ff99d 682ff89d 682ffaa9 682ffb9d 

    I/DEBUG   ( 5068):     40336790 68300511 6830061d 68300711 68300815 

    I/DEBUG   ( 5068):     403367a0 683008f1 683009d5 68300ab1 68300bb9 

    I/DEBUG   ( 5068):     403367b0 68300c95 68300d79 68300e89 682fef99 

    I/DEBUG   ( 5068):     403367c0 682ff339 68301781 6830012d 6830022d 

    I/DEBUG   ( 5068):     403367d0 68300325 6830041d 682ffc9d 682ffd81 

    I/DEBUG   ( 5068):     403367e0 682ffe5d 682fff39 68300015 68303131 

    I/DEBUG   ( 5068):     403367f0 683052f9 683011d5 68301425 68301309 

    I/DEBUG   ( 5068):     40336800 68301541 683010a1 683047c1 6830165d 

    I/DEBUG   ( 5068):     40336810 68300f85 00000000 00000000 00000000 

    I/DEBUG   ( 5068):     40336820 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068): memory near fp:

    I/DEBUG   ( 5068):     40336744 00000000 00000000 00000001 00000000 

    I/DEBUG   ( 5068):     40336754 40334e64 40335ad8 00000000 00000000 

    I/DEBUG   ( 5068):     40336764 682ff079 682ff15d 682ff255 682ff45d 

    I/DEBUG   ( 5068):     40336774 682ff55d 682ff691 682ff791 682ff99d 

    I/DEBUG   ( 5068):     40336784 682ff89d 682ffaa9 682ffb9d 68300511 

    I/DEBUG   ( 5068):     40336794 6830061d 68300711 68300815 683008f1 

    I/DEBUG   ( 5068):     403367a4 683009d5 68300ab1 68300bb9 68300c95 

    I/DEBUG   ( 5068):     403367b4 68300d79 68300e89 682fef99 682ff339 

    I/DEBUG   ( 5068):     403367c4 68301781 6830012d 6830022d 68300325 

    I/DEBUG   ( 5068):     403367d4 6830041d 682ffc9d 682ffd81 682ffe5d 

    I/DEBUG   ( 5068):     403367e4 682fff39 68300015 68303131 683052f9 

    I/DEBUG   ( 5068):     403367f4 683011d5 68301425 68301309 68301541 

    I/DEBUG   ( 5068):     40336804 683010a1 683047c1 6830165d 68300f85 

    I/DEBUG   ( 5068):     40336814 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):     40336824 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):     40336834 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068): memory near sp:

    I/DEBUG   ( 5068):     67aa06d8 4031da54 ccf02a09 00000000 4031da54 

    I/DEBUG   ( 5068):     67aa06e8 00000001 68301847 68421ae0 6845a13c 

    I/DEBUG   ( 5068):     67aa06f8 67995258 4031da54 4005dfda 00000000 

    I/DEBUG   ( 5068):     67aa0708 54bf9d9d 00062b8a 54bf9d9d 00062ba2 

    I/DEBUG   ( 5068):     67aa0718 41647a48 4031da54 66b5de88 4032ede8 

    I/DEBUG   ( 5068):     67aa0728 000000b0 403177ef 00000000 4006fcad 

    I/DEBUG   ( 5068):     67aa0738 67aa0b54 4032dc88 6798f200 6798f1e0 

    I/DEBUG   ( 5068):     67aa0748 614e7942 40336750 66b5de88 66b5de88 

    I/DEBUG   ( 5068):     67aa0758 678698cd 67aa07b8 6799c348 6799e8d0 

    I/DEBUG   ( 5068):     67aa0768 400ca384 4031789f 00000000 40336750 

    I/DEBUG   ( 5068):     67aa0778 66b5de88 403374ec 678698cd 402f0c1d 

    I/DEBUG   ( 5068):     67aa0788 00000000 00000001 67aa080c 402f1325 

    I/DEBUG   ( 5068):     67aa0798 678a1b08 676a3ced 00000000 00000000 

    I/DEBUG   ( 5068):     67aa07a8 00000000 00000000 00000000 6799e7e8 

    I/DEBUG   ( 5068):     67aa07b8 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):     67aa07c8 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068): code around pc:

    I/DEBUG   ( 5068):     00000000 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     00000010 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     00000020 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     00000030 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     00000040 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     00000050 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     00000060 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     00000070 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     00000080 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     00000090 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     000000a0 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     000000b0 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     000000c0 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     000000d0 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     000000e0 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     000000f0 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068): code around lr:

    I/DEBUG   ( 5068):     683017b0 460447a0 4620b936 f0774629 b008ffb9 

    I/DEBUG   ( 5068):     683017c0 81f0e8bd 2100ae06 f7e04630 f08ced3e 

    I/DEBUG   ( 5068):     683017d0 4680fde7 fddef08c 463b4642 a8044631 

    I/DEBUG   ( 5068):     683017e0 0030e88d fc8cf037 20004629 fa88f07d 

    I/DEBUG   ( 5068):     683017f0 46204629 ff9cf077 f07e9003 f07ef827 

    I/DEBUG   ( 5068):     68301800 9803fc97 e8bdb008 a80481f0 f7e02100 

    I/DEBUG   ( 5068):     68301810 e7c5ed1c 22014f16 447f4916 46384479 

    I/DEBUG   ( 5068):     68301820 f07e6809 f8c4fcf7 b1980178 b15b6823 

    I/DEBUG   ( 5068):     68301830 f90cf7fd 4910e7b3 4a102006 44792701 

    I/DEBUG   ( 5068):     68301840 f7e0447a e7b5eca2 4479490d fe44f07e 

    I/DEBUG   ( 5068):     68301850 e7ed6020 463b490b 20054a0b 447a4479 

    I/DEBUG   ( 5068):     68301860 ec92f7e0 bf00e79b 001589a6 00158996 

    I/DEBUG   ( 5068):     68301870 0011f65a 001587e4 0011f63e 0012029c 

    I/DEBUG   ( 5068):     68301880 0011cf1a 0011f620 0011f62e 4ff0e92d 

    I/DEBUG   ( 5068):     68301890 461fb08b 468a4681 f08c4616 4c3afc4b 

    I/DEBUG   ( 5068):     683018a0 fc1cf07e f8d4447c b2c53178 d04a2b00 

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068): ==============================memory map dump_nearby_maps

    V/AudioFlinger(  133): removeTracks_l removing track on session 118,mId 8

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_8 status 0

    V/AudioFlinger(  133): removeTracks_l removing track on session 0,mId 7

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_7 status 0

    V/AudioFlinger(  133): removeTracks_l removing track on session 0,mId 2

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_2 status 0

    I/BootReceiver(  967): Copying /data/tombstones/tombstone_00 to DropBox (SYSTEM_TOMBSTONE)

    D/dalvikvm(  967): GC_FOR_ALLOC freed 981K, 26% free 5824K/7804K, paused 43ms, total 44ms

    W/InputDispatcher(  967): channel '426036a8 com.vectorunit.redcmgeplaycn/com.vectorunit.redcmgeplaycn.Red (server)' ~ Consumer closed input channel or an error occurred.  events=0xd

    E/InputDispatcher(  967): channel '426036a8 com.vectorunit.redcmgeplaycn/com.vectorunit.redcmgeplaycn.Red (server)' ~ Channel is unrecoverably broken and will be disposed!

    D/Zygote  (  131): Process 5094 terminated by signal (11)

    D/dalvikvm(  967): GC_FOR_ALLOC freed 296K, 20% free 6244K/7804K, paused 43ms, total 43ms

    W/InputDispatcher(  967): Attempted to unregister already unregistered input channel '426036a8 com.vectorunit.redcmgeplaycn/com.vectorunit.redcmgeplaycn.Red (server)'

    I/WindowState(  967): WIN DEATH: Window{426036a8 u0 com.vectorunit.redcmgeplaycn/com.vectorunit.redcmgeplaycn.Red}

    W/ActivityManager(  967):   Force finishing activity com.vectorunit.redcmgeplaycn/.Red

    D/dalvikvm(  967): GC_FOR_ALLOC freed 585K, 26% free 5852K/7804K, paused 31ms, total 32ms

    W/ActivityManager(  967): Exception thrown during pause

    W/ActivityManager(  967): android.os.DeadObjectException

    W/ActivityManager(  967):       at android.os.BinderProxy.transact(Native Method)

    W/ActivityManager(  967):       at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:660)

    W/ActivityManager(  967):       at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:793)

    W/ActivityManager(  967):       at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:2796)

    W/ActivityManager(  967):       at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:2670)

    W/ActivityManager(  967):       at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:2222)

    W/ActivityManager(  967):       at com.android.server.am.ActivityManagerService.handleAppCrashLocked(ActivityManagerService.java:9815)

    W/ActivityManager(  967):       at com.android.server.am.ActivityManagerService.makeAppCrashingLocked(ActivityManagerService.java:9708)

    W/ActivityManager(  967):       at com.android.server.am.ActivityManagerService.crashApplication(ActivityManagerService.java:10353)

    W/ActivityManager(  967):       at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:9904)

    W/ActivityManager(  967):       at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)

    D/ActivityManager(  967): resumeClassName is com.arm.mgd.mgddaemon.MainActivity

    D/ActivityManager(  967): resumePackageName is com.arm.mgd.mgddaemon

    I/InputDispatcher(  967): Dropping event because there is no touchable window at (244, 480).

    W/ActivityManager(  967):   Force finishing activity com.arm.mgd.mgddaemon/.MainActivity

    I/InputDispatcher(  967): Dropping event because there is no touchable window at (244, 479).

    D/ActivityManager(  967): send app_CRASH broadcast, packageName:com.vectorunit.redcmgeplaycn

    I/ActivityManager(  967): Process com.vectorunit.redcmgeplaycn (pid 5094) has died.

    W/ContextImpl(  967): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1162 com.android.server.am.ActivityManagerService.onVideoPlayerCrashed:3689 com.android.server.am.ActivityManagerService.handleAppDiedLocked:3719 com.android.server.am.ActivityManagerService.appDiedLocked:3857 com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied:1046

    I/InputDispatcher(  967): Dropping event because there is no touchable window at (245, 479).

    V/MGD Daemon GUI( 4852): onPause

    D/ActivityManager(  967): resumeClassName is com.amlogic.mediaboxlauncher.Launcher

    D/ActivityManager(  967): resumePackageName is com.amlogic.mediaboxlauncher

    W/AudioFlinger(  133): write blocked for 329 msecs, 4993 delayed writes, thread 0xb34fc008

    I/InputDispatcher(  967): Dropping event because there is no touchable window at (246, 478).

    D/MediaBoxLauncher( 2988): ------onResume

    I/InputDispatcher(  967): Dropping event because there is no touchable window at (247, 478).

    W/AudioFlinger(  133): write blocked for 337 msecs, 5017 delayed writes, thread 0xb367e008

    I/InputDispatcher(  967): Dropping event because there is no touchable window at (247, 477).

    W/InputMethodWrapper( 3072): Session is null

    W/InputMethodManagerService(  967): Got RemoteException sending setActive(false) notification to pid 5094 uid 10046

    [ 8099.749393@0] CPU1: shutdown

    V/AudioFlinger(  133): releaseWakeLock_l() AudioOut_8

    V/AudioFlinger(  133): thread 0xb33bb008 type 2 TID 560 going to sleep

    V/AudioFlinger(  133): Audio hardware entering standby, mixer 0xb34fc008, suspend count 0,mid 7

    D/audio_hw_hdmi(  133): out_standby(0xb7190d48)

    I/audio_hw_hdmi(  133): [do_output_standby 746]Clear LastStream/0xb7190d48

    V/AudioFlinger(  133): releaseWakeLock_l() AudioOut_7

    V/AudioFlinger(  133): thread 0xb34fc008 type 0 TID 557 going to sleep

    V/AudioFlinger(  133): Audio hardware entering standby, mixer 0xb367e008, suspend count 0,mid 2

    D/audio_hw_primary(  133): do_output_standby(0xb718ee60)

    D/audio_hw_primary(  133): do_output_standby : output_standby=1,input_standby=1

    V/AudioFlinger(  133): releaseWakeLock_l() AudioOut_2

    V/AudioFlinger(  133): thread 0xb367e008 type 0 TID 548 going to sleep

    [ 8101.812728@0] Uart 0 Driver: Overflow Error while receiving a character

    ^C

    130|root@m201:/system/lib/egl # [ 8105.257236@0] speaker_events--mute =0

Reply
  • I change the permissions of libGLES.so and libGLES_mgd.so, now the interceptor library is loaded, but it crashes every 3D app.

    Below is what logcat says:

    V/AudioFlinger(  133): AUDIO_OUTPUT_FLAG_FAST denied: isTimed=0 sharedBuffer=0xb71ac1f0 frameCount=12992 mFrameCount=1024 format=1 isLinear=1 channelMask=0x3 sampleRate=48000 mSampleRate=48000 hasFastMixer=0 tid=5093 fastTrackAvailMask=0xfe

    V/AudioFlinger(  133): ThreadBase::setParameters() routing=2

    V/AudioFlinger(  133): thread 0xb367e008 type 0 TID 548 waking up

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_2 statu[ 8096.058943@0] ----aml_hw_iec958_init,runtime->rate=48000--

    s [ 8096.064796@0] ----aml_hw_iec958_init,runtime->rate=48000,sample_rate=4--

    [ 8096.071130@0] iec958 mode PCM16

    [ 8096.074534@0] IEC958 16bit

    [ 8096.076803@0] hdmitx: audio: aout notify rate 48000

    [ 8096.081657@0] hdmitx: audio: aout notify size 16

    [ 8096.087046@0] hdmitx: audio: audio channel num is 1

    0

    D/a[ 8096.091510@0] hdmitx: audio: SPDIF

    [ 8096.094780@0] hdmitx: audio: current VIC: 16

    udi[ 8096.101815@0] hdmitx: audio: audio sample rate: 3

    [ 8096.103912@0] hdmitx: audio: reset audio N para

    [ 8096.109629@0] hdmitx: audio: PCM out to HDMI

    [ 8096.112781@0] hdmitx: audio: i2s_to_spdif_flag:1

    [ 8096.117410@0] hdmitx: audio: Enable audio spdif to HDMI

    [ 8096.122865@0] hdmitx: audio: Audio Type: PCM

    [ 8096.127142@0] hdmitx: audio: set audio param

    [ 8096.131413@0] [aml-i2s-dai]i2s dma ef300000,phy addr 2f500000,mode 0,ch 2

    [ 8096.138103@0] speaker_events--mute =1

    [ 8096.141548@0] [aml-spdif-dai]aiu 958 playback enable

    o[ 8096.146804@0] aiu i2s playback enable

    [ 8096.146804@0]

    _hw_primary(  133): out_set_parameters(kvpairs(routing=2), out_device=0x2)

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_2 status 0

    V/AudioFlinger(  133): ThreadBase::setParameters() routing=1024

    V/AudioFlinger(  133): thread 0xb34fc008 type 0 TID 557 waking up

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_7 status 0

    D/audio_hw_hdmi(  133): out_set_parameters(kvpairs(routing=1024), out_device=0[ 8096.187809@0] video_disable_store(2)

    [ 8096.190986@0] DisableVideoLayer()

    x400)

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_7 status 0

    V/AudioFlinger(  133): th[ 8096.204596@0] VsyncDisableVideoLayer

    read 0xb33bb008 type 2 TID 560 waking up

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_8 status 0

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_8 status 0

    I/Track   (  133): OutPut Track restore active track to thread 0xb34fc008

    I/Track   (  133): OutPut Track restore active track to thread 0xb367e008

    I/Track   (  133): OutPut Track restore active track to thread 0xb34fc008

    I/Track   (  133): OutPut Track restore active track to thread 0xb367e008

    I/Track   (  133): OutPut Track restore active track to thread 0xb34fc008

    I/Track   (  133): OutPut Track restore active track to thread 0xb367e008

    I/Track   (  133): OutPut Track restore active track to thread 0xb34fc008

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_7 status 0

    D/audio_hw_hdmi(  133): select_output_device(mode=0, out_device=0x400)

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_2 status 0

    D/audio_hw_primary(  133): start_output_stream(adev->out_device=0x2, adev->mode=0)

    D/audio_hw_primary(  133): select_devices(mode=0, out_device=0x2)

    D/audio_hw_hdmi(  133): start_output_stream(adev->out_device=0x400, adev->mode=0)

    D/audio_hw_primary(  133): ~~~~ select_devices : hs=0 , hp=0, sp=2, hdmi=0x0,earpiece=0x0

    I/audio_hw_hdmi(  133): hdmi sound card id 0,device id 1

    D/audio_hw_primary(  133): ~~~~ select_devices : in_device(0x4), mic_in(0x4), headset_mic(0)

    D/audio_hw_primary(  133): ****select_devices : output_standby=1,input_standby=1

    D/audio_hw_primary(  133): *start_output_stream, open card(0) port(0)-------

    D/audio_hw_primary(  133): channels=2---format=0---period_count4---period_size1024---rate=48000---

    D/audio_hw_hdmi(  133): ------------open on board audio-------

    I/audio_hw_hdmi(  133): channels=2---format=0---period_count4---period_size1024---rate=48000---

    I/Track   (  133): OutPut Track restore active track to thread 0xb367e008

    I/Track   (  133): OutPut Track restore active track to thread 0xb34fc008

    I/Track   (  133): OutPut Track restore active track to thread 0xb367e008

    V/AudioFlinger(  133): remove track (4101) and delete from mixer

    I/ActivityManager(  967): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=com.vectorunit.redcmgeplaycn cmp=com.vectorunit.redcmgeplaycn/.Red} from pid 4852

    I/ActivityManager(  967): start package name is com.vectorunit.redcmgeplaycn, class name is com.vectorunit.redcmgeplaycn.Red, error code is 0

    V/MGD Daemon GUI( 4852): onPause

    D/dalvikvm( 5094): Late-enabling CheckJNI

    I/ActivityManager(  967): Start proc com.vectorunit.redcmgeplaycn for activity com.vectorunit.redcmgeplaycn/.Red: pid=5094 uid=10046 gids={50046, 3003, 1028, 1015}

    D/dalvikvm( 5094): GC_CONCURRENT freed 193K, 24% free 713K/936K, paused 2ms+0ms, total 5ms

    D/dalvikvm( 5094): GC_CONCURRENT freed 162K, 18% free 936K/1128K, paused 2ms+1ms, total 6ms

    D/dalvikvm( 5094): GC_CONCURRENT freed 199K, 18% free 1123K/1356K, paused 2ms+0ms, total 7ms

    I/InputDispatcher(  967): Dropping event because there is no touchable window at (234, 486).

    I/InputDispatcher(  967): Dropping event because there is no touchable window at (234, 487).

    I/InputDispatcher(  967): Dropping event because there is no touchable window at (234, 488).

    D/dalvikvm( 5094): Trying to load lib /data/app-lib/com.vectorunit.redcmgeplaycn-1/libfmodex.so 0x42090c38

    D/dalvikvm( 5094): Added shared lib /data/app-lib/com.vectorunit.redcmgeplaycn-1/libfmodex.so 0x42090c38

    D/dalvikvm( 5094): No JNI_OnLoad found in /data/app-lib/com.vectorunit.redcmgeplaycn-1/libfmodex.so 0x42090c38, skipping init

    D/dalvikvm( 5094): Trying to load lib /data/app-lib/com.vectorunit.redcmgeplaycn-1/libfmodevent.so 0x42090c38

    D/dalvikvm( 5094): Added shared lib /data/app-lib/com.vectorunit.redcmgeplaycn-1/libfmodevent.so 0x42090c38

    D/dalvikvm( 5094): No JNI_OnLoad found in /data/app-lib/com.vectorunit.redcmgeplaycn-1/libfmodevent.so 0x42090c38, skipping init

    D/dalvikvm( 5094): Trying to load lib /data/app-lib/com.vectorunit.redcmgeplaycn-1/libRed.so 0x42090c38

    D/dalvikvm( 5094): Added shared lib /data/app-lib/com.vectorunit.redcmgeplaycn-1/libRed.so 0x42090c38

    D/dalvikvm( 5094): No JNI_OnLoad found in /data/app-lib/com.vectorunit.redcmgeplaycn-1/libRed.so 0x42090c38, skipping init

    I/Red     ( 5094): OnInitApp

    D/sys     ( 5094): VuAndroidSys::bindJavaMethods()

    D/GamePad ( 5094): VuAndroidGamePad::bindJavaMethods()

    W/dalvikvm( 5094): dvmFindClassByName rejecting 'com/vectorunit/VuGamePadHelper'

    D/Http    ( 5094): VuAndroidHttpClient::bindJavaMethods()

    W/dalvikvm( 5094): dvmFindClassByName rejecting 'com/vectorunit/VuHttpHelper'

    D/ofm     ( 5094): VuAndroidAnalyticsManager::bindJavaMethods()

    W/dalvikvm( 5094): dvmFindClassByName rejecting 'com/vectorunit/VuAnalyticsHelper'

    D/ofm     ( 5094): VuAndroidCommunityManager::bindJavaMethods()

    W/dalvikvm( 5094): dvmFindClassByName rejecting 'com/vectorunit/VuCommunityHelper'

    D/Online  ( 5094): VuAndroidSignInManager::bindJavaMethods()

    W/dalvikvm( 5094): dvmFindClassByName rejecting 'com/vectorunit/VuOnlineHelper'

    D/Online  ( 5094): VuAndroidNetGameManager::bindJavaMethods()

    D/Leaderboard( 5094): VuAndroidLeaderboardManager::bindJavaMethods()

    W/dalvikvm( 5094): dvmFindClassByName rejecting 'com/vectorunit/VuLeaderboardHelper'

    D/Achievement( 5094): VuAndroidAchievementManager::bindJavaMethods()

    W/dalvikvm( 5094): dvmFindClassByName rejecting 'com/vectorunit/VuAchievementHelper'

    D/Billing ( 5094): VuAndroidBillingManager::bindJavaMethods()

    W/dalvikvm( 5094): dvmFindClassByName rejecting 'com/vectorunit/VuBillingHelper'

    D/NvInput ( 5094): Initialized (Supported)

    I/Red     ( 5094): OnStart

    D/dalvikvm( 5094): GC_CONCURRENT freed 151K, 11% free 1490K/1656K, paused 2ms+1ms, total 13ms

    W/FlurryAgent( 5094): Start session

    I/Red     ( 5094): OnResume

    E/MobileUtils( 5094): the appkey is empty,please init datau.sdk

    W/MobileUtils( 5094): Could not rea[ 8096.841153@1] audit_printk_skb: 94 callbacks suppressed

    [ 8096.847135@0] type=1400 audit(1421843869.280:188): avc:  denied  { read } for  pid=5107 comm="t.redcmgeplaycn" name="app_process" dev="system" ino=8197 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:zygote_exec:s0 tclass=file

    d MOBILE_CHANNEL meta-data from [ 8096.869087@0] type=1400 audit(1421843869.320:189): avc:  denied  { open } for  pid=5107 comm="t.redcmgeplaycn" path="/system/bin/app_process" dev="system" ino=8197 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:zygote_exec:s0 tclass=file

    AndroidManifest.xml.

    E/UploadThread( 5094): unexpected empty channelId

    E/MobileUtils( 5094): the appkey is empty,please init datau.sdk

    D/dalvikvm( 5094): GC_CONCURRENT freed 357K, 21% free 1521K/1908K, paused 2ms+0ms, total 10ms

    I/Red     ( 5094): OnInitWindow

    I/libGLES_mgd( 5094): Initialising interceptor.

    I/Red     ( 5094): onWindowFocusChanged()

    I/Red     ( 5094): onSystemUiVisibilityChange()

    I/ActivityManager(  967): Displayed com.vectorunit.redcmgeplaycn/.Red: +692ms (total +1m6s405ms)

    I/libGLES_mgd( 5094): libGLES_mgd is in a system folder

    E/libGLES_mgd( 5094): Failed to parse process mappings.

    D/libEGL  ( 5094): loaded /system/lib/egl/libGLES.so

    I/mgd_interceptor( 5094): Interceptor constructor called

    I/mgd_interceptor( 5094): Trying to connect to the daemon...

    I/mgd_interceptor( 5094): Connected to the daemon.

    I/MGDDAEMON( 4852): An intercepted application is connected.

    I/MGDDAEMON( 4852): An intercepted application is being traced.

    I/mgd_interceptor( 5094): Sending header...

    I/MGDDAEMON( 4852): Waiting for an interceptor to connect...

    I/mgd_interceptor( 5094): Header sent.

    I/mgd_interceptor( 5094): Reading process name for PID=5094

    I/mgd_interceptor( 5094): Process = com.vectorunit.redcmgeplaycn

    I/mgd_interceptor( 5094):

    I/mgd_interceptor( 5094): Could not open /system/lib/egl/processlist.cfg, so tracing by default

    I/mgd_interceptor( 5094): Attempting to load libEGL at /vendor/lib/egl/libGLES_mali.so ...

    I/MGDDAEMON( 4852): Interceptor is version: B002

    E/mgd_interceptor( 5094): Could not get handle to libEGL (dlerror=`dlopen failed: library "/vendor/lib/egl/libGLES_mali.so" not found`).

    W/mgd_interceptor( 5094): Unable to locate library libEGL, no functions for this library will be intercepted

    E/mgd_interceptor( 5094): User called extension function eglGetProcAddress} which does not exist

    F/libc    ( 5094): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 5107 (t.redcmgeplaycn)

    D/dalvikvm( 5094): GC_FOR_ALLOC freed 289K, 23% free 1592K/2060K, paused 7ms, total 8ms

    I/DEBUG   ( 5068): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

    I/DEBUG   ( 5068): Build fingerprint: 'MBX/m201/m201:4.4.2/KOT49H/20150116:user/test-keys'

    I/DEBUG   ( 5068): Revision: '10'

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068):  Crash Time:----- 2015-01-21-20-37 -----

    I/DEBUG   ( 5068): pid: 5094, tid: 5107, name: t.redcmgeplaycn  >>> com.vectorunit.redcmgeplaycn <<<

    I/DEBUG   ( 5068): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000

    I/DEBUG   ( 5068):     r0 00000000  r1 00000000  r2 ccf02a09  r3 00000000

    I/DEBUG   ( 5068):     r4 00000000  r5 4031da54  r6 67aa0710  r7 00000001

    I/DEBUG   ( 5068):     r8 000000b0  r9 40336750  sl 00000007  fp 40336764

    I/DEBUG   ( 5068):     ip 00000001  sp 67aa06f8  lr 683017d3  pc 00000000  cpsr 000f0010

    I/DEBUG   ( 5068):     d0  6c61632072657355  d1  657478652064656c

    I/DEBUG   ( 5068):     d2  7566206e6f69736e  d3  65206e6f6974636e

    I/DEBUG   ( 5068):     d4  6f72507465476c67  d5  7373657264644163

    I/DEBUG   ( 5068):     d6  206863696877207d  d7  746f6e2073656f64

    I/DEBUG   ( 5068):     d8  0000000000000000  d9  0000000000000000

    I/DEBUG   ( 5068):     d10 0000000000000000  d11 0000000000000000

    I/DEBUG   ( 5068):     d12 0000000000000000  d13 0000000000000000

    I/DEBUG   ( 5068):     d14 0000000000000000  d15 0000000000000000

    I/DEBUG   ( 5068):     d16 000000000000001c  d17 3fc999999999999a

    I/DEBUG   ( 5068):     d18 4000000000000000  d19 3fd99a27ad32ddf5

    I/DEBUG   ( 5068):     d20 3f8948b0fcd6e9e0  d21 3fe555b0aaeac752

    I/DEBUG   ( 5068):     d22 3fd24998d6307188  d23 3fcc7288e957b53b

    I/DEBUG   ( 5068):     d24 3fc74721cad6b0ed  d25 3fc2f112df3e5244

    I/DEBUG   ( 5068):     d26 40026bb1bbb55516  d27 0000000000000000

    I/DEBUG   ( 5068):     d28 0000000000000000  d29 0000000000000000

    I/DEBUG   ( 5068):     d30 0000000000000000  d31 0000000000000000

    I/DEBUG   ( 5068):     scr 60000011

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068): backtrace:

    I/DEBUG   ( 5068):     #00  pc 00000000  <unknown>

    I/DEBUG   ( 5068):     #01  pc 000817cf  /system/lib/egl/libGLES_mgd.so (eglGetProcAddress+78)

    I/DEBUG   ( 5068):     #02  pc 000347ed  /system/lib/libEGL.so

    I/DEBUG   ( 5068):     #03  pc 0003489b  /system/lib/libEGL.so

    I/DEBUG   ( 5068):     #04  pc 0000dc19  /system/lib/libEGL.so

    I/DEBUG   ( 5068):     #05  pc 0000e321  /system/lib/libEGL.so (eglGetDisplay+24)

    I/DEBUG   ( 5068):     #06  pc 00183ce9  /data/app-lib/com.vectorunit.redcmgeplaycn-1/libRed.so (OnInitWindow(ANativeActivity*, ANativeWindow*)+68)

    I/DEB[ 8097.325204@0] [aml-spdif-dai]aiu 958 playback disable

    UG   ( 5068):     #07  pc 001842e9  /data/app-lib/com.vectorunit.redcmgeplaycn-1/libRed.so

    I/DEBUG   ( 5068):     #08  pc 00184e75  /data/app-lib/com.vectoruni[ 8097.345198@0] aiu i2s playback disable

    [ 8097.345198@0]

    t.redcmgeplaycn-1/libRed.so

    I/DEBUG   ( 5068):     #09  pc 001834eb  /data/app-lib/com.vectorunit.redcmgeplaycn-1/libRed.so (android_main+82)

    I/DEBUG   ( 5068):     #10  pc 00184a67  /data/app-lib/com.vectorunit.redcmgeplaycn-1/libRed.so

    I/DEBUG   ( 5068):     #11  pc 0000d1a0  /system/lib/libc.so (__thread_entry+72)

    I/DEBUG   ( 5068):     #12  pc 0000d338  /system/lib/libc.so (pthread_create+240)

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068): stack:

    I/DEBUG   ( 5068):          67aa06b8  40336764 

    I/DEBUG   ( 5068):          67aa06bc  40087d44  /system/lib/libc.so (malloc+24)

    I/DEBUG   ( 5068):          67aa06c0  685dde3c 

    I/DEBUG   ( 5068):          67aa06c4  68403a40  /system/lib/egl/libGLES_mgd.so

    I/DEBUG   ( 5068):          67aa06c8  00000001 

    I/DEBUG   ( 5068):          67aa06cc  ccf02a09 

    I/DEBUG   ( 5068):          67aa06d0  6845a024  /system/lib/egl/libGLES_mgd.so

    I/DEBUG   ( 5068):          67aa06d4  6845a13c  /system/lib/egl/libGLES_mgd.so

    I/DEBUG   ( 5068):          67aa06d8  4031da54  /system/lib/libEGL.so

    I/DEBUG   ( 5068):          67aa06dc  ccf02a09 

    I/DEBUG   ( 5068):          67aa06e0  00000000 

    I/DEBUG   ( 5068):          67aa06e4  4031da54  /system/lib/libEGL.so

    I/DEBUG   ( 5068):          67aa06e8  00000001 

    I/DEBUG   ( 5068):          67aa06ec  68301847  /system/lib/egl/libGLES_mgd.so (eglGetProcAddress+198)

    I/DEBUG   ( 5068):          67aa06f0  68421ae0  /system/lib/egl/libGLES_mgd.so

    I/DEBUG   ( 5068):          67aa06f4  6845a13c  /system/lib/egl/libGLES_mgd.so

    I/DEBUG   ( 5068):     #00  67aa06f8  67995258 

    I/DEBUG   ( 5068):          ........  ........

    I/DEBUG   ( 5068):     #01  67aa06f8  67995258 

    I/DEBUG   ( 5068):          67aa06fc  4031da54  /system/lib/libEGL.so

    I/DEBUG   ( 5068):          67aa0700  4005[ 8097.504131@1] video_disable_store(2)

    [ 8097.506248@1] DisableVideoLayer()

    dfda  /system/bin/linker

    I/DEBUG   ( 5068):          67aa0704  00000000 

    I/DEBUG   ( 5068):          67aa0708  54bf9d9[ 8097.521273@0] VsyncDisableVideoLayer

    d  /dev/ashmem/dalvik-heap (deleted)

    I/DEBUG   ( 5068):          67aa070c  00062b8a 

    I/DEBUG   ( 5068):          67aa0710  54bf9d9d  /dev/ashmem/dalvik-heap (deleted)

    I/DEBUG   ( 5068):   [ 8097.541434@1] video_disable_store(2)

    [ 8097.543440@1] DisableVideoLayer()

           67aa0714  00062ba2 

    I/DEBUG   ( 5068):          67aa071[ 8097.554597@0] VsyncDisableVideoLayer

    8  41647a48 

    I/DEBUG   ( 5068):          67aa071c  4031da54  /system/lib/libEGL.so

    I/DEBUG   ( 5068):          67aa0720  66b5[ 8097.567276@1] type=1400 audit(1421843870.010:190): avc:  denied  { transfer } for  pid=4865 comm="Thread-165" scontext=u:r:untrusted_app:s0 tcontext=u:r:init:s0 tclass=binder

    de88 

    I/DEBUG   ( 5068):          67aa0724  4032ede8  /system/lib/libEGL.so

    I/DEBUG   ( 5068):          67aa0728  000000b0 

    I/DEBUG   ( 5068):          67aa072c  403177ef  /system/lib/libEGL.so

    I/DEBUG   ( 5068):     #02  67aa0730  00000000 

    I/DEBUG   ( 5068):          67aa0734  4006fcad  /system/lib/libcutils.so (__android_log_print+56)

    I/DEBUG   ( 5068):          67aa0738  67aa0b54  [stack:5107]

    I/DEBUG   ( 5068):          67aa073c  4032dc88  /system/lib/libEGL.so

    I/DEBUG   ( 5068):          67aa0740  6798f200 

    I/DEBUG   ( 5068):          67aa0744  6798f1e0 

    I/DEBUG   ( 5068):          67aa0748  614e7942  /dev/ashmem/dalvik-mark-stack (deleted)

    I/DEBUG   ( 5068):          67aa074c  40336750 

    I/DEBUG   ( 5068):          67aa0750  66b5de88 

    I/DEBUG   ( 5068):          67aa0754  66b5de88 

    I/DEBUG   ( 5068):          67aa0758  678698cd  /data/app-lib/com.vectorunit.redcmgeplaycn-1/libRed.so

    I/DEBUG   ( 5068):          67aa075c  67aa07b8  [stack:5107]

    I/DEBUG   ( 5068):          67aa0760  6799c348 

    I/DEBUG   ( 5068):          67aa0764  6799e8d0 

    I/DEBUG   ( 5068):          67aa0768  400ca384 

    I/DEBUG   ( 5068):          67aa076c  4031789f  /system/lib/libEGL.so

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068): memory near r5:

    I/DEBUG   ( 5068):     4031da34 53746547 41636e79 69727474 52484b62 

    I/DEBUG   ( 5068):     4031da44 6c676500 74696157 636e7953 0052484b 

    I/DEBUG   ( 5068):     4031da54 536c6765 77537465 65527061 6e617463 

    I/DEBUG   ( 5068):     4031da64 41656c67 4f52444e 65004449 65476c67 

    I/DEBUG   ( 5068):     4031da74 6e655274 42726564 65666675 444e4172 

    I/DEBUG   ( 5068):     4031da84 44494f52 6c676500 4e707544 76697461 

    I/DEBUG   ( 5068):     4031da94 6e654665 44466563 52444e41 0044494f 

    I/DEBUG   ( 5068):     4031daa4 476c6765 79537465 6d657473 656d6954 

    I/DEBUG   ( 5068):     4031dab4 71657246 636e6575 00564e79 476c6765 

    I/DEBUG   ( 5068):     4031dac4 79537465 6d657473 656d6954 6500564e 

    I/DEBUG   ( 5068):     4031dad4 69486c67 6e726562 50657461 65636f72 

    I/DEBUG   ( 5068):     4031dae4 4d497373 67650047 6177416c 506e656b 

    I/DEBUG   ( 5068):     4031daf4 65636f72 4d497373 6c670047 69746341 

    I/DEBUG   ( 5068):     4031db04 68536576 72656461 676f7250 456d6172 

    I/DEBUG   ( 5068):     4031db14 67005458 7463416c 54657669 75747865 

    I/DEBUG   ( 5068):     4031db24 67006572 706c416c 75466168 6700636e 

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068): memory near r6:

    I/DEBUG   ( 5068):     67aa06f0 68421ae0 6845a13c 67995258 4031da54 

    I/DEBUG   ( 5068):     67aa0700 4005dfda 00000000 54bf9d9d 00062b8a 

    I/DEBUG   ( 5068):     67aa0710 54bf9d9d 00062ba2 41647a48 4031da54 

    I/DEBUG   ( 5068):     67aa0720 66b5de88 4032ede8 000000b0 403177ef 

    I/DEBUG   ( 5068):     67aa0730 00000000 4006fcad 67aa0b54 4032dc88 

    I/DEBUG   ( 5068):     67aa0740 6798f200 6798f1e0 614e7942 40336750 

    I/DEBUG   ( 5068):     67aa0750 66b5de88 66b5de88 678698cd 67aa07b8 

    I/DEBUG   ( 5068):     67aa0760 6799c348 6799e8d0 400ca384 4031789f 

    I/DEBUG   ( 5068):     67aa0770 00000000 40336750 66b5de88 403374ec 

    I/DEBUG   ( 5068):     67aa0780 678698cd 402f0c1d 00000000 00000001 

    I/DEBUG   ( 5068):     67aa0790 67aa080c 402f1325 678a1b08 676a3ced 

    I/DEBUG   ( 5068):     67aa07a0 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):     67aa07b0 00000000 6799e7e8 00000000 00000000 

    I/DEBUG   ( 5068):     67aa07c0 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):     67aa07d0 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):     67aa07e0 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068): memory near r9:

    I/DEBUG   ( 5068):     40336730 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):     40336740 00000000 00000000 00000000 00000001 

    I/DEBUG   ( 5068):     40336750 00000000 40334e64 40335ad8 00000000 

    I/DEBUG   ( 5068):     40336760 00000000 682ff079 682ff15d 682ff255 

    I/DEBUG   ( 5068):     40336770 682ff45d 682ff55d 682ff691 682ff791 

    I/DEBUG   ( 5068):     40336780 682ff99d 682ff89d 682ffaa9 682ffb9d 

    I/DEBUG   ( 5068):     40336790 68300511 6830061d 68300711 68300815 

    I/DEBUG   ( 5068):     403367a0 683008f1 683009d5 68300ab1 68300bb9 

    I/DEBUG   ( 5068):     403367b0 68300c95 68300d79 68300e89 682fef99 

    I/DEBUG   ( 5068):     403367c0 682ff339 68301781 6830012d 6830022d 

    I/DEBUG   ( 5068):     403367d0 68300325 6830041d 682ffc9d 682ffd81 

    I/DEBUG   ( 5068):     403367e0 682ffe5d 682fff39 68300015 68303131 

    I/DEBUG   ( 5068):     403367f0 683052f9 683011d5 68301425 68301309 

    I/DEBUG   ( 5068):     40336800 68301541 683010a1 683047c1 6830165d 

    I/DEBUG   ( 5068):     40336810 68300f85 00000000 00000000 00000000 

    I/DEBUG   ( 5068):     40336820 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068): memory near fp:

    I/DEBUG   ( 5068):     40336744 00000000 00000000 00000001 00000000 

    I/DEBUG   ( 5068):     40336754 40334e64 40335ad8 00000000 00000000 

    I/DEBUG   ( 5068):     40336764 682ff079 682ff15d 682ff255 682ff45d 

    I/DEBUG   ( 5068):     40336774 682ff55d 682ff691 682ff791 682ff99d 

    I/DEBUG   ( 5068):     40336784 682ff89d 682ffaa9 682ffb9d 68300511 

    I/DEBUG   ( 5068):     40336794 6830061d 68300711 68300815 683008f1 

    I/DEBUG   ( 5068):     403367a4 683009d5 68300ab1 68300bb9 68300c95 

    I/DEBUG   ( 5068):     403367b4 68300d79 68300e89 682fef99 682ff339 

    I/DEBUG   ( 5068):     403367c4 68301781 6830012d 6830022d 68300325 

    I/DEBUG   ( 5068):     403367d4 6830041d 682ffc9d 682ffd81 682ffe5d 

    I/DEBUG   ( 5068):     403367e4 682fff39 68300015 68303131 683052f9 

    I/DEBUG   ( 5068):     403367f4 683011d5 68301425 68301309 68301541 

    I/DEBUG   ( 5068):     40336804 683010a1 683047c1 6830165d 68300f85 

    I/DEBUG   ( 5068):     40336814 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):     40336824 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):     40336834 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068): memory near sp:

    I/DEBUG   ( 5068):     67aa06d8 4031da54 ccf02a09 00000000 4031da54 

    I/DEBUG   ( 5068):     67aa06e8 00000001 68301847 68421ae0 6845a13c 

    I/DEBUG   ( 5068):     67aa06f8 67995258 4031da54 4005dfda 00000000 

    I/DEBUG   ( 5068):     67aa0708 54bf9d9d 00062b8a 54bf9d9d 00062ba2 

    I/DEBUG   ( 5068):     67aa0718 41647a48 4031da54 66b5de88 4032ede8 

    I/DEBUG   ( 5068):     67aa0728 000000b0 403177ef 00000000 4006fcad 

    I/DEBUG   ( 5068):     67aa0738 67aa0b54 4032dc88 6798f200 6798f1e0 

    I/DEBUG   ( 5068):     67aa0748 614e7942 40336750 66b5de88 66b5de88 

    I/DEBUG   ( 5068):     67aa0758 678698cd 67aa07b8 6799c348 6799e8d0 

    I/DEBUG   ( 5068):     67aa0768 400ca384 4031789f 00000000 40336750 

    I/DEBUG   ( 5068):     67aa0778 66b5de88 403374ec 678698cd 402f0c1d 

    I/DEBUG   ( 5068):     67aa0788 00000000 00000001 67aa080c 402f1325 

    I/DEBUG   ( 5068):     67aa0798 678a1b08 676a3ced 00000000 00000000 

    I/DEBUG   ( 5068):     67aa07a8 00000000 00000000 00000000 6799e7e8 

    I/DEBUG   ( 5068):     67aa07b8 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):     67aa07c8 00000000 00000000 00000000 00000000 

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068): code around pc:

    I/DEBUG   ( 5068):     00000000 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     00000010 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     00000020 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     00000030 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     00000040 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     00000050 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     00000060 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     00000070 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     00000080 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     00000090 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     000000a0 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     000000b0 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     000000c0 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     000000d0 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     000000e0 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):     000000f0 ffffffff ffffffff ffffffff ffffffff 

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068): code around lr:

    I/DEBUG   ( 5068):     683017b0 460447a0 4620b936 f0774629 b008ffb9 

    I/DEBUG   ( 5068):     683017c0 81f0e8bd 2100ae06 f7e04630 f08ced3e 

    I/DEBUG   ( 5068):     683017d0 4680fde7 fddef08c 463b4642 a8044631 

    I/DEBUG   ( 5068):     683017e0 0030e88d fc8cf037 20004629 fa88f07d 

    I/DEBUG   ( 5068):     683017f0 46204629 ff9cf077 f07e9003 f07ef827 

    I/DEBUG   ( 5068):     68301800 9803fc97 e8bdb008 a80481f0 f7e02100 

    I/DEBUG   ( 5068):     68301810 e7c5ed1c 22014f16 447f4916 46384479 

    I/DEBUG   ( 5068):     68301820 f07e6809 f8c4fcf7 b1980178 b15b6823 

    I/DEBUG   ( 5068):     68301830 f90cf7fd 4910e7b3 4a102006 44792701 

    I/DEBUG   ( 5068):     68301840 f7e0447a e7b5eca2 4479490d fe44f07e 

    I/DEBUG   ( 5068):     68301850 e7ed6020 463b490b 20054a0b 447a4479 

    I/DEBUG   ( 5068):     68301860 ec92f7e0 bf00e79b 001589a6 00158996 

    I/DEBUG   ( 5068):     68301870 0011f65a 001587e4 0011f63e 0012029c 

    I/DEBUG   ( 5068):     68301880 0011cf1a 0011f620 0011f62e 4ff0e92d 

    I/DEBUG   ( 5068):     68301890 461fb08b 468a4681 f08c4616 4c3afc4b 

    I/DEBUG   ( 5068):     683018a0 fc1cf07e f8d4447c b2c53178 d04a2b00 

    I/DEBUG   ( 5068):

    I/DEBUG   ( 5068): ==============================memory map dump_nearby_maps

    V/AudioFlinger(  133): removeTracks_l removing track on session 118,mId 8

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_8 status 0

    V/AudioFlinger(  133): removeTracks_l removing track on session 0,mId 7

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_7 status 0

    V/AudioFlinger(  133): removeTracks_l removing track on session 0,mId 2

    V/AudioFlinger(  133): acquireWakeLock_l() AudioOut_2 status 0

    I/BootReceiver(  967): Copying /data/tombstones/tombstone_00 to DropBox (SYSTEM_TOMBSTONE)

    D/dalvikvm(  967): GC_FOR_ALLOC freed 981K, 26% free 5824K/7804K, paused 43ms, total 44ms

    W/InputDispatcher(  967): channel '426036a8 com.vectorunit.redcmgeplaycn/com.vectorunit.redcmgeplaycn.Red (server)' ~ Consumer closed input channel or an error occurred.  events=0xd

    E/InputDispatcher(  967): channel '426036a8 com.vectorunit.redcmgeplaycn/com.vectorunit.redcmgeplaycn.Red (server)' ~ Channel is unrecoverably broken and will be disposed!

    D/Zygote  (  131): Process 5094 terminated by signal (11)

    D/dalvikvm(  967): GC_FOR_ALLOC freed 296K, 20% free 6244K/7804K, paused 43ms, total 43ms

    W/InputDispatcher(  967): Attempted to unregister already unregistered input channel '426036a8 com.vectorunit.redcmgeplaycn/com.vectorunit.redcmgeplaycn.Red (server)'

    I/WindowState(  967): WIN DEATH: Window{426036a8 u0 com.vectorunit.redcmgeplaycn/com.vectorunit.redcmgeplaycn.Red}

    W/ActivityManager(  967):   Force finishing activity com.vectorunit.redcmgeplaycn/.Red

    D/dalvikvm(  967): GC_FOR_ALLOC freed 585K, 26% free 5852K/7804K, paused 31ms, total 32ms

    W/ActivityManager(  967): Exception thrown during pause

    W/ActivityManager(  967): android.os.DeadObjectException

    W/ActivityManager(  967):       at android.os.BinderProxy.transact(Native Method)

    W/ActivityManager(  967):       at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:660)

    W/ActivityManager(  967):       at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:793)

    W/ActivityManager(  967):       at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:2796)

    W/ActivityManager(  967):       at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:2670)

    W/ActivityManager(  967):       at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:2222)

    W/ActivityManager(  967):       at com.android.server.am.ActivityManagerService.handleAppCrashLocked(ActivityManagerService.java:9815)

    W/ActivityManager(  967):       at com.android.server.am.ActivityManagerService.makeAppCrashingLocked(ActivityManagerService.java:9708)

    W/ActivityManager(  967):       at com.android.server.am.ActivityManagerService.crashApplication(ActivityManagerService.java:10353)

    W/ActivityManager(  967):       at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:9904)

    W/ActivityManager(  967):       at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)

    D/ActivityManager(  967): resumeClassName is com.arm.mgd.mgddaemon.MainActivity

    D/ActivityManager(  967): resumePackageName is com.arm.mgd.mgddaemon

    I/InputDispatcher(  967): Dropping event because there is no touchable window at (244, 480).

    W/ActivityManager(  967):   Force finishing activity com.arm.mgd.mgddaemon/.MainActivity

    I/InputDispatcher(  967): Dropping event because there is no touchable window at (244, 479).

    D/ActivityManager(  967): send app_CRASH broadcast, packageName:com.vectorunit.redcmgeplaycn

    I/ActivityManager(  967): Process com.vectorunit.redcmgeplaycn (pid 5094) has died.

    W/ContextImpl(  967): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1162 com.android.server.am.ActivityManagerService.onVideoPlayerCrashed:3689 com.android.server.am.ActivityManagerService.handleAppDiedLocked:3719 com.android.server.am.ActivityManagerService.appDiedLocked:3857 com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied:1046

    I/InputDispatcher(  967): Dropping event because there is no touchable window at (245, 479).

    V/MGD Daemon GUI( 4852): onPause

    D/ActivityManager(  967): resumeClassName is com.amlogic.mediaboxlauncher.Launcher

    D/ActivityManager(  967): resumePackageName is com.amlogic.mediaboxlauncher

    W/AudioFlinger(  133): write blocked for 329 msecs, 4993 delayed writes, thread 0xb34fc008

    I/InputDispatcher(  967): Dropping event because there is no touchable window at (246, 478).

    D/MediaBoxLauncher( 2988): ------onResume

    I/InputDispatcher(  967): Dropping event because there is no touchable window at (247, 478).

    W/AudioFlinger(  133): write blocked for 337 msecs, 5017 delayed writes, thread 0xb367e008

    I/InputDispatcher(  967): Dropping event because there is no touchable window at (247, 477).

    W/InputMethodWrapper( 3072): Session is null

    W/InputMethodManagerService(  967): Got RemoteException sending setActive(false) notification to pid 5094 uid 10046

    [ 8099.749393@0] CPU1: shutdown

    V/AudioFlinger(  133): releaseWakeLock_l() AudioOut_8

    V/AudioFlinger(  133): thread 0xb33bb008 type 2 TID 560 going to sleep

    V/AudioFlinger(  133): Audio hardware entering standby, mixer 0xb34fc008, suspend count 0,mid 7

    D/audio_hw_hdmi(  133): out_standby(0xb7190d48)

    I/audio_hw_hdmi(  133): [do_output_standby 746]Clear LastStream/0xb7190d48

    V/AudioFlinger(  133): releaseWakeLock_l() AudioOut_7

    V/AudioFlinger(  133): thread 0xb34fc008 type 0 TID 557 going to sleep

    V/AudioFlinger(  133): Audio hardware entering standby, mixer 0xb367e008, suspend count 0,mid 2

    D/audio_hw_primary(  133): do_output_standby(0xb718ee60)

    D/audio_hw_primary(  133): do_output_standby : output_standby=1,input_standby=1

    V/AudioFlinger(  133): releaseWakeLock_l() AudioOut_2

    V/AudioFlinger(  133): thread 0xb367e008 type 0 TID 548 going to sleep

    [ 8101.812728@0] Uart 0 Driver: Overflow Error while receiving a character

    ^C

    130|root@m201:/system/lib/egl # [ 8105.257236@0] speaker_events--mute =0

Children
  • I/libGLES_mgd( 5094): Initialising interceptor.

    I/libGLES_mgd( 5094): libGLES_mgd is in a system folder

    E/libGLES_mgd( 5094): Failed to parse process mappings.

    D/libEGL  ( 5094): loaded /system/lib/egl/libGLES.so

    I/mgd_interceptor( 5094): Interceptor constructor called

    I/mgd_interceptor( 5094): Trying to connect to the daemon...

    I/mgd_interceptor( 5094): Connected to the daemon.

    I/MGDDAEMON( 4852): An intercepted application is connected.

    I/MGDDAEMON( 4852): An intercepted application is being traced.

    I/mgd_interceptor( 5094): Sending header...

    I/MGDDAEMON( 4852): Waiting for an interceptor to connect...

    I/mgd_interceptor( 5094): Header sent.

    I/mgd_interceptor( 5094): Reading process name for PID=5094

    I/mgd_interceptor( 5094): Process = com.vectorunit.redcmgeplaycn

    I/mgd_interceptor( 5094):

    I/mgd_interceptor( 5094): Could not open /system/lib/egl/processlist.cfg, so tracing by default

    I/mgd_interceptor( 5094): Attempting to load libEGL at /vendor/lib/egl/libGLES_mali.so ...

    I/MGDDAEMON( 4852): Interceptor is version: B002

    E/mgd_interceptor( 5094): Could not get handle to libEGL (dlerror=`dlopen failed: library "/vendor/lib/egl/libGLES_mali.so" not found`).

    W/mgd_interceptor( 5094): Unable to locate library libEGL, no functions for this library will be intercepted

    E/mgd_interceptor( 5094): User called extension function eglGetProcAddress} which does not exist

    F/libc    ( 5094): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 5107 (t.redcmgeplaycn)

    The above is basically the issue. Android EGL is successfully loading the interceptor, and it is reporting 2 errors, one that it can't parse the process mappings, and one that it can't get a handle to /vendor/lib/egl/libGLES_mali.so. The latter looks like a bug to me as it should also look in /system/lib/egl/ so I've passed this onto the team.

    Hth,

    Chris

  • Hi Yangw,

    I see there is a crash in your report. Our team has been investigating that for the last week and we believe we have a patch that fixes it.

    We are going to release it soon, I will update this post as soon as it is available.

    Thank you for your patience,

    Lorenzo

  • Thanks very much for your reply, and I am looking forward to the release.Thank you all!

  • There is one idea, you could create a symlink from /vendor/lib/egl/libGLES_mali.so to /system/lib/egl/libGLES_mali.so as that would probably allow mgd to pick up the driver untested but on paper might work.

    Cheers,

    Chris

  • I had tried this yesterday, still crash, no luck.

  • Hi, Chris! I have tried new Mali Graphics Debugger v2.0.1 and has the same issue (Samsung Galaxy Note (Mali-400) + Android 4.2.2 (Cyanogenmod)).

    I've also tried to make symlink from /system/lib/egl to /vendor/lib/egl. The problem is /system/lib/egl doesn't contain any libGLES_mali.so but contains libEGL_mali.so, libGLES_android.so, libGLESv1_CM_mali.so and libGLESv2_mali.so. I've tried to map all available *.so to /vendor/lib/egl/libGLES_mali.so, but the result the same (black screen and huge log with functions which are not discovered). Best result was achieved with libGLES_android.so (corrupted picture and only one function not found). Is there any possibilities to make it work for my configuration.

  • Same exact crash? Maybe the symlink needs chmod 644 also in that case? In any case there are fixes in the works

  • I was going to suggest making 3 separate symlinks, from /vendor/lib/egl to /system/lib/egl, but due to the above bug there's no way to support fragmented builds at present (EGL will only look for /vendor/lib/egl/libGLES_mali.so, and symlinking that to libEGL.so would break GLESv1 and v2). There is a fix incoming though which will resolve this, and it should "just work" by following the install guide.

  • We have now released MGD v2.0.2 which should resolve this issue (Mali Graphics Debugger - Mali Developer Center Mali Developer Center). Please give it a go and let us know.

    Be aware that there is still a known issue where the "frame capture" feature will not work on devices with non-monolithic drives (like yours) but tracing and the other features should work fine.