From owner-freebsd-current@freebsd.org Sat Feb 13 00:00:24 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 7582DAA60C0 for ; Sat, 13 Feb 2016 00:00:24 +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 54CBCE18; Sat, 13 Feb 2016 00:00:24 +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=+tMlZTe+0icHRQjChsPD4K+rEU/joPyuIa7S3x3MncI=; b=rCUFnDa55ijIll4Cicgox/n0uM MpLODP/fOuKi/WxBxxt76J5r0yf38BA0IVyCxdhLXfDm61Ms5iKnrWCjO6pUB+xpxgub4T0GIty4V /2tEVO7QfYDQTMgrW33Rb2M3Chr66meuxK6nEtzq8GGSDxheubH5BZYgwXfnn2tvqir0=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:50513 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 1aUNdP-000KMF-09; Fri, 12 Feb 2016 18:00:23 -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:00:22 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 12 Feb 2016 18:00:22 -0600 From: Larry Rosenman To: Mark Johnston Cc: Freebsd current , Mark Johnston Subject: Re: rtsold crash In-Reply-To: <20160212231447.GA5159@wkstn-mjohnston.west.isilon.com> References: <20160212231447.GA5159@wkstn-mjohnston.west.isilon.com> Message-ID: <0cb651f0c90e28f5558b502cc7a53aa1@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:00:24 -0000 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? -- 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