Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
QEMU/haxm: Multiple segmentation faults on Ubuntu 18.04 #39
While installation of a Ubuntu 16.04 works fine with qemu 2.11 and haxm 7.1, 18.04 produces multiple user mode segmentation faults in the guest on early steps and eventually hangs. The netboot images can be obtained from http://de.archive.ubuntu.com/ubuntu/dists/artful/main/installer-amd64/current/images/netboot/netboot.tar.gz .
You could try the hints shown in https://linux-audit.com/understand-and-configure-core-dumps-work-on-linux/ immediately after start (switch to alt-f2)
Further insights: right after the message box, make a alt+f2, enter, find | grep /core . Sometimes there are error messages like "%s%s%s not found". Sometimes (seldom) it even crashes.
After a while (30 seconds to 2 minutes), I got a segmentation fault. I wrote the coredump with
I packeted following things into https://mifritscher.de/austausch/_packet.zip :
I get the same symptoms also with only -smp 1 .
Sorry for the late response, and thanks a lot for providing the additional information. I tried to load the core dump (
Anything I did wrong?
Meanwhile, the latest Android 4.9 kernel also runs into segfaults under HAXM:
I'm not sure if these two issues share the same root cause. But at least Android dumps more information about the crash, so maybe we should look into the Android issue first (and kill two birds with one stone, hopefully).
Grml - ok, it seems that the file somehow got \r inserted... I hackfixed it and re-uploaded the file under https://mifritscher.de/austausch/test.core. Then, gdb can at least read the file:
Sadly, the backtrace isn't such usefull, but the binaries are in the initramdisk.