Bug#935984: freerdp-x11: crashes with illegal instruction, winpr libraries contain SSE2 instructions on i386

Ondrej Zary linux at zary.sk
Wed Aug 28 18:17:02 BST 2019


Package: freerdp-x11
Version: 1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
Severity: important

Dear Maintainer,
freerdp is not usable on i386 machines without SSE2 - crashes immediately:

$ freerdp 1.2.3.4
WARNING: Using deprecated command-line interface!
1.2.3.4 -> /v:1.2.3.4
connected to 1.2.3.4:3389
Password:
Illegal instruction

winpr libraries are compiled with SSE2 instructions:

$ cat ~/sse2_test.sh
#!/bin/sh
echo "$1"
objdump -d "$1" | grep xmm

/usr/lib/i386-linux-gnu$ find . -type f -name \*winpr\* -exec ~/sse2_test.sh \{\} \;
./libwinpr-interlocked.so.0.1.0
 a8a:   f3 0f 7e 44 24 18       movq   0x18(%esp),%xmm0
 a98:   66 0f 7e c0             movd   %xmm0,%eax
 aa0:   66 0f 73 d0 20          psrlq  $0x20,%xmm0
 aa5:   66 0f 7e c2             movd   %xmm0,%edx
 b09:   f3 0f 7e 44 24 28       movq   0x28(%esp),%xmm0
 b0f:   66 0f d6 44 24 0c       movq   %xmm0,0xc(%esp)
./libwinpr-file.so.0.1.0
./libwinpr-error.so.0.1.0
./libwinpr-crt.so.0.1.0
./libwinpr-rpc.so.0.1.0
    3a3f:       66 0f ef c0             pxor   %xmm0,%xmm0
    3a43:       0f 12 82 ec 03 00 00    movlps 0x3ec(%edx),%xmm0
    3a4a:       0f 16 82 f4 03 00 00    movhps 0x3f4(%edx),%xmm0
    3a51:       0f 13 00                movlps %xmm0,(%eax)
    3a54:       0f 17 40 08             movhps %xmm0,0x8(%eax)
