Skip to content

FrameEvents and ImageReader errors and warnings #301

@gabbopalma

Description

@gabbopalma

Platforms

Android

Device Info

  • Android version: 14
  • Device model: Xiaomi 2109119DG 8GB RAM

Version of flutter-maplibre

main branch

Bug Description

I have these two logs repeating in a loop in the console.

E/FrameEvents(11487): updateAcquireFence: Did not find frame.
W/ImageReader_JNI(11487): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers

If I set androidMode to AndroidPlatformViewMode.hc, I don't get any errors on updateAcquireFence or warnings related to buffer items.

Steps to Reproduce

  1. Run the app in debug mode and check the logs
  2. Create a map with a transparent background

Expected Results

No errors or warnings from FrameEvents or ImageReader_JNI

Actual Results

Logs:

E/FrameEvents(11487): updateAcquireFence: Did not find frame.
W/ImageReader_JNI(11487): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers

Code Sample

MapLibreMap(
          options: MapOptions(
            initCenter: Position(9.17, 47.68),
            initZoom: 2,
            initStyle: MapStyles.translucentAsset,
          ),
)

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions