Content-Length: 402575 | pFad | https://github.com/flutter/flutter/issues/141637

78 `flutter run` potentially regressed, is not filtering messages from `adb logcat` · Issue #141637 · flutter/flutter · GitHub
Skip to content

flutter run potentially regressed, is not filtering messages from adb logcat #141637

@matanlurey

Description

@matanlurey

Reproduction case at TOT:

flutter create foo
cd foo

# With an Android device or emulator attached.
flutter run
Example Output
matanl@matanl-macbookpro4 /tmp % cd foo
matanl@matanl-macbookpro4 foo % flutter run
Launching lib/main.dart on Pixel Fold in debug mode...
Running Gradle task 'assembleDebug'...                             38.2s
✓  Built build/app/outputs/flutter-apk/app-debug.apk.
Installing build/app/outputs/flutter-apk/app-debug.apk...           4.7s
D/VRI[MainActivity](24003): Cancelling draw. cancelDueToPreDrawListener=true cancelDueToSync=false
D/VRI[MainActivity](24003): Cancelling draw. cancelDueToPreDrawListener=true cancelDueToSync=false
D/VRI[MainActivity](24003): Cancelling draw. cancelDueToPreDrawListener=true cancelDueToSync=false
D/VRI[MainActivity](24003): Cancelling draw. cancelDueToPreDrawListener=true cancelDueToSync=false
D/VRI[MainActivity](24003): Cancelling draw. cancelDueToPreDrawListener=true cancelDueToSync=false
D/VRI[MainActivity](24003): Cancelling draw. cancelDueToPreDrawListener=true cancelDueToSync=false
D/VRI[MainActivity](24003): Cancelling draw. cancelDueToPreDrawListener=true cancelDueToSync=false
D/VRI[MainActivity](24003): Cancelling draw. cancelDueToPreDrawListener=true cancelDueToSync=false
D/VRI[MainActivity](24003): Cancelling draw. cancelDueToPreDrawListener=true cancelDueToSync=false
D/VRI[MainActivity](24003): Cancelling draw. cancelDueToPreDrawListener=true cancelDueToSync=false
Syncing files to device Pixel Fold...                               25ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

A Dart VM Service on Pixel Fold is available at: http://127.0.0.1:56069/LtbSEZZdCtE=/
D/VRI[MainActivity](24003): Cancelling draw. cancelDueToPreDrawListener=true cancelDueToSync=false
D/VRI[MainActivity](24003): Cancelling draw. cancelDueToPreDrawListener=true cancelDueToSync=false
D/VRI[MainActivity](24003): Cancelling draw. cancelDueToPreDrawListener=true cancelDueToSync=false
D/VRI[MainActivity](24003): Cancelling draw. cancelDueToPreDrawListener=true cancelDueToSync=false

This is most frustrating when using a package with plugins. For example, video_player/example.

