TK1 crash when using Teamviewer

Dear all,

When ever I use remote access from my PC to tegra TK1 custom board running android lollipop 5.0, the device crashes at surfaceflinger. We tried the android BSP of project Ara (refer link:https://atap.google.com/ara/ ) and it works fine. Any idea regarding this issue.

Log:-

I/ActivityManager( 524): Start proc com.teamviewer.quicksupport.addon.aosp for service com.teamviewer.quicksupport.addon.aosp/com.teamviewer.incomingrcaddonlib.TVAddonService2: pid=2225 uid=10018 gids={50018, 9997} abi=armeabi-v7a
W/linker ( 2225): liblogging.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
I/DisplayManagerService( 524): Display device added: DisplayDeviceInfo{“TeamViewer_QuickSupport”: 1600 x 900, 60.0 fps, supportedRefreshRates , density 213, 213.0 x 213.0 dpi, appVsyncOff 0, presDeadline 16666666, touch NONE, rotation 0, type VIRTUAL, state ON, owner com.teamviewer.quicksupport.addon.aosp (uid 10018), FLAG_SECURE}
V/ActivityManager( 524): Display added displayId=1
W/SurfaceFlinger( 160): [TeamViewer_QuickSupport] Unexpected dequeueBuffer() in IDLE state
W/SurfaceFlinger( 160): [TeamViewer_QuickSupport] EGL called dequeueBuffer with !async despite eglSwapInterval(0)
E/SurfaceFlinger( 160): [TeamViewer_QuickSupport] dequeueBuffer: no buffer, bailing out
W/nvwsi ( 160): dequeueBuffer failed, error -12
E/libEGL ( 160): eglQuerySurface:592 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 160): eglQuerySurface:592 error 300d (EGL_BAD_SURFACE)
W/SurfaceFlinger( 160): [TeamViewer_QuickSupport] Unexpected beginFrame() in GLES state
V/ActivityManager( 524): Display changed displayId=1
--------- beginning of crash
F/libc ( 160): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x2c in tid 160 (surfaceflinger)
I/DEBUG ( 206): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 206): Build fingerprint: ‘Android/AOSP:5.0.1/android_5_0_1/android-build02081952:userdebug/test-keys’
I/DEBUG ( 206): Revision: ‘0’
I/DEBUG ( 206): ABI: ‘arm’
I/DEBUG ( 206): pid: 160, tid: 160, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 206): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2c
W/NativeCrashListener( 524): Couldn’t find ProcessRecord for pid 160
I/DEBUG ( 206): r0 00000000 r1 00000000 r2 00000028 r3 bed23ec8
E/DEBUG ( 206): AM write failure (32 / Broken pipe)
I/DEBUG ( 206): r4 b4ddc5fc r5 bed237a0 r6 b4dda000 r7 00000001
I/DEBUG ( 206): r8 b33faa00 r9 00000002 sl 00000001 fp b4ddc580
I/DEBUG ( 206): ip 00000000 sp bed23778 lr b4e1fba7 pc b4e1fbae cpsr 400f0030
I/DEBUG ( 206):
I/DEBUG ( 206): backtrace:
I/DEBUG ( 206): #00 pc 00009bae /system/vendor/lib/hw/hwcomposer.tegra.so
I/DEBUG ( 206): #01 pc 00009d2d /system/vendor/lib/hw/hwcomposer.tegra.so
I/DEBUG ( 206): #02 pc 0000a05f /system/vendor/lib/hw/hwcomposer.tegra.so
I/DEBUG ( 206): #03 pc 00021ce3 /system/lib/libsurfaceflinger.so
I/DEBUG ( 206): #04 pc 00018c93 /system/lib/libsurfaceflinger.so
I/DEBUG ( 206): #05 pc 000182bf /system/lib/libsurfaceflinger.so
I/DEBUG ( 206): #06 pc 00018051 /system/lib/libsurfaceflinger.so
I/DEBUG ( 206): #07 pc 000124fb /system/lib/libutils.so (android::Looper::pollInner(int)+410)
I/DEBUG ( 206): #08 pc 000125ed /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+92)
I/DEBUG ( 206): #09 pc 00015885 /system/lib/libsurfaceflinger.so
I/DEBUG ( 206): #10 pc 00017c45 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::run()+8)
I/DEBUG ( 206): #11 pc 0000083d /system/bin/surfaceflinger
I/DEBUG ( 206): #12 pc 000128ed /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 206): #13 pc 000008d8 /system/bin/surfaceflinger
I/DEBUG ( 206):
I/DEBUG ( 206): Tombstone written to: /data/tombstones/tombstone_03
I/BootReceiver( 524): Copying /data/tombstones/tombstone_03 to DropBox (SYSTEM_TOMBSTONE)
E/SharedPreferencesImpl( 524): Couldn’t create directory for SharedPreferences file shared_prefs/log_files.xml
I/ServiceManager( 158): service ‘SurfaceFlinger’ died
W/SurfaceComposerClient( 1197): ComposerService remote (surfaceflinger) died [0xb4f93080]
W/SurfaceComposerClient( 2121): ComposerService remote (surfaceflinger) died [0xb4f93bc0]
I/ServiceManager( 158): service ‘android.display.hwcomposer’ died
W/SurfaceComposerClient( 959): ComposerService remote (surfaceflinger) died [0xa32fb0c0]
W/SurfaceComposerClient( 1529): ComposerService remote (surfaceflinger) died [0xad4b6f00]
W/SurfaceComposerClient( 1160): ComposerService remote (surfaceflinger) died [0xad04b500]
W/SurfaceComposerClient( 1608): ComposerService remote (surfaceflinger) died [0xa1e39440]
W/SurfaceComposerClient( 524): ComposerService remote (surfaceflinger) died [0xafa3f040]
W/SurfaceComposerClient( 617): ComposerService remote (surfaceflinger) died [0xb4f93b80]
E/DisplayEventReceiver( 524): Display event receiver pipe was closed or an error occurred. events=0x9
E/DisplayEventReceiver( 617): Display event receiver pipe was closed or an error occurred. events=0x9
E/DisplayEventReceiver( 524): Display event receiver pipe was closed or an error occurred. events=0x9
E/DisplayEventReceiver( 524): Display event receiver pipe was closed or an error occurred. events=0x9
E/DisplayEventReceiver( 524): Display event receiver pipe was closed or an error occurred. events=0x9
E/DisplayEventReceiver( 959): Display event receiver pipe was closed or an error occurred. events=0x9
E/OpenGLRenderer( 1529): Display event receiver pipe was closed or an error occurred. events=0x9
E/DisplayEventReceiver( 1608): Display event receiver pipe was closed or an error occurred. events=0x9
E/OpenGLRenderer( 617): Display event receiver pipe was closed or an error occurred. events=0x9
E/DisplayEventReceiver( 1160): Display event receiver pipe was closed or an error occurred. events=0x9
E/DisplayEventReceiver( 1529): Display event receiver pipe was closed or an error occurred. events=0x9
E/OpenGLRenderer( 1608): Display event receiver pipe was closed or an error occurred. events=0x9
E/DisplayEventReceiver( 2121): Display event receiver pipe was closed or an error occurred. events=0x9
E/OpenGLRenderer( 2121): Display event receiver pipe was closed or an error occurred. events=0x9
E/OpenGLRenderer( 959): Display event receiver pipe was closed or an error occurred. events=0x9

Regards,
Sudar.K.B.

Hi SudarKB,

We don’t have experience on your case, hope someone could give you the direction to move forward.

Thanks