Skip to content

Android: PlatformImage.FromStream() terminates app in release builds. #30783

@philipag

Description

@philipag

Description

The attached sample is a boiler plate Android app with Bug3() method added to show the bug. With Release build, the app terminates instantly.

Bug3AndroidLoadImage.zip

Steps to Reproduce

  1. Build and run Release build
  2. Push the button
  3. The app terminates

Link to public reproduction project repository

No response

Version with bug

10.0.0-preview.6

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Tested on Android 14 emulator

Did you find any workaround?

No

Relevant log output

Log entries immediately preceding app termination:

07-23 09:55:16.903 D/EGL_emulation(22461): app_time_stats: avg=323.43ms min=12.94ms max=5249.42ms count=17
07-23 09:55:16.933 E/EGL_emulation(22461): tid 22490: eglQuerySurface(1419): error 0x3001 (EGL_NOT_INITIALIZED)
07-23 09:55:16.933 E/EGL_emulation(22461): tid 22490: eglQuerySurface(1419): error 0x3001 (EGL_NOT_INITIALIZED)
07-23 09:55:16.933 E/EGL_emulation(22461): tid 22490: eglSwapBuffers(2178): error 0x3001 (EGL_NOT_INITIALIZED)
07-23 09:55:16.933 F/OpenGLRenderer(22461): Encountered EGL error 12289 EGL_NOT_INITIALIZED during rendering

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-imageImage loading, sources, cachingi/regressionThis issue described a confirmed regression on a currently supported versionpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/androidregressed-in-10-preview1s/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions