Control: tag -1 + moreinfo

On Tue, 07 Mar 2023 12:40:02 -0800 Dima Kogan <dko...@debian.org> wrote:
Package: qemu-user-static
Version: 1:7.2+dfsg-4
Severity: normal
X-Debbugs-Cc: none, Dima Kogan <dko...@debian.org>

Hi. I'm running bookworm on an arm64 machine. I have an amd64 foreign
arch enabled, and running python3:amd64 in a loop sometimes segfaults.
I'm doing this:

  for i in {1..400}; do echo $i; python3 -c "exit()"; done

I see 1-2 crashes usually. The symptoms look exactly like:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988174

But this is emulating arm64->amd64, not the other way, like in that bug.
And the issue in that bug was /proc not being mounted, while it doesn't
appear to make a difference here.

I cannot debug deeper right now, but it appears to be very reproducible.
If nobody beats me to it in the next few weeks, I'll try to dig into it.

Hi!

Does this still happen with more recent qemu, say, 9.0 or 9.1?
There has been a lot of fixes in qemu-user since 7.2.

qemu-user-static package is self-contained (since it is linked
statically), - you can freely install a more recent package on
an older system without any issues (the only possible complication
in this case is that in 9.1, I rearranged files in qemu-user*
packages, so it is qemu-user package now).

Can you please try at least the 9.0 version currently in testing?

Thanks,

/mjt

Reply via email to