Status Update
Comments
ma...@gmail.com <ma...@gmail.com> #2
* GC ROOT android.support.v4.media.session.MediaSessionCompat$MediaSessionImplApi21$ExtraSession.this$0
* references android.support.v4.media.session.MediaSessionCompat$MediaSessionImplApi21.mSessionObj
* references android.media.session.MediaSession.mController
* references android.media.session.MediaController.mContext
* leaks com.bubenheimer.rucksack.d.q instance
uc...@google.com <uc...@google.com>
en...@google.com <en...@google.com>
ma...@gmail.com <ma...@gmail.com> #3
ap...@google.com <ap...@google.com> #4
[Deleted User] <[Deleted User]> #5
Can you please confirm whether this is still reproducible on API 33?
And if you happen to have access, also on the Developer Preview of API 34?
ap...@google.com <ap...@google.com> #6
jm...@google.com <jm...@google.com> #7
Final thing, is this a dup of
jm...@google.com <jm...@google.com> #8
Thanks, I believe it's a dup at this point.
The other issue was marked as fixed a year ago, but is still as reproducible as ever, I had just tested it on API 33 and UpsideDownCake DP2.
jm...@google.com <jm...@google.com> #9
I suppose I cannot say for sure that the two issues have the same root cause, there may be more than one cause for MediaBrowserService(Compat) leaks.
I just tested this issue here once more on my production app, on API 33 (emulator), and got a leak trace (with current LeakCanary) that closely resembles the original one I posted years ago. I let the app sit idle for another half hour, occasionally forcing a garbage collection via Android Studio Profiler, but my destroyed MediaBrowserServiceCompat (CW) instance just would not release. (I validated non-release by logging from finalize()
method, which looks very reliable.)
====================================
HEAP ANALYSIS RESULT
====================================
1 APPLICATION LEAKS
References underlined with "~~~" are likely causes.
Learn more at https://squ.re/leaks.
Signature: 881c4404fc048402f456764f134ed07390863849
┬───
│ GC Root: Global variable in native code
│
├─ android.os.Handler$MessengerImpl instance
│ Leaking: UNKNOWN
│ ↓ Handler$MessengerImpl.this$0
│ ~~~~~~
├─ androidx.media.MediaBrowserServiceCompat$ServiceHandler instance
│ Leaking: UNKNOWN
│ this$0 instance of com.bubenheimer.rucksack.d.CW
│ ↓ MediaBrowserServiceCompat$ServiceHandler.this$0
│ ~~~~~~
╰→ com.bubenheimer.rucksack.d.CW instance
Leaking: YES (ObjectWatcher was watching this because com.bubenheimer.rucksack.d.CW received Service#onDestroy()
callback and Service not held by ActivityThread)
key = 0cda35fa-fa79-4035-89ca-6ab496bd1ddc
watchDurationMillis = 5400
retainedDurationMillis = 392
mApplication instance of com.bubenheimer.rucksack.d.D
mBase instance of android.app.ContextImpl
====================================
0 LIBRARY LEAKS
A Library Leak is a leak caused by a known bug in 3rd party code that you do not have control over.
See https://square.github.io/leakcanary/fundamentals-how-leakcanary-works/#4-categorizing-leaks
====================================
0 UNREACHABLE OBJECTS
An unreachable object is still in memory but LeakCanary could not find a strong reference path
from GC roots.
====================================
METADATA
Please include this in bug reports and Stack Overflow questions.
Build.VERSION.SDK_INT: 33
Build.MANUFACTURER: Google
LeakCanary version: 2.10
App process name: com.bubenheimer.rucksack
Class count: 28324
Instance count: 179717
Primitive array count: 132390
Object array count: 25025
Thread count: 39
Heap total bytes: 27055417
Bitmap count: 0
Bitmap total bytes: 0
Large bitmap count: 0
Large bitmap total bytes: 0
Db 1: open /data/user/0/com.bubenheimer.rucksack/databases/com.google.android.datatransport.events
Db 2: open /data/user/0/com.bubenheimer.rucksack/databases/rucksack-5031356898991293088.db
Stats: LruCache[maxSize=3000,hits=32348,misses=41728,hitRate=43%]
RandomAccess[bytes=1991236,reads=41728,travel=35597905162,range=32212305,size=40115227]
Heap dump reason: 1 retained objects, app is visible
Analysis duration: 16991 ms
Heap dump file path: /storage/emulated/0/Download/leakcanary-com.bubenheimer.rucksack/2023-04-25_11-53-35_598.hprof
Heap dump timestamp: 1682438042701
Heap dump duration: 4546 ms
====================================
[Deleted User] <[Deleted User]> #10
I ended up letting the app sit idle for an hour, but the service still would not finalize.
me...@bnaya.net <me...@bnaya.net> #11
I also tried this, but still no finalization:
adb shell am send-trim-memory com.bubenheimer.rucksack:appexternal RUNNING_CRITICAL
me...@bnaya.net <me...@bnaya.net> #12
I've dug into this further, and identified a leak in AndroidX code that I was using (
Eliminating this leak lets the MediaBrowserService(Compat) call its finalizer eventually. I assume that the leak-related fixes in API 33 are also essential for reaching this stage.
However, there is still some unidentified holdup between onDestroy() and finalize() in my production app triggering various LeakCanary traces, before finalization after about 30 seconds. (LeakCanary triggers garbage collections, but those do not force finalization in this case.)
I assume the holdup is related to more general problems with service/binder/messenger cleanup. It's an issue, because it makes it very difficult to spot more real problems.
Can anything be done to eliminate these delays?
I am attaching the various leak traces I got from excluding each, one at a time (this is how I eventually found the AndroidX leak).
ph...@gmail.com <ph...@gmail.com> #13
I think the issue can be closed, I am no longer able to reproduce the delayed finalization issue, and I am hoping to switch to media3 MediaSessionService anyway. I have not tried the minimal repro again, though. Ultimately I think the API 33 fixes took care of what was broken here, in addition to avoiding the referenced AndroidX leak.
Thank you for your effort to reopen this.
pe...@gmail.com <pe...@gmail.com> #14
PY Ricau, the guy behind LeakCanary, suggested that there is more to this, and that there are several actual leaks here. I will update this issue with more info as soon as I find some time, I'm in a bit of a crunch right now.
ma...@gmail.com <ma...@gmail.com> #15
The 3 LeakCanary leak reports that I attached above point at 2 distinct leaks that are still real, according to PY's analysis from the Github issue here:
Can these leaks be addressed, please?
MediaBrowserServiceCompat$ServiceHandler is an inner class of MediaBrowserServiceCompat (super class of CW) and it's there so that your service can respond to IPC callbacks. It extends Handler and is passed to a Messenger instance created by MediaBrowserServiceCompat in onCreate(), and that Messenger essentially pulls a Binder out of the Handler and passes that binder back to anything calling your service. In other words, every time something binds to your service, the thing that binds to your service is getting an indirect reference to the ServiceHandler which allows it to post messages to that handler which the service will eventually process. However, for this to work, the native framework code keeps a strong native reference locally to the binder until the calling service finalizes the ownership of the binder on its side.
This is actually a common leak pattern in the Android framework: binders are held until the other side runs garbage collection and finalizes the binder on its end, no matter what we're doing with service lifecycle (that's because binders are used beyond services, the only way to be certain the other side won't call is when it doesn't have that pointer). The proper way to handler this is for the service code to finish its handler in onDestroy, or set the reference from the handler to the service to null in onDestroy.
The first and second leak traces are identical, the problem is that MediaBrowserServiceCompat$ServiceHandler has several direct and indirect references to the service.
The last leak is the exact same issue elsewhere, ExtraSession is a stub that won't be GCed until the other side has run its own GC
https://github.com/aosp-mirror/platform_frameworks_support/blob/a9ac247af2afd4115c3eb6d16c05bc92737d6305/media/src/main/java/android/support/v4/media/session/MediaSessionCompat.java#L3413
So these 2 leaks are binder related leaks, and the leaks stay in place until a GC runs in the calling process, and you have no control over that. They really should be fixed.
en...@google.com <en...@google.com> #16
I've not been able to reproduce the leak on a device running Android 14 (UDC / API 34).
For unimportant reasons I had to build my own toy app from scratch (using
jm...@google.com <jm...@google.com> #17
In conclusion, I was able to reproduce on S (Android 12), but unable to reproduce the issue on T (Android 13) or U (Android 14). I'm attaching the project I used for testing in case you find anything wrong.
Can you use that project to reproduce the issue? If yes, we need to figure out what we are doing differently. Also please kindly include a bugreport (running adb bugreport
shortly after the leak is detected) if you are able to repro.
Please assign back to me once you've replied (if you are not able to, ignore).
ma...@gmail.com <ma...@gmail.com> #18
I've beefed up your example to make it repro the leaks that I attached in #12. I'll attach the updated example. The relevant changes were:
- Run service & receiver in separate process from Activity.
- Customize LeakCanary to support multiple processes.
- Add some additional media-related code to trigger a leak.
Even when not running the service in a separate process there is a leak in the Activity. I'll attach that one, too. May be a similar root cause. I have not investigated this one.
I am attaching the bugreport, too. I took it right after LeakCanary GC'ed and detected a leak. (About 5 seconds after onDestroy().) But it looks easy to reproduce now.
pr...@gmail.com <pr...@gmail.com> #19
(I did the repro on API 33)
wh...@gmail.com <wh...@gmail.com> #20
Also, I don't think non-Googlers are able to reassign an issue, so please take it from here.
al...@gmail.com <al...@gmail.com> #21
Thanks. Will provide an update in the next few days.
bl...@gmail.com <bl...@gmail.com> #22
Correct me if I'm wrong but the only issue we are aware that still exists is in MediaBrowserServiceCompat, right? (not in the platform MediaBrowserService)
I've sent
Once merged, you should just need to update your androidx.media dependency to pick up the fix.
pi...@gmail.com <pi...@gmail.com> #23
Thanks for the fix.
I'd think that MediaSessionCompat needs a similar fix, based on the leak traces (MediaBrowserServiceCompatLeak4.txt & MediaBrowserActivityLeak.txt) and PY's comments. You can repro MediaBrowserActivityLeak.txt by running the service in the same process as the Activity.
I'll ping PY about possibly chiming in on the code review.
ma...@gmail.com <ma...@gmail.com> #24
The change has now been merged. I'll now look into the media session compat issue, which seems to persist.
wa...@google.com <wa...@google.com> #25
Sorry for the late review. Not sure if you get notifications there, I left a comment:
TL;DR is that using weak refs isn't ideal, you could stick to a strong ref set to null from Service.onDestroy()
ap...@google.com <ap...@google.com> #26
Ack. Will implement the proposed fix.
li...@gmail.com <li...@gmail.com> #27
Есть ли утечка информации?
ya...@gmail.com <ya...@gmail.com> #28
Есть ли утечка информации?
According to translate: Is there any information leak?
No. This is a resources leak, no security issues here.
br...@gmail.com <br...@gmail.com> #29
Another fix for MediaSessionCompat...ExtraSession here:
Only one pending fix after this change is MediaSessionCompat...MediaSessionStub, after which I plan to mark this as fixed. Still, people should migrate to media3, but at least you can upgrade your MediaSessionCompat dep to get a quick fix of the leaks. Feel free to leave any comments here or in the patch.
ap...@google.com <ap...@google.com> #30
If there are more leaks to fix in androidx, please kindly file a fresh issue.
en...@google.com <en...@google.com> #31
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.media:media:1.7.0-beta01
o0...@gmail.com <o0...@gmail.com> #32
Hi im wondering if the leak happening in this issue on media3's issue tracker
is related to this.
By taking UAMP and having the MusicServiceConnection
be a Dagger @Singleton
, the MusicService
is leaked with a very similar stack trace that is exposed here, which contains only stacktraces from androidx.media
(until the MusicService
, that is):
====================================
HEAP ANALYSIS RESULT
====================================
1 APPLICATION LEAKS
References underlined with "~~~" are likely causes.
Learn more at https://squ.re/leaks.
43381 bytes retained by leaking objects
Signature: 80f093d135adc2b278b02ca2f66fbd46aaa36bea
┬───
│ GC Root: Global variable in native code
│
├─ android.support.v4.media.session.MediaSessionCompat$MediaSessionImplApi21$ExtraSession instance
│ Leaking: UNKNOWN
│ Retaining 6,7 MB in 1826 objects
│ ↓ MediaSessionCompat$MediaSessionImplApi21$ExtraSession.this$0
│ ~~~~~~
├─ android.support.v4.media.session.MediaSessionCompat$MediaSessionImplApi29 instance
│ Leaking: UNKNOWN
│ Retaining 6,7 MB in 1825 objects
│ ↓ MediaSessionCompat$MediaSessionImplApi21.mSessionFwk
│ ~~~~~~~~~~~
├─ android.media.session.MediaSession instance
│ Leaking: UNKNOWN
│ Retaining 1,8 kB in 12 objects
│ mContext instance of com.example.android.uamp.media.MusicService
│ ↓ MediaSession.mContext
│ ~~~~~~~~
╰→ com.example.android.uamp.media.MusicService instance
Leaking: YES (ObjectWatcher was watching this because com.example.android.uamp.media.MusicService received
Service#onDestroy() callback and Service not held by ActivityThread)
Retaining 43,4 kB in 896 objects
key = 11c50fab-5b0c-4267-8c51-ad235a51d861
watchDurationMillis = 5391
retainedDurationMillis = 390
mApplication instance of com.example.android.uamp.UampApplication
mBase instance of android.app.ContextImpl
====================================
`
I really dont see how using @Singleton
is any different from the default:
companion object {
// For Singleton instantiation.
@Volatile
private var instance: MusicServiceConnection? = null
fun getInstance(context: Context, serviceComponent: ComponentName) =
instance ?: synchronized(this) {
instance ?: MusicServiceConnection(context, serviceComponent)
.also { instance = it }
}
}
The issue can be reproduced on this branch of my fork of UAMP:
Which uses Dagger Hilt and removes Cast for simplification.
To reproduce:
- Open UAMP
- Play something
- Swipe the app away in the task manager
- Music Service is leaked.
From this point restarting UAMP also reveals the issue because nothing is loaded as there will be two MusicService instances.
jm...@google.com <jm...@google.com> #33
Also note that the example uses media 1.7.0 so fixes above should be included already.
ja...@gmail.com <ja...@gmail.com> #34
@ke...@gmail.com might be an issue with MediaSessionCompat, but we'll need a fresh ticket to look into this.
ja...@gmail.com <ja...@gmail.com> #35
Should I create that one then?
ma...@gmail.com <ma...@gmail.com> #36
n2...@gmail.com <n2...@gmail.com> #37
ma...@gmail.com <ma...@gmail.com> #38
n2...@gmail.com <n2...@gmail.com> #39
wa...@google.com <wa...@google.com> #40
chmod +x ./fastboot
Then you should be able to execute it:
./fastboot devices
ma...@gmail.com <ma...@gmail.com> #41
...
ERROR: usb_read failed with status e00002ed
FAILED (status read failed (Undefined error: 0))
finished. total time: 7.613s
wa...@google.com <wa...@google.com> #42
gr...@gmail.com <gr...@gmail.com> #43
And can't see my tablet.
Both, tablet and usb cable, are working fine on my windows.
lu...@gmail.com <lu...@gmail.com> #44
lu...@gmail.com <lu...@gmail.com> #45
ma...@gmail.com <ma...@gmail.com> #46
fe...@gmail.com <fe...@gmail.com> #47
ia...@gmail.com <ia...@gmail.com> #48
sh...@gmail.com <sh...@gmail.com> #49
[Deleted User] <[Deleted User]> #50
ju...@gmail.com <ju...@gmail.com> #51
(instead of ./fastboot, drag and drog the fastboot file from the folder to the terminal after chmod +x)
ju...@gmail.com <ju...@gmail.com> #52
ma...@gmail.com <ma...@gmail.com> #53
"""
wiping userdata...
/Users/Admin/Library/Android/sdk/platform-tools/mke2fs failed with status 1
mke2fs failed: 1
error: Cannot generate image for userdata
"""
is this error related to this issue?
ji...@google.com <ji...@google.com> #54
jm...@google.com <jm...@google.com> #55
ma...@gmail.com <ma...@gmail.com> #56
fe...@gmail.com <fe...@gmail.com> #57
gr...@gmail.com <gr...@gmail.com> #58
ab...@gmail.com <ab...@gmail.com> #59
6b...@gmail.com <6b...@gmail.com> #60
kn...@gmail.com <kn...@gmail.com> #61
ro...@gmail.com <ro...@gmail.com> #62
sr...@gmail.com <sr...@gmail.com> #63
Getting a similar error in adb
"adb E 12-06 00:49:22 16767 1879237 usb_osx.cpp:152] Unable to create an interface plug-in (e00002be)"
Anyway related?
fe...@gmail.com <fe...@gmail.com> #64
n2...@gmail.com <n2...@gmail.com> #65
Ive a;lo tried #40 and #63 but in #63. It was no fastboot to replace and still not working even after just putting it in afterward to /usr/local/bin location.
ja...@gmail.com <ja...@gmail.com> #66
n2...@gmail.com <n2...@gmail.com> #67
I'm used just a adb & fastboot files without installing plateform-tools and that's why I don't have the binary. Plus, I'm using the command ----->
Paste this into Terminal:
touch ~/.bash_profile; open ~/.bash_profile
Paste this into your text editor:
export PATH=${PATH}:/Applications/Android
making it able to use in any folder plus not having to use the command "./" in front.
For others reading, change /Applications/Android to where the files "adb and fastboot" are located.
tl...@fernandomiguel.net <tl...@fernandomiguel.net> #68
$ brew cask info android-platform-tools
android-platform-tools: 26.0.2
/usr/local/Caskroom/android-platform-tools/26.0.2 (1,831 files, 25.5MB)
en...@google.com <en...@google.com> #69
tl...@fernandomiguel.net <tl...@fernandomiguel.net> #70
en...@google.com <en...@google.com> #71
#### 27.0.0 (December 2017)
+ Combines the fastboot fixes from 26.0.1 for macOS 10.13 hosts and from
26.0.2 for Pixel 2 devices.
#### 26.0.2 (October 2017)
+ Add fastboot support for Pixel 2 devices. (But reintroduce the macOS 10.13
fastboot bug fixed in 26.0.1.)
al...@gmail.com <al...@gmail.com> #72
ca...@gmail.com <ca...@gmail.com> #73
I have MacOS High Sierra, and after connecting to a device remotely by calling adb connect 192.168.x.x it says "connected to device xxxx:port_number" but after that I cannot see any device connected and "adb devices" returns nothing.
Connecting over USB works just fine.
en...@google.com <en...@google.com> #74
ja...@gmail.com <ja...@gmail.com> #76
vi...@gmail.com <vi...@gmail.com> #77
ja...@gmail.com <ja...@gmail.com> #78
no...@gmail.com <no...@gmail.com> #79
va...@gmail.com <va...@gmail.com> #80
lu...@gmail.com <lu...@gmail.com> #81
ba...@gmail.com <ba...@gmail.com> #82
ce...@gmail.com <ce...@gmail.com> #83
t1...@gmail.com <t1...@gmail.com> #84
bo...@gmail.com <bo...@gmail.com> #85
ho...@gmail.com <ho...@gmail.com> #86
#6/
#80
ia...@gmail.com <ia...@gmail.com> #87
uc...@google.com <uc...@google.com> #88
please provide below info if this issue reproduces again
1. Host operating system version details
2. SDK Platform tools version
3. ./fastboot --version
4. Android device details
bl...@gmail.com <bl...@gmail.com> #89
1. OSX version: 10.13.3
2. SDK Platform tools version 27.0.1
3. ./fastboot --version: 0.0.1-4500957
4. Android device: Amazfit Stratos Watch 2, (device enters in fastboot mode but it is not listed using ./fastboot devices)
ma...@gmail.com <ma...@gmail.com> #90
2. SKD Platform tools version 27.0.1
3. fastboot versions:
- 27.0.0-4455170
- 9dc0875966c0-android
- 0.0.1-4500957
4. Android device: Amazfit Stratos Watch 2, (device enters in fastboot mode but it is not listed using ./fastboot devices)
va...@gmail.com <va...@gmail.com> #91
SDK Platform tools version 27.0.1
./fastboot --version
fastboot version 0.0.1-4500957
./fastboot devices
- no devices
Android device: ASUS Zenpad Z170C (Android 5.0.1)
fr...@gmail.com <fr...@gmail.com> #92
platform-tools_r27.0.1-darwin
LG G3 Europe (lg-d855)
fastboot --version
fastboot version 0.0.1-4500957
Installed as /Users/toto/Documents/lg/platform-tools/fastboot
Toto:platform-tools toto$ fastboot devices
Toto:platform-tools toto$
(no output)
./adb devices works fine
va...@gmail.com <va...@gmail.com> #93
are you going to fix that? Thanks! :)
en...@google.com <en...@google.com> #94
va...@gmail.com <va...@gmail.com> #95
Then we restart the device in fastboot mode: doesn't work.
Really Google can't solve that issue?! :)
wf...@gmail.com <wf...@gmail.com> #96
OSX 10.13.4 (17E202)
SDK Platform tools version 27.0.1
fastboot version 0.0.1-4500957
OnePlus 3T running Android 8.0.0
be...@gmail.com <be...@gmail.com> #97
su...@gmail.com <su...@gmail.com> #98
ss...@gmail.com <ss...@gmail.com> #99
wi...@gmail.com <wi...@gmail.com> #100
ru...@gmail.com <ru...@gmail.com> #101
OSX 10.13.5 (17F77)
SDK platform-tools_r28.0.0-darwin
fastboot version 28.0.0-4797878
Galaxy s6 | Android 7
ga...@gmail.com <ga...@gmail.com> #102
ga...@gmail.com <ga...@gmail.com> #103
Come on Google do something about it !!!
al...@demyo.com <al...@demyo.com> #104
sh-3.2# ./fastboot devices
ERROR: Unable to create a plug-in (e00002be)
da...@gmail.com <da...@gmail.com> #105
da...@gmail.com <da...@gmail.com> #106
ma...@gmail.com <ma...@gmail.com> #107
fastboot version
ed...@gmail.com <ed...@gmail.com> #108
ku...@gmail.com <ku...@gmail.com> #109
[Deleted User] <[Deleted User]> #110
ra...@gmail.com <ra...@gmail.com> #111
ra...@gmail.com <ra...@gmail.com> #112
dr...@gmail.com <dr...@gmail.com> #113
dr...@gmail.com <dr...@gmail.com> #114
sa...@gmail.com <sa...@gmail.com> #115
th...@gmail.com <th...@gmail.com> #116
1. OSX version: 10.14.2
2. SKD Platform tools version: n/a (using fastboot light install)
3. fastboot version:
- 28.0.1-4986621
4. Android device: Nvidia Shield TV
zl...@gmail.com <zl...@gmail.com> #117
ERROR: Couldn't create a device interface iterator: (e00002bd)
ERROR: Couldn't create a device interface iterator: (e00002bd)
ERROR: Couldn't create a device interface iterator: (e00002bd)
1. OSX version: 10.14.2
2. SKD Platform tools version: n/a (using fastboot light install)
3. fastboot version:
- 28.0.1-4986621
4. android device: anything, does not matter.
zl...@gmail.com <zl...@gmail.com> #118
OSX Version: 10.14.4 Beta (18E194d)
sh...@gmail.com <sh...@gmail.com> #119
ca...@gmail.com <ca...@gmail.com> #120
va...@gmail.com <va...@gmail.com> #121
Darwin Kernel Version 18.5.0; root:xnu-4903.251.3~3/RELEASE_X86_64 x86_64
Every fastboot command returns:
ERROR: Couldn't create a device interface iterator: (e00002bd)
ma...@gmail.com <ma...@gmail.com> #122
Tried multiple versions of fastboot and it has the same issue.
ko...@gmail.com <ko...@gmail.com> #123
$ fastboot devices
ERROR: Couldn't create a device interface iterator: (e00002bd)
macOS: 10.14.4
fastboot: 28.0.2-5303910
wa...@embest.net <wa...@embest.net> #124
ERROR: Couldn't create a device interface iterator: (e00002bd)
ERROR: Couldn't create a device interface iterator: (e00002bd)
ERROR: Couldn't create a device interface iterator: (e00002bd)
ERROR: Couldn't create a device interface iterator: (e00002bd)
➜ ~ fastboot --version
fastboot version 28.0.2-5303910
ay...@gmail.com <ay...@gmail.com> #125
$ fastboot devices
ERROR: Couldn't create a device interface iterator: (e00002bd)
ym...@gmail.com <ym...@gmail.com> #126
ma...@gmail.com <ma...@gmail.com> #127
fastboot version 28.0.2-5303910
~/Downloads/crosshatch-pq2a.190405.003 ᐅ fastboot devices
ERROR: Couldn't create a device interface iterator: (e00002bd)
ERROR: Couldn't create a device interface iterator: (e00002bd)
{my_device_id} fastboot
Still seeing the same kernel console output:
`default 22:37:38.850733 -0700 kernel 495549.216174 fastboot@(null): IOUSBUserClientLegacy::start: missing entitlement com.apple.ibridge.control`
I'm guessing not _everyone_ is seeing this, else it'd be a higher sev/pri?
fr...@gmail.com <fr...@gmail.com> #129
fastboot@(null): IOUSBUserClientLegacy::start: missing entitlement com.apple.ibridge.control
fr...@gmail.com <fr...@gmail.com> #130
[Deleted User] <[Deleted User]> #131
th...@gmail.com <th...@gmail.com> #132
Status
Fixed
?
le...@google.com <le...@google.com> #133
Observing the same error while flashing on MAC Sierra ERROR: Couldn't create a device interface iterator: (e00002bd)
wo...@gmail.com <wo...@gmail.com> #134
welp.
le...@gmail.com <le...@gmail.com> #135
Version 28.0.3-5475833
Installed as /Users/lengxianfeng/Library/Android/sdk/platform-tools/adb
~/Library/Android/sdk/platform-tools/adb nodaemon server
adb E 06-05 11:10:31 23487 106568 usb_osx.cpp:159] Unable to create an interface plug-in (e00002be)
Terminated: 15
ko...@gmail.com <ko...@gmail.com> #136
it...@gmail.com <it...@gmail.com> #137
4c...@gmail.com <4c...@gmail.com> #138
ja...@gmail.com <ja...@gmail.com> #139
fo...@gmail.com <fo...@gmail.com> #140
fo...@gmail.com <fo...@gmail.com> #141
ig...@gmail.com <ig...@gmail.com> #142
Version 29.0.4-5871666
Installed as /Users/####/Library/Android/sdk/platform-tools/adb
adb E 10-29 10:24:48 22256 240260 usb_osx.cpp:159] Unable to create an interface plug-in (e00002be)
adb E 10-29 10:24:48 22256 240260 usb_osx.cpp:206] Unable to create a device plug-in (e00002be)
on macOS 10.15
kt...@gmail.com <kt...@gmail.com> #143
Io
Description
ERROR: Unable to create a plug-in (e00002be)
When looking at the logs for the kernel I see this:
057562.289317 fastboot@(null): IOUSBUserClientLegacy::start: missing entitlement com.apple.ibridge.control
Running against a Pixel XL. Also occasionally get the same from adb shell, though usually can still connect (though not always annoyingly).
Perhaps macOS now requires the specific entitlement to access the USB?