Skip to content

BufferQueue Abandoned #244

@matt-bartholomew

Description

@matt-bartholomew

@jfversluis
It appears the 0.5.0-preview.2 release introduced some errors that were in the 0.4.0 release.
Trying the 0.5.0-preview.1 release doesn't work as that introduces the error #238.

The behavior occurs on a rugged non-consumer device with an in-built laser scanner, such as a Zebra, Datalogic, or Janam device. On page A of the issue we have two items, a button that can take us to Page B, and a token that listens for a barcode event. We can choose on Page A to scan a barcode using the device's laser scanner, which through a receiver will publish a barcode event. The issue is that is we go to Page B, which contains a camera barcode reader view, and come back to Page A, we can no longer use the laser scanner. It is effectively disabled and the OnReceive is never fired in the scanner's receiver class.

The below are the only two errors showing the in output logs.

2025-08-28 13:42:34.178 15154-15168 BufferQueueProducer com.company.myapp E SurfaceView[com.company.myapp/crc641970a28170a9541a.MainActivity]#6(BLAST Consumer)6 queueBuffer: BufferQueue has been abandoned
2025-08-28 13:42:34.179 15154-15168 BufferQueueProducer com.company.myapp E SurfaceView[com.company.myapp/crc641970a28170a9541a.MainActivity]#6(BLAST Consumer)6 dequeueBuffer: BufferQueue has been abandoned

Edit: The Fix Android15 branch, when tested separate from the other branches in 0.5.0-preview.2 works. When using 0.5.0-preview.2 nuget package, it disables the hardware scanner as described above and throws the above errors.

@mrbelk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions