question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Emulator stops after couple of minutes with segmentation fault (core dump)

See original GitHub issue

I have used a fresh install of Ubuntu 18.04 and and followed the procedure mentioned in readme. When I execute emulator -writable-system, the emulator gets started but stops with Segmentation fault.

I have also tried with macOS but it didn’t help. Have you faced any similar issue? If yes, how do you resolve this?

Thanks in advance.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
tausiqcommented, Jul 9, 2021

I have resumed the experiment and using physical machine.

Yes I can boot and run emulator using Android Studio. My user is in both kvm and libvrt

Yes, m command took a lot longer time to run.

I have been able to boot the emulator with following command, emulator -writable-system -gpu swiftshader_indirect It uses graphics: software

Thanks!

0reactions
ticketappcommented, Nov 23, 2022

I use a Debian physical machine and I used -writable-system -gpu swiftshader_indirect and my emulator has still not crashed for one day (and it’s usually every hour). I tried a lot of things but it seems to be a working solution! Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android emulator segmentation fault - Stack Overflow
Try adding -v to the emulator command line and see where it dumps. I had a problem with emulator on the R21 Android...
Read more >
Resolving Segmentation Fault (“Core dumped”) in Ubuntu - Blog
Segmentation fault is when your system tries to access a page of memory that doesn't exist. Core dumped means when a part of...
Read more >
Determining Root Cause of Segmentation Faults SIGSEGV or ...
Problem : When I run my code compiled with the Intel® Fortran Compiler I get SIGSEGV on Linux* (or SIGBUS on MacOS*). This...
Read more >
Snapshot - Emulator start produces segmentation fault after ...
I executed it with -verbose and i observed the execution does not complete (i waited about 10 minutes to see if it continues)....
Read more >
Segmentation fault in Step 5 · Issue #46 - GitHub
... line 15: 1487 Segmentation fault (core dumped). We tried to lower the amount of reads to 2.3B reads but had similar result,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found