From owner-freebsd-stable@FreeBSD.ORG Tue May 3 14:43:21 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2D8616A4CE for ; Tue, 3 May 2005 14:43:21 +0000 (GMT) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14C5A43D53 for ; Tue, 3 May 2005 14:43:21 +0000 (GMT) (envelope-from marcolz@stack.nl) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mailhost.stack.nl (Postfix) with ESMTP id E312E1F3ED for ; Tue, 3 May 2005 16:43:13 +0200 (CEST) Received: by snail.stack.nl (Postfix, from userid 333) id D8EA222899; Tue, 3 May 2005 16:43:13 +0200 (CEST) Date: Tue, 3 May 2005 16:43:13 +0200 From: Marc Olzheim To: freebsd-stable@freebsd.org Message-ID: <20050503144313.GA14948@stack.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline X-Operating-System: FreeBSD snail.stack.nl 5.3-RELEASE-p9 FreeBSD 5.3-RELEASE-p9 X-URL: http://www.stack.nl/~marcolz/ User-Agent: Mutt/1.5.9i Subject: Instant reboot FreeBSD 5.4-STABLE amd64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2005 14:43:21 -0000 --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable FreeBSD 5.4-STABLE #12: Mon May 2 19:23:22 CEST 2005 root@hammer.stack.nl:= /usr/obj/usr/src/sys/HAMMER hammer:~/src/hak/fpu>gdb ./fpu5th=20 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 condition= s. 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"... (gdb) break floor Function "floor" not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (floor) pending. (gdb) r Starting program: /vwww.mnt/sources/srcimport/marcolz/hak/fpu/fpu5th=20 Breakpoint 2 at 0x80063fdf0 Pending breakpoint "floor" resolved load: 0.08 cmd: fpu5th 917 [running] 1.69u 0.01s 4% 1192k Program received signal SIGINFO, Information request. [Switching to Thread 1 (LWP 100167)] 0x000000080076558c in pthread_testcancel () from /usr/lib/libpthread.so.1 (gdb) disass floorl No symbol "floorl" in current context. (gdb) disass floorf Dump of assembler code for function floorf: 0x000000080063fd40 : movss %xmm0,0xfffffffffffffffc(%rsp) 0x000000080063fd46 : mov 0xfffffffffffffffc(%rsp),%edx 0x000000080063fd4a : mov %edx,%eax 0x000000080063fd4c : sar $0x17,%eax 0x000000080063fd4f : and $0xff,%eax 0x000000080063fd54 : lea 0xffffffffffffff81(%rax),%ecx 0x000000080063fd57 : cmp $0x16,%ecx 0x000000080063fd5a : jg 0x80063fda1 0x000000080063fd5c : test %ecx,%ecx 0x000000080063fd5e : js 0x80063fdb1 0x000000080063fd60 : mov $0x7fffff,%esi 0x000000080063fd65 : movaps %xmm0,%xmm1 0x000000080063fd68 : sar %cl,%esi 0x000000080063fd6a : test %edx,%esi 0x000000080063fd6c : je 0x80063fd9d 0x000000080063fd6e : addss 3226(%rip),%xmm0 # 0x800640a1= 0 <_fini+152> 0x000000080063fd76 : ucomiss 3223(%rip),%xmm0 # 0x800640a= 14 <_fini+156> 0x000000080063fd7d : jbe 0x80063fd90 0x000000080063fd7f : test %edx,%edx 0x000000080063fd81 : js 0x80063fdd9 ---Type to continue, or q to quit--- 0x000000080063fd83 : mov %esi,%eax 0x000000080063fd85 : not %eax 0x000000080063fd87 : and %eax,%edx 0x000000080063fd89 : data16 0x000000080063fd8a : data16 0x000000080063fd8b : data16 0x000000080063fd8c : nop =20 0x000000080063fd8d : data16 0x000000080063fd8e : data16 0x000000080063fd8f : nop =20 0x000000080063fd90 : mov %edx,0xfffffffffffffffc(%rsp) 0x000000080063fd94 : movss 0xfffffffffffffffc(%rsp),%xmm0 0x000000080063fd9a : movaps %xmm0,%xmm1 0x000000080063fd9d : movaps %xmm1,%xmm0 0x000000080063fda0 : retq =20 0x000000080063fda1 : add $0xffffffffffffff80,%ecx 0x000000080063fda4 : movaps %xmm0,%xmm1 0x000000080063fda7 : jne 0x80063fd9d 0x000000080063fda9 : addss %xmm0,%xmm1 0x000000080063fdad : movaps %xmm1,%xmm0 0x000000080063fdb0 : retq =20 0x000000080063fdb1 : addss 3159(%rip),%xmm0 # 0x= 800640a10 <_fini+152> ---Type to continue, or q to quit--- 0x000000080063fdb9 : ucomiss 3156(%rip),%xmm0 # 0= x800640a14 <_fini+156> 0x000000080063fdc0 : jbe 0x80063fd90 0x000000080063fdc2 : test %edx,%edx 0x000000080063fdc4 : js 0x80063fdca 0x000000080063fdc6 : xor %edx,%edx 0x000000080063fdc8 : jmp 0x80063fd90 0x000000080063fdca : test $0x7fffffff,%edx 0x000000080063fdd0 : je 0x80063fd90 0x000000080063fdd2 : mov $0xbf800000,%edx 0x000000080063fdd7 : jmp 0x80063fd90 0x000000080063fdd9 : mov $0x800000,%eax 0x000000080063fdde : sar %cl,%eax 0x000000080063fde0 : add %eax,%edx 0x000000080063fde2 : jmp 0x80063fd83 0x000000080063fde4 : nop =20 0x000000080063fde5 : nop =20 0x000000080063fde6 : nop =20 0x000000080063fde7 : nop =20 0x000000080063fde8 : nop =20 0x000000080063fde9 : nop =20 0x000000080063fdea : nop =20 0x000000080063fdeb : nop =20 ---Type to continue, or q to quit--- 0x000000080063fdec : nop =20 0x000000080063fded : nop =20 0x000000080063fdee : nop =20 0x000000080063fdef : nop =20 End of assembler dump. (gdb) q The program is running. Exit anyway? (y or n) y *reboot, no dump* :-(( I tried debugging the program I just mailed to threads@ Marc --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCd44BezjnobFOgrERAmp1AJ9AQ8Kk/yHA36jxTtsV+HOxTHzYywCeOFmm x6Nezid2eAQ7vw69G12VO8U= =4kN3 -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5--