Assigned
Status Update
Comments
vi...@google.com <vi...@google.com> #2
Thank you for reporting this issue. For us to further investigate this issue, please provide the following additional information:
Which Android build are you using? (e.g. AP4A.241205.013.A1)
Can you confirm if this issue is reproducible on a Pixel/Nexus device?
Can you provide the API document where this expected behavior is explained?
Android bug report (to be captured after reproducing the issue)
For steps to capture a bug report, please refer:https://developer.android.com/studio/debug/bug-report#bugreportdevice
Alternate method
Navigate to “Developer options”, ensure “USB debugging” is enabled, then enable “Bug report shortcut”. Capture bug report by holding the power button and selecting the “Take bug report” option.
Note: Please upload the bug report and screenshot to google drive and share the folder to android-bugreport@google.com, then share the link here.
Which Android build are you using? (e.g. AP4A.241205.013.A1)
Can you confirm if this issue is reproducible on a Pixel/Nexus device?
Can you provide the API document where this expected behavior is explained?
Android bug report (to be captured after reproducing the issue)
For steps to capture a bug report, please refer:
Alternate method
Navigate to “Developer options”, ensure “USB debugging” is enabled, then enable “Bug report shortcut”. Capture bug report by holding the power button and selecting the “Take bug report” option.
Note: Please upload the bug report and screenshot to google drive and share the folder to android-bugreport@google.com, then share the link here.
Description
Dear Google,
We need a help on vendor component does not release after the mediaserver terminated by the vold process.
Reproduce Information
Android Source: android-13.0.0_r83
platform/frameworks/av: revision 95be9bad234d69f4a8ded5ee72b60315b1353098
platform/system/vold: revision cff5efa2106c322f6fb674b38c2fbdfff839a467
Device: Thumb Drive: SanDisk Extreme 3.0 32GB
Others: A media player app with implementing Vendor components.
Reproduction Steps
Plugging and unplugging the thumb drive with containing a media.
plug-in un-plug plug-in | ----------5 secs -------|--------- 3 secs -------|
Media: AVC 30fps HD(1280 x720), AAC 44.1Khz 128kbps, in MP4
Problem Description
While playing media content from a thumb drive, it occasionally fails to call the HIDL Component::release() function after the mediaserver process is killed by the vold process, which occurs after unplugging the thumb drive. It appears that this issue also affects the vendor component, which implements SimpleC2Component and does not perform the
onRelease()
function.Expected Result
When the vold process kills the mediaserver by unplugging the thumb drive, the vendor component’s
onRelease()
function should be called properly for the component destruction.Actual Result
The vold process kills the mediaserver process; however, the Codec2-Component@1.2 does not do
release()
, neither vendor componentonRelease()
even after a new component is created. We attached a snippet of the log.Issues to Address
Is there any way to figure out this problem? or any suggestion would be great.
Thanks
Best regards