rtsold crash
Larry Rosenman
ler at lerctr.org
Sat Feb 13 00:47:00 UTC 2016
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=<value optimized out>, argv=<value optimized out>)
> at /usr/src/usr.sbin/rtsold/rtsold.c:656
> 656 rao->rao_type,
> (char *)rao->
> rao_msg,
> (gdb) bt
> #0 main (argc=<value optimized out>, argv=<value optimized out>)
> 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=<value optimized out>, argv=<value optimized out>)
> at /usr/src/usr.sbin/rtsold/rtsold.c:656
> e = <value optimized out>
> set = 0x7fffffffecc0
> argv0 = <value optimized out>
> ch = <value optimized out>
> s = 3
> rtsock = 4
> timeout = <value optimized out>
> #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 at lerctr.org
US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961
More information about the freebsd-current
mailing list