public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/26862] New: FAIL: misc/tst-sysvshm-linux on armv7hl (Fedora Rawhide/34).
@ 2020-11-10 16:44 carlos at redhat dot com
2020-11-10 16:44 ` [Bug libc/26862] " carlos at redhat dot com
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: carlos at redhat dot com @ 2020-11-10 16:44 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26862
Bug ID: 26862
Summary: FAIL: misc/tst-sysvshm-linux on armv7hl (Fedora
Rawhide/34).
Product: glibc
Version: 2.33
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: carlos at redhat dot com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
See also: https://sourceware.org/bugzilla/show_bug.cgi?id=26736 (x32 failure)
In a recent Fedora Rawhide (f34) sync I saw the following failure for armv7hl:
=====FAIL: misc/tst-sysvshm-linux.out=====
../sysdeps/unix/sysv/linux/tst-sysvshm-linux.c:155: numeric comparison failure
left: 4278190079 (0xfeffffff); from: ipcinfo.shmmax
right: 2147483647 (0x7fffffff); from: tipcinfo.shmmax
error: 1 test failures
+ uname -a
Linux buildvm-a32-33.iad2.fedoraproject.org 5.7.7-200.fc32.armv7hl+lpae #1 SMP
Wed Jul 1 19:40:09 UTC 2020 armv7l armv7l armv7l GNU/Linux
+ LD_SHOW_AUXV=1
+ /bin/true
AT_SYSINFO_EHDR: 0xbed48000
AT_HWCAP: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
vfpd32 lpae evtstrm
AT_PAGESZ: 4096
AT_CLKTCK: 100
AT_PHDR: 0x4c2034
AT_PHENT: 32
AT_PHNUM: 9
AT_BASE: 0xb6f3f000
AT_FLAGS: 0x0
AT_ENTRY: 0x4c31d8
AT_UID: 1000
AT_EUID: 1000
AT_GID: 425
AT_EGID: 425
AT_SECURE: 0
AT_RANDOM: 0xbeb98ae7
AT_HWCAP2: aes pmull sha1 sha2 crc32
AT_EXECFN: /bin/true
AT_PLATFORM: v7l
processor : 0
model name : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 80.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x50
CPU architecture: 7
CPU variant : 0x3
CPU part : 0x000
CPU revision : 2
...
processor : 4
model name : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 80.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x50
CPU architecture: 7
CPU variant : 0x3
CPU part : 0x000
CPU revision : 2
Hardware : Generic DT based system
Revision : 0000
Serial : 0000000000000000
MemTotal: 24205040 kB
MemFree: 21663528 kB
MemAvailable: 23758036 kB
Buffers: 141108 kB
Cached: 2065828 kB
SwapCached: 13132 kB
Active: 920908 kB
Inactive: 1375456 kB
Active(anon): 52040 kB
Inactive(anon): 37668 kB
Active(file): 868868 kB
Inactive(file): 1337788 kB
Unevictable: 0 kB
Mlocked: 0 kB
HighTotal: 23789568 kB
HighFree: 21616700 kB
LowTotal: 415472 kB
LowFree: 46828 kB
SwapTotal: 8629244 kB
SwapFree: 8597764 kB
Dirty: 1416 kB
Writeback: 0 kB
AnonPages: 76536 kB
Mapped: 78384 kB
Shmem: 268 kB
KReclaimable: 142612 kB
Slab: 212604 kB
SReclaimable: 142612 kB
SUnreclaim: 69992 kB
KernelStack: 1272 kB
PageTables: 3216 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 20731764 kB
Committed_AS: 294028 kB
VmallocTotal: 245760 kB
VmallocUsed: 6296 kB
VmallocChunk: 0 kB
Percpu: 4180 kB
CmaTotal: 65536 kB
CmaFree: 65280 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
Hugetlb: 0 kB
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 12102520 0 12102520 0% /sys/fs/selinux
tmpfs 12102520 0 12102520 0% /dev/shm
/dev/vda2 131062788 7610060 116725460 7% /proc/filesystems
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/26862] FAIL: misc/tst-sysvshm-linux on armv7hl (Fedora Rawhide/34).
2020-11-10 16:44 [Bug libc/26862] New: FAIL: misc/tst-sysvshm-linux on armv7hl (Fedora Rawhide/34) carlos at redhat dot com
@ 2020-11-10 16:44 ` carlos at redhat dot com
2020-11-10 16:44 ` carlos at redhat dot com
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: carlos at redhat dot com @ 2020-11-10 16:44 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26862
--- Comment #1 from Carlos O'Donell <carlos at redhat dot com> ---
This failure is only seen on 32-bit ARM.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/26862] FAIL: misc/tst-sysvshm-linux on armv7hl (Fedora Rawhide/34).
2020-11-10 16:44 [Bug libc/26862] New: FAIL: misc/tst-sysvshm-linux on armv7hl (Fedora Rawhide/34) carlos at redhat dot com
2020-11-10 16:44 ` [Bug libc/26862] " carlos at redhat dot com
@ 2020-11-10 16:44 ` carlos at redhat dot com
2020-11-10 17:35 ` schwab@linux-m68k.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: carlos at redhat dot com @ 2020-11-10 16:44 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26862
Carlos O'Donell <carlos at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://sourceware.org/bugz
| |illa/show_bug.cgi?id=26736
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/26862] FAIL: misc/tst-sysvshm-linux on armv7hl (Fedora Rawhide/34).
2020-11-10 16:44 [Bug libc/26862] New: FAIL: misc/tst-sysvshm-linux on armv7hl (Fedora Rawhide/34) carlos at redhat dot com
2020-11-10 16:44 ` [Bug libc/26862] " carlos at redhat dot com
2020-11-10 16:44 ` carlos at redhat dot com
@ 2020-11-10 17:35 ` schwab@linux-m68k.org
2020-11-11 12:41 ` adhemerval.zanella at linaro dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: schwab@linux-m68k.org @ 2020-11-10 17:35 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26862
--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
This is also a kernel bug. SHMMAX is bigger than LONG_MAX, but
copy_compat_shminfo_to_user limits it to 0x7fffffff even for IPC_64.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/26862] FAIL: misc/tst-sysvshm-linux on armv7hl (Fedora Rawhide/34).
2020-11-10 16:44 [Bug libc/26862] New: FAIL: misc/tst-sysvshm-linux on armv7hl (Fedora Rawhide/34) carlos at redhat dot com
` (2 preceding siblings ...)
2020-11-10 17:35 ` schwab@linux-m68k.org
@ 2020-11-11 12:41 ` adhemerval.zanella at linaro dot org
2020-11-11 13:01 ` carlos at redhat dot com
2021-02-03 17:51 ` adhemerval.zanella at linaro dot org
5 siblings, 0 replies; 7+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2020-11-11 12:41 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26862
Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |adhemerval.zanella at linaro dot o
| |rg
--- Comment #3 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
(In reply to Carlos O'Donell from comment #1)
> This failure is only seen on 32-bit ARM.
I think it does show only on 32-bit kernels (at least I don't see it on
arm-linux-gnueabihf running on 64-bit kernels). And it does seems to be a
kernel issue as pointed by Andreas, since on 'copy_shminfo_to_user' (used on
32-bit kernels) the shmmax will be limited only for IPC_OLD, different than
copy_compat_shminfo_to_user (used on 32-bit binaries running on 64-bit
kernels), where shmmax will be capped regardless of IPC_64 or IPC_OLD.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/26862] FAIL: misc/tst-sysvshm-linux on armv7hl (Fedora Rawhide/34).
2020-11-10 16:44 [Bug libc/26862] New: FAIL: misc/tst-sysvshm-linux on armv7hl (Fedora Rawhide/34) carlos at redhat dot com
` (3 preceding siblings ...)
2020-11-11 12:41 ` adhemerval.zanella at linaro dot org
@ 2020-11-11 13:01 ` carlos at redhat dot com
2021-02-03 17:51 ` adhemerval.zanella at linaro dot org
5 siblings, 0 replies; 7+ messages in thread
From: carlos at redhat dot com @ 2020-11-11 13:01 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26862
--- Comment #4 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Adhemerval Zanella from comment #3)
> (In reply to Carlos O'Donell from comment #1)
> > This failure is only seen on 32-bit ARM.
>
> I think it does show only on 32-bit kernels (at least I don't see it on
> arm-linux-gnueabihf running on 64-bit kernels). And it does seems to be a
> kernel issue as pointed by Andreas, since on 'copy_shminfo_to_user' (used on
> 32-bit kernels) the shmmax will be limited only for IPC_OLD, different than
> copy_compat_shminfo_to_user (used on 32-bit binaries running on 64-bit
> kernels), where shmmax will be capped regardless of IPC_64 or IPC_OLD.
Can we detect this and XFAIL (and provide a comment in the test)?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/26862] FAIL: misc/tst-sysvshm-linux on armv7hl (Fedora Rawhide/34).
2020-11-10 16:44 [Bug libc/26862] New: FAIL: misc/tst-sysvshm-linux on armv7hl (Fedora Rawhide/34) carlos at redhat dot com
` (4 preceding siblings ...)
2020-11-11 13:01 ` carlos at redhat dot com
@ 2021-02-03 17:51 ` adhemerval.zanella at linaro dot org
5 siblings, 0 replies; 7+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2021-02-03 17:51 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26862
Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|--- |2.33
Assignee|unassigned at sourceware dot org |adhemerval.zanella at linaro dot o
| |rg
Status|NEW |RESOLVED
--- Comment #5 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
Fixed upstream (913201078502ad3f10043db02a8efce5d75387c2).
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-02-03 17:51 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-10 16:44 [Bug libc/26862] New: FAIL: misc/tst-sysvshm-linux on armv7hl (Fedora Rawhide/34) carlos at redhat dot com
2020-11-10 16:44 ` [Bug libc/26862] " carlos at redhat dot com
2020-11-10 16:44 ` carlos at redhat dot com
2020-11-10 17:35 ` schwab@linux-m68k.org
2020-11-11 12:41 ` adhemerval.zanella at linaro dot org
2020-11-11 13:01 ` carlos at redhat dot com
2021-02-03 17:51 ` adhemerval.zanella at linaro dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).