id = 1609 title = "SPARC emulation: userspace program run from gdb crashes OS running in emulator" state = "closed" created_at = "2023-04-19T11:26:24.004Z" closed_at = "2024-04-14T12:07:21.890Z" labels = ["Closed::Fixed", "target: sparc"] url = "https://gitlab.com/qemu-project/qemu/-/issues/1609" host-os = "Ubuntu 22.10" host-arch = "x86-64" qemu-version = "QEMU emulator version 7.0.0 (Debian 1:7.0+dfsg-7ubuntu2.2)" guest-os = "SUN Solaris" guest-arch = "SPARC" description = """SPARC emulation: userspace program run from gdb crashes OS running in emulator""" reproduce = """As a user (not root!): 1. as -Q n -K PIC -b -L mandelbrot.s 2. ld -m a.out -o test 3. gdb ./test 4. run `as' is from gnu binutils (binutils-2.20.1-sol26-sparc-local.gz).""" additional = """[mandelbrot.s](/uploads/edfe6f1fd01fa39ecce9ba4201454ae3/mandelbrot.s) screenshot: https://imgur.com/a/JD51DJA It could very well be a bug in my assembly code, but it is still strange that it crashes the whole system. ~"kind::Bug"[in_asm.dat.xz](/uploads/6bb43ce2b7d6973da4751d236fb44e12/in_asm.dat.xz)"""