Status Update
Comments
ra...@google.com <ra...@google.com> #2
Just a heads up that this is still a problem. Are you open to accept external PRs to solve this?
wo...@gmail.com <wo...@gmail.com> #3 Restricted+
wo...@gmail.com <wo...@gmail.com> #4
wo...@gmail.com <wo...@gmail.com> #5 Restricted+
wo...@gmail.com <wo...@gmail.com> #6
regarding
, do you need per-ABI preBuild hooks like preDebugBuild[x86_64] before you're unblocked? comment#13
Thanks for the follow up.
I'd say that depending on preBuild
would be the minimum requirement, as those tasks have no dependencies at all at the moment.
If you could properly let them depend on the build-variant preBuild tasks (i.e. preDebugBuild
), would be great.
per-ABI hooks feel unnecessary to me.
ra...@google.com <ra...@google.com> #7
This seems fixed for me btw in
- Tasks:
clean
andassembleDebug
- ABIs: All 4 default and single ones like
x86_64
- OS: MacOS 12.3-12.4Beta2 (local dev) and
(CI Flow with GitHub Actions)Ubuntu 20.04.4 - Version of Java: Temurin 11, Temurin 18, OpenJDK 18 locally, etc
- Version of Gradle: 7.3.3, 7.5 nightly (20220331233901)
- Version of SDK Build Tools: 31.0.0
- Version of NDK: 24.0.8215888, 25.0.8221429 rc2
Looking solid, lemme kno if worth identifying the
Full details including repro and logs
lu...@bitmovin.com <lu...@bitmovin.com> #9
Dear Google team, is there any update on this issue please? We are keen to understand the root cause of this crash. We are hoping that could give us some direction about preventing this from happening by tweaking something in the app/player.
ra...@google.com <ra...@google.com>
ns...@google.com <ns...@google.com>
lu...@bitmovin.com <lu...@bitmovin.com> #10
Dear Google Team, is there any update on this issue please or an ETA by when this will be investigated?
ch...@google.com <ch...@google.com> #11
This issue was reported in T, but no longer see it in later builds. We're unsure what may have changed since there has been significant changes and refactors internally since T. As of now, there's no additional work that is backported to T and since it's no longer happening in U, there doesn't appear to be anything left to fix
lu...@gmail.com <lu...@gmail.com> #12
ch...@google.com <ch...@google.com> #13
We are unsure why it was happening or why it no longer happens. That stack trace indicates an unsychronized access to the transaction, but nothing we can see is unsynchronized in those blocks nor anywhere else using that transaction object.
lu...@bitmovin.com <lu...@bitmovin.com> #14
Thanks for the feedback. To be sure that I understood the status correctly, can you please confirm below understanding.
- Google team found the issue to happen in Android 13 but not in Android 14 builds.
- It could not be identified which exact change in Android 14 could have fixed the issue as there have been several changes and refactors since Android 13.
ch...@google.com <ch...@google.com> #15
Yes that's correct
ja...@gmail.com <ja...@gmail.com> #16
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 9215 >>> com.myapplication <<<
backtrace:
#00 pc 0x0000007616a5e1f0
#01 pc 0x00000000000bbcac /system/lib64/libgui.so (android::BLASTBufferQueue::acquireNextBufferLocked(std::__1::optional<android::SurfaceComposerClient::Transaction*>)+1420)
#02 pc 0x00000000000beaf4 /system/lib64/libgui.so (android::BLASTBufferQueue::onFrameAvailable(android::BufferItem const&)+1588)
#03 pc 0x00000000000cc48c /system/lib64/libgui.so (android::ConsumerBase::onFrameAvailable(android::BufferItem const&)+172)
#04 pc 0x0000000000098e28 /system/lib64/libgui.so (android::BufferQueue::ProxyConsumerListener::onFrameAvailable(android::BufferItem const&)+104)
#05 pc 0x00000000000a55e8 /system/lib64/libgui.so (android::BufferQueueProducer::queueBuffer(int, android::IGraphicBufferProducer::QueueBufferInput const&, android::IGraphicBufferProducer::QueueBufferOutput*)+2984)
#06 pc 0x00000000001080a4 /system/lib64/libgui.so (android::Surface::queueBuffer(ANativeWindowBuffer*, int)+1252)
#07 pc 0x000000000078abdc /vendor/lib64/egl/libGLES_mali.so
#08 pc 0x000000000079cc20 /vendor/lib64/egl/libGLES_mali.so
#09 pc 0x000000000079c09c /vendor/lib64/egl/libGLES_mali.so
#10 pc 0x00000000000205bc /system/lib64/libEGL.so (android::eglSwapBuffersWithDamageKHRImpl(void*, void*, int*, int)+476)
#11 pc 0x000000000001cbb8 /system/lib64/libEGL.so (eglSwapBuffersWithDamageKHR+72)
#12 pc 0x000000000032f4e8 /data/app/~~t8zB1OY7_o6sGL3stJJ4Eg==/com.myapplication-ceixkrx_F-NXDIqt8azoDw==/split_config.arm64_v8a.apk!libflutter.so (BuildId: eaca0879186acf24b2d85d5234cde153c1e45e5c)
#13 pc 0x00000000006b3c90 /data/app/~~t8zB1OY7_o6sGL3stJJ4Eg==/com.myapplication-ceixkrx_F-NXDIqt8azoDw==/split_config.arm64_v8a.apk!libflutter.so (BuildId: eaca0879186acf24b2d85d5234cde153c1e45e5c)
#14 pc 0x00000000005a65fc /data/app/~~t8zB1OY7_o6sGL3stJJ4Eg==/com.myapplication-ceixkrx_F-NXDIqt8azoDw==/split_config.arm64_v8a.apk!libflutter.so (BuildId: eaca0879186acf24b2d85d5234cde153c1e45e5c)
#15 pc 0x00000000005ab3a8 /data/app/~~t8zB1OY7_o6sGL3stJJ4Eg==/com.myapplication-ceixkrx_F-NXDIqt8azoDw==/split_config.arm64_v8a.apk!libflutter.so (BuildId: eaca0879186acf24b2d85d5234cde153c1e45e5c)
#16 pc 0x00000000005aaec8 /data/app/~~t8zB1OY7_o6sGL3stJJ4Eg==/com.myapplication-ceixkrx_F-NXDIqt8azoDw==/split_config.arm64_v8a.apk!libflutter.so (BuildId: eaca0879186acf24b2d85d5234cde153c1e45e5c)
#17 pc 0x00000000005abce4 /data/app/~~t8zB1OY7_o6sGL3stJJ4Eg==/com.myapplication-ceixkrx_F-NXDIqt8azoDw==/split_config.arm64_v8a.apk!libflutter.so (BuildId: eaca0879186acf24b2d85d5234cde153c1e45e5c)
#18 pc 0x00000000005ab72c /data/app/~~t8zB1OY7_o6sGL3stJJ4Eg==/com.myapplication-ceixkrx_F-NXDIqt8azoDw==/split_config.arm64_v8a.apk!libflutter.so (BuildId: eaca0879186acf24b2d85d5234cde153c1e45e5c)
#19 pc 0x00000000005b86b8 /data/app/~~t8zB1OY7_o6sGL3stJJ4Eg==/com.myapplication-ceixkrx_F-NXDIqt8azoDw==/split_config.arm64_v8a.apk!libflutter.so (BuildId: eaca0879186acf24b2d85d5234cde153c1e45e5c)
#20 pc 0x000000000034cb30 /data/app/~~t8zB1OY7_o6sGL3stJJ4Eg==/com.myapplication-ceixkrx_F-NXDIqt8azoDw==/split_config.arm64_v8a.apk!libflutter.so (BuildId: eaca0879186acf24b2d85d5234cde153c1e45e5c)
#21 pc 0x000000000034ff44 /data/app/~~t8zB1OY7_o6sGL3stJJ4Eg==/com.myapplication-ceixkrx_F-NXDIqt8azoDw==/split_config.arm64_v8a.apk!libflutter.so (BuildId: eaca0879186acf24b2d85d5234cde153c1e45e5c)
#22 pc 0x0000000000018224 /system/lib64/libutils.so (android::Looper::pollInner(int)+1060)
#23 pc 0x0000000000017da0 /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112)
#24 pc 0x00000000000185e4 /system/lib64/libandroid.so (ALooper_pollOnce+100)
#25 pc 0x0000000000350050 /data/app/~~t8zB1OY7_o6sGL3stJJ4Eg==/com.myapplication-ceixkrx_F-NXDIqt8azoDw==/split_config.arm64_v8a.apk!libflutter.so (BuildId: eaca0879186acf24b2d85d5234cde153c1e45e5c)
#26 pc 0x000000000034e6b4 /data/app/~~t8zB1OY7_o6sGL3stJJ4Eg==/com.myapplication-ceixkrx_F-NXDIqt8azoDw==/split_config.arm64_v8a.apk!libflutter.so (BuildId: eaca0879186acf24b2d85d5234cde153c1e45e5c)
#27 pc 0x00000000000c1b40 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+224)
#28 pc 0x0000000000054f20 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
Description
We are observing following crash issues when using SurfaceView to playback video on Android 13 devices. One of the scenarios where we are able to replicate the crash is when frequently changing orientation from portrait to landscape and vice-a-vera. Google crash report for the app shows a large number of users impacted(screenshots are attached) so we believe there are other more nominal scenarios as well causing this behaviour. We found an old report( https://issuetracker.google.com/issues/139111930 ) with similar crash which was supposed to be fixed earlier.
A few more observations.
Pls see screenshot for crash stats and list of devices athttps://drive.google.com/drive/folders/1xQEivXBpCdvcq7UCHOb8gnaw9cetcL4d?usp=sharing
Please let me know if any more information is required to investigate this issue.
Stack trace 1 :
Stack trace 2 :