From owner-freebsd-current@FreeBSD.ORG Tue May 20 07:25:33 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF54D37B401 for ; Tue, 20 May 2003 07:25:33 -0700 (PDT) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id E85D043FA3 for ; Tue, 20 May 2003 07:25:32 -0700 (PDT) (envelope-from jlido@goof.com) Received: from steiner.cc.vt.edu (IDENT:mirapoint@steiner-lb.cc.vt.edu [10.1.1.14]) by lennier.cc.vt.edu (8.12.8/8.12.8) with ESMTP id h4KEPWqW347300 for ; Tue, 20 May 2003 10:25:32 -0400 (EDT) Received: from hc652a885.dhcp.vt.edu (hc652a885.dhcp.vt.edu [198.82.168.133]) by steiner.cc.vt.edu (Mirapoint Messaging Server MOS 3.3.2-CR) with ESMTP id BJG23769; Tue, 20 May 2003 10:25:30 -0400 (EDT) From: Jon Lido To: freebsd-current@freebsd.org Date: Tue, 20 May 2003 10:25:30 -0400 User-Agent: KMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305201025.30296.jlido@goof.com> Subject: gcc/libm floating-point bug? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2003 14:25:34 -0000 I've been running 5-CURRENT on my laptop for about a week now. I believe I may have found a bug in FreeBSD's gcc floating-point code generation, or perhaps more likely, in the math library. Like most users, I don't do much with floating point, so it took me a while to narrow this one down. Where I've noticed the problem is playing when lossy audio. When playing MP3s with artsd, xmms, or mpg123, I can get extremely noisy output (like static), with the audio distorted, but recognizable underneath. Ogg Vorbis files don't play at all, and simply crash artsd and xmms. I would have dismissed this as an audio problem, but I am able to play wav and shn audio (which uses integer math for decompression, I believe) fine. Additionally, I can decode and play MP3s fine with mpg321, which uses an integer decoder. I know my floating point hardware is fine, since I used to run xmms and artsd fine under Linux before I switched the machine to FreeBSD. I'd appreciate any help with further isolating and reproducing the bug. Has anyone else experienced this problem? -Jon