You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
InAppWebView isn't disposing as the screen exits. It stays for a while before disappears:
Expected Behavior
It should exit instantly.
Steps with code example to reproduce
Steps with code example to reproduce
// I'm using the same example from the examples folder.
onPressed: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) =>InAppWebViewExampleScreen()));
},
Stacktrace/Logs
Stacktrace/Logs
D/MediaCodec( 3488): keep callback message for reclaim
I/CCodecConfig( 3488): query failed after returning 12 values (BAD_INDEX)
D/BufferPoolAccessor2.0( 3488): bufferpool2 0x74a998d96bd8 : 5(31457280 size) total buffers - 1(6291456 size) used buffers - 303/308 (recycle/alloc) - 5/303 (fetch/transfer)
W/Codec2Client( 3488): query -- param skipped: index = 1342179345.
W/Codec2Client( 3488): query -- param skipped: index = 2415921170.
W/Codec2Client( 3488): query -- param skipped: index = 1610614798.
D/BufferPoolAccessor2.0( 3488): evictor expired: 3, evicted: 0
D/MediaCodec( 3488): keep callback message for reclaim
I/CCodecConfig( 3488): query failed after returning 12 values (BAD_INDEX)
W/Codec2Client( 3488): query -- param skipped: index = 1342179345.
W/Codec2Client( 3488): query -- param skipped: index = 2415921170.
W/Codec2Client( 3488): query -- param skipped: index = 1610614798.
D/CCodecBufferChannel( 3488): [c2.goldfish.h264.decoder#374] Ignoring stale input buffer done callback: last flush index = 424, frameIndex = 424
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988ea7850 hos timage handle 0x601770000021e
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 319
D/EGL_emulation( 3488): app_time_stats: avg=260.95ms min=1.21ms max=6808.49ms count=29
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988ea7290 hos timage handle 0x600a00000029a
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 264
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988ea7610 hos timage handle 0x600a600000182
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 286
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988e9a610 hos timage handle 0x601500000027b
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 148
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988e472d0 hos timage handle 0x600210000016a
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 328
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988ea3e10 hos timage handle 0x6007f000001f0
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 387
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988e9b810 hos timage handle 0x600c000000258
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 623
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988ea7850 hos timage handle 0x601770000021e
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 381
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988ea7290 hos timage handle 0x600a00000029a
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 338
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988ea7610 hos timage handle 0x600a600000182
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 366
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988e9a610 hos timage handle 0x601500000027b
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 466
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988e472d0 hos timage handle 0x600210000016a
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 287
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988ea3e10 hos timage handle 0x6007f000001f0
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 424
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988e9b810 hos timage handle 0x600c000000258
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 399
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988ea7850 hos timage handle 0x601770000021e
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 410
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988ea7290 hos timage handle 0x600a00000029a
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 403
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988ea7610 hos timage handle 0x600a600000182
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 352
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988e9a610 hos timage handle 0x601500000027b
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 338
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988e472d0 hos timage handle 0x600210000016a
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 366
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988ea3e10 hos timage handle 0x6007f000001f0
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 396
[AndroidInAppWebViewWidget] (android) AndroidInAppWebViewWidget calling "dispose" using []
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988eba290 hos timage handle 0x6005600000246
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 219
I/MESA ( 3488): exportSyncFdForQSRILocked: call for image 0x74a988eb9f10 hos timage handle 0x60143000000f7
I/MESA ( 3488): exportSyncFdForQSRILocked: got fd: 149
E/chromium( 3488): [ERROR:aw_browser_terminator.cc(165)] Renderer process (4466) crash detected (code -1).
W/cr_MediaCodecBridge( 3488): Releasing: c2.goldfish.h264.decoder
D/SurfaceUtils( 3488): connecting to surface 0x74a938d94be0, reason connectToSurface
I/MediaCodec( 3488): [c2.goldfish.h264.decoder] setting surface generation to 3571782
D/SurfaceUtils( 3488): disconnecting from surface 0x74a938d94be0, reason connectToSurface(reconnect)
D/SurfaceUtils( 3488): connecting to surface 0x74a938d94bd0, reason connectToSurface(reconnect-with-listener)
D/Codec2-OutputBufferQueue( 3488): remote graphic buffer migration 0/0
D/Codec2Client( 3488): setOutputSurface -- failed to set consumer usage (6/BAD_INDEX)
D/Codec2Client( 3488): setOutputSurface -- generation=3571782 consumer usage=0x900
D/Codec2Client( 3488): Surface configure completed
D/SurfaceUtils( 3488): disconnecting from surface 0x74a938d72ae0, reason disconnectFromSurface
D/CCodecBufferChannel( 3488): [c2.goldfish.h264.decoder#180] MediaCodec discarded an unknown buffer
D/CCodecBufferChannel( 3488): [c2.goldfish.h264.decoder#180] MediaCodec discarded an unknown buffer
D/CCodecBufferChannel( 3488): [c2.goldfish.h264.decoder#180] MediaCodec discarded an unknown buffer
D/CCodecBufferChannel( 3488): [c2.goldfish.h264.decoder#180] MediaCodec discarded an unknown buffer
W/cr_MediaCodecBridge( 3488): Codec released
W/cr_MediaCodecBridge( 3488): Releasing: c2.goldfish.h264.decoder
D/SurfaceUtils( 3488): connecting to surface 0x74a938d9b210, reason connectToSurface
I/MediaCodec( 3488): [c2.goldfish.h264.decoder] setting surface generation to 3571783
D/SurfaceUtils( 3488): disconnecting from surface 0x74a938d9b210, reason connectToSurface(reconnect)
D/SurfaceUtils( 3488): connecting to surface 0x74a938d9b200, reason connectToSurface(reconnect-with-listener)
D/Codec2-OutputBufferQueue( 3488): remote graphic buffer migration 2/2
D/Codec2Client( 3488): setOutputSurface -- failed to set consumer usage (6/BAD_INDEX)
D/Codec2Client( 3488): setOutputSurface -- generation=3571783 consumer usage=0x900
I/hw-BpHwBinder( 3488): onLastStrongRef automatically unlinking death recipients
D/SurfaceUtils( 3488): disconnecting from surface 0x74a938d94be0, reason disconnectFromSurface
D/Codec2Client( 3488): Surface configure completed
D/SurfaceUtils( 3488): disconnecting from surface 0x74a938dc9f70, reason disconnectFromSurface
D/CCodecBufferChannel( 3488): [c2.goldfish.h264.decoder#374] MediaCodec discarded an unknown buffer
D/CCodecBufferChannel( 3488): [c2.goldfish.h264.decoder#374] MediaCodec discarded an unknown buffer
D/CCodecBufferChannel( 3488): [c2.goldfish.h264.decoder#374] MediaCodec discarded an unknown buffer
D/CCodecBufferChannel( 3488): [c2.goldfish.h264.decoder#374] MediaCodec discarded an unknown buffer
D/CCodecBufferChannel( 3488): [c2.goldfish.h264.decoder#374] MediaCodec discarded an unknown buffer
D/CCodecBufferChannel( 3488): [c2.goldfish.h264.decoder#374] MediaCodec discarded an unknown buffer
I/hw-BpHwBinder( 3488): onLastStrongRef automatically unlinking death recipients
D/SurfaceUtils( 3488): disconnecting from surface 0x74a938d9b210, reason disconnectFromSurface
W/cr_MediaCodecBridge( 3488): Codec released
W/cr_MediaCodecBridge( 3488): Releasing: c2.goldfish.h264.decoder
D/SurfaceUtils( 3488): connecting to surface 0x74a938d9b210, reason connectToSurface
I/MediaCodec( 3488): [c2.goldfish.h264.decoder] setting surface generation to 3571784
D/SurfaceUtils( 3488): disconnecting from surface 0x74a938d9b210, reason connectToSurface(reconnect)
D/SurfaceUtils( 3488): connecting to surface 0x74a938d9b200, reason connectToSurface(reconnect-with-listener)
D/Codec2-OutputBufferQueue( 3488): remote graphic buffer migration 0/0
D/Codec2Client( 3488): setOutputSurface -- failed to set consumer usage (6/BAD_INDEX)
D/Codec2Client( 3488): setOutputSurface -- generation=3571784 consumer usage=0x900
D/Codec2Client( 3488): Surface configure completed
D/SurfaceUtils( 3488): disconnecting from surface 0x74a938d43d80, reason disconnectFromSurface
D/CCodecBufferChannel( 3488): [c2.goldfish.h264.decoder#745] MediaCodec discarded an unknown buffer
D/CCodecBufferChannel( 3488): [c2.goldfish.h264.decoder#745] MediaCodec discarded an unknown buffer
D/CCodecBufferChannel( 3488): [c2.goldfish.h264.decoder#745] MediaCodec discarded an unknown buffer
D/CCodecBufferChannel( 3488): [c2.goldfish.h264.decoder#745] MediaCodec discarded an unknown buffer
I/hw-BpHwBinder( 3488): onLastStrongRef automatically unlinking death recipients
D/SurfaceUtils( 3488): disconnecting from surface 0x74a938d9b210, reason disconnectFromSurface
W/cr_MediaCodecBridge( 3488): Codec released
D/BufferPoolAccessor2.0( 3488): bufferpool2 0x74a998d695b8 : 0(0 size) total buffers - 0(0 size) used buffers - 505/511 (recycle/alloc) - 6/506 (fetch/transfer)
D/BufferPoolAccessor2.0( 3488): bufferpool2 0x74a998d52f48 : 0(0 size) total buffers - 0(0 size) used buffers - 481/487 (recycle/alloc) - 6/481 (fetch/transfer)
D/BufferPoolAccessor2.0( 3488): bufferpool2 0x74a998d96bd8 : 0(0 size) total buffers - 0(0 size) used buffers - 485/490 (recycle/alloc) - 5/482 (fetch/transfer)
D/BufferPoolAccessor2.0( 3488): evictor expired: 3, evicted: 3
Flutter version
3.27.1
Operating System, Device-specific and/or Tool
Android 35
Plugin version
6.1.5
Additional information
No response
Self grab
I'm ready to work on this issue!
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
InAppWebView isn't disposing as the screen exits. It stays for a while before disappears:
Expected Behavior
It should exit instantly.
Steps with code example to reproduce
Steps with code example to reproduce
Stacktrace/Logs
Stacktrace/Logs
Flutter version
3.27.1
Operating System, Device-specific and/or Tool
Android 35
Plugin version
6.1.5
Additional information
No response
Self grab
The text was updated successfully, but these errors were encountered: