Skip to content

Conversation

@s4t7
Copy link
Contributor

@s4t7 s4t7 commented Dec 17, 2025

Following today’s update, my container experienced a crash upon rebooting. The inclusion of these libraries resolved the issue.

@Shmayro
Copy link
Owner

Shmayro commented Dec 19, 2025

@s4t7 can you provide examples of issues you had ?

@Shmayro
Copy link
Owner

Shmayro commented Dec 19, 2025

I'm investigating the issue... It's more related to android libs updates
tag 19-11-25 works. I need to resolves that but i will also temporary switch tag latest to last working build to avoid issue to happen with all new users

@Shmayro
Copy link
Owner

Shmayro commented Dec 19, 2025

Thanks for reporting the bug. I will investigate about missing libs. I switched latest tag to the previous working one for now

@s4t7
Copy link
Contributor Author

s4t7 commented Dec 19, 2025

@s4t7 can you provide examples of issues you had ?

basically I had these logs

WARNING      | Crash handler not found, crash reporting disabled.
INFO         | Android emulator version 36.3.10.0 (build_id 14472402) (CL:N/A)
INFO         | Graphics backend: gfxstream
INFO         | Found systemPath /opt/android-sdk/system-images/android-30/default/x86_64/
WARNING      | Crash handler not found, crash reporting disabled.
WARNING      | Please update the emulator to one that supports the feature(s): Vulkan
INFO         | Increasing RAM size to 2048MB
WARNING      | System image is writable
INFO         | Guest GLES Driver: Auto (ext controls)
library_mode swiftshader_indirect gpu mode swiftshader_indirect
INFO         | Checking system compatibility:
INFO         |   Checking: hasSufficientDiskSpace
INFO         |      Ok: Disk space requirements to run avd: `android` are met
INFO         |   Checking: hasSufficientHwGpu
INFO         |      Ok: Hardware GPU compatibility checks are not required
INFO         |   Checking: hasSufficientSystem
INFO         |      Ok: System requirements to run avd: `android` are met
WARNING      | FeatureControl is requesting a non existing feature.
INFO         | Initializing gfxstream backend
INFO         | android_startOpenglesRenderer: gpu info
INFO         | 
INFO         | initIcdPaths: ICD set to 'swiftshader', using Swiftshader ICD
INFO         | Setting ICD filenames for the loader = /opt/android-sdk/emulator/lib64/vulkan/vk_swiftshader_icd.json
INFO         | SharedLibrary::open for [/opt/android-sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so]
INFO         | SharedLibrary::open for [/opt/android-sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so]: not found in map, open for the first time
INFO         | SharedLibrary::open for [/opt/android-sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so] (posix): begin
INFO         | SharedLibrary::open for [/opt/android-sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so] (posix,linux): call dlopen on [/opt/android-sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so]
INFO         | SharedLibrary::open for [/opt/android-sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so] failed (posix). dlerror: []
INFO         | SharedLibrary::open for [/opt/android-sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so.1]
INFO         | SharedLibrary::open for [/opt/android-sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so.1]: not found in map, open for the first time
INFO         | SharedLibrary::open for [/opt/android-sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so.1] (posix): begin
INFO         | SharedLibrary::open for [/opt/android-sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so.1] (posix,linux): call dlopen on [/opt/android-sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so.1]
INFO         | SharedLibrary::open for [/opt/android-sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so.1] failed (posix). dlerror: []
INFO         | SharedLibrary::open for [/opt/android-sdk/emulator/lib64/vulkan/libvulkan.so]
INFO         | SharedLibrary::open for [/opt/android-sdk/emulator/lib64/vulkan/libvulkan.so]: not found in map, open for the first time
INFO         | SharedLibrary::open for [/opt/android-sdk/emulator/lib64/vulkan/libvulkan.so] (posix): begin
INFO         | SharedLibrary::open for [/opt/android-sdk/emulator/lib64/vulkan/libvulkan.so] (posix,linux): call dlopen on [/opt/android-sdk/emulator/lib64/vulkan/libvulkan.so]
INFO         | SharedLibrary::open succeeded for [/opt/android-sdk/emulator/lib64/vulkan/libvulkan.so].
INFO         | Added library: /opt/android-sdk/emulator/lib64/vulkan/libvulkan.so
INFO         | Selecting Vulkan device: SwiftShader Device (Subzero), Version: 1.3.0
INFO         | Disabling sparse binding feature support
INFO         | SharedLibrary::open for [libGLESv2.so]: not found in map, open for the first time
INFO         | SharedLibrary::open for [libGLESv2.so] (posix): begin
INFO         | SharedLibrary::open for [libGLESv2.so] (posix,linux): call dlopen on [libGLESv2.so]
INFO         | SharedLibrary::open succeeded for [libGLESv2.so].
INFO         | SharedLibrary::open for [libEGL.so]: not found in map, open for the first time
INFO         | SharedLibrary::open for [libEGL.so] (posix): begin
INFO         | SharedLibrary::open for [libEGL.so] (posix,linux): call dlopen on [libEGL.so]
/root/start-emulator.sh: line 41:    83 Segmentation fault      (core dumped) /opt/android-sdk/emulator/emulator -avd android -nojni -netfast -writable-system -no-window -no-audio -no-boot-anim -skip-adb-auth -gpu swiftshader_indirect -no-snapshot -no-metrics $RAMDISK -qemu -m ${RAM_SIZE:-4096}
INFO         | SharedLib2025-12-17 17:38:15,456 INFO exited: emulator (exit status 139; not expected) [#!/bin/bash

did some research, and found adding the aforementioned libraries fixed the issue.

@Shmayro
Copy link
Owner

Shmayro commented Dec 19, 2025

i manage to fix issue by adding only one lib: libegl1

Copy link
Owner

@Shmayro Shmayro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only libegl1 fixes the issue

Removed unnecessary libraries from Dockerfile.
@Shmayro Shmayro changed the title Add additional libraries to Dockerfile to Prevent Crashing fix: add missing lib for OpenGL to prevent crashing Dec 19, 2025
Copy link
Owner

@Shmayro Shmayro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

crash issues resolved by adding OpenGL required lib : libegl1

@Shmayro Shmayro merged commit 35df4c0 into Shmayro:main Dec 19, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants