BufferQueue Abandoned
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- android, csharp
- Domain
- mobile-dev
Research direction
Start by reproducing the Page A → Page B → Page A navigation with the 0.5.0-preview.2 NuGet package on a rugged Android scanner, while watching the reported BufferQueue errors and scanner receiver behavior. Compare that result with the separate Fix Android15 branch; done means the hardware scanner still publishes barcode events after returning from the camera reader view.
Written by the indexing model from the issue text.
Description
@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 https://github.com/Redth/ZXing.Net.Maui/issues/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
- Dominant language
- C#
- Stars
- 579
- Forks
- 209
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Redth/ZXing.Net.Maui
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Redth/ZXing.Net.Maui#291 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Redth/ZXing.Net.Maui#283 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Redth/ZXing.Net.Maui#223 ·
-
Redth/ZXing.Net.Maui#207 · 11 comments · 1 reaction · 1 assignee ·
-
Barcode scanning ( OneDimensional format ) is very slow and needs TryHarder = true in android phone. Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Redth/ZXing.Net.Maui#205 · 3 comments ·
All issues in Redth/ZXing.Net.Maui
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
dotnet/AspNetCore.Docs#37699 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SubtitleEdit/subtitleedit#15108 · 1 comment ·
-
area/docs-content Bug pulumi/docs
Difficulty 1/5 1-3 hours Newbie friendliness 94/100
-
agentic-workflows untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100