[Moto G Android Development] prakashpu:
CastScreen feature is not working

Yes, chromecast or casting from YouTube app works fine. Looks like the problem is only with Miracast / Wifi-Direct.

--------- beginning of crash
07-12 07:12:14.822 F/libc (382): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x330 in tid 680 (mm-qcamera-daem), pid 382 (mm-qcamera-daem)
07-12 07:12:14.899 F/DEBUG (693): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-12 07:12:14.899 F/DEBUG (693): Build fingerprint: 'motorola/falcon_retbr_ds/falcon_umtsds:5.1/LPB23.13-56/58:user/release-keys'
07-12 07:12:14.899 F/DEBUG (693): Revision: '0'
07-12 07:12:14.899 F/DEBUG (693): ABI: 'arm'
07-12 07:12:14.900 F/DEBUG (693): pid: 382, tid: 680, name: mm-qcamera-daem >>> /vendor/bin/mm-qcamera-daemon <<<
07-12 07:12:14.900 F/DEBUG (693): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x330
07-12 07:12:14.900 F/DEBUG (693): Cause: null pointer dereference
07-12 07:12:14.900 F/DEBUG (693): r0 00000338 r1 00000000 r2 00000014 r3 afd7f734
07-12 07:12:14.900 F/DEBUG (693): r4 b18fd000 r5 00000000 r6 08000007 r7 0800000e
07-12 07:12:14.900 F/DEBUG (693): r8 08000013 r9 0800000e r10 afd7f898 r11 b188d540
07-12 07:12:14.900 F/DEBUG (693): ip 00000000 sp afd7f6a0 lr b3648443 pc b3648448
07-12 07:12:14.906 F/DEBUG (693):
07-12 07:12:14.906 F/DEBUG (693): backtrace:
07-12 07:12:14.906 F/DEBUG (693): #00 pc 00003448 /system/vendor/lib/liboemcamera.so
07-12 07:12:14.906 F/DEBUG (693): #01 pc 0000742d /system/vendor/lib/liboemcamera.so
07-12 07:12:14.906 F/DEBUG (693): #02 pc 00063ce3 /system/lib/libc.so (__pthread_start(void*)+22)
07-12 07:12:14.906 F/DEBUG (693): #03 pc 0001df65 /system/lib/libc.so (__start_thread+32)
07-12 07:12:20.085 F/libc (733): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x330 in tid 891 (mm-qcamera-daem), pid 733 (mm-qcamera-daem)
07-12 07:12:20.152 F/DEBUG (924): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-12 07:12:20.152 F/DEBUG (924): Build fingerprint: 'motorola/falcon_retbr_ds/falcon_umtsds:5.1/LPB23.13-56/58:user/release-keys'
07-12 07:12:20.152 F/DEBUG (924): Revision: '0'
07-12 07:12:20.152 F/DEBUG (924): ABI: 'arm'
07-12 07:12:20.152 F/DEBUG (924): pid: 733, tid: 891, name: mm-qcamera-daem >>> /vendor/bin/mm-qcamera-daemon <<<
07-12 07:12:20.152 F/DEBUG (924): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x330
07-12 07:12:20.152 F/DEBUG (924): Cause: null pointer dereference
07-12 07:12:20.152 F/DEBUG (924): r0 00000338 r1 00000001 r2 00000014 r3 a7bff734
07-12 07:12:20.152 F/DEBUG (924): r4 a8470000 r5 00000000 r6 08000007 r7 0800000e
07-12 07:12:20.153 F/DEBUG (924): r8 08000013 r9 0800000e r10 a7bff898 r11 a840d4e0
07-12 07:12:20.153 F/DEBUG (924): ip 00000000 sp a7bff6a0 lr a975c443 pc a975c448
07-12 07:12:20.156 F/DEBUG (924):
07-12 07:12:20.156 F/DEBUG (924): backtrace:
07-12 07:12:20.156 F/DEBUG (924): #00 pc 00003448 /system/vendor/lib/liboemcamera.so
07-12 07:12:20.156 F/DEBUG (924): #01 pc 0000742d /system/vendor/lib/liboemcamera.so
07-12 07:12:20.156 F/DEBUG (924): #02 pc 00063ce3 /system/lib/libc.so (__pthread_start(void*)+22)
07-12 07:12:20.156 F/DEBUG (924): #03 pc 0001df65 /system/lib/libc.so (__start_thread+32)
10-01 09:04:17.511 E/AndroidRuntime(988): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.display
10-01 09:04:17.511 E/AndroidRuntime(988): java.lang.IllegalStateException: Could not start listening for remote display connection on "192.168.179.200:7236"
10-01 09:04:17.511 E/AndroidRuntime(988):	at android.media.RemoteDisplay.startListening(RemoteDisplay.java:121)
10-01 09:04:17.511 E/AndroidRuntime(988):	at android.media.RemoteDisplay.listen(RemoteDisplay.java:84)
10-01 09:04:17.511 E/AndroidRuntime(988):	at com.android.server.display.WifiDisplayController.updateConnection(WifiDisplayController.java:738)
10-01 09:04:17.511 E/AndroidRuntime(988):	at com.android.server.display.WifiDisplayController.access$1200(WifiDisplayController.java:70)
10-01 09:04:17.511 E/AndroidRuntime(988):	at com.android.server.display.WifiDisplayController$15.onGroupInfoAvailable(WifiDisplayController.java:867)
10-01 09:04:17.511 E/AndroidRuntime(988):	at android.net.wifi.p2p.WifiP2pManager$Channel$P2pHandler.handleMessage(WifiP2pManager.java:819)
10-01 09:04:17.511 E/AndroidRuntime(988):	at android.os.Handler.dispatchMessage(Handler.java:106)
10-01 09:04:17.511 E/AndroidRuntime(988):	at android.os.Looper.loop(Looper.java:193)
10-01 09:04:17.511 E/AndroidRuntime(988):	at android.os.HandlerThread.run(HandlerThread.java:65)
10-01 09:04:17.511 E/AndroidRuntime(988):	at com.android.server.ServiceThread.run(ServiceThread.java:44)
10-01 09:04:17.578 E/AndroidRuntime(2543): FATAL EXCEPTION: main
10-01 09:04:17.578 E/AndroidRuntime(2543): Process: com.android.vending, PID: 2543
10-01 09:04:17.578 E/AndroidRuntime(2543): DeadSystemException: The system died; earlier logs will point to the root cause
10-01 09:04:17.578 E/AndroidRuntime(1725): FATAL EXCEPTION: main
10-01 09:04:17.578 E/AndroidRuntime(1725): Process: com.google.android.gms.persistent, PID: 1725
10-01 09:04:17.578 E/AndroidRuntime(1725): DeadSystemException: The system died; earlier logs will point to the root cause
10-01 09:04:17.650 E/AndroidRuntime(3298): FATAL EXCEPTION: main
10-01 09:04:17.650 E/AndroidRuntime(3298): Process: com.google.android.gm, PID: 3298
10-01 09:04:17.650 E/AndroidRuntime(3298): DeadSystemException: The system died; earlier logs will point to the root cause
10-01 09:04:17.652 E/AndroidRuntime(3034): FATAL EXCEPTION: main
10-01 09:04:17.652 E/AndroidRuntime(3034): Process: com.google.android.apps.maps, PID: 3034
10-01 09:04:17.652 E/AndroidRuntime(3034): DeadSystemException: The system died; earlier logs will point to the root cause
10-01 09:04:20.430 F/libc (943): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x330 in tid 4747 (mm-qcamera-daem), pid 943 (mm-qcamera-daem)
10-01 09:04:20.608 F/DEBUG (4765): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-01 09:04:20.608 F/DEBUG (4765): Build fingerprint: 'motorola/falcon_retbr_ds/falcon_umtsds:5.1/LPB23.13-56/58:user/release-keys'
10-01 09:04:20.608 F/DEBUG (4765): Revision: '0'
10-01 09:04:20.608 F/DEBUG (4765): ABI: 'arm'
10-01 09:04:20.608 F/DEBUG (4765): pid: 943, tid: 4747, name: mm-qcamera-daem >>> /vendor/bin/mm-qcamera-daemon <<<
10-01 09:04:20.608 F/DEBUG (4765): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x330
10-01 09:04:20.608 F/DEBUG (4765): Cause: null pointer dereference
10-01 09:04:20.608 F/DEBUG (4765): r0 00000338 r1 00000000 r2 00000014 r3 a3aff734
10-01 09:04:20.609 F/DEBUG (4765): r4 a56ff000 r5 00000000 r6 08000007 r7 0800000e
10-01 09:04:20.609 F/DEBUG (4765): r8 08000013 r9 0800000e r10 a3aff898 r11 a568d540
10-01 09:04:20.609 F/DEBUG (4765): ip 00000000 sp a3aff6a0 lr a5c33443 pc a5c33448
10-01 09:04:20.617 F/DEBUG (4765):
10-01 09:04:20.617 F/DEBUG (4765): backtrace:
10-01 09:04:20.617 F/DEBUG (4765): #00 pc 00003448 /system/vendor/lib/liboemcamera.so
10-01 09:04:20.617 F/DEBUG (4765): #01 pc 0000742d /system/vendor/lib/liboemcamera.so
10-01 09:04:20.617 F/DEBUG (4765): #02 pc 00063ce3 /system/lib/libc.so (__pthread_start(void*)+22)
10-01 09:04:20.617 F/DEBUG (4765): #03 pc 0001df65 /system/lib/libc.so (__start_thread+32)
10-01 09:04:25.691 F/libc (4776): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x330 in tid 4806 (mm-qcamera-daem), pid 4776 (mm-qcamera-daem)
10-01 09:04:25.767 F/DEBUG (4831): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-01 09:04:25.767 F/DEBUG (4831): Build fingerprint: 'motorola/falcon_retbr_ds/falcon_umtsds:5.1/LPB23.13-56/58:user/release-keys'
10-01 09:04:25.767 F/DEBUG (4831): Revision: '0'
10-01 09:04:25.767 F/DEBUG (4831): ABI: 'arm'
10-01 09:04:25.767 F/DEBUG (4831): pid: 4776, tid: 4806, name: mm-qcamera-daem >>> /vendor/bin/mm-qcamera-daemon <<<
10-01 09:04:25.767 F/DEBUG (4831): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x330
10-01 09:04:25.767 F/DEBUG (4831): Cause: null pointer dereference
10-01 09:04:25.767 F/DEBUG (4831): r0 00000338 r1 00000001 r2 00000014 r3 b2bff734
10-01 09:04:25.767 F/DEBUG (4831): r4 b3470000 r5 00000000 r6 08000007 r7 0800000e
10-01 09:04:25.767 F/DEBUG (4831): r8 08000013 r9 0800000e r10 b2bff898 r11 b340d4e0
10-01 09:04:25.767 F/DEBUG (4831): ip 00000000 sp b2bff6a0 lr b5a6e443 pc b5a6e448
10-01 09:04:25.774 F/DEBUG (4831):
10-01 09:04:25.774 F/DEBUG (4831): backtrace:
10-01 09:04:25.774 F/DEBUG (4831): #00 pc 00003448 /system/vendor/lib/liboemcamera.so
10-01 09:04:25.774 F/DEBUG (4831): #01 pc 0000742d /system/vendor/lib/liboemcamera.so
10-01 09:04:25.774 F/DEBUG (4831): #02 pc 00063ce3 /system/lib/libc.so (__pthread_start(void*)+22)
10-01 09:04:25.774 F/DEBUG (4831): #03 pc 0001df65 /system/lib/libc.so (__start_thread+32)
10-01 09:04:54.270 F/libc (4567): Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 4896 (TimeCheckThread), pid 4567 (audioserver)
10-01 09:04:54.328 F/DEBUG (4900): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-01 09:04:54.328 F/DEBUG (4900): Build fingerprint: 'motorola/falcon_retbr_ds/falcon_umtsds:5.1/LPB23.13-56/58:user/release-keys'
10-01 09:04:54.328 F/DEBUG (4900): Revision: '0'
10-01 09:04:54.328 F/DEBUG (4900): ABI: 'arm'
10-01 09:04:54.328 F/DEBUG (4900): pid: 4567, tid: 4896, name: TimeCheckThread >>> /system/bin/audioserver <<<
10-01 09:04:54.328 F/DEBUG (4900): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
10-01 09:04:54.328 F/DEBUG (4900): Abort message: 'TimeCheck timeout for IAudioFlinger'
10-01 09:04:54.328 F/DEBUG (4900): r0 00000000 r1 00001320 r2 00000006 r3 00000008
10-01 09:04:54.328 F/DEBUG (4900): r4 000011d7 r5 00001320 r6 af75b4a4 r7 0000010c
10-01 09:04:54.328 F/DEBUG (4900): r8 b288875a r9 b0d922e8 r10 3b9aca00 r11 b0de36d0
10-01 09:04:54.328 F/DEBUG (4900): ip 7fffffff sp af75b490 lr b24f4fdd pc b24ecd4e
10-01 09:04:54.340 F/DEBUG (4900):
10-01 09:04:54.340 F/DEBUG (4900): backtrace:
10-01 09:04:54.340 F/DEBUG (4900): #00 pc 0001cd4e /system/lib/libc.so (abort+58)
10-01 09:04:54.340 F/DEBUG (4900): #01 pc 00006d5d /system/lib/liblog.so (__android_log_assert+156)
10-01 09:04:54.340 F/DEBUG (4900): #02 pc 0000e337 /system/lib/libmedia_helper.so (android::TimeCheck::TimeCheckThread::threadLoop()+270)
10-01 09:04:54.340 F/DEBUG (4900): #03 pc 0000c0b7 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+170)
10-01 09:04:54.340 F/DEBUG (4900): #04 pc 00063ce3 /system/lib/libc.so (__pthread_start(void*)+22)
10-01 09:04:54.340 F/DEBUG (4900): #05 pc 0001df65 /system/lib/libc.so (__start_thread+32)
--------- beginning of system