From owner-freebsd-current@freebsd.org Sat Feb 13 00:47:00 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 79AF3AA73C5 for ; Sat, 13 Feb 2016 00:47:00 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 579B41231; Sat, 13 Feb 2016 00:47:00 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date: Content-Transfer-Encoding:Content-Type:MIME-Version; bh=BlwulWs8vCbWiufj6FwUUJ05Z36WfruogSyM/EoKnD4=; b=SlueIKEdc8t7EUQ/gHtHnEcjKy xqFzO3hUEiri74GEuCYR8DnddBBfNAsK/PxoV8lW0QrXtzXCkR4tc8rbD69m3eEW/Uy2n0Pd7IS9d lYbokwwtrAsNjmISzv4IYuf6Cllo6hUj0YxMqr396/q5Bqf/Mi1a0TGEZhxcZPjVBYdI=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:43548 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aUOMU-000LeL-S3; Fri, 12 Feb 2016 18:46:59 -0600 Received: from 2605:6000:ec17:200:2897:aea8:8905:9c8f by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Fri, 12 Feb 2016 18:46:58 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 12 Feb 2016 18:46:58 -0600 From: Larry Rosenman To: Mark Johnston Cc: Freebsd current , Mark Johnston Subject: Re: rtsold crash In-Reply-To: <0cb651f0c90e28f5558b502cc7a53aa1@thebighonker.lerctr.org> References: <20160212231447.GA5159@wkstn-mjohnston.west.isilon.com> <0cb651f0c90e28f5558b502cc7a53aa1@thebighonker.lerctr.org> Message-ID: <9b0a4660546026e7ebb386c9045372f6@thebighonker.lerctr.org> X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.1.4 X-Spam-Score: -1.0 (-) X-LERCTR-Spam-Score: -1.0 (-) X-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 X-LERCTR-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1, SHORTCIRCUIT=-0.0001 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Sat, 13 Feb 2016 00:47:00 -0000 On 2016-02-12 18:00, Larry Rosenman wrote: > On 2016-02-12 17:14, Mark Johnston wrote: >> On Fri, Feb 12, 2016 at 03:25:29PM -0600, Larry Rosenman wrote: >>> when I rebooted my firewall (testing Mark Johnstons defrouter_lock >>> patch). >>> >>> How do I get a good backtrace now? >>> >>> borg.lerctr.org / # gdb -c rtsold.core /urs/sbin/rtsold >>> 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".../urs/sbin/rtsold: >>> No >>> such file or directory. >> >> There's a typo in the path you gave for rtsold. Try it with the >> correct >> path and gdb should be able to find the debug info. > > > borg.lerctr.org /home/ler # cd / > borg.lerctr.org / # gdb -c rtsold.core /usr/sbin/rtsold > 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 `rtsold'. > Program terminated with signal 10, Bus error. > Reading symbols from /lib/libc.so.7...Reading symbols from > /usr/lib/debug//lib/l > ibc.so.7.debug...done. > done. > Loaded symbols for /lib/libc.so.7 > Reading symbols from /libexec/ld-elf.so.1...Reading symbols from > /usr/lib/debug/ > /libexec/ld-elf.so.1.debug...done. > done. > Loaded symbols for /libexec/ld-elf.so.1 > #0 main (argc=, argv=) > at /usr/src/usr.sbin/rtsold/rtsold.c:656 > 656 rao->rao_type, > (char *)rao-> > rao_msg, > (gdb) bt > #0 main (argc=, argv=) > at /usr/src/usr.sbin/rtsold/rtsold.c:656 > #1 0x0000000000401a1f in _start () > #2 0x0000000800629000 in ?? () > #3 0x0000000000000000 in ?? () > Current language: auto; currently minimal > (gdb) bt full > #0 main (argc=, argv=) > at /usr/src/usr.sbin/rtsold/rtsold.c:656 > e = > set = 0x7fffffffecc0 > argv0 = > ch = > s = 3 > rtsock = 4 > timeout = > #1 0x0000000000401a1f in _start () > No symbol table info available. > #2 0x0000000800629000 in ?? () > No symbol table info available. > #3 0x0000000000000000 in ?? () > No symbol table info available. > (gdb) > > > What would someone want now? core and debug and the binary at: http://www.lerctr.org/~ler/FreeBSD thebighonker.lerctr.org /home/ler/public_html/FreeBSD $ ls -ltr rtsol* -rw-r--r-- 1 ler ler 4661248 Feb 12 18:43 rtsold.core -r--r--r-- 1 ler ler 66774 Feb 12 18:44 rtsold.debug -r-xr-xr-x 1 ler ler 34656 Feb 12 18:44 rtsold thebighonker.lerctr.org /home/ler/public_html/FreeBSD $ borg.lerctr.org /usr/sbin $ cd /usr/src borg.lerctr.org /usr/src $ svn info Path: . Working Copy Root Path: /usr/src URL: https://svn.freebsd.org/base/head Relative URL: ^/head Repository Root: https://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 295456 Node Kind: directory Schedule: normal Last Changed Author: bapt Last Changed Rev: 295455 Last Changed Date: 2016-02-09 18:26:01 -0600 (Tue, 09 Feb 2016) borg.lerctr.org /usr/src $ -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961