Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-2800

NFC service crash after first use

XMLWordPrintable

    • Intel Upsquare

      To reproduce the issue:

      • compile halibut 8.0.0 with agl html5 support
      • boot agl with an nfc reader
      • put the nfc tag on the reader
      Sep 05 12:58:39 intel-corei7-64 kernel: usb 1-3: NFC: Exchanging data failed (error 0x27)
      Sep 05 12:58:39 intel-corei7-64 neard[321]: neard[321]: Error while reading NFC bytes
      Sep 05 12:58:39 intel-corei7-64 neard[321]: Error while reading NFC bytes
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]: service-nfc@1.0-a840056-dirty: ../json-c-0.13.1/json_object.c:189: json_object_put: Assertion `jso->_ref_count > 0' failed.
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  ERROR: Terminating signal 6 received: Aborted [/home/admin/workspace_up2_halibut/build/tmp/work/corei7-64-agl-linux/af-binder/halibut+gitAUTOINC+91de2500d8-r0/git/src/sig-monitor.c:329,on_signal_terminate]
      Sep 05 12:58:39 intel-corei7-64 kernel: usb 1-3: NFC: Error 0x27 when releasing the target
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  ERROR: BACKTRACE due to signal Aborted/6:
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [1/28] /lib/libc.so.6(+0x2240f) [0x7f8acb47440f]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [2/28] /lib/libc.so.6(+0x2fb12) [0x7f8acb481b12]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [3/28] /usr/lib/libjson-c.so.4(+0x52d2) [0x7f8acb9d82d2]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [4/28] /var/local/lib/afm/applications/agl-service-nfc/1.0-a840056-dirty/lib/libafm-nfc-binding.so(+0x2a66) [0x7f8acba16a66]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [5/28] /usr/lib/libneardal.so.0(neardal_adp_prv_cb_tag_lost+0x79) [0x7f8acaa36039]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [6/28] /usr/lib/libneardal.so.0(+0x10345) [0x7f8acaa38345]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [7/28] /usr/lib/libffi.so.6(ffi_call_unix64+0x4c) [0x7f8aca7937ee]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [8/28] /usr/lib/libffi.so.6(ffi_call+0x21f) [0x7f8aca7931cf]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [9/28] /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_generic+0x202) [0x7f8aca7f9372]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [10/28] /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x19d) [0x7f8aca7f8b7d]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [11/28] /usr/lib/libgobject-2.0.so.0(+0x23923) [0x7f8aca80b923]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [12/28] /usr/lib/libgobject-2.0.so.0(g_signal_emitv+0x24f) [0x7f8aca813a0f]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [13/28] /usr/lib/libneardal.so.0(+0x1b14d) [0x7f8acaa4314d]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [14/28] /usr/lib/libffi.so.6(ffi_call_unix64+0x4c) [0x7f8aca7937ee]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [15/28] /usr/lib/libffi.so.6(ffi_call+0x21f) [0x7f8aca7931cf]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [16/28] /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_generic+0x202) [0x7f8aca7f9372]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [17/28] /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x19d) [0x7f8aca7f8b7d]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [18/28] /usr/lib/libgobject-2.0.so.0(+0x23164) [0x7f8aca80b164]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [19/28] /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0xdd2) [0x7f8aca814842]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [20/28] /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x8f) [0x7f8aca814e8f]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [21/28] /usr/lib/libgio-2.0.so.0(+0xcbe28) [0x7f8aca908e28]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [22/28] /usr/lib/libgio-2.0.so.0(+0xbb2a4) [0x7f8aca8f82a4]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [23/28] /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x158) [0x7f8acaaa1688]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [24/28] /usr/lib/libglib-2.0.so.0(+0x4da78) [0x7f8acaaa1a78]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [25/28] /usr/lib/libglib-2.0.so.0(g_main_loop_run+0xb2) [0x7f8acaaa1d82]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [26/28] /var/local/lib/afm/applications/agl-service-nfc/1.0-a840056-dirty/lib/libafm-nfc-binding.so(+0x37e1) [0x7f8acba177e1]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [27/28] /lib/libpthread.so.0(+0x7ef0) [0x7f8acb9ecef0]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [28/28] /lib/libc.so.6(clone+0x3f) [0x7f8acb5466ef]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-service-nfc@1.0-a840056-dirty[525]:  [/home/admin/workspace_up2_halibut/build/tmp/work/corei7-64-agl-linux/af-binder/halibut+gitAUTOINC+91de2500d8-r0/git/src/sig-monitor.c:103,dumpstack]
      Sep 05 12:58:39 intel-corei7-64 afbd-agl-identity-service@0.1-c9a2819[544]:  INFO: [API identity] Switching to user { "postal_address": "60 Queen Square", "loc": "51.4509952,-2.5957723", "spotify_refresh_token": "AQABqSnTJMd_MR6L83BNxqabSMwsPMMQRa-iYX4yCngFr9mxvw3GoSE_eQfvq4imqx5H91D7BP9aEdsa-UxCOSqVACTJ3MxQtSzYvGny33dYWMyt4OursrWrMEpENhtd8k4", "country": "United Kingdom", "graphPolicies": "Driver", "mail": "scarter@example.com", "city": "Bristol", "graphActions": "View Online,Open Trunk", "graphEmail": "scarter@example.com", "graphPreferredLanguage": "ja_JP", "last_name": "Carter", "groups": [ "cn=Accounting Managers,ou=groups,dc=example,dc=com", "cn=Consumer,ou=groups,dc=example,dc=com" ], "version": "1544324227610", "house_identifier": "ForgeRock", "phone": "+1 408 555 4798", "name": "scarter", "common_name": "Sam Carter", "postal_code": "BS1 4JZ", "fax": "+1 408 555 9751", "first_name": "Sam", "keytoken": "941ffafb" } [/home/admin/workspace_up2_halibut/build/tmp/work/corei7-64-agl-linux/agl-service-identity-agent/1.0+gitAUTOINC+6df0eaf47a-r0/git/src/agl-identity-binding.c:156,do_login]
      Sep 05 12:58:39 intel-corei7-64 dbus-daemon[326]: [system] Rejected receive message, 1 matched rules; type="signal", sender="(unset)" ((bus)) interface="org.freedesktop.DBus" member="NameLost" error name="(unset)" requested_reply="0" destination=":1.20" (uid=1001 pid=525 comm="afbd-agl-service-nfc@1.0-a840056-dirty            " label="User::App::agl-service-nfc") privilege="http://tizen.org/privilege/internal/dbus"
      Sep 05 12:58:39 intel-corei7-64 systemd[1]: afm-service-agl-service-nfc--1.0-a840056-dirty--main@1001.service: Main process exited, code=exited, status=1/FAILURE
      Sep 05 12:58:39 intel-corei7-64 systemd[1]: afm-service-agl-service-nfc--1.0-a840056-dirty--main@1001.service: Failed with result 'exit-code'.
      

      The nfc service need to be restarted manually to use it again

        # Subject Branch Project Status CR V

            raquelm raquel medina
            DemElvis Marius Hauser
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: