Hide Forgot
Description of problem: libnuma numa_parse_cpustring is returning warnings inconsistently. You have one case where numa_parse_cpustring prints an error to stderr (if you have a bit set in string that is > max cpu in cpu affinity mask) and in another case it silently drops bits. ~/tests/gdk >taskset -c 0,12 ./numaparse 1-13 libnuma: Warning: cpu argument 13 out of range ~/tests/gdk >taskset -c 0,12 ./numaparse 1-2 0100000000000000 Version-Release number of selected component (if applicable): numactl-2.0.3-9.el6 How reproducible: 100% Steps to Reproduce: 1. ~/tests/gdk >taskset -c 0,12 ./numaparse 1-13 libnuma: Warning: cpu argument 13 out of range Actual results: Warning Expected results: No warning Additional info: LLNL has requested this bug be public.
Created attachment 576789 [details] Reproducer taskset -c 0,12 ./numaparse 1-13
=== In Red Hat Customer Portal Case 00626930 === --- Comment by Gummels, Travis on 4/11/2012 5:40 PM --- Reproduced on 16 x Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz hyperion-agb52@gummels1:taskset -c 0,12 ./numaparse 1-13 libnuma: Warning: cpu argument 13 out of range Bad cpustring `1-13' hyperion-agb52@gummels1:taskset -c 0,12 ./numaparse 1-2 01000000000000000000000000000000
compile reproducer with: gcc -o numaparse -lnuma numaparse.c
This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux.
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development. This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0401.html