Re: rtsold crash

From: Larry Rosenman <ler_at_lerctr.org>
Date: Fri, 12 Feb 2016 18:00:22 -0600
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?

-- 
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
Received on Fri Feb 12 2016 - 23:00:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:02 UTC