{"action":"created","issue":{"url":"https://api.github.com/repos/khantaena/headunit/issues/3","repository_url":"https://api.github.com/repos/khantaena/headunit","labels_url":"https://api.github.com/repos/khantaena/headunit/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/khantaena/headunit/issues/3/comments","events_url":"https://api.github.com/repos/khantaena/headunit/issues/3/events","html_url":"https://github.com/khantaena/headunit/issues/3","id":163234551,"number":3,"title":"Incompatibility with Google Play Service 9.2.56","user":{"login":"khantaena","id":18664472,"avatar_url":"https://avatars.githubusercontent.com/u/18664472?v=3","gravatar_id":"","url":"https://api.github.com/users/khantaena","html_url":"https://github.com/khantaena","followers_url":"https://api.github.com/users/khantaena/followers","following_url":"https://api.github.com/users/khantaena/following{/other_user}","gists_url":"https://api.github.com/users/khantaena/gists{/gist_id}","starred_url":"https://api.github.com/users/khantaena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khantaena/subscriptions","organizations_url":"https://api.github.com/users/khantaena/orgs","repos_url":"https://api.github.com/users/khantaena/repos","events_url":"https://api.github.com/users/khantaena/events{/privacy}","received_events_url":"https://api.github.com/users/khantaena/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-30T18:36:53Z","updated_at":"2016-07-01T06:02:14Z","closed_at":null,"body":"พบปัญหาหลังจาก Android อัพเกรด Google Play Services version เป็น 9.2.56\r\nแก้ปัญหาเฉพาะหน้าด้วยการดาวน์เกรด Google Play Services เป็น 9.0.83\r\n\r\nTesting information\r\n- Ubuntu 16.04\r\n- Nexus5X 6.0.1\r\n- Selfsign certificate \r\n  - headunit and Android use same Root CA  \r\n  - Android install Trust Root CA\r\n\r\n- AA activate development mode (tapping \"Android Auto\" 10 times)\r\n\r\n**Result** : valid certificate not work for this case \r\n\r\nFocus USB connection.\r\n\r\n```bash\r\nkhantaena@songrit-MBA:~/repo/headunit/ubuntu$ sudo gdb ./headunit \r\nGNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1\r\nCopyright (C) 2016 Free Software Foundation, Inc.\r\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\r\nThis is free software: you are free to change and redistribute it.\r\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\r\nand \"show warranty\" for details.\r\nThis GDB was configured as \"x86_64-linux-gnu\".\r\nType \"show configuration\" for configuration details.\r\nFor bug reporting instructions, please see:\r\n<http://www.gnu.org/software/gdb/bugs/>.\r\nFind the GDB manual and other documentation resources online at:\r\n<http://www.gnu.org/software/gdb/documentation/>.\r\nFor help, type \"help\".\r\nType \"apropos word\" to search for commands related to \"word\"...\r\nReading symbols from ./headunit...done.\r\n(gdb) r\r\nStarting program: /home/khantaena/repo/headunit/ubuntu/headunit \r\nwarning: the debug information found in \"/lib64/ld-2.23.so\" does not match \"/lib64/ld-linux-x86-64.so.2\" (CRC mismatch).\r\n\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\r\n[New Thread 0x7fffe9034700 (LWP 3835)]\r\n[New Thread 0x7fffdfffe700 (LWP 3836)]\r\n[New Thread 0x7fffdf7fd700 (LWP 3837)]\r\n[Thread 0x7fffdf7fd700 (LWP 3837) exited]\r\n[New Thread 0x7fffdf7fd700 (LWP 3838)]\r\n[New Thread 0x7fffdeffc700 (LWP 3839)]\r\niusb_vendor_get vendor: 0x1d6b  device: 0x12f1320 \r\niusb_vendor_get vendor: 0x05ac  device: 0x12f6fd0 \r\niusb_vendor_get vendor: 0x05ac  device: 0x12fba60 \r\niusb_vendor_get vendor: 0x0a5c  device: 0x12e5ef0 \r\niusb_vendor_get vendor: 0x18d1  device: 0x12d1540 \r\niusb_vendor_get vendor: 0x1d6b  device: 0x12f57f0 \r\nDevice found iusb_best_vendor: 0x18d1  iusb_best_device: 0x12d1540  iusb_best_man: \"\"  iusb_best_pro: \"\" \r\nSHAI1 iusb_best_product id 11521 \r\nPhone switched to accessory mode. Attempting once more.\r\n[Thread 0x7fffdeffc700 (LWP 3839) exited]\r\n\r\nThread 1 \"headunit\" received signal SIGSEGV, Segmentation fault.\r\n0x00007ffff6f552a6 in libusb_submit_transfer ()\r\n   from /lib/x86_64-linux-gnu/libusb-1.0.so.0\r\n(gdb) bt\r\n#0  0x00007ffff6f552a6 in libusb_submit_transfer ()\r\n   from /lib/x86_64-linux-gnu/libusb-1.0.so.0\r\n#1  0x00007ffff6f57659 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0\r\n#2  0x00007ffff6f57a2f in libusb_bulk_transfer ()\r\n   from /lib/x86_64-linux-gnu/libusb-1.0.so.0\r\n#3  0x0000000000406119 in iusb_bulk_transfer (ep=2, buf=0x7fffffffe340 \"\", \r\n    len=10, tmo=1000) at ../jni/hu_usb.c:229\r\n#4  0x000000000040626f in hu_usb_send (buf=0x7fffffffe340 \"\", len=10, tmo=1000)\r\n    at ../jni/hu_usb.c:289\r\n#5  0x0000000000403e25 in ihu_tra_send (buf=0x7fffffffe340 \"\", len=10, \r\n    tmo=1000) at ../jni/hu_aap.c:47\r\n#6  0x0000000000404079 in hu_aap_tra_send (retry=0, buf=0x7fffffffe340 \"\", \r\n    len=10, tmo=1000) at ../jni/hu_aap.c:146\r\n#7  0x00000000004052c0 in hu_aap_start (ep_in_addr=254 '\\376', \r\n    ep_out_addr=254 '\\376') at ../jni/hu_aap.c:1199\r\n#8  0x000000000040ae90 in main (argc=1, argv=0x7fffffffe4e8) at main.c:935\r\n```"},"comment":{"url":"https://api.github.com/repos/khantaena/headunit/issues/comments/229860868","html_url":"https://github.com/khantaena/headunit/issues/3#issuecomment-229860868","issue_url":"https://api.github.com/repos/khantaena/headunit/issues/3","id":229860868,"user":{"login":"khantaena","id":18664472,"avatar_url":"https://avatars.githubusercontent.com/u/18664472?v=3","gravatar_id":"","url":"https://api.github.com/users/khantaena","html_url":"https://github.com/khantaena","followers_url":"https://api.github.com/users/khantaena/followers","following_url":"https://api.github.com/users/khantaena/following{/other_user}","gists_url":"https://api.github.com/users/khantaena/gists{/gist_id}","starred_url":"https://api.github.com/users/khantaena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khantaena/subscriptions","organizations_url":"https://api.github.com/users/khantaena/orgs","repos_url":"https://api.github.com/users/khantaena/repos","events_url":"https://api.github.com/users/khantaena/events{/privacy}","received_events_url":"https://api.github.com/users/khantaena/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T06:02:13Z","updated_at":"2016-07-01T06:02:13Z","body":"**Logcat from Official DHU (OSX)** \r\n\r\n**Condition** : Use official DHU\r\n**Result** : SUCCESS\r\n**DHU** : desktop-head-unit (/Library/Android/sdk/extras/google/auto/desktop-head-unit)\r\n**OS** : Mac OS X (10.11.5)\r\n**Phone** : Nexus5X 6.0.1\r\n**Google Play Service** : 9.2.56 (440-124593566)\r\n**Android Auto** : 1.6.281040(2825091-release) \r\n\r\n* logcat \r\n[dhu.txt](https://github.com/khantaena/headunit/files/342903/dhu.txt)\r\n"}}
{"actor":{"display_login":"khantaena"}}