Comment 4 for bug 1756209

Revision history for this message
Balint Reczey (rbalint) wrote :

Bionic has already been fixed.
I could not reproduce the issue even with 2.27-3ubuntu1.2.

gdb
bt
bt
#0 run_test (move=0xf7f1c280 <__memmove_sse2_unaligned>) at memmove-bug.c:55
#1 0x56555643 in main (argc=1, argv=0xffffd4f4) at memmove-bug.c:82
(gdb) cont
Continuing.
move memory...

Breakpoint 2, run_test (move=0xf7f1c280 <__memmove_sse2_unaligned>) at memmove-bug.c:53
53 printf("check memory...\n");
(gdb) cont
Continuing.
check memory...

Breakpoint 2, run_test (move=0xf7f1c280 <__memmove_sse2_unaligned>) at memmove-bug.c:64
64 printf("no problems detected\n");

--
The test passes with the updated glibc, too:
ubuntu@ubuntu-Standard-PC-i440FX-PIIX-1996:~/memmove-bug$ make
./memmove-bug || echo "memmove is BUGGY"
allocating 2147483648 = 0x80000000 bytes...
start = 0x77db7010, end = 0xf7db7010
init memory...
move memory...
check memory...
no problems detected
Details for your system:
GNU C Library (Ubuntu GLIBC 2.27-3ubuntu1.3) stable release version 2.27.
cc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
5.4.0-52-generic #57~18.04.1-Ubuntu SMP Thu Oct 15 14:04:49 UTC 2020