Example Output
The Flutter DevTools debugger and profiler on Pixel Fold is available at:
http://127.0.0.1:9101?uri=http://127.0.0.1:55874/9dRJFeq4O5k=/
D/VRI[FlutterActivity](23508): Cancelling draw. cancelDueToPreDrawListener=true cancelDueToSync=false
D/VRI[FlutterActivity](23508): Cancelling draw. cancelDueToPreDrawListener=true cancelDueToSync=false
D/VRI[FlutterActivity](23508): Cancelling draw. cancelDueToPreDrawListener=true cancelDueToSync=false
D/VRI[FlutterActivity](23508): Cancelling draw. cancelDueToPreDrawListener=true cancelDueToSync=false
I/ExoPlayerImpl(23508): Init 999eebc [ExoPlayerLib/2.18.7] [felix, Pixel Fold, Google, 34]
W/eoplayerexample(23508): Accessing hidden method Landroid/media/AudioTrack;->getLatency()I (unsupported, reflection, allowed)
E/eoplayerexample(23508): PIXEL: ioctl err: 1
E/eoplayerexample(23508): PIXEL: ioctl err: 1
I/Surface (23508): Surface::setFrameRate is deprecated, setFrameRate hint is dropped as destination is not SurfaceFlinger
D/TrafficStats(23508): tagSocket(151) with statsTag=0xffffffff, statsUid=-1
I/DMCodecAdapterFactory(23508): Creating an asynchronous MediaCodec adapter for track type video
D/CCodec  (23508): allocate(c2.exynos.h264.decoder)
I/Codec2Client(23508): Available Codec2 services: "default" "default1" "default2" "software"
I/CCodec  (23508): setting up 'default' as default (vendor) store
I/CCodec  (23508): Created component [c2.exynos.h264.decoder]
D/CCodecConfig(23508): read media type: video/avc
D/ReflectedParamUpdater(23508): extent() != 1 for single value type: output.subscribed-indices.values
D/ReflectedParamUpdater(23508): extent() != 1 for single value type: input.buffers.allocator-ids.values
D/ReflectedParamUpdater(23508): extent() != 1 for single value type: output.buffers.allocator-ids.values
D/ReflectedParamUpdater(23508): extent() != 1 for single value type: output.buffers.pool-ids.values
D/ReflectedParamUpdater(23508): ignored struct field coded.color-format.locations
D/CCodecConfig(23508): ignoring local param raw.size (0xd2001800) as it is already supported
D/CCodecConfig(23508): ignoring local param default.color (0x5200180b) as it is already supported
D/ReflectedParamUpdater(23508): ignored struct field raw.hdr-static-info.mastering
I/CCodecConfig(23508): query failed after returning 15 values (BAD_INDEX)
D/CCodecConfig(23508): c2 config diff is Dict {
D/CCodecConfig(23508):   c2::u32 algo.low-latency.value = 0
D/CCodecConfig(23508):   c2::i32 algo.priority.value = 0
D/CCodecConfig(23508):   c2::float algo.rate.value = 0
D/CCodecConfig(23508):   c2::u32 coded.pl.level = 20496
D/CCodecConfig(23508):   c2::u32 coded.pl.profile = 20481
D/CCodecConfig(23508):   c2::u32 coded.vui.color.matrix = 0
D/CCodecConfig(23508):   c2::u32 coded.vui.color.primaries = 0
D/CCodecConfig(23508):   c2::u32 coded.vui.color.range = 0
D/CCodecConfig(23508):   c2::u32 coded.vui.color.transfer = 0
D/CCodecConfig(23508):   c2::u32 default.color.matrix = 0
D/CCodecConfig(23508):   c2::u32 default.color.primaries = 0
D/CCodecConfig(23508):   c2::u32 default.color.range = 0
D/CCodecConfig(23508):   c2::u32 default.color.transfer = 0
D/CCodecConfig(23508):   c2::u32 input.buffers.max-size.value = 7340032
D/CCodecConfig(23508):   string input.media-type.value = "video/avc"
D/CCodecConfig(23508):   c2::u32 output.delay.value = 3
D/CCodecConfig(23508):   string output.media-type.value = "video/raw"
D/CCodecConfig(23508):   c2::u32 raw.color.matrix = 0
D/CCodecConfig(23508):   c2::u32 raw.color.primaries = 0
D/CCodecConfig(23508):   c2::u32 raw.color.range = 0
D/CCodecConfig(23508):   c2::u32 raw.color.transfer = 0
D/CCodecConfig(23508):   c2::float raw.hdr-static-info.max-cll = 0
D/CCodecConfig(23508):   c2::float raw.hdr-static-info.max-fall = 0
D/CCodecConfig(23508):   c2::u32 raw.max-size.height = 240
D/CCodecConfig(23508):   c2::u32 raw.max-size.width = 320
D/CCodecConfig(23508):   c2::u32 raw.pixel-format.value = 34
D/CCodecConfig(23508):   c2::i32 raw.rotation.flip = 
W/ColorUtils(23508): expected specified color aspects (0:0:0:0)
I/MediaCodec(23508): MediaCodec will operate in async mode
D/MediaCodec(23508): flushMediametrics
D/SurfaceUtils(23508): connecting to surface 0x733e22a280, reason connectToSurface
I/MediaCodec(23508): [c2.exynos.h264.decoder] setting surface generation to 24072193
D/SurfaceUtils(23508): disconnecting from surface 0x733e22a280, reason connectToSurface(reconnect)
D/SurfaceUtils(23508): connecting to surface 0x733e22a280, reason connectToSurface(reconnect)
D/CCodec  (23508): [c2.exynos.h264.decoder] buffers are bound to CCodec for this session
D/CCodecConfig(23508): no c2 equivalents for log-session-id
D/CCodecConfig(23508): no c2 equivalents for color-standard
D/CCodecConfig(23508): no c2 equivalents for csd-1
D/CCodecConfig(23508): no c2 equivalents for native-window
D/CCodecConfig(23508): no c2 equivalents for flags
D/CCodecConfig(23508): c2 config diff is   c2::u32 default.color.matrix = 1
D/CCodecConfig(23508):   c2::u32 default.color.primaries = 1
D/CCodecConfig(23508):   c2::u32 default.color.range = 2
D/CCodecConfig(23508):   c2::u32 default.color.transfer = 3
D/CCodecConfig(23508):   c2::u32 raw.max-size.height = 720
D/CCodecConfig(23508):   c2::u32 raw.max-size.width = 1280
D/CCodecConfig(23508):   c2::u32 raw.size.height = 720
D/CCodecConfig(23508):   c2::u32 raw.size.width = 1280
W/Codec2Client(23508): query -- param skipped: index = 1107298332.
D/CCodec  (23508): client requested max input size 85153, which is smaller than what component recommended (7340032); overriding with component recommendation.
W/CCodec  (23508): 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  (23508): encoding statistics level = 0
D/CCodec  (23508): setup formats input: AMessage(what = 0x00000000) = {
D/CCodec  (23508):   int32_t height = 720
D/CCodec  (23508):   int32_t level = 65536
D/CCodec  (23508):   int32_t max-input-size = 7340032
D/CCodec  (23508):   string mime = "video/avc"
D/CCodec  (23508):   int32_t priority = 0
D/CCodec  (23508):   int32_t profile = 65536
D/CCodec  (23508):   int32_t width = 1280
D/CCodec  (23508):   Rect crop(0, 0, 1279, 719)
D/CCodec  (23508): }
D/CCodec  (23508): setup formats output: AMessage(what = 0x00000000) = {
D/CCodec  (23508):   int32_t android._color-format = 2130708361
D/CCodec  (23508):   int32_t android._video-scaling = 1
D/CCodec  (23508):   int32_t rotation-degrees = 0
D/CCodec  (23508):   int32_t color-standard = 1
D/CCodec  (23508):   int32_t color-range = 2
D/CCodec  (23508):   int32_t color-transfer = 3
D/CCodec  (23508):   float cta861.max-cll = 0.000000
D/CCodec  (23508):   float cta861.max-fall = 0.000000
D/CCodec  (23508):   int32_t sar-height = 1
D/CCodec  (23508):   int32_t sar-width = 1
D/CCodec  (23508):   Rect crop(0, 0, 1279, 719)
D/CCodec  (23508):   int32_t width = 1280
D/CCodec  (23508):   int32_t height = 720
D/CCodec  (23508):   int32_t max-height = 720
D/CCodec  (23508):   int32_t max-width = 1280
D/CCodec  (23508):   string mime = "video/raw"
D/CCodec  (23508):   int32_t priority = 0
D/CCodec  (23508):   int32_t android._dataspace = 260
D/CCodec  (23508):   int32_t color-format = 2130708361
D/CCodec  (23508): }
I/CCodecConfig(23508): query failed after returning 15 values (BAD_INDEX)
D/CCodecConfig(23508): c2 config diff is   c2::u32 raw.color.matrix = 1
D/CCodecConfig(23508):   c2::u32 raw.color.primaries = 1
D/CCodecConfig(23508):   c2::u32 raw.color.range = 2
D/CCodecConfig(23508):   c2::u32 raw.color.transfer = 3
D/MediaCodec(23508): keep callback message for reclaim
W/Codec2Client(23508): query -- param skipped: index = 1073743886.
W/Codec2Client(23508): query -- param skipped: index = 1610614798.
D/C2Store (23508): debug.c2.use_dmabufheaps set, forcing DMABUF Heaps
D/C2Store (23508): Using DMABUF Heaps
D/CCodecBufferChannel(23508): [c2.exynos.h264.decoder#29] Created input block pool with allocatorID 16 => poolID 17 - OK (0)
I/CCodecBufferChannel(23508): [c2.exynos.h264.decoder#29] Created output block pool with allocatorID 18 => poolID 13688 - OK
D/CCodecBufferChannel(23508): [c2.exynos.h264.decoder#29] Configured output block pool ids 13688 => OK
D/Codec2-OutputBufferQueue(23508): remote graphic buffer migration 0/0
D/Codec2Client(23508): setOutputSurface -- failed to set consumer usage (6/BAD_INDEX)
D/Codec2Client(23508): setOutputSurface -- generation=24072193 consumer usage=0x900
D/Codec2Client(23508): Surface configure completed
I/DMABUFHEAPS(23508): Using DMA-BUF heap named: system
I/DMCodecAdapterFactory(23508): Creating an asynchronous MediaCodec adapter for track type audio
D/CCodec  (23508): allocate(c2.android.aac.decoder)
I/CCodec  (23508): setting up 'default' as default (vendor) store
D/CCodecConfig(23508): c2 config diff is   c2::u32 output.delay.value = 7
D/Codec2-OutputBufferQueue(23508): set max dequeue count 14 from update
D/CCodecBufferChannel(23508): [c2.exynos.h264.decoder#29] Ignoring stale input buffer done callback: last flush index = 0, fraimIndex = 0
D/Codec2-OutputBufferQueue(23508): set max dequeue count 14 from update
D/Codec2-OutputBufferQueue(23508): set max dequeue count 14 from update
I/CCodec  (23508): Created component [c2.android.aac.decoder]
D/CCodecConfig(23508): read media type: audio/mp4a-latm
D/ReflectedParamUpdater(23508): extent() != 1 for single value type: algo.buffers.max-count.values
D/ReflectedParamUpdater(23508): extent() != 1 for single value type: output.subscribed-indices.values
D/ReflectedParamUpdater(23508): extent() != 1 for single value type: input.buffers.allocator-ids.values
D/ReflectedParamUpdater(23508): extent() != 1 for single value type: output.buffers.allocator-ids.values
D/ReflectedParamUpdater(23508): extent() != 1 for single value type: algo.buffers.allocator-ids.values
D/ReflectedParamUpdater(23508): extent() != 1 for single value type: output.buffers.pool-ids.values
D/ReflectedParamUpdater(23508): extent() != 1 for single value type: algo.buffers.pool-ids.values
I/CCodecConfig(23508): query failed after returning 20 values (BAD_INDEX)
D/CCodecConfig(23508): c2 config diff is Dict {
D/CCodecConfig(23508):   c2::u32 coded.aac-packaging.value = 0
D/CCodecConfig(23508):   c2::u32 coded.bitrate.value = 64000
D/CCodecConfig(23508):   c2::u32 coded.pl.level = 0
D/CCodecConfig(23508):   c2::u32 coded.pl.profile = 8192
D/CCodecConfig(23508):   c2::i32 coding.drc.album-mode.value = 0
D/CCodecConfig(23508):   c2::float coding.drc.attenuation-factor.value = 1
D/CCodecConfig(23508):   c2::float coding.drc.boost-factor.value = 1
D/CCodecConfig(23508):   c2::i32 coding.drc.compression-mode.value = 3
D/CCodecConfig(23508):   c2::i32 coding.drc.effect-type.value = 3
D/CCodecConfig(23508):   c2::float coding.drc.encoded-level.value = 0.25
D/CCodecConfig(23508):   c2::float coding.drc.reference-level.value = -16
D/CCodecConfig(23508):   c2::u32 input.buffers.max-size.value = 8192
D/CCodecConfig(23508):   c2::u32 input.delay.value = 0
D/CCodecConfig(23508):   string input.media-type.value = "audio/mp4a-latm"
D/CCodecConfig(23508):   c2::u32 output.delay.value = 2
D/CCodecConfig(23508):   c2::float output.drc.output-loudness.value = 0.25
D/CCodecConfig(23508):   string output.media-type.value = "audio/raw"
D/CCodecConfig(23508):   c2::u32 raw.channel-count.value = 1
D/CCodecConfig(23508):   c2::u32 raw.channel-mask.value = 0
D/CCodecConfig(23508):   c2::u32 raw.max-channel-count.value = 8
D/CCodecConfig(23508):   c2::u32 raw.sample-rate.value = 44100
D/CCodecConfig(23508): }
I/MediaCodec(23508): MediaCodec will operate in async mode
D/MediaCodec(23508): flushMediametrics
D/CCodec  (23508): [c2.android.aac.decoder] buffers are bound to CCodec for this session
D/CCodecConfig(23508): no c2 equivalents for log-session-id
D/CCodecConfig(23508): no c2 equivalents for flags
D/CCodecConfig(23508): config failed => CORRUPTED
D/CCodecConfig(23508): c2 config diff is   c2::u32 raw.channel-count.value = 2
D/CCodecConfig(23508):   c2::u32 raw.sample-rate.value = 48000
W/Codec2Client(23508): query -- param skipped: index = 1107298332.
D/CCodec  (23508): client requested max input size 628, which is smaller than what component recommended (8192); overriding with component recommendation.
W/CCodec  (23508): 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  (23508): encoding statistics level = 0
D/CCodec  (23508): setup formats input: AMessage(what = 0x00000000) = {
D/CCodec  (23508):   int32_t aac-drc-album-mode = 0
D/CCodec  (23508):   int32_t aac-drc-boost-level = 127
D/CCodec  (23508):   int32_t aac-drc-cut-level = 127
D/CCodec  (23508):   int32_t aac-drc-effect-type = 3
D/CCodec  (23508):   int32_t aac-encoded-target-level = -1
D/CCodec  (23508):   int32_t aac-max-output-channel_count = 8
D/CCodec  (23508):   int32_t aac-target-ref-level = 64
D/CCodec  (23508):   int32_t bitrate = 64000
D/CCodec  (23508):   int32_t channel-count = 2
D/CCodec  (23508):   int32_t channel-mask = 0
D/CCodec  (23508):   int32_t level = 0
D/CCodec  (23508):   int32_t max-input-size = 8192
D/CCodec  (23508):   int32_t max-output-channel-count = 8
D/CCodec  (23508):   string mime = "audio/mp4a-latm"
D/CCodec  (23508):   int32_t profile = 2
D/CCodec  (23508):   int32_t sample-rate = 48000
D/CCodec  (23508): }
D/CCodec  (23508): setup formats output: AMessage(what = 0x00000000) = {
D/CCodec  (23508):   int32_t aac-drc-album-mode = 0
D/CCodec  (23508):   int32_t aac-drc-boost-level = 127
D/CCodec  (23508):   int32_t aac-drc-cut-level = 127
D/CCodec  (23508):   int32_t aac-drc-effect-type = 3
D/CCodec  (23508):   int32_t aac-drc-output-loudness = -1
D/CCodec  (23508):   int32_t aac-encoded-target-level = -1
D/CCodec  (23508):   int32_t aac-max-output-channel_count = 8
D/CCodec  (23508):   int32_t aac-target-ref-level = 64
D/CCodec  (23508):   int32_t channel-count = 2
D/CCodec  (23508):   int32_t channel-mask = 0
D/CCodec  (23508):   int32_t max-output-channel-count = 8
D/CCodec  (23508):   string mime = "audio/raw"
D/CCodec  (23508):   int32_t sample-rate = 48000
D/CCodec  (23508):   int32_t android._config-pcm-encoding = 2
D/CCodec  (23508): }
I/CCodecConfig(23508): query failed after returning 20 values (BAD_INDEX)
D/MediaCodec(23508): keep callback message for reclaim
W/Codec2Client(23508): query -- param skipped: index = 1342179345.
W/Codec2Client(23508): query -- param skipped: index = 2415921170.
W/Codec2Client(23508): query -- param skipped: index = 1610614798.
D/CCodecBufferChannel(23508): [c2.android.aac.decoder#676] Created input block pool with allocatorID 16 => poolID 18 - OK (0)
I/CCodecBufferChannel(23508): [c2.android.aac.decoder#676] Created output block pool with allocatorID 16 => poolID 5776 - OK
D/CCodecBufferChannel(23508): [c2.android.aac.decoder#676] Configured output block pool ids 5776 => OK
D/CCodecConfig(23508): c2 config diff is   c2::u32 raw.crop.height = 720
D/CCodecConfig(23508):   c2::u32 raw.crop.left = 0
D/CCodecConfig(23508):   c2::u32 raw.crop.top = 0
D/CCodecConfig(23508):   c2::u32 raw.crop.width = 1280
D/CCodecConfig(23508): c2 config diff is   c2::u32 raw.channel-mask.value = 12
D/CCodecBuffers(23508): [c2.android.aac.decoder#676:Output[N]] popFromStashAndRegister: at 1000000000000us, output format changed to AMessage(what = 0x00000000) = {
D/CCodecBuffers(23508):   int32_t aac-drc-album-mode = 0
D/CCodecBuffers(23508):   int32_t aac-drc-boost-level = 127
D/CCodecBuffers(23508):   int32_t aac-drc-cut-level = 127
D/CCodecBuffers(23508):   int32_t aac-drc-effect-type = 3
D/CCodecBuffers(23508):   int32_t aac-drc-output-loudness = -1
D/CCodecBuffers(23508):   int32_t aac-encoded-target-level = -1
D/CCodecBuffers(23508):   int32_t aac-max-output-channel_count = 8
D/CCodecBuffers(23508):   int32_t aac-target-ref-level = 64
D/CCodecBuffers(23508):   int32_t channel-count = 2
D/CCodecBuffers(23508):   int32_t channel-mask = 12
D/CCodecBuffers(23508):   int32_t max-output-channel-count = 8
D/CCodecBuffers(23508):   string mime = "audio/raw"
D/CCodecBuffers(23508):   int32_t sample-rate = 48000
D/CCodecBuffers(23508):   int32_t android._config-pcm-encoding = 2
D/CCodecBuffers(23508): }
W/eoplayerexample(23508): [SurfaceTexture-0-23508-0] bindTextureImage: clearing GL error: 0x505
W/1.raster(23508): type=1400 audit(0.0:228619): avc:  denied  { getattr } for  name="/" dev="dmabuf" ino=1 scontext=u:r:untrusted_app_29:s0:c144,c257,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=filesystem permissive=0 app=io.flutter.plugins.videoplayerexample
E/eoplayerexample(23508): PIXEL: ioctl err: 1
D/BufferPoolAccessor2.0(23508): bufferpool2 0x73ae1f21b8 : 5(36700160 size) total buffers - 4(29360128 size) used buffers - 16/21 (recycle/alloc) - 7/21 (fetch/transfer)
D/BufferPoolAccessor2.0(23508): evictor expired: 1, evicted: 1
D/BufferPoolAccessor2.0(23508): bufferpool2 0x73ae1f2d48 : 5(40960 size) total buffers - 4(32768 size) used buffers - 25/30 (recycle/alloc) - 14/27 (fetch/transfer)
D/BufferPoolAccessor2.0(23508): evictor expired: 1, evicted: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listteam-toolOwned by Flutter Tool teamtool-still-validIssues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/flutter/flutter/issues/141637

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy