BIRD 2.0.4 segfaulting on ARM
lorenz at irmhil.de
lorenz at irmhil.de
Fri Apr 26 08:09:14 CEST 2019
Hello again!
I'm new to gdb - thank you for your quick advice.
I ran bird again, about 10 seconds later it segfaulted again and dumped
core.
Looks like some strange metrics?
I tried running bird on another ARM v7-box (Odroid XU4, nearly the same
hardware as the Odroid HC-2) on the same network with a similar config.
That bird doesn't crash. Perhaps something happend on compiling or
installing bird, I'll try recompiling and reinstalling it.
Thanks for any support!
Lorenz
The backtrace is:
--- snip ---
Core was generated by `bird -c bird.conf'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 ea__find (id=1554, e=0x81000601, e at entry=0x0) at nest/rt-attr.c:389
389 if (e->flags & EALF_BISECT)
(gdb) #0 ea__find (id=1554, e=0x81000601, e at entry=0x0) at nest/rt-attr.c:389
a = <optimized out>
l = <optimized out>
r = <optimized out>
m = <optimized out>
a = <optimized out>
l = <optimized out>
r = <optimized out>
m = <optimized out>
#1 ea_find (e=e at entry=0x0, id=id at entry=1554) at nest/rt-attr.c:426
a = <optimized out>
#2 0x005367ba in nl_send_route (p=p at entry=0x585748, e=e at entry=0x597170, op=op at entry=1536, dest=<optimized out>, nh=<optimized out>, nh at entry=0x5acf3c) at sysdep/linux/netlink.c:1269
ea = <optimized out>
net = 0x598174
a = 0x5acf08
eattrs = <optimized out>
bufsize = 284
priority = <optimized out>
r = 0xbe90c190
rsize = 312
metrics = {16, 0, 0, 3197158292, 12, 5747316, 5862368, 5866468, 3197158468, 5848760, 5480477, 2147483648, 5862680, 5866468, 3197158468, 0}
ews = {eattrs = 0xfc754f7b, ea = 0xb6fd1968 <__stack_chk_guard>, visited = {5789512, 5862680, 5862420, 8192}}
#3 0x005371b8 in nl_add_rte (e=0x597170, p=0x585748) at sysdep/linux/netlink.c:1351
a = 0x5acf08
err = 0
a = <optimized out>
err = <optimized out>
nh = <optimized out>
#4 krt_replace_rte (p=p at entry=0x585748, n=n at entry=0x598174, new=new at entry=0x597170, old=old at entry=0x5974e4) at sysdep/linux/netlink.c:1387
err = 0
#5 0x0053a4d2 in krt_prune (p=0x585748) at sysdep/unix/krt.c:751
verdict = 2
new = <optimized out>
old = 0x5974e4
rt_free = 0x0
fn_ = 0x59817c
ff_ = 0x584694
count_ = <optimized out>
n = <optimized out>
t = 0x584330
t = <optimized out>
fn_ = <optimized out>
ff_ = <optimized out>
count_ = <optimized out>
n = <optimized out>
verdict = <optimized out>
new = <optimized out>
old = <optimized out>
rt_free = <optimized out>
#6 krt_scan (t=<optimized out>) at sysdep/unix/krt.c:838
p = 0x585748
q = 0x5858a8
#7 0x00502b86 in timers_fire (loop=loop at entry=0x57b7f0 <main_timeloop>) at lib/timer.c:235
---Type <return> to continue, or q <return> to quit--- base_time = 55775154043
t = <optimized out>
#8 0x0053976e in io_loop () at sysdep/unix/io.c:2193
poll_tout = <optimized out>
timeout = <optimized out>
nfds = <optimized out>
events = 0
pout = <optimized out>
t = <optimized out>
s = <optimized out>
n = <optimized out>
fdmax = 256
pfd = 0x595df0
#9 0x004eabc6 in main (argc=<optimized out>, argv=<optimized out>) at sysdep/unix/main.c:884
use_uid = <optimized out>
use_gid = <optimized out>
conf = <optimized out>
(gdb) quit
--- snap ---
Am 25.04.19 um 23:36 schrieb Maria Matějka:
> Hello!
>
> ulimit -c unlimited
> bird ...
> (after it crashes)
> gdb bird core <<EOF
> backtrace full
> EOF
>
> Or, alternatively, try running it in Valgrind.
> Maria
>
> On April 25, 2019 7:50:32 PM GMT+02:00, lorenz at irmhil.de wrote:
>
> Hello bird-users,
>
> bird crashes a few seconds after startup on my Hardkernel ODROID HC-2
> running Ubuntu. Kernel version is 4.14.111-158.
>
>
> How can I debug this?
>
>
> I tried:
>
>
> $ bird -c bird.conf -d -D debug.log
>
> --> debug.log is 0 bytes.
>
>
>
> next try:
>
> $ bird -c bird.conf
>
> $ birdc
>
> # debug all all
>
> # echo all
>
> Last lines of output is:
>
> MyOSPF: HELLO packet sent via eth0.1000 MyOSPF: HELLO
> packet received from nbr 10.99.0.1 on eth0.1000
> MyOSPF: HELLO packet received from nbr 10.2.0.0 on
> eth0.1000 MyOSPF: LSACK packet sent via eth0.1000
> MyOSPF: length 56 MyOSPF: router 33.3.0.0
> MyOSPF: LSA Type: 4005, Id: 0.0.0.1, Rt:
> 10.99.0.1, Seq:
>
> 8000068a, Age: 1, Sum: 97a9
>
> MyOSPF: LSA Type: 0008, Id: 0.0.0.40, Rt:
> 10.99.0.1, Seq:
>
> 80000633, Age: 1, Sum: e252
> Connection closed by server
>
>
> I would be glad helping fixing this bug.
>
>
> Thanks a lot,
>
> Lorenz
>
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20190426/4ef15fb4/attachment.html>
More information about the Bird-users
mailing list