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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃悰 Bug ]: "Segmentation fault (core dumped)" when run emulator -avd *** #411

Open
AinzLimuru opened this issue Mar 5, 2024 · 5 comments
Labels

Comments

@AinzLimuru
Copy link

Operating System

Ubuntu 20.04

Docker Image

budtmo/docker-android:emulator_11.0	budtmo/docker-android:emulator_13.0

Expected behaviour

start the emulator succefully

Actual behaviour

I can't start the emulator.
I try docker exec -it ** /bin/bash and emulator -avd ***. After that I get the Segmentation fault (core dumped).
I search the issus and try -gpu off and other options. But I can't solve the problem.
I can't find any useful log in the log file.
kvm-ok is successful.

Logs

My CPU is Intel Xeon E5-2696 v3 * 2.
Where can I get the log about why the emulator return the Segmentation fault (core dumped).

@AinzLimuru AinzLimuru added the bug label Mar 5, 2024
@nahidErgun
Copy link

I got the same error too after kubernetes deployment for the same image.
When i tried to run emulator command, i got this error then emulator closed with Segmentation fault (core dumped) error.


Screenshot 2024-03-13 at 08 56 49

@AinzLimuru
Copy link
Author

I got the same error too after kubernetes deployment for the same image. When i tried to run emulator command, i got this error then emulator closed with Segmentation fault (core dumped) error.

Screenshot 2024-03-13 at 08 56 49

I just see the green "docker android" background. I don't see the phone銆乲eyboard or the GPU Driver issue in the webpage.

@nahidErgun
Copy link

nahidErgun commented Mar 15, 2024

I tried to use these parameters on my deployment file then emulator launched successfully, can you try to use these arguments for your docker run command? Maybe it helps you too.

  • name: EMULATOR_DATA_PARTITION
    value: 4096m
  • name: EMULATOR_ADDITIONAL_ARGS
    value: '-noaudio -gpu host'

@AinzLimuru
Copy link
Author

I tried to use these parameters on my deployment file then emulator launched successfully, can you tried to use this arguments for your docker run command? Maybe it helps you too.

  • name: EMULATOR_DATA_PARTITION
    value: 4096m
  • name: EMULATOR_ADDITIONAL_ARGS
    value: '-noaudio -gpu host'

Thankyou. But I failed to launch the emulator.
If any body know how to get more information about the "Segmentation fault (core dumped)", please tell me, thank you very much.

@nahidErgun
Copy link

nahidErgun commented Mar 15, 2024

Sorry for that, you are welcome :) I did not use WEB_LOG_PORT and WEB_LOG but maybe it helps you to get more logs like in this url

https://github.com/budtmo/docker-android/blob/master/documentations/CUSTOM_CONFIGURATIONS.md#log-sharing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants