diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-06-30 12:24:58 +0000 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-06-30 12:27:06 +0000 |
| commit | 33606b41d35115f887ea688b1a16f2ff85bf2fe4 (patch) | |
| tree | 406b2c7b19a087ba437c68f3dbf0b589fa1d6150 /results/scraper/launchpad-without-comments/1918302 | |
| parent | adedf8771bc4de3113041ca21bd4d0d1c0014b6a (diff) | |
| download | emulator-bug-study-33606b41d35115f887ea688b1a16f2ff85bf2fe4.tar.gz emulator-bug-study-33606b41d35115f887ea688b1a16f2ff85bf2fe4.zip | |
add launchpad bug reports without comments
Diffstat (limited to 'results/scraper/launchpad-without-comments/1918302')
| -rw-r--r-- | results/scraper/launchpad-without-comments/1918302 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/1918302 b/results/scraper/launchpad-without-comments/1918302 new file mode 100644 index 00000000..d620cf5b --- /dev/null +++ b/results/scraper/launchpad-without-comments/1918302 @@ -0,0 +1,12 @@ +qemu-system-arm segfaults while servicing SYS_HEAPINFO + +I compiled QEMU version 5.2.0 from source on Ubuntu 18.04, and tried to use it to run the attached bare-metal Arm hello-world image, using the command line + +qemu-system-arm -M microbit -semihosting -nographic -device loader,file=hello.hex + +The result was that qemu-system-arm itself died of a segfault. Compiling it for debugging, the location of the segfault was in target/arm/arm-semi.c, in the case handler for the semihosting call TARGET_SYS_HEAPINFO, on line 1020 which assigns to 'rambase': + + const struct arm_boot_info *info = env->boot_info; + target_ulong rambase = info->loader_start; + +and the problem seems to be that 'info', aka env->boot_info, is NULL in this context. \ No newline at end of file |
