From owner-freebsd-stable@FreeBSD.ORG Wed May 8 17:14:55 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F3A7C31F for ; Wed, 8 May 2013 17:14:54 +0000 (UTC) (envelope-from jim@ohlste.in) Received: from mail-qc0-x231.google.com (mail-qc0-x231.google.com [IPv6:2607:f8b0:400d:c01::231]) by mx1.freebsd.org (Postfix) with ESMTP id B97AF8C for ; Wed, 8 May 2013 17:14:54 +0000 (UTC) Received: by mail-qc0-f177.google.com with SMTP id e1so1148125qcy.36 for ; Wed, 08 May 2013 10:14:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=l7MIXjEK/pLJJv11qfkayaI7nNzvnnYj3Ulnc1dRcRg=; b=aGkMNjx0jIP0d3iPtZd2MB25I0SBjxogdiyBD9P9nE/cRdS1/LsNSFt3+60PKlmTAh 8V555OfL0AXyXd9V3/p+eai/DwD1zKPha5D6oa4Xq/tl+xj6RVOiw1Cpwg3zZzII8u9w do6hKsgpBT6pSnEcyQN2J2wzdn8y0gA2aK4IZrSEly3j4VboyX3kzqCPeTDaj9wmP3Ki Vg7MYuQAmdYkuMGV4HWHvAq4dzDAYLgPFfn/TnS9yZ1mqbZzu/tdZfUJlGkvyjChlykX SML1XljfQonLs52GJvlxh2HLTxN0DPiYBaUJGAynOmrPILIoZSx+/be/2noJl0EQTlkA RuaQ== X-Received: by 10.49.61.226 with SMTP id t2mr6493134qer.40.1368033294225; Wed, 08 May 2013 10:14:54 -0700 (PDT) Received: from [192.168.1.10] (pool-74-110-99-189.nrflva.fios.verizon.net. [74.110.99.189]) by mx.google.com with ESMTPSA id z20sm43108688qeb.4.2013.05.08.10.14.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 May 2013 10:14:53 -0700 (PDT) Message-ID: <518A880C.3090906@ohlste.in> Date: Wed, 08 May 2013 13:14:52 -0400 From: Jim Ohlstein User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130405 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Apparent regression in r250359 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQktZEBqvkwEk90Ljmc8MWp1Fx6sLsxNwmdMm2q/8dDU62Usr9ztqi+xe412GkpFCGyEAOQT X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 May 2013 17:14:55 -0000 Hello, I upgraded my (custom) kernel earlier and found that multiple daemons (cups, hal, syslog, ntpd, csh) crashed and dumped cores at or shortly after boot. The error I saw several times on the console was: set_fpcontext err 22 I recompiled using the GENERIC kernel and saw the same error. The error appears to be in the changes made in r250359 in fpu.c, as r250358 boots as expected. # uname -a FreeBSD lucid-insanity 9.1-STABLE FreeBSD 9.1-STABLE #3 r250358: Wed May 8 11:56:43 EDT 2013 root@lucid-insanity:/usr/obj/usr/src/sys/GENERIC amd64 World and kernel are built with clang 3.2. r250359 produces the error and core dumps: Sample gdb output: # gdb cupsd cupsd.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)... Core was generated by `cupsd'. Program terminated with signal 10, Bus error. Reading symbols from /usr/local/lib/libcupsmime.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libcupsmime.so.1 Reading symbols from /lib/libz.so.6...done. Loaded symbols for /lib/libz.so.6 Reading symbols from /usr/lib/libssl.so.6...done. Loaded symbols for /usr/lib/libssl.so.6 Reading symbols from /lib/libcrypto.so.6...done. Loaded symbols for /lib/libcrypto.so.6 Reading symbols from /usr/local/lib/libpaper.so.2...done. Loaded symbols for /usr/local/lib/libpaper.so.2 Reading symbols from /usr/local/lib/libcups.so.2...done. Loaded symbols for /usr/local/lib/libcups.so.2 Reading symbols from /lib/libcrypt.so.5...done. Loaded symbols for /lib/libcrypt.so.5 Reading symbols from /lib/libm.so.5...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /usr/local/lib/libiconv.so.3...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /lib/libthr.so.3...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x00007ffffffff1e3 in ?? () [New Thread 802407400 (LWP 100450/cupsd)] (gdb) # gdb csh csh.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Core was generated by `csh'. Program terminated with signal 10, Bus error. Reading symbols from /lib/libncurses.so.8...done. Loaded symbols for /lib/libncurses.so.8 Reading symbols from /lib/libcrypt.so.5...done. Loaded symbols for /lib/libcrypt.so.5 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/lib/libiconv.so...done. Loaded symbols for /usr/local/lib/libiconv.so Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x00007ffffffff1e3 in ?? () (gdb) I can produce more if anyone is interested. -- Jim Ohlstein