./libwinpr-sysinfo.so.0.1.0
./libwinpr-sspi.so.0.1.0
    6476:       f3 0f 7e 42 08          movq   0x8(%edx),%xmm0
    647b:       66 0f d6 46 08          movq   %xmm0,0x8(%esi)
    6489:       f3 0f 7e 48 08          movq   0x8(%eax),%xmm1
    648e:       66 0f d6 4e 10          movq   %xmm1,0x10(%esi)
    65c5:       f3 0f 7e 46 08          movq   0x8(%esi),%xmm0
    65ca:       66 0f d6 00             movq   %xmm0,(%eax)
    65d7:       f3 0f 7e 4e 10          movq   0x10(%esi),%xmm1
    65dc:       66 0f d6 48 08          movq   %xmm1,0x8(%eax)
    66a1:       66 0f ef c0             pxor   %xmm0,%xmm0
    66c1:       0f 12 01                movlps (%ecx),%xmm0
    66c4:       0f 16 41 08             movhps 0x8(%ecx),%xmm0
    66c8:       0f 13 40 f0             movlps %xmm0,-0x10(%eax)
    66cc:       0f 17 40 f8             movhps %xmm0,-0x8(%eax)
    66f1:       66 0f ef c0             pxor   %xmm0,%xmm0
    670e:       0f 12 00                movlps (%eax),%xmm0
    6711:       0f 16 40 08             movhps 0x8(%eax),%xmm0
    6718:       0f 13 01                movlps %xmm0,(%ecx)
    671b:       0f 17 41 08             movhps %xmm0,0x8(%ecx)
    6810:       f3 0f 7e 86 34 0a 00    movq   0xa34(%esi),%xmm0
    6818:       66 0f d6 86 2c 0a 00    movq   %xmm0,0xa2c(%esi)
    6a60:       f3 0f 7e 86 3c 0a 00    movq   0xa3c(%esi),%xmm0
    6a68:       f3 0f 7e 8e 44 0a 00    movq   0xa44(%esi),%xmm1
    6a7d:       66 0f d6 44 24 2c       movq   %xmm0,0x2c(%esp)
    6a83:       66 0f d6 4c 24 34       movq   %xmm1,0x34(%esp)
    6ac9:       f3 0f 7e 96 44 0a 00    movq   0xa44(%esi),%xmm2
    6ad1:       66 0f d6 57 10          movq   %xmm2,0x10(%edi)
    6c40:       f3 0f 7e 8d 2c 0a 00    movq   0xa2c(%ebp),%xmm1
    6c48:       66 0f d6 48 08          movq   %xmm1,0x8(%eax)
    6c4d:       f3 0f 7e 95 44 0a 00    movq   0xa44(%ebp),%xmm2
    6c55:       66 0f d6 50 10          movq   %xmm2,0x10(%eax)
    6c90:       f3 0f 7e 9d 3c 0a 00    movq   0xa3c(%ebp),%xmm3
    6c98:       66 0f d6 18             movq   %xmm3,(%eax)
    6d11:       66 0f ef c0             pxor   %xmm0,%xmm0
    6d15:       0f 12 44 24 5c          movlps 0x5c(%esp),%xmm0
    6d1a:       0f 16 44 24 64          movhps 0x64(%esp),%xmm0
    6d1f:       0f 13 00                movlps %xmm0,(%eax)
    6d26:       0f 17 40 08             movhps %xmm0,0x8(%eax)
    7084:       66 0f ef c0             pxor   %xmm0,%xmm0
    7088:       0f 12 80 4c 0a 00 00    movlps 0xa4c(%eax),%xmm0
    708f:       0f 16 80 54 0a 00 00    movhps 0xa54(%eax),%xmm0
    7096:       0f 13 80 5c 0a 00 00    movlps %xmm0,0xa5c(%eax)
    709d:       0f 17 80 64 0a 00 00    movhps %xmm0,0xa64(%eax)
    70e4:       66 0f ef c0             pxor   %xmm0,%xmm0
    70e8:       0f 12 80 6c 0a 00 00    movlps 0xa6c(%eax),%xmm0
    70ef:       0f 16 80 74 0a 00 00    movhps 0xa74(%eax),%xmm0
    70f6:       0f 13 80 7c 0a 00 00    movlps %xmm0,0xa7c(%eax)
    70fd:       0f 17 80 84 0a 00 00    movhps %xmm0,0xa84(%eax)
    721b:       66 0f ef c0             pxor   %xmm0,%xmm0
    7222:       0f 12 07                movlps (%edi),%xmm0
    7225:       0f 16 47 08             movhps 0x8(%edi),%xmm0
    722e:       0f 13 00                movlps %xmm0,(%eax)
    7231:       0f 17 40 08             movhps %xmm0,0x8(%eax)
    741e:       66 0f ef c0             pxor   %xmm0,%xmm0
    7422:       0f 12 07                movlps (%edi),%xmm0
    7425:       0f 16 47 08             movhps 0x8(%edi),%xmm0
    7429:       0f 13 02                movlps %xmm0,(%edx)
    742c:       0f 17 42 08             movhps %xmm0,0x8(%edx)
    78b9:       f3 0f 7e 00             movq   (%eax),%xmm0
    78bd:       66 0f d6 07             movq   %xmm0,(%edi)
    791c:       f3 0f 7e 02             movq   (%edx),%xmm0
    7920:       66 0f d6 01             movq   %xmm0,(%ecx)
    845c:       f3 0f 7e 46 04          movq   0x4(%esi),%xmm0
    8461:       66 0f d6 85 2c 09 00    movq   %xmm0,0x92c(%ebp)
    8473:       f3 0f 7e 8d 2c 09 00    movq   0x92c(%ebp),%xmm1
    847b:       66 0f d6 8d 3c 0a 00    movq   %xmm1,0xa3c(%ebp)
    8486:       f3 0f 7e 10             movq   (%eax),%xmm2
    848a:       66 0f d6 95 34 09 00    movq   %xmm2,0x934(%ebp)
    86b4:       f3 0f 7e 18             movq   (%eax),%xmm3
    86bf:       66 0f d6 9d 34 0a 00    movq   %xmm3,0xa34(%ebp)
    884c:       f3 0f 7e 95 3c 0a 00    movq   0xa3c(%ebp),%xmm2
    8854:       66 0f d6 95 2c 09 00    movq   %xmm2,0x92c(%ebp)
    894a:       f3 0f 7e 85 2c 09 00    movq   0x92c(%ebp),%xmm0
    8952:       66 0f d6 02             movq   %xmm0,(%edx)
    895f:       f3 0f 7e 8d 34 09 00    movq   0x934(%ebp),%xmm1
    8967:       66 0f d6 4a 08          movq   %xmm1,0x8(%edx)
    8d41:       66 0f ef c0             pxor   %xmm0,%xmm0
    8d4b:       0f 12 00                movlps (%eax),%xmm0
    8d4e:       0f 16 40 08             movhps 0x8(%eax),%xmm0
    8d52:       0f 13 85 8c 0a 00 00    movlps %xmm0,0xa8c(%ebp)
    8d59:       0f 17 85 94 0a 00 00    movhps %xmm0,0xa94(%ebp)
    8e45:       66 0f ef c0             pxor   %xmm0,%xmm0
    8e49:       0f 12 85 bc 09 00 00    movlps 0x9bc(%ebp),%xmm0
    8e50:       0f 16 85 c4 09 00 00    movhps 0x9c4(%ebp),%xmm0
    8e57:       0f 13 04 38             movlps %xmm0,(%eax,%edi,1)
    8e5b:       0f 17 44 38 08          movhps %xmm0,0x8(%eax,%edi,1)
    8f97:       66 0f ef c0             pxor   %xmm0,%xmm0
    8f9b:       0f 12 00                movlps (%eax),%xmm0
    8f9e:       0f 16 40 08             movhps 0x8(%eax),%xmm0
    8fa2:       0f 13 85 bc 09 00 00    movlps %xmm0,0x9bc(%ebp)
    8fa9:       0f 17 85 c4 09 00 00    movhps %xmm0,0x9c4(%ebp)
    9078:       f3 0f 7e 4c 24 6c       movq   0x6c(%esp),%xmm1
    9082:       66 0f d6 8d 44 0a 00    movq   %xmm1,0xa44(%ebp)
    967e:       66 0f ef c0             pxor   %xmm0,%xmm0
    9691:       0f 12 85 dc 0a 00 00    movlps 0xadc(%ebp),%xmm0
    9698:       0f 16 85 e4 0a 00 00    movhps 0xae4(%ebp),%xmm0
    969f:       0f 13 01                movlps %xmm0,(%ecx)
    96a2:       0f 17 41 08             movhps %xmm0,0x8(%ecx)
    9bbd:       f3 0f 7e 84 24 14 01    movq   0x114(%esp),%xmm0
    9bc6:       66 0f d6 40 04          movq   %xmm0,0x4(%eax)
    9e7f:       f3 0f 7e 84 24 04 01    movq   0x104(%esp),%xmm0
    9e93:       66 0f d6 84 24 20 01    movq   %xmm0,0x120(%esp)
