[Bug 272539] cospi, sinpi and tanpi incorrectly test for NaN and Infinity
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272539 Li-Wen Hsu changed: What|Removed |Added Assignee|b...@freebsd.org|numer...@freebsd.org CC||lw...@freebsd.org -- You are receiving this mail because: You are the assignee for the bug.
[Bug 272539] cospi, sinpi and tanpi incorrectly test for NaN and Infinity
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272539 Bug ID: 272539 Summary: cospi, sinpi and tanpi incorrectly test for NaN and Infinity Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: b...@freebsd.org Reporter: paul.gr...@stratus.com The current versions of lib/msun/src/s_cospi.c, s_sinpi.c and s_tanpi.c all exhibit the same defect. After checking for various numeric ranges, they check to see whether the input argument is a NaN or an Infinity. However, the code uses a value of 0x7f8 instead of the correct value of 0x7ff0. See line 141 of s_cospi.c, line 158 of s_sinpi.c, and line 166 of s_tanpi.c. I strongly recommend that s_cospi.c and s_sinpi.c have a comment added just before this line to say that the code is testing for infinity or nan. Such a comment already exists in s_tanpi.c. If you review s_cospif.c, s_sinpif.c, and s_tanpif.c, you will see that the equivalent statements in these functions are accurate and have appropriate source comments. Cross-ref: PR 218514, which added these functions and is still open for reasons that are unclear. I have run this issue past the author of these functions and he agrees with my analysis. The impact of these defects is to flag some valid input values as invalid and raise a pole error (divide by zero). -- You are receiving this mail because: You are the assignee for the bug.
Problem reports for b...@freebsd.org that need special attention
To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status |Bug Id | Description +---+--- New |197876 | [devfs] an error in devfs leads to data loss and New |202362 | ntp: restore refclocks selection (10.2-RELEASE re New |202740 | vi/ex string substitution problem when there is m New |204097 | witness_initialize() does not perform bound check New |206336 | [patch] usr.sbin/freebsd-update allow proxy confi New |209213 | UEFI Loader shows only black screen with Nvidia G New |210804 | installerconfig - using ZFS create in custom scri New |223470 | freebsd-update: Cannot identify running kernel (/ New |230620 | "install -d" issue New |235085 | [PATCH] Option to make rc.d/sysctl more verbose ( New |252123 | fetch(3): Fix wrong usage of proxy when request i Open|177821 | sysctl: Some security.jail nodes are funky, dupli Open|182466 | [headers] [patch] make self-contained Open|183618 | [panic] Dell PowerEdge R620 -- PERC H710 Mini (mf Open|192573 | Add ps(1) option: Print process start time in sec Open|194925 | [pf] [ifconfig] interface group keywords do not w Open|197921 | scheduler: Allow non-migratable threads to bind t Open|206528 | Emulex LPe 16002 FC HBA Not Recognized by oce(4) Open|206649 | cyapa(4): Add common gestures for Cypress APA I2C Open|212608 | sockstat(1) and lsof(8) can not identity the owne Open|220246 | syslogd does not send RFC3164-conformant messages Open|221305 | Mouse cursor loss when moving cursor while loadin Open|221550 | kern.bootfile returns only /kernel on mips64 (ERL Open|221854 | makefs: Reject UFS labels that are too long to fi Open|226893 | freebsd-update: Support patchlevel argument for f Open|231810 | [build] release always fails with "mkimg: partiti Open|233578 | Unprivileged local user can prevent other users l Open|233988 | freebsd-update: Improve progress output on termin Open|236718 | system panics with message: vm_fault_hold: fault Open|237287 | moused(8) ignores button release events in virtua Open|237924 | Possible infinite loop in function empty_aux_buff Open|238183 | cam/scsi/scsi_sa.c: warnings issued by static ana Open|238486 | Possible buffer overflow bug in sc_allocate_keybo Open|238550 | Touchpad (via SMBus) not working: Synaptics (SYN1 Open|238638 | mfi: Remove unnecessary pointer printing in mfi.c Open|238837 | init: Remove P_SYSTEM flag from PID 1 to allow ea Open|241697 | i915kms: Kernel panic loading module on custom ke Open|247132 | Fix build error: use of undeclared identifier 'cp Open|248352 | mfi(4): Remove RAID map sync functionality Open|257149 | CFLAGS not passed to whole build 40 problems total for which you should take action.
[Bug 272474] lib/libc: bcmp may give wrong results on LP64 systems
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272474 Robert Clausecker changed: What|Removed |Added Status|Open|Closed Resolution|--- |FIXED -- You are receiving this mail because: You are the assignee for the bug.
[Bug 272474] lib/libc: bcmp may give wrong results on LP64 systems
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272474 --- Comment #5 from commit-h...@freebsd.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=4da7282a1882fc03c99591c27d44a2e6dfda364b commit 4da7282a1882fc03c99591c27d44a2e6dfda364b Author: Robert Clausecker AuthorDate: 2023-07-12 18:23:21 + Commit: Robert Clausecker CommitDate: 2023-07-16 17:36:17 + lib/libc/string/bcmp.c: fix integer overflow bug bcmp() returned the number of remaining bytes when the main loop exits. In case of a match, this is zero, else a positive integer. On systems where SIZE_MAX > INT_MAX, the implicit conversion from size_t to int in the return value may cause the number of remaining bytes to overflow, becoming zero and falsely indicating a successful comparison. Fix the bug by always returning 0 on equality, 1 otherwise. PR: 272474 Approved by:emaste Reviewed by:imp MFC After: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D41011 lib/libc/string/bcmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- You are receiving this mail because: You are the assignee for the bug.
[Bug 272536] 'make buildworld -j 8' fails: pid 79018 (clang), jid 0, uid 0, was killed: a thread waiting too long to allocate a page
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272536 Yuri Victorovich changed: What|Removed |Added URL||https://people.freebsd.org/ ||~yuri/screenshot-clang-kill ||ed-on-FreeBSD-14.png Assignee|b...@freebsd.org|curr...@freebsd.org -- You are receiving this mail because: You are the assignee for the bug.
[Bug 272536] 'make buildworld -j 8' fails: pid 79018 (clang), jid 0, uid 0, was killed: a thread waiting too long to allocate a page
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272536 Bug ID: 272536 Summary: 'make buildworld -j 8' fails: pid 79018 (clang), jid 0, uid 0, was killed: a thread waiting too long to allocate a page Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: b...@freebsd.org Reporter: y...@freebsd.org While rebuilding the source tree with revision 2a0c0aea420... on 14.0-CURRENT main-n257861-4385a9f851b in the VirtualBox VM this failure occurred: > pid 79018 (clang), jid 0, uid 0, was killed: a thread waiting too long to > allocate a page The base system is quite old, but I still decided to report this. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 174372] [zfs] Pagefault appears to be related to ZFS
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=174372 Mark Linimon changed: What|Removed |Added See Also||https://bugs.freebsd.org/bu ||gzilla/show_bug.cgi?id=2723 ||25 -- You are receiving this mail because: You are the assignee for the bug.
[Bug 272367] openat(..., O_NONBLOCK | O_EXLOCK) may wrongly return EAGAIN
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272367 Alan Somers changed: What|Removed |Added Status|New |Closed Resolution|--- |Not A Bug --- Comment #6 from Alan Somers --- In conclusion, I don't think there's a bug here. I was just confused. If anything, the man page could be clarified, and the point to make is: flock locks unlock on the last close, or the first explicit unlock. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 272382] The iconv converter from EUC-TW to UTF-8 is broken
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272382 Ed Maste changed: What|Removed |Added See Also||https://bugs.freebsd.org/bu ||gzilla/show_bug.cgi?id=2723 ||34 -- You are receiving this mail because: You are the assignee for the bug.
[Bug 272382] The iconv converter from EUC-TW to UTF-8 is broken
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272382 Ed Maste changed: What|Removed |Added CC||ema...@freebsd.org See Also||https://bugs.freebsd.org/bu ||gzilla/show_bug.cgi?id=2723 ||84 -- You are receiving this mail because: You are the assignee for the bug.
[Bug 272384] The iconv converter from GB18030 to UTF-8 is broken
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272384 Ed Maste changed: What|Removed |Added See Also||https://bugs.freebsd.org/bu ||gzilla/show_bug.cgi?id=2723 ||82 -- You are receiving this mail because: You are the assignee for the bug.
[Bug 272382] The iconv converter from EUC-TW to UTF-8 is broken
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272382 Ed Maste changed: What|Removed |Added See Also||https://bugs.freebsd.org/bu ||gzilla/show_bug.cgi?id=2723 ||86 -- You are receiving this mail because: You are the assignee for the bug.
[Bug 272386] The iconv converter from EUC-JP to UTF-8 accepts second and third bytes outside of the valid range
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272386 Ed Maste changed: What|Removed |Added See Also||https://bugs.freebsd.org/bu ||gzilla/show_bug.cgi?id=2723 ||82 -- You are receiving this mail because: You are the assignee for the bug.
[Bug 272384] The iconv converter from GB18030 to UTF-8 is broken
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272384 Ed Maste changed: What|Removed |Added See Also||https://bugs.freebsd.org/bu ||gzilla/show_bug.cgi?id=2723 ||86 -- You are receiving this mail because: You are the assignee for the bug.
[Bug 272386] The iconv converter from EUC-JP to UTF-8 accepts second and third bytes outside of the valid range
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272386 Ed Maste changed: What|Removed |Added See Also||https://bugs.freebsd.org/bu ||gzilla/show_bug.cgi?id=2723 ||84 CC||ema...@freebsd.org -- You are receiving this mail because: You are the assignee for the bug.
[Bug 174372] [zfs] Pagefault appears to be related to ZFS
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=174372 Kurt Jaeger changed: What|Removed |Added CC||p...@freebsd.org --- Comment #3 from Kurt Jaeger --- See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272325 -- You are receiving this mail because: You are the assignee for the bug.