-
-
Notifications
You must be signed in to change notification settings - Fork 46
fix: add missing lib for OpenGL to prevent crashing #36
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
Conversation
|
@s4t7 can you provide examples of issues you had ? |
|
I'm investigating the issue... It's more related to android libs updates |
|
Thanks for reporting the bug. I will investigate about missing libs. I switched latest tag to the previous working one for now |
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/bashdid some research, and found adding the aforementioned libraries fixed the issue. |
|
i manage to fix issue by adding only one lib: libegl1 |
Shmayro
left a comment
There was a problem hiding this 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.
There was a problem hiding this 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
Following today’s update, my container experienced a crash upon rebooting. The inclusion of these libraries resolved the issue.