./libwinpr-handle.so.0.1.0
./libwinpr-utils.so.0.1.0
    a327:       f3 0f 7e 44 24 18       movq   0x18(%esp),%xmm0
    a330:       66 0f d6 44 24 08       movq   %xmm0,0x8(%esp)
    a347:       f3 0f 7e 4c 24 18       movq   0x18(%esp),%xmm1
    a358:       66 0f d6 4c 24 08       movq   %xmm1,0x8(%esp)
    c9d1:       f3 0f 7e 44 24 18       movq   0x18(%esp),%xmm0
    c9d7:       66 0f d6 00             movq   %xmm0,(%eax)
    dd9e:       66 0f 6e c2             movd   %edx,%xmm0
    dda2:       66 0f d6 84 24 10 01    movq   %xmm0,0x110(%esp)
    f16f:       f3 0f 7e 44 24 68       movq   0x68(%esp),%xmm0
    f175:       66 0f d6 00             movq   %xmm0,(%eax)
    fa99:       f3 0f 7e 4c 24 68       movq   0x68(%esp),%xmm1
    fa9f:       66 0f d6 08             movq   %xmm1,(%eax)
   109d4:       f3 0f 7e 87 9c 01 00    movq   0x19c(%edi),%xmm0
   109dc:       66 0f 7e c3             movd   %xmm0,%ebx
   109e0:       66 0f 73 d0 20          psrlq  $0x20,%xmm0
   109e7:       66 0f 7e c1             movd   %xmm0,%ecx
   120cf:       f2 0f 10 44 24 30       movsd  0x30(%esp),%xmm0
   120d9:       f2 0f 11 04 24          movsd  %xmm0,(%esp)
   1212f:       f2 0f 10 44 24 30       movsd  0x30(%esp),%xmm0
   12139:       f2 0f 11 04 24          movsd  %xmm0,(%esp)
   1219f:       f2 0f 10 44 24 30       movsd  0x30(%esp),%xmm0
   121a9:       f2 0f 11 04 24          movsd  %xmm0,(%esp)
   121ff:       f2 0f 10 44 24 30       movsd  0x30(%esp),%xmm0
   12209:       f2 0f 11 04 24          movsd  %xmm0,(%esp)
   1224f:       f2 0f 10 44 24 30       movsd  0x30(%esp),%xmm0
   12259:       f2 0f 11 04 24          movsd  %xmm0,(%esp)
   12dac:       66 0f 6e c2             movd   %edx,%xmm0
   12db0:       66 0f d6 44 24 38       movq   %xmm0,0x38(%esp)
   12ea0:       66 0f 6e ca             movd   %edx,%xmm1
   12ea4:       66 0f d6 4c 24 38       movq   %xmm1,0x38(%esp)
