Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glib critical when reading NFC tag for second time #11

Open
krzk opened this issue Oct 10, 2021 · 0 comments
Open

Glib critical when reading NFC tag for second time #11

krzk opened this issue Oct 10, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@krzk
Copy link
Collaborator

krzk commented Oct 10, 2021

  1. Start neard (with a NFC adapter plugged)
  2. Start polling:
    ./nfctool -d nfc0 -p Both
  3. Put a tag (or mobile phone) once.
  4. Put a tag (or mobile phone) second time.
  5. (neard:21867): GLib-CRITICAL **: 12:28:54.583: Source ID 34 was not found when attempting to remove it
neard[21867]: src/netlink.c:no_seq_check() 
neard[21867]: src/netlink.c:nfc_netlink_event() event 0x9
neard[21867]: src/netlink.c:nfc_netlink_event() Targets found
neard[21867]: src/netlink.c:nfc_netlink_event_targets_found() 
neard[21867]: src/netlink.c:nfc_netlink_event_targets_found() adapter 0
neard[21867]: src/netlink.c:__nl_send_msg() 
neard[21867]: src/netlink.c:get_targets_handler() 
neard[21867]: src/netlink.c:get_targets_handler() target idx 15 proto 0x40 sens_res 0x0 sel_res 0x0 NFCID len 0
neard[21867]: src/netlink.c:get_targets_handler() 	iso15693_uid_len 0
neard[21867]: src/adapter.c:__near_adapter_add_target() idx 0
neard[21867]: src/tag.c:tag_initialize() 
neard[21867]: src/tag.c:set_tag_type() protocol 0x40 sens_res 0x0 sel_res 0x0
neard[21867]: src/tag.c:set_tag_type() tag type 0x6
neard[21867]: src/tag.c:__near_tag_add() connection 0x513aeb0
neard[21867]: src/adapter.c:near_adapter_connect() idx 0
neard[21867]: src/tag.c:__near_tag_read() type 0x6
neard[21867]: src/adapter.c:__near_adapter_stop_check_presence() 

(neard:21867): GLib-CRITICAL **: 12:28:54.583: Source ID 34 was not found when attempting to remove it
neard[21867]: src/tag.c:__near_tag_read() driver type 0x1
neard[21867]: src/tag.c:__near_tag_read() driver type 0x2
neard[21867]: src/tag.c:__near_tag_read() driver type 0x3
neard[21867]: src/tag.c:__near_tag_read() driver type 0x4
neard[21867]: src/tag.c:__near_tag_read() driver type 0x6
neard[21867]: plugins/nfctype4.c:nfctype4_read() 
neard[21867]: plugins/nfctype4.c:ISO_Select() 
neard[21867]: plugins/nfctype4.c:ISO_send_cmd() CLA-00 INS-a4 P1-04 P2-00
neard[21867]: src/adapter.c:near_adapter_send() idx 0
neard[21867]: src/adapter.c:near_adapter_send() req 0x5371d80 cb 0x1273a0 data 0x536b260
neard[21867]: src/netlink.c:__finish_handler() 
neard[21867]: src/netlink.c:get_targets_finish_handler() 
neard[21867]: src/adapter.c:__near_adapter_get_targets_done() idx 0
neard[21867]: src/tag.c:type_string() type 0x6
neard[21867]: src/tag.c:protocol_string() protocol 0x40
neard[21867]: src/adapter.c:adapter_recv_event() condition 0x19
neard[21867]: Error while reading NFC bytes
neard[21867]: plugins/nfctype4.c:t4_select_file_by_name_v2() -5
neard[21867]: plugins/nfctype4.c:t4_cookie_release() 0x536b260
neard[21867]: src/adapter.c:tag_read_cb() status -5
neard[21867]: src/adapter.c:near_adapter_disconnect() idx 0
neard[21867]: src/adapter.c:near_adapter_disconnect() link 0x5344450
neard[21867]: src/adapter.c:near_adapter_disconnect() tag type 6
neard[21867]: src/adapter.c:__near_adapter_remove_target() idx 0
neard[21867]: src/tag.c:__near_tag_remove() path /org/neard/nfc0/tag15
neard[21867]: src/tag.c:free_tag() tag 0x5344450
neard[21867]: src/adapter.c:near_adapter_disconnect() idx 0
neard[21867]: src/adapter.c:near_adapter_disconnect() link (nil)
neard[21867]: src/adapter.c:check_presence() 
neard[21867]: src/adapter.c:near_adapter_disconnect() idx 0
neard[21867]: src/adapter.c:near_adapter_disconnect() link (nil)

@krzk krzk added the bug Something isn't working label Oct 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant