Package: qemu-user-static
Version: 1:7.0+dfsg-3
Severity: important
X-Debbugs-Cc: [email protected]
Control: affects -1 + mmdebstrap

Hi,

a few days ago, the mmdebstrap testsuite started to break like this:

00:00:00.206 E: + ./mmdebstrap --mode=root --variant=apt --architectures=arm64 
unstable /tmp/debian-chroot.tar http://127.0.0.1/debian
00:00:00.456 E: I: arm64 cannot be executed, falling back to qemu-user
00:00:00.515 E: I: automatically chosen format: tar
00:00:00.526 E: I: using /tmp/mmdebstrap.X4yO9M_TEG as tempdir
00:00:00.603 E: I: running apt-get update...
00:00:02.923 E: I: downloading packages with apt...
00:00:04.589 E: I: extracting archives...
00:00:08.066 E: I: installing essential packages...
00:00:08.099 E: qemu: uncaught target signal 11 (Segmentation fault) - core 
dumped

Our daily jenkins jobs confirms this observation (grep for Segmentation fault):

https://jenkins.debian.net/job/fakeroot-foreign-worker/626/console

I used debbisect to find out the package responsible for the issue like this:

    $ debbisect --cache=/tmp/cache --qemu=defaults \
        
--depends=mmdebstrap,arch-test,mount,uidmap,binfmt-support,qemu-user-static \
        2022-05-06T20:54:02Z 2022-05-07T03:42:36Z \
        'ssh  -F  "$1"  qemu  mmdebstrap --arch=arm64 --variant=apt 
--aptopt=Acquire::Check-Valid-Until\\\ \\\"false\\\" unstable /dev/null 
$DEBIAN_BISECT_MIRROR'
    snapshot timestamp difference: 0.283727 days
    approximately 2 steps left to test
    #1: trying known good 2022-05-06 20:54:02+00:00...
    computation time left: 0:02:54.646190
    approximately 1 steps left to test
    #2: trying known bad 2022-05-07 03:42:36+00:00...
    bisection finished successfully
      last good timestamp: 2022-05-06 20:54:02+00:00
      first bad timestamp: 2022-05-07 03:42:36+00:00
    the following packages differ between the last good and first bad timestamp:
      libssl1.1:amd64 1.1.1n-1 -> 1.1.1o-1
      qemu-user-static 1:7.0+dfsg-2+b1 -> 1:7.0+dfsg-3
    test upgrading libssl1.1:amd64 1.1.1n-1 -> 1.1.1o-1...
      upgrading libssl1.1:amd64 does not cause the problem
    test upgrading qemu-user-static 1:7.0+dfsg-2+b1 -> 1:7.0+dfsg-3...
      upgrading qemu-user-static triggered the problem

>From the output above it is quite clear that the upgrade of
qemu-user-static from 1:7.0+dfsg-2+b1 to 1:7.0+dfsg-3 is the culprit.
Looking at d/changelog indeed reveals some changes to qemu-user-static
between these versions.

Could you please investigate? This currently breaks my software
mmdebstrap.

Thanks!

cheers, josch

Reply via email to