<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello again!</p>
<p>I'm new to gdb - thank you for your quick advice.</p>
<p>I ran bird again, about 10 seconds later it segfaulted again and
dumped core.<br>
</p>
<p>Looks like some strange metrics?<br>
</p>
<p>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.</p>
<p>Thanks for any support!</p>
<p>Lorenz<br>
</p>
<p><br>
</p>
<p>The backtrace is:</p>
<pre>--- snip ---
Core was generated by `bird -c bird.conf'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 ea__find (id=1554, e=0x81000601, e@entry=0x0) at nest/rt-attr.c:389
389 if (e->flags & EALF_BISECT)
(gdb) #0 ea__find (id=1554, e=0x81000601, e@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@entry=0x0, id=id@entry=1554) at nest/rt-attr.c:426
a = <optimized out>
#2 0x005367ba in nl_send_route (p=p@entry=0x585748, e=e@entry=0x597170, op=op@entry=1536, dest=<optimized out>, nh=<optimized out>, nh@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@entry=0x585748, n=n@entry=0x598174, new=new@entry=0x597170, old=old@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@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 ---
</pre>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Am 25.04.19 um 23:36 schrieb Maria
Matějka:<br>
</div>
<blockquote type="cite"
cite="mid:5524567F-3B05-4DB4-820F-56F0516C6760@nic.cz">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
Hello!<br>
<br>
ulimit -c unlimited<br>
bird ...<br>
(after it crashes)<br>
gdb bird core <<EOF<br>
backtrace full<br>
EOF<br>
<br>
Or, alternatively, try running it in Valgrind.<br>
Maria<br>
<br>
<div class="gmail_quote">On April 25, 2019 7:50:32 PM GMT+02:00,
<a class="moz-txt-link-abbreviated" href="mailto:lorenz@irmhil.de">lorenz@irmhil.de</a> wrote:
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<pre class="k9mail">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:
<blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #8ae234; padding-left: 1ex;">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:
</blockquote></blockquote></blockquote>8000068a, Age: 1, Sum: 97a9
<blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #8ae234; padding-left: 1ex;">MyOSPF: LSA Type: 0008, Id: 0.0.0.40, Rt: 10.99.0.1, Seq:
</blockquote></blockquote></blockquote>80000633, Age: 1, Sum: e252
Connection closed by server
I would be glad helping fixing this bug.
Thanks a lot,
Lorenz
</pre>
</blockquote>
</div>
<br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my
brevity.
</blockquote>
</body>
</html>