Your message dated Sat, 30 Apr 2022 13:13:39 +0300
with message-id <[email protected]>
and subject line Re: Bug#976239: qemu-user: emulator crash with minimal test 
program
has caused the Debian Bug report #976239,
regarding qemu-user: emulator crash with minimal test program
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
976239: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976239
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: qemu-user
Version: 1:5.1+dfsg-4+b2
Severity: normal
Tags: upstream
X-Debbugs-Cc: [email protected]

I have a test program for the PowerPC which reliably causes qemu-ppc to crash,
apparently on startup. I haven't been able to get it to tell me what it's doing
during the crash. The minimal program is:

---snip---
.text
.global _start
_start:
        li 3,0
        li 0,1
        sc # call _exit()

        .section .bss
        .byte 0
---snip---

To reproduce, do:

$ powerpc-linux-gnu-as -o test.o test.s
$ powerpc-linux-gnu-ld -o test test.o
$ qemu-ppc ./test
Segmentation fault

I believe this is a bug in qemu as the same binary works absolutely fine on
real hardware. Removing the `.byte 0` line causes the crash to go away.



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (500, 
'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages qemu-user depends on:
ii  libc6         2.31-4
ii  libcapstone3  4.0.1+really+3.0.5-2+b1
ii  libgcc-s1     10.2.0-16
ii  libglib2.0-0  2.66.2-1
ii  libgnutls30   3.6.15-4
ii  libstdc++6    10.2.0-16
ii  zlib1g        1:1.2.11.dfsg-2

Versions of packages qemu-user recommends:
ii  qemu-user-static [qemu-user-binfmt]  1:5.1+dfsg-4+b2

Versions of packages qemu-user suggests:
ii  sudo  1.9.3p1-1

-- debconf-show failed

--- End Message ---
--- Begin Message ---
Version: 1:6.2+dfsg-1
On Wed, 02 Dec 2020 01:17:42 +0100 David Given <[email protected]> wrote:
Package: qemu-user
Version: 1:5.1+dfsg-4+b2
Severity: normal
Tags: upstream
X-Debbugs-Cc: [email protected]

I have a test program for the PowerPC which reliably causes qemu-ppc to crash,
apparently on startup. I haven't been able to get it to tell me what it's doing
during the crash.


This seems to be fixed in version 6.2 (maybe earlier), at least I can't 
reproduce
it neither in 6.2 nor in 7.0.

Closing this bugreport.

Thank you!

/mjt

--- End Message ---

Reply via email to