Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AVD crashes with "qemu-system-x86_64 killed by SIGSEGV" on Fedora

I am trying to run an AVD on Fedora 39 Workstation, but I am getting a crash with the following error: "qemu-system-x86_64 killed by SIGSEGV". I have installed Android Studio from Flatpak.

Expected behavior:

The AVD should start and run without any errors.

Actual behavior:

The AVD crashes with the error message above.

like image 420
Binyamin Pekar Avatar asked Sep 05 '25 00:09

Binyamin Pekar


1 Answers

The issue is with Fedora's SE Linux AVC denials. Install SE Linux Troubleshoot GUI if not already installed: sudo dnf install setroubleshoot

Open its GUI and try booting up AVD from android studio. The GUI will show the denial (in my case) as 'MainThreadLoop' trying to access execheap. Generate the local policy rule it suggests as sudo and it will work the next launch!

You may have encountered this execheap denial even in VSCode on Fedora.

like image 71
Devik Avatar answered Sep 09 '25 23:09

Devik