Status Update
Comments
uc...@google.com <uc...@google.com> #2
I'm pretty far from being a C++ expert, but I think this may be due to holding a reference to the Config
beyond it's lifetime?
See StartDiscovery()
:
void StartDiscovery() {
...
g_state->task_runner->PostTask([]() {
// optional<Config> created here
auto config = GetConfigForAllInterfaces();
if (!config) {
return;
}
// long-lived reference of config given to OpenScreen
g_state->service = discovery::CreateDnsSdService(g_state->task_runner.get(),
g_state->reporting_client.get(), *config);
for (int i = 0; i < kNumADBDNSServices; ++i) {
auto receiver = std::make_unique<ServiceReceiver>(
g_state->service.get(), kADBDNSServices[i], OnServiceReceiverResult);
receiver->StartDiscovery();
...
}
...
// config destructed here
});
}
er...@gmail.com <er...@gmail.com> #3
A word on impact:
- We rely on WiFi debugging because we use the USB port for additional devices.
- This has made WiFi based debugging unreliable and painful to use because when ADB crashes the connection is lost and is not automatically re-created. Often it can required manually toggling WiFi debugging on the tablet.
ha...@gmail.com <ha...@gmail.com> #4
I've left Wireshark running over the weekend to detect truncated MDNS queries and can confirm they are killing ADB. The truncated messages seem like valid network traffic, so it shouldn't be killing ADB.
Attached are wireshark records in a screenshot which line up with the ADB logs (timezone is Adelaide +10:30):
daniel@RES-0128:/ressys/maxedge$ cat /tmp/adb.5005.log | grep -ie Bridge -e OSP | tail
01-15 00:02:38.265 37828 37828 F adb : logging.cpp:39 OSP_CHECK((max_allowed_messages_) > (0)) failed: 0 vs. 0:
01-15 00:02:41.413 37846 37846 I adb : main.cpp:63 Android Debug Bridge version 1.0.41
01-15 07:58:02.786 37846 37846 F adb : logging.cpp:39 OSP_CHECK((max_allowed_messages_) > (0)) failed: 0 vs. 0:
01-15 07:58:05.928 40026 40026 I adb : main.cpp:63 Android Debug Bridge version 1.0.41
01-15 08:02:46.408 40026 40026 F adb : logging.cpp:39 OSP_CHECK((max_allowed_messages_) > (0)) failed: 0 vs. 0:
01-15 08:02:48.548 40054 40054 I adb : main.cpp:63 Android Debug Bridge version 1.0.41
01-15 08:11:55.906 40054 40054 F adb : logging.cpp:39 OSP_CHECK((max_allowed_messages_) > (0)) failed: 0 vs. 0:
01-15 08:11:59.048 40092 40092 I adb : main.cpp:63 Android Debug Bridge version 1.0.41
01-15 08:48:03.117 40092 40092 F adb : logging.cpp:39 OSP_CHECK((max_allowed_messages_) > (0)) failed: 0 vs. 0:
01-15 08:48:06.280 41928 41928 I adb : main.cpp:63 Android Debug Bridge version 1.0.41
ca...@gmail.com <ca...@gmail.com> #6
mi...@gmail.com <mi...@gmail.com> #7
My previous comment giving the steps to replicate the issue appears to have been deleted. I have since forgotten the specifics of the steps, but can share the broad outlines.
- Attached is a PCAP containing a truncated message.
- Replay this PCAP over UDP (using a tool like
https://github.com/ska-sa/udpreplay )
so...@mac.com <so...@mac.com> #8
I am able to repro. I can reply with tcpreplay.
tcpreplay -i en0 ~/Downloads/truncated\ mDNS\ packets.pcapng
[Deleted User] <[Deleted User]> #9
It looks like we are not using openscreen
properly. Config
should live as long as the Service is alive. The docs of MdnsResponder and MdnsServiceImpl are explicit.
MdnsResponder:
// |record_handler|, |sender|, |receiver|, |task_runner|, |random_delay|, and
// |config| are expected to persist for the duration of this instance's
// lifetime.
MdnsServiceImpl
// |task_runner|, |reporting_client|, and |config| must exist for the duration
// of this instance's life.
th...@gmail.com <th...@gmail.com> #10
Fixed in aosp/2909778
en...@google.com <en...@google.com> #14
Mine has an error with ui nit just the I, not sure how literal this verbose problem is...please keep us updated.....64 arm correct?
[Deleted User] <[Deleted User]> #16
en...@google.com <en...@google.com> #18
vi...@gmail.com <vi...@gmail.com> #20
jo...@blackmanfamily.com <jo...@blackmanfamily.com> #21
he...@gmail.com <he...@gmail.com> #22
Reda
ya...@gmail.com <ya...@gmail.com> #24
po...@gmail.com <po...@gmail.com> #25
po...@gmail.com <po...@gmail.com> #26
zh...@gmail.com <zh...@gmail.com> #27
[Deleted User] <[Deleted User]> #28
Bardzo dobre
ma...@gmail.com <ma...@gmail.com> #29
Zadowolony
co...@gmail.com <co...@gmail.com> #30
Scan hacking
co...@gmail.com <co...@gmail.com> #31
Please update my best practice
jo...@gmail.com <jo...@gmail.com> #32
Excelente inicio
en...@google.com <en...@google.com> #33
Please update
lk...@gmail.com <lk...@gmail.com> #34
Done
[Deleted User] <[Deleted User]> #35
Get Outlook for Android<
________________________________
From: buganizer-system@google.com <buganizer-system@google.com>
Sent: Tuesday, January 7, 2025 11:29:46 PM
To: b-system+-1739714008@google.com <b-system+-1739714008@google.com>
Cc: kwamanabrown1@gmail.com <kwamanabrown1@gmail.com>
Subject: Re:
Replying to this email means your email address will be shared with the team that works on this product.
Changed
am...@gmail.com added
Done
_______________________________
Reference Info: 294120933 ADB crashes with often due to openscreen error
component: Android Public Tracker > App Development > SDK > platform tools > adb<
status: Fixed
reporter: da...@maxmine.com.au
assignee: sa...@google.com
cc: ad...@google.com, sa...@google.com
type: Bug
access level: Default access
priority: P2
severity: S2
retention: Component default
Generated by Google IssueTracker notification system.
You're receiving this email because you are subscribed to updates on Google IssueTracker
Unsubscribe from this issue.<
[Deleted User] <[Deleted User]> #36
wi...@gmail.com <wi...@gmail.com> #37
tnx
9a...@gmail.com <9a...@gmail.com> #38
Brigadao
et...@gmail.com <et...@gmail.com> #39
Add a comment
ov...@gmail.com <ov...@gmail.com> #40
.
th...@gmail.com <th...@gmail.com> #41
Dnnddndn
pa...@gmail.com <pa...@gmail.com> #42
yi...@gmail.com <yi...@gmail.com> #44
حل المشكلات
er...@browserstack.com <er...@browserstack.com> #45
fastboot version 33.0.2-8557947
Installed as /Users/eric/Documents/platform-tools/fastboot
platform-tools % fastboot --version
fastboot version 33.0.2-8557947
Installed as /opt/homebrew/bin/fastboot
It's broken, won't run complete the 'fastboot devices -l' command either with homebrew or with the platform-tools from the zip.
ve...@gmail.com <ve...@gmail.com> #46
MacPro ~ % fastboot --version
fastboot version 33.0.3-8952118
Installed as /opt/homebrew/bin/fastboot
MacBook M1 Pro, MacOs Monterey Version 12.6
fastboot devices command hangs and does not respond..
sa...@gmail.com <sa...@gmail.com> #47
fastboot version 33.0.3-8952118
MacBook Air M1, MacOS Ventura Version 13.0 (22A380)
mo...@logitech.com <mo...@logitech.com> #48
fastboot version 33.0.3 Model Name: MacBook Pro Chip: Apple M1 Pro
I'm experiencing the same issue. Fastboot doesn't work unless any USB-A hub is connected. After connecting the hub, the device can also be accessed with a MacBook USB-C in fastboot mode. Otherwise, it hangs.
so...@gmail.com <so...@gmail.com> #49
Start
Description
Android Studio 2.2.3
Build #AI-145.3537739
JRE: 1.8.0_112-release-b05 x86_64
JVM: OpenJDK 64-bit Server VM
Operating System: macOS Sierra 10.12.2