<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<style>
html {
line-height: 1.2;
font-family: serif;
font-size: 0.9em;
color: black;
background-color: white;
}
body {
margin: 0;
margin-right: auto;
max-width: 36em;
padding: 1em;
hyphens: auto;
overflow-wrap: break-word;
text-rendering: optimizeLegibility;
font-kerning: normal;
}
@media print {
body {
background-color: transparent;
color: black;
font-size: 11pt;
}
p, h2, h3 {
orphans: 3;
widows: 3;
}
h2, h3, h4 {
page-break-after: avoid;
}
}
p {
margin: 1em 0;
}
a {
color: black;
}
a:visited {
color: black;
}
img {
max-width: 100%;
}
h1, h2, h3, h4, h5, h6 {
margin-top: 1.4em;
}
h5, h6 {
font-size: 1em;
font-style: italic;
}
h6 {
font-weight: normal;
}
ol, ul {
padding-left: 1.7em;
margin-top: 1em;
}
li > ol, li > ul {
margin-top: 0;
}
blockquote {
margin: 0.5em;
padding-left: 0.5em;
border-left: 2px solid #e6e6e6;
color: #444;
}
code {
font-family: 'Lucida Console', monospace;
font-size: 95%;
margin: 0;
}
pre {
margin: 1em 0;
overflow: auto;
max-width: unset;
width: fit-content;
}
pre code {
padding: 0;
overflow: visible;
overflow-wrap: normal;
max-width: unset;
white-space: pre-wrap;
}
pre code span {
white-space: pre;
}
.sourceCode {
background-color: transparent;
overflow: visible;
}
code.diff span.kw,
code.diff span.dt {
font-weight: bold;
}
code.diff span.va {
background-color: rgba(192, 255, 192, 64);
color: rgb(0, 64, 0);
}
code.diff span.st {
background-color: rgba(255, 192, 192, 64);
color: rgb(64, 0, 0);
}
pre.diff {
background-color: rgb(240, 240, 240);
padding: 0.4em;
border: 1pt solid grey;
}
hr {
background-color: black;
border: none;
height: 1px;
margin: 1em 0;
}
table {
margin: 1em 0;
border-collapse: collapse;
width: 100%;
overflow-x: auto;
display: block;
font-variant-numeric: lining-nums tabular-nums;
}
table caption {
margin-bottom: 0.75em;
}
tbody {
margin-top: 0.5em;
border-top: 1px solid black;
border-bottom: 1px solid black;
}
th {
border-top: 1px solid black;
padding: 0.25em 0.5em 0.25em 0.5em;
}
td {
padding: 0.125em 0.5em 0.25em 0.5em;
}
header {
margin-bottom: 4em;
text-align: center;
}
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
q { quotes: "„" "”" "»" "«"; }
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
</head>
<body>
<p>Hello Radu,</p>
<p>sorry, this was a stupid omission of a null check. Fixed in <a
href="https://gitlab.nic.cz/labs/bird/-/tree/b6caccfd45fb639b6dd3a8d140d3c5ba4cc79311">b6caccfd45fb639b6dd3a8d140d3c5ba4cc79311</a>.
Could you please check that it works on your side now?</p>
<p>Thanks,<br />
Maria</p>
<p>On Wed, Dec 18, 2024 at 02:55:19PM +0100, Maria Matejka via
Bird-users wrote:</p>
<blockquote>
<p>We apparently missed this case in our test scenarios, so we’ll add
one and check if it reproduces. We’ll ask for more info if we need
it.</p>
<p>Congratulations to the first BIRD 3 bugreport and thanks for it!</p>
<p>On 18 December 2024 14:27:44 CET, Radu Anghel via Bird-users <a
href="mailto:bird-users@network.cz"
class="email">bird-users@network.cz</a> wrote:</p>
<blockquote>
<p>Using a slightly modified version of the config from the 2.15.1 (just
some {} inside case structures), but probably unrelated.</p>
<p>If bird gets killed/not shut down properly and routes remain in the
kernel then bird 3.0.0 is unable to restart and just segfaults when
trying to refresh kernel routes.</p>
<p>I can reproduce it by just kill -9 bird && restarting
bird.</p>
<p>daemon.debug bird: KERNEL6.ipv6: route refresh begin: rr 1 set 1
valid 0 pruning 0 pruned 0</p>
<p>kern.info kernel: [75645.964935] bird[4162]: segfault at 0 ip
000000000045d47b sp 00007ffcb9f9f2c0 error 4 in bird[403000+a8000]
likely on CPU 1 (core 0, socket 1)</p>
<p>kern.info kernel: [75645.970115] Code: 5d 41 5c 41 5d 41 5e 41 5f c3
55 53 48 89 fb 48 83 ec 38 80 bb 79 02 00 00 04 48 8b 7f 30 75 46 48 89
d5 31 d2 e8 63 a4 ff ff <83> 38 00 49 89 c0 75 07 31 c0 e9 9d 00
00 00 48 8b 40 10 48 8d 7b</p>
<p>The kernel protocol config is:</p>
<pre><code>protocol kernel KERNEL6 {
debug { events, states };
scan time 3600;
merge paths on;
metric 0;
ipv6 {
import filter KERNEL_IN;
export filter KERNEL_OUT;
};
}</code></pre>
</blockquote>
</blockquote>
<p>–<br />
Maria Matejka (she/her) | BIRD Team Leader | CZ.NIC, z.s.p.o.</p>
</body>
</html>