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

[BUG] Android Chiptool ANR issue when mDNS discover #34967

Closed
joonhaengHeo opened this issue Aug 13, 2024 · 0 comments · Fixed by #34968
Closed

[BUG] Android Chiptool ANR issue when mDNS discover #34967

joonhaengHeo opened this issue Aug 13, 2024 · 0 comments · Fixed by #34968
Assignees
Labels
bug Something isn't working needs triage

Comments

@joonhaengHeo
Copy link
Contributor

Reproduction steps

  1. Click "Provision CHIP Device with Wi-Fi"
  2. Click "Input Device Address"
  3. Click "Discover"

08-14 08:02:29.666 I 19915 19957 NsdManagerServiceBrowser: Started service _matterc._udp
08-14 08:02:29.671 I 19915 19957 NsdManagerServiceBrowser: Found service 3C1DC93A3DD3EA4D
08-14 08:02:30.792 I 19915 19957 NsdManagerServiceBrowser: Found service 651035A3C7CDEBF6
08-14 08:02:31.918 I 19915 19957 NsdManagerServiceBrowser: Lost service _matterc._udp
08-14 08:02:32.010 D 19915 20111 NsdManagerServiceResolver: resolve: Timing out
08-14 08:02:32.010 D 19915 20111 NsdManagerResolverAvailState: Signaling NsdManager Resolver as free
08-14 08:02:34.667 I 19915 19915 NsdManagerServiceBrowser: Browse for service _matterc._udp expired after timeout: 5000 ms
08-14 08:02:34.668 D 19915 19915 NsdManagerServiceBrowser: Stopping service discovery with callbackHandle: 489455015868
08-14 08:02:34.680 W 19915 19957 NsdManagerServiceBrowser: Successfully stopped discovery service _matterc._udp
08-14 08:02:34.681 D 19915 19915 NsdManagerServiceResolver: resolve: Starting service resolution for 3C1DC93A3DD3EA4D type _matterc._udp
08-14 08:02:34.681 D 19915 19915 NsdManagerResolverAvailState: Found NsdManager Resolver free, using it and marking it as busy
08-14 08:02:34.685 D 19915 19915 NsdManagerServiceResolver: resolve: Starting service resolution for 651035A3C7CDEBF6 type _matterc._udp
08-14 08:02:34.685 D 19915 19915 NsdManagerResolverAvailState: Found NsdManager Resolver busy, waiting
08-14 08:02:34.691 D 19915 19957 NsdServiceFinderAndResolver: Service discovery started. regType: _matterc._udp
08-14 08:02:34.695 D 19915 19957 NsdServiceFinderAndResolver: onServiceFound: found service not a target for resolution, ignoring name: 651035A3C7CDEBF6, type: _matterc._udp., subtypes: , hostAddresses: , hostname: null, port: 0, network: 136, expirationTime: 2024-08-13T23:02:34Z, txtRecord: {}
08-14 08:02:39.686 D 19915 20121 NsdServiceFinderAndResolver: Service discovery timed out after 5000 ms
08-14 08:02:39.696 I 19915 19957 NsdServiceFinderAndResolver: Discovery stopped: _matterc._udp
08-14 08:02:56.679 I 19915 19921 e.chip.chiptool: Thread[5,tid=19921,WaitingInMainSignalCatcherLoop,Thread*=0xb4000074a9e96b20,peer=0x12c03c90,"Signal Catcher"]: reacting to signal 3
08-14 08:02:56.679 I 19915 19921 e.chip.chiptool:
08-14 08:02:57.120 E 19915 19960 DL : Select failed: src/system/SystemLayerImplSelect.cpp:668: OS Error 0x02000004: Interrupted system call
08-14 08:02:57.233 I 19915 19921 e.chip.chiptool: Wrote stack traces to tombstoned
08-14 08:03:04.683 D 19915 20119 NsdManagerServiceResolver: resolve: Timing out
08-14 08:03:04.684 D 19915 20119 NsdManagerResolverAvailState: Signaling NsdManager Resolver as free
08-14 08:03:04.684 D 19915 19915 NsdManagerResolverAvailState: Found NsdManager Resolver free, using it and marking it as busy
08-14 08:03:04.705 D 19915 19957 NsdServiceFinderAndResolver: Service discovery started. regType: _matterc._udp
08-14 08:03:04.706 D 19915 19957 NsdServiceFinderAndResolver: onServiceFound: found target service name: 651035A3C7CDEBF6, type: _matterc._udp., subtypes: , hostAddresses: , hostname: null, port: 0, network: 136, expirationTime: 2024-08-13T23:03:04Z, txtRecord: {}
08-14 08:03:04.710 E 19915 19915 CTL : GetDiscoveredDevice - not found
08-14 08:03:04.712 I 19915 19957 NsdServiceFinderAndResolver: Discovery stopped: _matterc._udp
08-14 08:03:04.721 I 19915 19957 NsdServiceFinderAndResolver: Resolved service 651035A3C7CDEBF6 to /fd51:3a29:83b5:110a:e65f:1ff:fe65:8058, type : ._matterc._udp
08-14 08:03:04.781 W 19915 19915 e.chip.chiptool: Accessing hidden field Landroid/widget/AbsListView;->mIsChildViewEnabled:Z (unsupported, reflection, allowed)
08-14 08:03:04.782 D 19915 19957 NsdManagerResolverAvailState: Signaling NsdManager Resolver as free
08-14 08:03:04.876 I 19915 19915 DIS : ----- entry [0] : D 3840
08-14 08:03:04.876 I 19915 19915 DIS : ----- entry [1] : CM 1
08-14 08:03:04.876 I 19915 19915 DIS : ----- entry [2] : DN Test Bulb
08-14 08:03:04.876 I 19915 19915 DIS : ----- entry [3] : DT 257
08-14 08:03:04.876 I 19915 19915 DIS : ----- entry [4] : PH 33
08-14 08:03:04.876 I 19915 19915 DIS : ----- entry [5] : PI
08-14 08:03:04.876 I 19915 19915 DIS : ----- entry [6] : RI 0300FF8FAD0DC77F914A0AFD64FB7F946B4A
08-14 08:03:04.876 I 19915 19915 DIS : ----- entry [7] : VP 65521+32769
08-14 08:03:04.876 D 19915 19915 DIS : Discovered commissionable/commissioner node:
08-14 08:03:04.876 D 19915 19915 DIS : Hostname: fd51:3a29:83b5:110a:e65f:1ff:fe65:8058
08-14 08:03:04.876 D 19915 19915 DIS : IP Address #1: fd51:3a29:83b5:110a:e65f:1ff:fe65:8058
08-14 08:03:04.876 D 19915 19915 DIS : Port: 5540
08-14 08:03:04.876 D 19915 19915 DIS : Mrp Interval idle: not present
08-14 08:03:04.876 D 19915 19915 DIS : Mrp Interval active: not present
08-14 08:03:04.876 D 19915 19915 DIS : Mrp Active Threshold: not present
08-14 08:03:04.876 D 19915 19915 DIS : TCP Client Supported: 0
08-14 08:03:04.876 D 19915 19915 DIS : TCP Server Supported: 0
08-14 08:03:04.876 D 19915 19915 DIS : ICD: not present
08-14 08:03:04.876 D 19915 19915 DIS : Rotating ID: 0300FF8FAD0DC77F914A0AFD64FB7F946B4A
08-14 08:03:04.876 D 19915 19915 DIS : Device Name: Test Bulb
08-14 08:03:04.876 D 19915 19915 DIS : Vendor ID: 65521
08-14 08:03:04.876 D 19915 19915 DIS : Product ID: 32769
08-14 08:03:04.876 D 19915 19915 DIS : Device Type: 257
08-14 08:03:04.876 D 19915 19915 DIS : Long Discriminator: 3840
08-14 08:03:04.876 D 19915 19915 DIS : Pairing Hint: 33
08-14 08:03:04.876 D 19915 19915 DIS : Instance Name: 651035A3C7CDEBF6
08-14 08:03:04.876 D 19915 19915 DIS : Commissioning Mode: 1
08-14 08:03:04.876 D 19915 19915 DIS : Supports Commissioner Generated Passcode: false
08-14 08:03:04.876 D 19915 19915 CTL : Filter type none; all matches will fail
08-14 08:03:04.943 I 19915 19924 e.chip.chiptool: Compiler allocated 4415KB to compile void android.widget.TextView.(android.content.Context, android.util.AttributeSet, int, int)
08-14 08:03:07.071 W 19915 19915 WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@c635df2
08-14 08:03:07.075 D 19915 19939 HWUI : endAllActiveAnimators on 0xb400007319efe3f0 (DropDownListView) with handle 0xb4000073b9ec42c0

Bug prevalence

2,3 times in each day.

GitHub hash of the SDK that was being used

128c37a

Platform

android

Platform Version(s)

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant