{"action":"opened","issue":{"url":"https://api.github.com/repos/AVnu/OpenAvnu/issues/852","repository_url":"https://api.github.com/repos/AVnu/OpenAvnu","labels_url":"https://api.github.com/repos/AVnu/OpenAvnu/issues/852/labels{/name}","comments_url":"https://api.github.com/repos/AVnu/OpenAvnu/issues/852/comments","events_url":"https://api.github.com/repos/AVnu/OpenAvnu/issues/852/events","html_url":"https://github.com/AVnu/OpenAvnu/issues/852","id":389682222,"node_id":"MDU6SXNzdWUzODk2ODIyMjI=","number":852,"title":"gPTP : 64-bit daemon_cl is crashing.","user":{"login":"manoj0207","id":45783169,"node_id":"MDQ6VXNlcjQ1NzgzMTY5","avatar_url":"https://avatars3.githubusercontent.com/u/45783169?v=4","gravatar_id":"","url":"https://api.github.com/users/manoj0207","html_url":"https://github.com/manoj0207","followers_url":"https://api.github.com/users/manoj0207/followers","following_url":"https://api.github.com/users/manoj0207/following{/other_user}","gists_url":"https://api.github.com/users/manoj0207/gists{/gist_id}","starred_url":"https://api.github.com/users/manoj0207/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manoj0207/subscriptions","organizations_url":"https://api.github.com/users/manoj0207/orgs","repos_url":"https://api.github.com/users/manoj0207/repos","events_url":"https://api.github.com/users/manoj0207/events{/privacy}","received_events_url":"https://api.github.com/users/manoj0207/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-11T10:02:41Z","updated_at":"2018-12-11T10:02:41Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI was using 32-bit daemon_cl to stabilized clock synchronization between master and slave devices and it is working properly. But now due to project requirements i have to use 64-bit daemon_cl in place of 32 bit one. As i am using Android platform(Marshmallow), So i have made single change(\"LOCAL_MODULE_STEM_64 := daemon_cl\" in Android.mk) for generating 64-bit daemon_cl. With this change i was able to generate 64-bit daemon_cl image, but i observed that if we use gptp(daemon_cl) daemon in 64-bit mode, it is getting crashed, below is the snippet of crash logs:\r\n\r\n================\r\n11-11 11:11:17.750  2442  2442 I GPTP    : gPTP starting\r\n11-11 11:11:17.750  2442  2442 I GPTP    : gPTP starting\r\n11-11 11:11:17.750  2442  2442 D GPTP    : AsCapable: Enabled\r\n11-11 11:11:17.751  2442  2442 E GPTP    : Using clock device: /dev/ptp0\r\n11-11 11:11:17.751  2442  2442 D GPTP    : Switching to Master\r\n11-11 11:11:17.752  2442  2442 D GPTP    : AVnu AP Status : STATION_STATE_ETHERNET_READY\r\n11-11 11:11:17.752  2442  2448 D GPTP    : Link Speed: 1000000 kb/sec\r\n11-11 11:11:17.770  2442  2446 D GPTP    : AVnu AP Status : STATION_STATE_AVB_SYNC\r\n11-11 11:11:23.537  2556  2556 F DEBUG   : ABI: 'x86_64'\r\n11-11 11:11:23.537  2556  2556 F DEBUG   : pid: 3830, tid: 3831, name: daemon_cl  >>> /system/vendor/bin/daemon_cl <<<\r\n11-11 11:11:23.537  2556  2556 F DEBUG   : signal 11 (SIGSEGV), code 128 (SI_KERNEL), fault addr 0x0\r\n11-11 11:11:23.538  2556  2556 F DEBUG   :     rax 0000000000000007  rbx 0000000000000001  rcx 0000000000000ef6  rdx 00007f13d9c53000\r\n11-11 11:11:23.538  2556  2556 E DEBUG   : AM write failed: Broken pipe\r\n11-11 11:11:23.538  2556  2556 F DEBUG   :     rsi 0000000000000000  rdi 00007f13d9c53000\r\n11-11 11:11:23.538  2556  2556 F DEBUG   :     r8  0000000000000000  r9  0000000000000000  r10 000055c10cf7c4d0  r11 00007f13d99ff080\r\n11-11 11:11:23.538  2556  2556 F DEBUG   :     r12 0000000000000000  r13 12552b7d71f2a389  r14 00000000000297b8  r15 0000000000000000\r\n11-11 11:11:23.538  2556  2556 F DEBUG   :     cs  0000000000000033  ss  000000000000002b\r\n11-11 11:11:23.538  2556  2556 F DEBUG   :     rip 000055c10cf60379  rbp 0000000000000000  rsp 00007f13d99ff0f0  eflags 0000000000010246\r\n11-11 11:11:23.540  2556  2556 F DEBUG   : \r\n11-11 11:11:23.540  2556  2556 F DEBUG   : backtrace:\r\n11-11 11:11:23.540  2556  2556 F DEBUG   :     #00 pc 0000000000014379  /vendor/bin/daemon_cl\r\n11-11 11:11:23.540  2556  2556 F DEBUG   :     #01 pc 0000000000013959  /vendor/bin/daemon_cl\r\n11-11 11:11:23.540  2556  2556 F DEBUG   :     #02 pc 000000000000fd1b  /vendor/bin/daemon_cl\r\n11-11 11:11:23.540  2556  2556 F DEBUG   :     #03 pc 0000000000017255  /vendor/bin/daemon_cl\r\n11-11 11:11:23.540  2556  2556 F DEBUG   :     #04 pc 0000000000084fbf  /system/lib64/libc.so (_ZL15__pthread_startPv+47)\r\n11-11 11:11:23.540  2556  2556 F DEBUG   :     #05 pc 000000000002777c  /system/lib64/libc.so (__start_thread+12)\r\n11-11 11:11:23.540  2556  2556 F DEBUG   :     #06 pc 000000000001c6d5  /system/lib64/libc.so (__bionic_clone+53)\r\n11-11 11:11:23.557  2556  2556 F DEBUG   : \r\n11-11 11:11:23.557  2556  2556 F DEBUG   : Tombstone written to: /data/tombstones/tombstone_00\r\n==================\r\n\r\nThis behavior is only seen in 64-bit(daemon_cl) not with 32-bit daemon_cl, Could you please provide us some pointers on this crash issue?  \r\nFollowing are the platform Info:\r\n    Platform: Intel (gordon peak) x86-64\r\n    OS : Android(Marshmallow)\r\nPlease find attached crash logs.\r\n\r\nRegards,\r\nManoj\r\n[gptp_64_bit_crash_logs.txt](https://github.com/AVnu/OpenAvnu/files/2666994/gptp_64_bit_crash_logs.txt)\r\n"}}
{"actor":{"display_login":"manoj0207"}}