Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E/BufferQueueProducer(27147): [SurfaceTexture-0-27147-2] dequeueBuffer: BufferQueue has been abandoned #58

Open
4 tasks done
BerndWessels opened this issue Sep 28, 2022 · 18 comments
Labels
bug Something isn't working

Comments

@BerndWessels
Copy link

Environment

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.2, on Microsoft Windows [Version 10.0.19044.2006], locale en-NZ)
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.0)
[√] Android Studio (version 2021.3)
[√] VS Code (version 1.71.2)
[√] Connected device (5 available)
[√] HTTP Host Availability
Technology Version
Flutter version 3.3.2
Plugin version 1.6.0
Android version any
iOS version na
Xcode version na

Device information:

emulator
samsung
xiaomi
huawai
sony

Description

Getting error logs on android like this, which remain and even get worse using the scanner

E/BufferQueueProducer(27147): [SurfaceTexture-0-27147-2] dequeueBuffer: BufferQueue has been abandoned
E/BufferQueueProducer(27147): [SurfaceTexture-0-27147-2] dequeueBuffer: BufferQueue has been abandoned
E/BufferQueueProducer(27147): [SurfaceTexture-0-27147-2] dequeueBuffer: BufferQueue has been abandoned
E/BufferQueueProducer(27147): [SurfaceTexture-0-27147-2] dequeueBuffer: BufferQueue has been abandoned
E/BufferQueueProducer(27147): [SurfaceTexture-0-27147-2] dequeueBuffer: BufferQueue has been abandoned
E/BufferQueueProducer(27147): [SurfaceTexture-0-27147-2] dequeueBuffer: BufferQueue has been abandoned
E/BufferQueueProducer(27147): [SurfaceTexture-0-27147-2] dequeueBuffer: BufferQueue has been abandoned
E/BufferQueueProducer(27147): [SurfaceTexture-0-27147-2] dequeueBuffer: BufferQueue has been abandoned
E/BufferQueueProducer(27147): [SurfaceTexture-0-27147-2] dequeueBuffer: BufferQueue has been abandoned
E/BufferQueueProducer(27147): [SurfaceTexture-0-27147-2] dequeueBuffer: BufferQueue has been abandoned
...

Expected behavior:

no error logs

Current behavior:

ever growing error logs list

Steps to reproduce

  1. use the scan plugin with android
  2. logs appear after a few minutes
  3. logs appear if you use pause resume
  4. logs appear if you move off the scan page and return to it (plugin getting destroyed and re-instantiated)

Images

Stacktrace/Logcat

@BerndWessels BerndWessels added the bug Something isn't working label Sep 28, 2022
@wattanakorn495
Copy link

+1

@vito-go
Copy link

vito-go commented Nov 24, 2022

i also meet this problem

@ruhulrahat
Copy link

+1

@opsquid
Copy link

opsquid commented Dec 16, 2022

📌➕1️⃣

@nr-ghost
Copy link

+1

@CauaLW
Copy link

CauaLW commented Jan 2, 2023

Same here, someone managed to solve the problem?

@dlutfrank
Copy link

dlutfrank commented Feb 14, 2023

+1

4 similar comments
@LiRenGuo
Copy link

+1

@guduqiucai
Copy link

+1

@popopopdcvvbf
Copy link

+1

@dian00
Copy link

dian00 commented Apr 18, 2023

+1

@maxwellcatoo
Copy link

In the dispose callback function of the scanned page, calling the pause method of the ScanController instance can solve the problem

@bingbingbog
Copy link

In the dispose callback function of the scanned page, calling the pause method of the ScanController instance can solve the problem

not work for me

@Komche
Copy link

Komche commented Jun 2, 2023

I have the same problem

@Komche
Copy link

Komche commented Jun 2, 2023

+1

@thKali
Copy link

thKali commented Jun 14, 2023

Na função de retorno de chamada descartada da página digitalizada, chamar o método de pausa da instância ScanController pode resolver o problema

não funciona para mim

to me, not works

+1

@luciano-cervantes
Copy link

+1

@kevin6512
Copy link

+1,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests