Details

      Description

      I tried the NFC binding but had no chance to make it works.

      I'm currently using a master image (head of the nfc binding repo: 557e5f0, so it's not the same segfault as the one fixed by the last commit), on a M3+Kingfisher and two different NFC reader.

      When I use the reference reader (ACR122) as well as the fallback reader (SCL3711), I have the following log when I tap a tag:

      Nov 15 01:51:16 m3ulcb neard[3936]: neard[3936]: ndef parsing failed
      Nov 15 01:51:16 m3ulcb neard[3936]: ndef parsing failed
      [   55.211720] usb 2-1.4: NFC: Exchanging data failed (error 0x1)
      Nov 15 01:51:21 m3ulcb neard[3936]: neard[3936]: Error while reading NFC bytes
      Nov 15 01:51:21 m3ulcb kernel: usb 2-1.4: NFC: Exchanging data failed (error 0x1)
      Nov 15 01:51:21 m3ulcb neard[3936]: Error while reading NFC bytes
      Nov 15 01:51:21 m3ulcb kernel[3937]: [   55.211720] usb 2-1.4: NFC: Exchanging data failed (error 0x1)
      Nov 15 01:51:21 m3ulcb afbd-agl-service-nfc@1.0-f3849ce[4152]:  ERROR: ALERT! signal 11 received: Segmentation fault [/usr/src/debug/af-binder/master+gitAUTOINC+a868fc2722-r0/git/src/sig-mo
      nitor.c:226,on_signal_error]
      Nov 15 01:51:21 m3ulcb afbd-agl-service-nfc@1.0-f3849ce[4152]:  ERROR: BACKTRACE due to signal Segmentation fault/11:
      Nov 15 01:51:21 m3ulcb afbd-agl-service-nfc@1.0-f3849ce[4152]:  [1/1] afbd-agl-service-nfc@1.0-f3849ce(+0x35d44) [0xaaaad6b08d44]
      Nov 15 01:51:21 m3ulcb afbd-agl-service-nfc@1.0-f3849ce[4152]:  [/usr/src/debug/af-binder/master+gitAUTOINC+a868fc2722-r0/git/src/sig-monitor.c:78,dumpstack]
      Nov 15 01:51:21 m3ulcb afbd-agl-service-nfc@1.0-f3849ce[4152]:  ERROR: Unmonitored signal 11 received: Segmentation fault [/usr/src/debug/af-binder/master+gitAUTOINC+a868fc2722-r0/git/src/s
      ig-monitor.c:236,on_signal_error]
      Nov 15 01:51:21 m3ulcb systemd[1]: afm-service-agl-service-nfc--1.0-f3849ce--main@0.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
      Nov 15 01:51:21 m3ulcb systemd[1]: afm-service-agl-service-nfc--1.0-f3849ce--main@0.service: Unit entered failed state.
      Nov 15 01:51:21 m3ulcb systemd[1]: afm-service-agl-service-nfc--1.0-f3849ce--main@0.service: Failed with result 'exit-code'.
      

      Note that the first two lines appears only with some tags, but not all.

       

      Also, with the reference reader (ACR122) it can take up to 10 seconds before a tag is detected.

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              raquelm raquel medina
              Reporter:
              ctxnop Loïc Collignon [ IoT.bzh ]
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: