Open WingCH opened 2 years ago
Issue is reproducible on stable
and master
.
It looks like https://github.com/flutter/flutter/issues/45243 was not properly tested before it was closed (that's my bad), so this is likely not a regression.
The issue only appears when the Webview is wrapped in a Scrollable of some kind.
This issue also occurs when using either Virtual Display or Hybrid Composition.
Labeling for further investigation.
This is a common business scenario, please pay attention to it.
I have same question,who can ask
There is no solution for now, It is recommended to avoid scroll + webview + footer layout.
same to https://github.com/flutter/flutter/issues/45243, but problem still here iOS platform is normally, only crash in Android platform
video:
https://user-images.githubusercontent.com/19588517/177002579-b26ee0ba-17fc-49db-ac6a-46267e8b6edc.mp4
Steps to Reproduce
flutter run
on the code sample in Android platformExpected results:
Actual results:
Code sample
```dart class Example1Page extends StatefulWidget { const Example1Page({Key? key}) : super(key: key); @override StateLogs
``` Launching lib/main.dart on Pixel 6 in debug mode... Running Gradle task 'assembleDebug'... ✓ Built build/app/outputs/flutter-apk/app-debug.apk. Installing build/app/outputs/flutter-apk/app.apk... Debug service listening on ws://127.0.0.1:51723/T6vubx3qsPs=/ws Syncing files to device Pixel 6... D/CompatibilityChangeReporter(20731): Compat change id reported: 171228096; UID 10576; state: ENABLED W/ple.webview_mix(20731): Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (unsupported, reflection, allowed) W/cr_media(20731): Requires BLUETOOTH permission E/FrameEvents(20731): updateAcquireFence: Did not find frame. D/CompatibilityChangeReporter(20731): Compat change id reported: 193247900; UID 10576; state: DISABLED E/SurfaceSyncer(20731): Failed to find sync for id=0 E/FrameEvents(20731): updateAcquireFence: Did not find frame. E/FrameEvents(20731): updateAcquireFence: Did not find frame. I/flutter (20731): height: 11220.0 E/FrameEvents(20731): updateAcquireFence: Did not find frame. E/FrameEvents(20731): updateAcquireFence: Did not find frame. E/FrameEvents(20731): updateAcquireFence: Did not find frame. I/cr_MediaCodecBridge(20731): create MediaCodec video decoder, mime video/avc D/MediaCodecList(20731): codecHandlesFormat: no format, so no extra checks D/MediaCodecList(20731): codecHandlesFormat: no format, so no extra checks E/FrameEvents(20731): updateAcquireFence: Did not find frame. D/CCodec (20731): allocate(c2.exynos.h264.decoder) I/Codec2Client(20731): Available Codec2 services: "default" "default1" "software" I/CCodec (20731): setting up 'default' as default (vendor) store I/CCodec (20731): Created component [c2.exynos.h264.decoder] D/CCodecConfig(20731): read media type: video/avc D/ReflectedParamUpdater(20731): extent() != 1 for single value type: output.subscribed-indices.values D/ReflectedParamUpdater(20731): extent() != 1 for single value type: input.buffers.allocator-ids.values D/ReflectedParamUpdater(20731): extent() != 1 for single value type: output.buffers.allocator-ids.values D/ReflectedParamUpdater(20731): extent() != 1 for single value type: output.buffers.pool-ids.values D/ReflectedParamUpdater(20731): ignored struct field coded.color-format.locations D/CCodecConfig(20731): ignoring local param raw.size (0xd2001800) as it is already supported D/CCodecConfig(20731): ignoring local param default.color (0x5200180b) as it is already supported D/ReflectedParamUpdater(20731): ignored struct field raw.hdr-static-info.mastering I/CCodecConfig(20731): query failed after returning 14 values (BAD_INDEX) D/CCodecConfig(20731): c2 config diff is Dict { D/CCodecConfig(20731): c2::i32 algo.priority.value = 0 D/CCodecConfig(20731): c2::float algo.rate.value = 0 D/CCodecConfig(20731): c2::u32 coded.pl.level = 20496 D/CCodecConfig(20731): c2::u32 coded.pl.profile = 20481 D/CCodecConfig(20731): c2::u32 coded.vui.color.matrix = 0 D/CCodecConfig(20731): c2::u32 coded.vui.color.primaries = 0 D/CCodecConfig(20731): c2::u32 coded.vui.color.range = 0 D/CCodecConfig(20731): c2::u32 coded.vui.color.transfer = 0 D/CCodecConfig(20731): c2::u32 default.color.matrix = 0 D/CCodecConfig(20731): c2::u32 default.color.primaries = 0 D/CCodecConfig(20731): c2::u32 default.color.range = 0 D/CCodecConfig(20731): c2::u32 default.color.transfer = 0 D/CCodecConfig(20731): c2::u32 input.buffers.max-size.value = 7340032 D/CCodecConfig(20731): string input.media-type.value = "video/avc" D/CCodecConfig(20731): c2::u32 output.delay.value = 8 D/CCodecConfig(20731): string output.media-type.value = "video/raw" D/CCodecConfig(20731): c2::u32 raw.color.matrix = 0 D/CCodecConfig(20731): c2::u32 raw.color.primaries = 0 D/CCodecConfig(20731): c2::u32 raw.color.range = 0 D/CCodecConfig(20731): c2::u32 raw.color.transfer = 0 D/CCodecConfig(20731): c2::float raw.hdr-static-info.max-cll = 0 D/CCodecConfig(20731): c2::float raw.hdr-static-info.max-fall = 0 D/CCodecConfig(20731): c2::u32 raw.max-size.height = 240 D/CCodecConfig(20731): c2::u32 raw.max-size.width = 320 D/CCodecConfig(20731): c2::u32 raw.pixel-format.value = 34 D/CCodecConfig(20731): c2::i32 raw.rotation.flip = 0 D/CCodecConfig(20731): c2::i32 raw.rotation.value = 0 D/CCodecConfig(20731): W/ColorUtils(20731): expected specified color aspects (0:0:0:0) I/MediaCodec(20731): MediaCodec will operate in async mode D/SurfaceUtils(20731): connecting to surface 0xb4000070005862e0, reason connectToSurface I/MediaCodec(20731): [c2.exynos.h264.decoder] setting surface generation to 21228545 D/SurfaceUtils(20731): disconnecting from surface 0xb4000070005862e0, reason connectToSurface(reconnect) D/SurfaceUtils(20731): connecting to surface 0xb4000070005862e0, reason connectToSurface(reconnect) D/CCodec (20731): [c2.exynos.h264.decoder] buffers are bound to CCodec for this session D/CCodecConfig(20731): no c2 equivalents for csd-1 D/CCodecConfig(20731): no c2 equivalents for native-window D/CCodecConfig(20731): no c2 equivalents for flags D/CCodecConfig(20731): c2 config diff is c2::u32 raw.max-size.height = 1080 D/CCodecConfig(20731): c2::u32 raw.max-size.width = 1632 D/CCodecConfig(20731): c2::u32 raw.size.height = 1080 D/CCodecConfig(20731): c2::u32 raw.size.width = 1632 W/Codec2Client(20731): query -- param skipped: index = 1107298332. D/CCodec (20731): client requested max input size 1331712, which is smaller than what component recommended (7340032); overriding with component recommendation. W/CCodec (20731): This behavior is subject to change. It is recommended that app developers double check whether the requested max input size is in reasonable range. D/CCodec (20731): encoding statistics level = 0 D/CCodec (20731): setup formats input: AMessage(what = 0x00000000) = { D/CCodec (20731): int32_t height = 1080 D/CCodec (20731): int32_t level = 65536 D/CCodec (20731): int32_t max-input-size = 7340032 D/CCodec (20731): string mime = "video/avc" D/CCodec (20731): int32_t priority = 0 D/CCodec (20731): int32_t profile = 65536 D/CCodec (20731): int32_t width = 1632 D/CCodec (20731): Rect crop(0, 0, 1631, 1079) D/CCodec (20731): } D/CCodec (20731): setup formats output: AMessage(what = 0x00000000) = { D/CCodec (20731): int32_t android._color-format = 2130708361 D/CCodec (20731): int32_t android._video-scaling = 1 D/CCodec (20731): int32_t rotation-degrees = 0 D/CCodec (20731): int32_t color-standard = 1 D/CCodec (20731): int32_t color-range = 2 D/CCodec (20731): int32_t color-transfer = 3 D/CCodec (20731): float cta861.max-cll = 0.000000 D/CCodec (20731): float cta861.max-fall = 0.000000 D/CCodec (20731): int32_t sar-height = 1 D/CCodec (20731): int32_t sar-width = 1 D/CCodec (20731): Rect crop(0, 0, 1631, 1079) D/CCodec (20731): int32_t width = 1632 D/CCodec (20731): int32_t height = 1080 D/CCodec (20731): int32_t max-height = 1080 D/CCodec (20731): int32_t max-width = 1632 D/CCodec (20731): string mime = "video/raw" D/CCodec (20731): int32_t priority = 0 D/CCodec (20731): int32_t android._dataspace = 260 D/CCodec (20731): int32_t color-format = 2130708361 D/CCodec (20731): } I/CCodecConfig(20731): query failed after returning 14 values (BAD_INDEX) D/MediaCodec(20731): keep callback message for reclaim W/Codec2Client(20731): query -- param skipped: index = 1073743886. W/Codec2Client(20731): query -- param skipped: index = 1610614798. W/Codec2Client(20731): query -- param skipped: index = 2684356609. D/C2Store (20731): debug.c2.use_dmabufheaps set, forcing DMABUF Heaps D/C2Store (20731): Using DMABUF Heaps D/CCodecBufferChannel(20731): [c2.exynos.h264.decoder#826] Created input block pool with allocatorID 16 => poolID 17 - OK (0) I/CCodecBufferChannel(20731): [c2.exynos.h264.decoder#826] Created output block pool with allocatorID 18 => poolID 133 - OK D/CCodecBufferChannel(20731): [c2.exynos.h264.decoder#826] Configured output block pool ids 133 => OK D/Codec2-OutputBufferQueue(20731): remote graphic buffer migration 0/0 D/Codec2Client(20731): setOutputSurface -- failed to set consumer usage (6/BAD_INDEX) D/Codec2Client(20731): setOutputSurface -- generation=21228545 consumer usage=0x900 D/Codec2Client(20731): Surface configure completed I/DMABUFHEAPS(20731): Using DMA-BUF heap named: system I/cr_MediaCodecBridge(20731): create MediaCodec video decoder, mime video/avc D/MediaCodecList(20731): codecHandlesFormat: no format, so no extra checks D/MediaCodecList(20731): codecHandlesFormat: no format, so no extra checks D/CCodec (20731): allocate(c2.exynos.h264.decoder) I/CCodec (20731): setting up 'default' as default (vendor) store D/CCodecConfig(20731): c2 config diff is c2::u32 output.delay.value = 9 I/CCodec (20731): Created component [c2.exynos.h264.decoder] D/Codec2-OutputBufferQueue(20731): set max dequeue count 16 from update D/CCodecConfig(20731): read media type: video/avc D/ReflectedParamUpdater(20731): extent() != 1 for single value type: output.subscribed-indices.values D/CCodecBufferChannel(20731): [c2.exynos.h264.decoder#826] Ignoring stale input buffer done callback: last flush index = 0, frameIndex = 0 D/Codec2-OutputBufferQueue(20731): set max dequeue count 16 from update D/ReflectedParamUpdater(20731): extent() != 1 for single value type: input.buffers.allocator-ids.values D/Codec2-OutputBufferQueue(20731): set max dequeue count 16 from update D/ReflectedParamUpdater(20731): extent() != 1 for single value type: output.buffers.allocator-ids.values D/ReflectedParamUpdater(20731): extent() != 1 for single value type: output.buffers.pool-ids.values D/ReflectedParamUpdater(20731): ignored struct field coded.color-format.locations D/CCodecConfig(20731): c2 config diff is c2::u32 raw.crop.height = 1080 D/CCodecConfig(20731): c2::u32 raw.crop.left = 0 D/CCodecConfig(20731): c2::u32 raw.crop.top = 0 D/CCodecConfig(20731): c2::u32 raw.crop.width = 1632 D/CCodecConfig(20731): c2::u32 raw.max-size.height = 1088 D/CCodecConfig(20731): c2::u32 raw.size.height = 1088 D/CCodecBuffers(20731): [c2.exynos.h264.decoder#826:2D-Output] popFromStashAndRegister: at 0us, output format changed to AMessage(what = 0x00000000) = { D/CCodecBuffers(20731): int32_t android._color-format = 2130708361 D/CCodecBuffers(20731): int32_t android._video-scaling = 1 D/CCodecBuffers(20731): int32_t rotation-degrees = 0 D/CCodecBuffers(20731): int32_t color-standard = 1 D/CCodecBuffers(20731): int32_t color-range = 2 D/CCodecBuffers(20731): int32_t color-transfer = 3 D/CCodecBuffers(20731): float cta861.max-cll = 0.000000 D/CCodecBuffers(20731): float cta861.max-fall = 0.000000 D/CCodecBuffers(20731): int32_t sar-height = 1 D/CCodecBuffers(20731): int32_t sar-width = 1 D/CCodecBuffers(20731): Rect crop(0, 0, 1631, 1079) D/CCodecBuffers(20731): int32_t width = 1632 D/CCodecBuffers(20731): int32_t height = 1088 D/CCodecBuffers(20731): int32_t max-height = 1088 D/CCodecBuffers(20731): int32_t max-width = 1632 D/CCodecBuffers(20731): string mime = "video/raw" D/CCodecBuffers(20731): int32_t priority = 0 D/CCodecBuffers(20731): int32_t android._dataspace = 260 D/CCodecBuffers(20731): int32_t color-format = 2130708361 D/CCodecBuffers(20731): } D/CCodecConfig(20731): ignoring local param raw.size (0xd2001800) as it is already supported D/CCodecConfig(20731): ignoring local param default.color (0x5200180b) as it is already supported D/ReflectedParamUpdater(20731): ignored struct field raw.hdr-static-info.mastering I/CCodecConfig(20731): query failed after returning 14 values (BAD_INDEX) D/CCodecConfig(20731): c2 config diff is Dict { D/CCodecConfig(20731): c2::i32 algo.priority.value = 0 D/CCodecConfig(20731): c2::float algo.rate.value = 0 D/CCodecConfig(20731): c2::u32 coded.pl.level = 20496 D/CCodecConfig(20731): c2::u32 coded.pl.profile = 20481 D/CCodecConfig(20731): c2::u32 coded.vui.color.matrix = 0 D/CCodecConfig(20731): c2::u32 coded.vui.color.primaries = 0 D/CCodecConfig(20731): c2::u32 coded.vui.color.range = 0 D/CCodecConfig(20731): c2::u32 coded.vui.color.transfer = 0 D/CCodecConfig(20731): c2::u32 default.color.matrix = 0 D/CCodecConfig(20731): c2::u32 default.color.primaries = 0 D/CCodecConfig(20731): c2::u32 default.color.range = 0 D/CCodecConfig(20731): c2::u32 default.color.transfer = 0 D/CCodecConfig(20731): c2::u32 input.buffers.max-size.value = 7340032 D/CCodecConfig(20731): string input.media-type.value = "video/avc" D/CCodecConfig(20731): c2::u32 output.delay.value = 8 D/CCodecConfig(20731): string output.media-type.value = "video/raw" D/CCodecConfig(20731): c2::u32 raw.color.matrix = 0 D/CCodecConfig(20731): c2::u32 raw.color.primaries = 0 D/CCodecConfig(20731): c2::u32 raw.color.range = 0 D/CCodecConfig(20731): c2::u32 raw.color.transfer = 0 D/CCodecConfig(20731): c2::float raw.hdr-static-info.max-cll = 0 D/CCodecConfig(20731): c2::float raw.hdr-static-info.max-fall = 0 D/CCodecConfig(20731): c2::u32 raw.max-size.height = 240 D/CCodecConfig(20731): c2::u32 raw.max-size.width = 320 D/CCodecConfig(20731): c2::u32 raw.pixel-format.value = 34 D/CCodecConfig(20731): c2::i32 raw.rotation.flip = 0 D/CCodecConfig(20731): c2::i32 raw.rotation.value = 0 D/CCodecConfig(20731): W/ColorUtils(20731): expected specified color aspects (0:0:0:0) I/MediaCodec(20731): MediaCodec will operate in async mode D/SurfaceUtils(20731): connecting to surface 0xb400007000579680, reason connectToSurface I/MediaCodec(20731): [c2.exynos.h264.decoder] setting surface generation to 21228546 D/SurfaceUtils(20731): disconnecting from surface 0xb400007000579680, reason connectToSurface(reconnect) D/SurfaceUtils(20731): connecting to surface 0xb400007000579680, reason connectToSurface(reconnect) D/CCodec (20731): [c2.exynos.h264.decoder] buffers are bound to CCodec for this session D/CCodecConfig(20731): no c2 equivalents for csd-1 D/CCodecConfig(20731): no c2 equivalents for native-window D/CCodecConfig(20731): no c2 equivalents for flags D/NdkImageReader(20731): acquireImageLocked: Overriding buffer format YUV_420_888 to 0x105. D/CCodecConfig(20731): c2 config diff is c2::u32 raw.max-size.height = 1080 D/CCodecConfig(20731): c2::u32 raw.max-size.width = 1632 D/CCodecConfig(20731): c2::u32 raw.size.height = 1080 D/CCodecConfig(20731): c2::u32 raw.size.width = 1632 W/Codec2Client(20731): query -- param skipped: index = 1107298332. D/CCodec (20731): client requested max input size 1331712, which is smaller than what component recommended (7340032); overriding with component recommendation. W/CCodec (20731): This behavior is subject to change. It is recommended that app developers double check whether the requested max input size is in reasonable range. D/CCodec (20731): encoding statistics level = 0 D/CCodec (20731): setup formats input: AMessage(what = 0x00000000) = { D/CCodec (20731): int32_t height = 1080 D/CCodec (20731): int32_t level = 65536 D/CCodec (20731): int32_t max-input-size = 7340032 D/CCodec (20731): string mime = "video/avc" D/CCodec (20731): int32_t priority = 0 D/CCodec (20731): int32_t profile = 65536 D/CCodec (20731): int32_t width = 1632 D/CCodec (20731): Rect crop(0, 0, 1631, 1079) D/CCodec (20731): } D/CCodec (20731): setup formats output: AMessage(what = 0x00000000) = { D/CCodec (20731): int32_t android._color-format = 2130708361 D/CCodec (20731): int32_t android._video-scaling = 1 D/CCodec (20731): int32_t rotation-degrees = 0 D/CCodec (20731): int32_t color-standard = 1 D/CCodec (20731): int32_t color-range = 2 D/CCodec (20731): int32_t color-transfer = 3 D/CCodec (20731): float cta861.max-cll = 0.000000 D/CCodec (20731): float cta861.max-fall = 0.000000 D/CCodec (20731): int32_t sar-height = 1 D/CCodec (20731): int32_t sar-width = 1 D/CCodec (20731): Rect crop(0, 0, 1631, 1079) D/CCodec (20731): int32_t width = 1632 D/CCodec (20731): int32_t height = 1080 D/CCodec (20731): int32_t max-height = 1080 D/CCodec (20731): int32_t max-width = 1632 D/CCodec (20731): string mime = "video/raw" D/CCodec (20731): int32_t priority = 0 D/CCodec (20731): int32_t android._dataspace = 260 D/CCodec (20731): int32_t color-format = 2130708361 D/CCodec (20731): } I/CCodecConfig(20731): query failed after returning 14 values (BAD_INDEX) D/MediaCodec(20731): keep callback message for reclaim W/Codec2Client(20731): query -- param skipped: index = 1073743886. W/Codec2Client(20731): query -- param skipped: index = 1610614798. W/Codec2Client(20731): query -- param skipped: index = 2684356609. D/CCodecBufferChannel(20731): [c2.exynos.h264.decoder#889] Created input block pool with allocatorID 16 => poolID 18 - OK (0) I/CCodecBufferChannel(20731): [c2.exynos.h264.decoder#889] Created output block pool with allocatorID 18 => poolID 134 - OK D/CCodecBufferChannel(20731): [c2.exynos.h264.decoder#889] Configured output block pool ids 134 => OK D/Codec2-OutputBufferQueue(20731): remote graphic buffer migration 0/0 D/Codec2Client(20731): setOutputSurface -- failed to set consumer usage (6/BAD_INDEX) D/Codec2Client(20731): setOutputSurface -- generation=21228546 consumer usage=0x900 D/Codec2Client(20731): Surface configure completed I/cr_MediaCodecBridge(20731): create MediaCodec video decoder, mime video/avc D/MediaCodecList(20731): codecHandlesFormat: no format, so no extra checks D/MediaCodecList(20731): codecHandlesFormat: no format, so no extra checks D/CCodec (20731): allocate(c2.exynos.h264.decoder) I/CCodec (20731): setting up 'default' as default (vendor) store I/CCodec (20731): Created component [c2.exynos.h264.decoder] D/CCodecConfig(20731): read media type: video/avc D/CCodecConfig(20731): c2 config diff is c2::u32 output.delay.value = 9 D/ReflectedParamUpdater(20731): extent() != 1 for single value type: output.subscribed-indices.values D/ReflectedParamUpdater(20731): extent() != 1 for single value type: input.buffers.allocator-ids.values D/ReflectedParamUpdater(20731): extent() != 1 for single value type: output.buffers.allocator-ids.values D/ReflectedParamUpdater(20731): extent() != 1 for single value type: output.buffers.pool-ids.values D/Codec2-OutputBufferQueue(20731): set max dequeue count 16 from update D/CCodecBufferChannel(20731): [c2.exynos.h264.decoder#889] Ignoring stale input buffer done callback: last flush index = 0, frameIndex = 0 D/Codec2-OutputBufferQueue(20731): set max dequeue count 16 from update D/Codec2-OutputBufferQueue(20731): set max dequeue count 16 from update D/ReflectedParamUpdater(20731): ignored struct field coded.color-format.locations D/CCodecConfig(20731): ignoring local param raw.size (0xd2001800) as it is already supported D/CCodecConfig(20731): ignoring local param default.color (0x5200180b) as it is already supported D/ReflectedParamUpdater(20731): ignored struct field raw.hdr-static-info.mastering I/CCodecConfig(20731): query failed after returning 14 values (BAD_INDEX) D/CCodecConfig(20731): c2 config diff is Dict { D/CCodecConfig(20731): c2::i32 algo.priority.value = 0 D/CCodecConfig(20731): c2::float algo.rate.value = 0 D/CCodecConfig(20731): c2::u32 coded.pl.level = 20496 D/CCodecConfig(20731): c2::u32 coded.pl.profile = 20481 D/CCodecConfig(20731): c2::u32 coded.vui.color.matrix = 0 D/CCodecConfig(20731): c2::u32 coded.vui.color.primaries = 0 D/CCodecConfig(20731): c2::u32 coded.vui.color.range = 0 D/CCodecConfig(20731): c2::u32 coded.vui.color.transfer = 0 D/CCodecConfig(20731): c2::u32 default.color.matrix = 0 D/CCodecConfig(20731): c2::u32 default.color.primaries = 0 D/CCodecConfig(20731): c2::u32 default.color.range = 0 D/CCodecConfig(20731): c2::u32 default.color.transfer = 0 D/CCodecConfig(20731): c2::u32 input.buffers.max-size.value = 7340032 D/CCodecConfig(20731): string input.media-type.value = "video/avc" D/CCodecConfig(20731): c2::u32 output.delay.value = 8 D/CCodecConfig(20731): string output.media-type.value = "video/raw" D/CCodecConfig(20731): c2::u32 raw.color.matrix = 0 D/CCodecConfig(20731): c2::u32 raw.color.primaries = 0 D/CCodecConfig(20731): c2::u32 raw.color.range = 0 D/CCodecConfig(20731): c2::u32 raw.color.transfer = 0 D/CCodecConfig(20731): c2::float raw.hdr-static-info.max-cll = 0 D/CCodecConfig(20731): c2::float raw.hdr-static-info.max-fall = 0 D/CCodecConfig(20731): c2::u32 raw.max-size.height = 240 D/CCodecConfig(20731): c2::u32 raw.max-size.width = 320 D/CCodecConfig(20731): c2::u32 raw.pixel-format.value = 34 D/CCodecConfig(20731): c2::i32 raw.rotation.flip = 0 D/CCodecConfig(20731): c2::i32 raw.rotation.value = 0 D/CCodecConfig(20731): W/ColorUtils(20731): expected specified color aspects (0:0:0:0) D/CCodecConfig(20731): c2 config diff is c2::u32 raw.crop.height = 1080 D/CCodecConfig(20731): c2::u32 raw.crop.left = 0 D/CCodecConfig(20731): c2::u32 raw.crop.top = 0 D/CCodecConfig(20731): c2::u32 raw.crop.width = 1632 D/CCodecConfig(20731): c2::u32 raw.max-size.height = 1088 D/CCodecConfig(20731): c2::u32 raw.size.height = 1088 D/CCodecBuffers(20731): [c2.exynos.h264.decoder#889:2D-Output] popFromStashAndRegister: at 0us, output format changed to AMessage(what = 0x00000000) = { D/CCodecBuffers(20731): int32_t android._color-format = 2130708361 D/CCodecBuffers(20731): int32_t android._video-scaling = 1 D/CCodecBuffers(20731): int32_t rotation-degrees = 0 D/CCodecBuffers(20731): int32_t color-standard = 1 D/CCodecBuffers(20731): int32_t color-range = 2 D/CCodecBuffers(20731): int32_t color-transfer = 3 D/CCodecBuffers(20731): float cta861.max-cll = 0.000000 D/CCodecBuffers(20731): float cta861.max-fall = 0.000000 D/CCodecBuffers(20731): int32_t sar-height = 1 D/CCodecBuffers(20731): int32_t sar-width = 1 D/CCodecBuffers(20731): Rect crop(0, 0, 1631, 1079) D/CCodecBuffers(20731): int32_t width = 1632 D/CCodecBuffers(20731): int32_t height = 1088 D/CCodecBuffers(20731): int32_t max-height = 1088 D/CCodecBuffers(20731): int32_t max-width = 1632 D/CCodecBuffers(20731): string mime = "video/raw" D/CCodecBuffers(20731): int32_t priority = 0 D/CCodecBuffers(20731): int32_t android._dataspace = 260 D/CCodecBuffers(20731): int32_t color-format = 2130708361 D/CCodecBuffers(20731): } I/MediaCodec(20731): MediaCodec will operate in async mode D/NdkImageReader(20731): acquireImageLocked: Overriding buffer format YUV_420_888 to 0x105. D/SurfaceUtils(20731): connecting to surface 0xb400007000581ec0, reason connectToSurface I/MediaCodec(20731): [c2.exynos.h264.decoder] setting surface generation to 21228547 D/SurfaceUtils(20731): disconnecting from surface 0xb400007000581ec0, reason connectToSurface(reconnect) D/SurfaceUtils(20731): connecting to surface 0xb400007000581ec0, reason connectToSurface(reconnect) D/CCodec (20731): [c2.exynos.h264.decoder] buffers are bound to CCodec for this session D/CCodecConfig(20731): no c2 equivalents for csd-1 D/CCodecConfig(20731): no c2 equivalents for native-window D/CCodecConfig(20731): no c2 equivalents for flags D/CCodecConfig(20731): c2 config diff is c2::u32 raw.max-size.height = 1080 D/CCodecConfig(20731): c2::u32 raw.max-size.width = 1632 D/CCodecConfig(20731): c2::u32 raw.size.height = 1080 D/CCodecConfig(20731): c2::u32 raw.size.width = 1632 W/Codec2Client(20731): query -- param skipped: index = 1107298332. D/CCodec (20731): client requested max input size 1331712, which is smaller than what component recommended (7340032); overriding with component recommendation. W/CCodec (20731): This behavior is subject to change. It is recommended that app developers double check whether the requested max input size is in reasonable range. D/CCodec (20731): encoding statistics level = 0 D/CCodec (20731): setup formats input: AMessage(what = 0x00000000) = { D/CCodec (20731): int32_t height = 1080 D/CCodec (20731): int32_t level = 65536 D/CCodec (20731): int32_t max-input-size = 7340032 D/CCodec (20731): string mime = "video/avc" D/CCodec (20731): int32_t priority = 0 D/CCodec (20731): int32_t profile = 65536 D/CCodec (20731): int32_t width = 1632 D/CCodec (20731): Rect crop(0, 0, 1631, 1079) D/CCodec (20731): } D/CCodec (20731): setup formats output: AMessage(what = 0x00000000) = { D/CCodec (20731): int32_t android._color-format = 2130708361 D/CCodec (20731): int32_t android._video-scaling = 1 D/CCodec (20731): int32_t rotation-degrees = 0 D/CCodec (20731): int32_t color-standard = 1 D/CCodec (20731): int32_t color-range = 2 D/CCodec (20731): int32_t color-transfer = 3 D/CCodec (20731): float cta861.max-cll = 0.000000 D/CCodec (20731): float cta861.max-fall = 0.000000 D/CCodec (20731): int32_t sar-height = 1 D/CCodec (20731): int32_t sar-width = 1 D/CCodec (20731): Rect crop(0, 0, 1631, 1079) D/CCodec (20731): int32_t width = 1632 D/CCodec (20731): int32_t height = 1080 D/CCodec (20731): int32_t max-height = 1080 D/CCodec (20731): int32_t max-width = 1632 D/CCodec (20731): string mime = "video/raw" D/CCodec (20731): int32_t priority = 0 D/CCodec (20731): int32_t android._dataspace = 260 D/CCodec (20731): int32_t color-format = 2130708361 D/CCodec (20731): } I/CCodecConfig(20731): query failed after returning 14 values (BAD_INDEX) D/MediaCodec(20731): keep callback message for reclaim W/Codec2Client(20731): query -- param skipped: index = 1073743886. W/Codec2Client(20731): query -- param skipped: index = 1610614798. W/Codec2Client(20731): query -- param skipped: index = 2684356609. D/CCodecBufferChannel(20731): [c2.exynos.h264.decoder#772] Created input block pool with allocatorID 16 => poolID 19 - OK (0) I/CCodecBufferChannel(20731): [c2.exynos.h264.decoder#772] Created output block pool with allocatorID 18 => poolID 135 - OK D/CCodecBufferChannel(20731): [c2.exynos.h264.decoder#772] Configured output block pool ids 135 => OK D/Codec2-OutputBufferQueue(20731): remote graphic buffer migration 0/0 D/Codec2Client(20731): setOutputSurface -- failed to set consumer usage (6/BAD_INDEX) D/Codec2Client(20731): setOutputSurface -- generation=21228547 consumer usage=0x900 D/Codec2Client(20731): Surface configure completed D/CCodecConfig(20731): c2 config diff is c2::u32 output.delay.value = 9 D/Codec2-OutputBufferQueue(20731): set max dequeue count 16 from update D/CCodecBufferChannel(20731): [c2.exynos.h264.decoder#772] Ignoring stale input buffer done callback: last flush index = 0, frameIndex = 0 D/Codec2-OutputBufferQueue(20731): set max dequeue count 16 from update D/Codec2-OutputBufferQueue(20731): set max dequeue count 16 from update D/CCodecConfig(20731): c2 config diff is c2::u32 raw.crop.height = 1080 D/CCodecConfig(20731): c2::u32 raw.crop.left = 0 D/CCodecConfig(20731): c2::u32 raw.crop.top = 0 D/CCodecConfig(20731): c2::u32 raw.crop.width = 1632 D/CCodecConfig(20731): c2::u32 raw.max-size.height = 1088 D/CCodecConfig(20731): c2::u32 raw.size.height = 1088 D/CCodecBuffers(20731): [c2.exynos.h264.decoder#772:2D-Output] popFromStashAndRegister: at 0us, output format changed to AMessage(what = 0x00000000) = { D/CCodecBuffers(20731): int32_t android._color-format = 2130708361 D/CCodecBuffers(20731): int32_t android._video-scaling = 1 D/CCodecBuffers(20731): int32_t rotation-degrees = 0 D/CCodecBuffers(20731): int32_t color-standard = 1 D/CCodecBuffers(20731): int32_t color-range = 2 D/CCodecBuffers(20731): int32_t color-transfer = 3 D/CCodecBuffers(20731): float cta861.max-cll = 0.000000 D/CCodecBuffers(20731): float cta861.max-fall = 0.000000 D/CCodecBuffers(20731): int32_t sar-height = 1 D/CCodecBuffers(20731): int32_t sar-width = 1 D/CCodecBuffers(20731): Rect crop(0, 0, 1631, 1079) D/CCodecBuffers(20731): int32_t width = 1632 D/CCodecBuffers(20731): int32_t height = 1088 D/CCodecBuffers(20731): int32_t max-height = 1088 D/CCodecBuffers(20731): int32_t max-width = 1632 D/CCodecBuffers(20731): string mime = "video/raw" D/CCodecBuffers(20731): int32_t priority = 0 D/CCodecBuffers(20731): int32_t android._dataspace = 260 D/CCodecBuffers(20731): int32_t color-format = 2130708361 D/CCodecBuffers(20731): } D/NdkImageReader(20731): acquireImageLocked: Overriding buffer format YUV_420_888 to 0x105. I/flutter (20731): use height: 11220.0 I/scudo (20731): Scudo ERROR: invalid chunk state when deallocating address 0x200006f5046ee90 F/libc (20731): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 20751 (RenderThread), pid 20731 (ple.webview_mix) *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerprint: 'google/oriole/oriole:13/TPB3.220617.002/8759250:user/release-keys' Revision: 'MP1.0' ABI: 'arm64' Timestamp: 2022-07-02 21:10:28.878243818+0800 Process uptime: 4s Cmdline: com.example.webview_mix pid: 20731, tid: 20751, name: RenderThread >>> com.example.webview_mix <<< uid: 10576 tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE) signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- Abort message: 'Scudo ERROR: invalid chunk state when deallocating address 0x200006f5046ee90' x0 0000000000000000 x1 000000000000510f x2 0000000000000006 x3 0000006e050612e0 x4 0000000000808080 x5 0000000000808080 x6 0000000000808080 x7 8080808080808080 x8 00000000000000f0 x9 000000712f1b49e0 x10 0000000000000001 x11 000000712f1f55e0 x12 0101010101010101 x13 000000007fffffff x14 00000000046fb8a2 x15 0000000000000030 x16 000000712f262d58 x17 000000712f23e120 x18 0000006e04836000 x19 00000000000050fb x20 000000000000510f x21 00000000ffffffff x22 0000000000000000 x23 0000006e050617b0 x24 b400006f304931d0 x25 0000000000000001 x26 0000000000000000 x27 0000006e05062000 x28 b40000706047b1d8 x29 0000006e05061360 lr 000000712f1e60c8 sp 0000006e050612c0 pc 000000712f1e60f4 pst 0000000000001000 backtrace: #00 pc 00000000000530f4 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: cbc4c62a9b269839456f1d7728d8411e) #01 pc 00000000000417b8 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::die()+8) (BuildId: cbc4c62a9b269839456f1d7728d8411e) #02 pc 0000000000042160 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::ScopedErrorReport::~ScopedErrorReport()+32) (BuildId: cbc4c62a9b269839456f1d7728d8411e) #03 pc 0000000000042504 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::reportInvalidChunkState(scudo::AllocatorAction, void*)+116) (BuildId: cbc4c62a9b269839456f1d7728d8411e) #04 pc 0000000000044064 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::Allocator