./libwinpr-pool.so.0.1.0
./libwinpr-input.so.0.1.0
./libwinpr-synch.so.0.1.0
./libwinpr-registry.so.0.1.0
./libwinpr-heap.so.0.1.0
./libwinpr-environment.so.0.1.0
./libwinpr-thread.so.0.1.0
./libwinpr-path.so.0.1.0
./libwinpr-dsparse.so.0.1.0
./libwinpr-library.so.0.1.0
./libwinpr-crypto.so.0.1.0


-- System Information:
Debian Release: 10.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'oldstable-updates'), (500, 'stable'), (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 4.19.0-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages freerdp-x11 depends on:
ii  libc6                     2.28-10
ii  libfreerdp-cache1.1       1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libfreerdp-client1.1      1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libfreerdp-codec1.1       1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libfreerdp-common1.1.0    1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libfreerdp-core1.1        1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libfreerdp-crypto1.1      1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libfreerdp-gdi1.1         1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libfreerdp-locale1.1      1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libfreerdp-primitives1.1  1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libfreerdp-rail1.1        1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libfreerdp-utils1.1       1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libjpeg62-turbo           1:1.5.2-2+b1
ii  libssl1.0.2               1.0.2s-1~deb9u1
ii  libwinpr-crt0.1           1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libwinpr-crypto0.1        1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libwinpr-dsparse0.1       1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libwinpr-environment0.1   1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libwinpr-error0.1         1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libwinpr-file0.1          1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libwinpr-handle0.1        1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libwinpr-heap0.1          1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libwinpr-input0.1         1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libwinpr-interlocked0.1   1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libwinpr-library0.1       1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libwinpr-path0.1          1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libwinpr-pool0.1          1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libwinpr-registry0.1      1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libwinpr-rpc0.1           1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libwinpr-sspi0.1          1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libwinpr-synch0.1         1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libwinpr-sysinfo0.1       1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libwinpr-thread0.1        1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libwinpr-utils0.1         1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libx11-6                  2:1.6.7-1
ii  libxcursor1               1:1.1.15-2
ii  libxext6                  2:1.3.3-1+b2
ii  libxfreerdp-client1.1     1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3
ii  libxi6                    2:1.7.9-1
ii  libxinerama1              2:1.1.4-2
ii  libxkbfile1               1:1.0.9-2+b11
ii  libxrender1               1:0.9.10-1
ii  libxv1                    2:1.0.11-1
ii  zlib1g                    1:1.2.11.dfsg-1

Versions of packages freerdp-x11 recommends:
pn  libfreerdp-plugins-standard  <none>

freerdp-x11 suggests no packages.

-- no debconf information



More information about the pkg-remote-team mailing list