Skip to content

Application sometimes crushes on Android 15 in Release #291

Open

Description

@AWMKarlas

log.txt

Hello, after upgrade OS to Android 15, application stated sometimes crushes when camera is on. I think that happend mostly in release mode. I could just got the log from device:

Time Device Name Type PID Tag Message
01-13 20:19:39.741 realme RMX3834 Error 1147 Camera3-OutputStream returnBufferCheckedLocked: Stream 1: Error queueing buffer to native window: Broken pipe (-32)

Activity

  1. AWMKarlas commented on Jan 14, 2026

    @AWMKarlas
    Author

    I also tried changes intthe pull (#273), also application is crushing during opened scanner

  2. jfversluis commented on Aug 14, 2026

    @jfversluis
    Collaborator

    @AWMKarlas I opened #322 with a fix for the native frame-buffer crash. The log points to an unchecked RGBA pointer read on CameraX's analyzer thread; the broken-pipe messages occur after the process has already died. The fix removes that unsafe read and ensures frame data remains valid after CameraX closes the image.\n\nCould you please test the NuGet packages from the successful CI build on the same Android 15 device and in Release mode?\n\nArtifact: https://github.com/Redth/ZXing.Net.Maui/actions/runs/31803145141/artifacts/9220294352\n\nDownload and unzip the NuGet artifact, add the folder as a local NuGet source, and update both ZXing.Net.Maui packages to version 0.999-ci31803145141. Please leave the scanner open long enough to cover the intermittent case and let us know whether it still crashes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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