segmentation fault

Илья Шипицин chipitsine at gmail.com
Sun Jul 28 15:58:06 CEST 2019


hello,

I'm running bird git-master


config (OSPF +BFD):

------------------------
log "/var/log/bird.log" all;
debug protocols all;

router id X.X.X.X;

filter deny_default {
if net = 0.0.0.0/0 then reject;
else accept;
}

filter permit_white {
if net ~ [ X.X.X.X/32
,X.X.X.X/32,X.X.X.X/32
] then accept;
else reject;
}

filter permit_internal {
if net ~ [ X.X.X.X/32 ] then accept;
else reject;
}

filter change_src {
if net = 0.0.0.0/0
then {
krt_prefsrc = X.X.X.X;
accept;
} else accept;
}

protocol direct {
interface "*";
ipv4;
}

protocol kernel {
scan time 20;
ipv4 {
import all;
export filter change_src;
};
}

protocol device {
scan time 10;
}

protocol ospf External {
rfc1583compat yes;
ipv4 {
import all;
export filter permit_white;
};

area 100.0.0.0 {

               interface "eno1.1498" {
                       type pointopoint;
                       authentication cryptographic;
                       password "XXX";
                       bfd yes;
               };

               interface "eno2.1500" {
                       type pointopoint;
                       authentication cryptographic;
                       password "XXX";
                       bfd yes;
               };

};

}

protocol ospf Internal1 {
rfc1583compat yes;
ipv4 {
               import filter deny_default;
               export filter permit_internal;
};

area 0.0.0.20 {
               interface "eno1.1497" {
                       type pointopoint;
                       authentication cryptographic;
                       password "XXX";
                       bfd yes;
               };
};
}

protocol ospf Internal2 {
        rfc1583compat yes;
        ipv4 {
                import filter deny_default;
                export filter permit_internal;
        };

        area 0.0.0.20 {
               interface "eno2.1499" {
                       type pointopoint;
                       authentication cryptographic;
                       password "XXX";
                       bfd yes;
               };
};

}

protocol bfd bfd_proto {

interface "eno1.1497" {
               interval 50ms;
                idle tx interval 2s;
                multiplier 3;
                authentication keyed sha1;
                password "XXX";
        };

        interface "eno1.1498" {
                interval 50ms;
                idle tx interval 2s;
                multiplier 3;
                authentication keyed sha1;
                password "XXX";
        };

       interface "eno2.1500" {
               interval 50ms;
                idle tx interval 2s;
                multiplier 3;
                authentication keyed sha1;
                password "XXX";
        };

        interface "eno2.1499" {
                interval 50ms;
                idle tx interval 2s;
                multiplier 3;
                authentication keyed sha1;
                password "XXX";
        };

}
----------------------


on SIGHUP sometimes bird crashes


(gdb) bt
#0  _IO_vfprintf_internal (s=0x0, format=0x4ddaf9 "%s <%s> ",
ap=ap at entry=0x7f9954af06d8)
at vfprintf.c:1271
#1  0x00007f9954b45287 in __fprintf (stream=<optimized out>,
format=<optimized out>) at fprintf.c:32
#2  0x000000000040352b in log_commit (class=2, buf=0x7f9954af0ce0) at
sysdep/unix/log.c:192
#3  0x000000000040368d in vlog (class=2, msg=0x4e5c1a "%s: Sending CTL to
%I [%s%s]", args=0x7f9954af0d20) at sysdep/unix/log.c:220
#4  0x0000000000403764 in log_msg (msg=0x4e5c1a "%s: Sending CTL to %I
[%s%s]") at sysdep/unix/log.c:244
#5  0x000000000045d2be in bfd_send_ctl (p=0x25bf510, s=0x25f5028, final=0)
at proto/bfd/packets.c:315
#6  0x0000000000466086 in bfd_tx_timer_hook (t=0x25f6010) at
proto/bfd/bfd.c:387
#7  0x000000000047b1ce in timers_fire (loop=0x25e1c58) at lib/timer.c:235
#8  0x000000000045c956 in birdloop_main (arg=0x25e1c10) at
proto/bfd/io.c:526
#9  0x00007f9954ec6dd5 in start_thread (arg=0x7f9954af1700) at
pthread_create.c:307
#10 0x00007f9954befead in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb)




in case someone interested, please have a look


cheers,
Ilya Shipitsin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20190728/47e413de/attachment.htm>


More information about the Bird-users mailing list