m3ulcb:~# systemctl status afm-appli-homescreen--0.1--main@0.service ‚óŹ afm-appli-homescreen--0.1--main@0.service - This is a demo application for homescreen Loaded: loaded (/var/local/lib/systemd/system/afm-user-session@.target.wants/../afm-appli-homescreen--0.1--main@.service; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2019-02-04 20:48:48 UTC; 1min 58s ago Process: 3772 ExecStart=/usr/bin/afb-daemon --name afbd-homescreen@0.1 --rootdir=/var/local/lib/afm/applications/homescreen/0.1 --workdir=/home/0/app-data/homescreen --verbose --verbose --monitoring --port=31028 --token=HELLO --roothtt Process: 3765 ExecStartPre=/bin/mkdir -p /home/0/app-data/homescreen (code=exited, status=0/SUCCESS) Main PID: 3772 (code=exited, status=1/FAILURE) CPU: 780ms Feb 04 20:48:48 m3ulcb afbd-homescreen@0.1[3772]: [1/1] afbd-homescreen@0.1(+0x370a4) [0xaaaad03270a4] Feb 04 20:48:48 m3ulcb afbd-homescreen@0.1[3772]: [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/sig-monitor.c:78,dumpstack] Feb 04 20:48:48 m3ulcb afbd-homescreen@0.1[3772]: CRITICAL: sd_event_prepare returned an error (state: 3): Device or resource busy [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/jobs.c:313,evloop_run] Feb 04 20:48:48 m3ulcb afbd-homescreen@0.1[3772]: ERROR: Terminating signal 6 received: Aborted [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/sig-monitor.c:213,on_signal_terminate] Feb 04 20:48:48 m3ulcb afbd-homescreen@0.1[3772]: ERROR: BACKTRACE due to signal Aborted/6: Feb 04 20:48:48 m3ulcb afbd-homescreen@0.1[3772]: [1/1] afbd-homescreen@0.1(+0x370a4) [0xaaaad03270a4] Feb 04 20:48:48 m3ulcb afbd-homescreen@0.1[3772]: [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/sig-monitor.c:78,dumpstack] Feb 04 20:48:48 m3ulcb systemd[1]: afm-appli-homescreen--0.1--main@0.service: Main process exited, code=exited, status=1/FAILURE Feb 04 20:48:48 m3ulcb systemd[1]: afm-appli-homescreen--0.1--main@0.service: Unit entered failed state. Feb 04 20:48:48 m3ulcb systemd[1]: afm-appli-homescreen--0.1--main@0.service: Failed with result 'exit-code'. -- Logs begin at Mon 2019-02-04 20:48:30 UTC, end at Mon 2019-02-04 20:49:38 UTC. -- Feb 04 20:48:40 m3ulcb systemd[1]: Starting This is a demo application for homescreen... Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: ------BEGIN OF CONFIG----- Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- { Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "name": "afbd-homescreen@0.1", Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "rootdir": "\/var\/local\/lib\/afm\/applications\/homescreen\/0.1", Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "workdir": "\/home\/0\/app-data\/homescreen", Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "monitoring": true, Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "port": 31028, Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "token": "HELLO", Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "roothttp": ".", Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "ws-client": [ Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "unix:\/run\/user\/0\/apis\/ws\/homescreen", Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "unix:\/run\/user\/0\/apis\/ws\/network-manager", Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "unix:\/run\/user\/0\/apis\/ws\/weather", Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "unix:\/run\/user\/0\/apis\/ws\/Bluetooth-Manager", Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "unix:\/run\/user\/0\/apis\/ws\/windowmanager", Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "unix:\/run\/user\/0\/apis\/ws\/ahl-4a" Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- ], Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "exec": [ Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "\/var\/local\/lib\/afm\/applications\/homescreen\/0.1\/bin\/HomeScreen", Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "@p", Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "@t" Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- ], Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "apitimeout": 20, Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "cache-eol": 100000, Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "cntxtimeout": 32000000, Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "session-max": 200, Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "uploaddir": ".", Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "rootbase": "\/opa", Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "rootapi": "\/api", Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "ldpaths": [ Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "\/usr\/lib\/afb" Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- ], Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "alias": [ Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- "\/monitoring:\/usr\/lib\/afb\/monitoring" Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- ] Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: -- } Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: ------END OF CONFIG----- Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: INFO: running with pid 3772 [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/main-afb-daemon.c:898,main] Feb 04 20:48:40 m3ulcb afbd-homescreen@0.1[3772]: INFO: API monitor added [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-apiset.c:505,afb_apiset_add] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: INFO: Supervision received a SIGHUP [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-supervision.c:234,on_sighup] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: NOTICE: Can't connect supervision socket to @urn:AGL:afs:supervision:socket: Interrupted system call [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-supervision.c:1 Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: INFO: Scanning dir=[/usr/lib/afb] for bindings [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-api-so.c:165,adddirs] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: INFO: Try to connect supervisor after SIGHUP [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-supervision.c:228,try_connect_supervisor_job] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: INFO: Scanning dir=[/usr/lib/afb/monitoring] for bindings [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-api-so.c:165,adddirs] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: INFO: API homescreen added [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-apiset.c:505,afb_apiset_add] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: INFO: API network-manager added [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-apiset.c:505,afb_apiset_add] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: INFO: API weather added [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-apiset.c:505,afb_apiset_add] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: INFO: API Bluetooth-Manager added [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-apiset.c:505,afb_apiset_add] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: INFO: API windowmanager added [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-apiset.c:505,afb_apiset_add] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: INFO: API ahl-4a added [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-apiset.c:505,afb_apiset_add] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: NOTICE: API ahl-4a starting... [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-apiset.c:787,start_api] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: INFO: API ahl-4a started [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-apiset.c:806,start_api] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: NOTICE: API Bluetooth-Manager starting... [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-apiset.c:787,start_api] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: INFO: API Bluetooth-Manager started [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-apiset.c:806,start_api] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: NOTICE: API homescreen starting... [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-apiset.c:787,start_api] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: INFO: API homescreen started [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-apiset.c:806,start_api] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: NOTICE: API monitor starting... [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-apiset.c:787,start_api] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: INFO: API monitor started [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-apiset.c:806,start_api] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: NOTICE: API network-manager starting... [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-apiset.c:787,start_api] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: INFO: API network-manager started [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-apiset.c:806,start_api] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: NOTICE: API weather starting... [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-apiset.c:787,start_api] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: INFO: API weather started [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-apiset.c:806,start_api] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: NOTICE: API windowmanager starting... [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-apiset.c:787,start_api] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: INFO: API windowmanager started [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-apiset.c:806,start_api] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: INFO: Alias for url=/monitoring to path=/usr/lib/afb/monitoring [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/main-afb-daemon.c:296,init_alias] Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: NOTICE: Waiting port=31028 rootdir=/var/local/lib/afm/applications/homescreen/0.1 [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/main-afb-daemon.c:375,start_http_serve Feb 04 20:48:41 m3ulcb afbd-homescreen@0.1[3772]: NOTICE: Browser URL= http://localhost:31028 [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/main-afb-daemon.c:376,start_http_server] Feb 04 20:48:46 m3ulcb afbd-homescreen@0.1[3772]: NOTICE: Listening interface 0.0.0.0:31028 [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/afb-hsrv.c:551,hsrv_itf_connect] Feb 04 20:48:46 m3ulcb systemd[1]: Started This is a demo application for homescreen. Feb 04 20:48:46 m3ulcb afbd-homescreen@0.1[3772]: Using Wayland-EGL Feb 04 20:48:47 m3ulcb afbd-homescreen@0.1[3772]: surfaceID is set to 2 Feb 04 20:48:47 m3ulcb afbd-homescreen@0.1[3772]: Using the 'ivi-shell' shell integration Feb 04 20:48:48 m3ulcb afbd-homescreen@0.1[3772]: Let's show homescreen Feb 04 20:48:48 m3ulcb afbd-homescreen@0.1[3772]: WebSocket Text Sent: "[2,\"0\",\"ahl-4a/subscribe\",null]" Feb 04 20:48:48 m3ulcb afbd-homescreen@0.1[3772]: WebSocket Text Received: "[3,\"0\",{\"jtype\":\"afb-reply\",\"request\":{\"status\":\"success\",\"info\":\"Subscribed to \\\"volume_changed\\\" event!\",\"uuid\":\"1e11106d-0ebc-49d5-935 Feb 04 20:48:48 m3ulcb afbd-homescreen@0.1[3772]: MasterVolume::onClientConnected - subscribed to 4a events! Feb 04 20:48:48 m3ulcb afbd-homescreen@0.1[3772]: ERROR: ALERT! signal 11 received: Segmentation fault [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/sig-monitor.c:226,on_signal_error] Feb 04 20:48:48 m3ulcb afbd-homescreen@0.1[3772]: ERROR: BACKTRACE due to signal Segmentation fault/11: Feb 04 20:48:48 m3ulcb afbd-homescreen@0.1[3772]: [1/1] afbd-homescreen@0.1(+0x370a4) [0xaaaad03270a4] Feb 04 20:48:48 m3ulcb afbd-homescreen@0.1[3772]: [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/sig-monitor.c:78,dumpstack] Feb 04 20:48:48 m3ulcb afbd-homescreen@0.1[3772]: CRITICAL: sd_event_prepare returned an error (state: 3): Device or resource busy [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/jobs.c:313,evloop_run] Feb 04 20:48:48 m3ulcb afbd-homescreen@0.1[3772]: ERROR: Terminating signal 6 received: Aborted [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/sig-monitor.c:213,on_signal_terminate] Feb 04 20:48:48 m3ulcb afbd-homescreen@0.1[3772]: ERROR: BACKTRACE due to signal Aborted/6: Feb 04 20:48:48 m3ulcb afbd-homescreen@0.1[3772]: [1/1] afbd-homescreen@0.1(+0x370a4) [0xaaaad03270a4] Feb 04 20:48:48 m3ulcb afbd-homescreen@0.1[3772]: [/usr/src/debug/af-binder/master+gitAUTOINC+1bce83316a-r0/git/src/sig-monitor.c:78,dumpstack] Feb 04 20:48:48 m3ulcb systemd[1]: afm-appli-homescreen--0.1--main@0.service: Main process exited, code=exited, status=1/FAILURE Feb 04 20:48:48 m3ulcb systemd[1]: afm-appli-homescreen--0.1--main@0.service: Unit entered failed state. Feb 04 20:48:48 m3ulcb systemd[1]: afm-appli-homescreen--0.1--main@0.service: Failed with result 'exit-code'.