Problems after upgrade to 1.6.1 from 1.6.0

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Wed Sep 28 15:15:25 CEST 2016


I upgraded BIRD from a working
1.6.0-3+trusty+1
to
1.6.1-1+trusty+1
today (from the Ubuntu PPA https://launchpad.net/~cz.nic-labs/+archive/ubuntu/bird )

Then bird started to segfault:
Sep 28 11:46:24 dns-ccm kernel: [4320833.655332] bird[10188]: segfault at 0 ip           (null) sp 00007fff3f9624a8 error 14 in bird[5654a2004000+70000]
Sep 28 11:46:24 dns-ccm kernel: [4320833.685949] bird[16543]: segfault at 0 ip           (null) sp 00007ffe7e13f2c8 error 14 in bird[55d29a334000+70000]

I rebuilt the package from the PPA sources without debugging and ran
bird in gdb:

# gdb ./build-ipv4/bird
(gdb)  set args -f -u bird -g bird

(gdb) run
Starting program: /usr/src/bird-1.6.1/build-ipv4/bird -f -u bird -g bird
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
2016-09-28 15:00:31 <INFO> Chosen router ID 141.42.1.11 according to interface bond0
2016-09-28 15:00:31 <INFO> Started

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()

(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00005555555b8812 in sk_err (s=0x5555558077d0, revents=9) at io.c:1867
#2  0x00005555555b93f1 in io_loop () at io.c:2237
#3  0x00005555555bec05 in main (argc=6, argv=0x7fffffffe5e8) at main.c:883

(gdb) bt full
#0  0x0000000000000000 in ?? ()
No symbol table info available.
#1  0x00005555555b8812 in sk_err (s=0x5555558077d0, revents=9) at io.c:1867
       se = 0
       sse = 4
#2  0x00005555555b93f1 in io_loop () at io.c:2237
       s = 0x5555558077d0
       count = 1
       poll_tout = 1000
       tout = 4332491
       nfds = 3
       events= 0
       pout = 1
       s = 0x55555581ac20
       n = 0x5555557f3d88 <sock_list+8>
       fdmax = 256
       pfd = 0x5555558120c0
#3  0x00005555555bec05 in main (argc=6, argv=0x7fffffffe5e8) at main.c:883
       use_uid = 115
       use_gid = 128
       conf = 0x5555557f8b80
(gdb) 
		             



My config:
==========

---- SNIP ----
log stderr all;

router id from "bond0";

# Funktion in der die verwendeten ANYCAST-IPs eingetragen werden muessen
function is_anycastIP () {
        return net ~ [
                141.42.1.1/32,
                141.42.1.2/32
        ];
}

# Direkte Interface-Routen (z.B. die an "lo" gebundene ANYCAST-IP)
lernen
protocol direct {
        interface "lo";
}

# Exportieren der OSPF-Routen an die Kernel-Routingtable, keine Imports!
protocol kernel {
        scan time 20;
        import none;
        export all;
        preference 100;
}

# Lokale Devices/Interfaces einbeziehen.
# u.a. fuer die automatische Erkennung der RouterID notwendig
protocol device {
        scan time 10;
}

protocol ospf ANYCAST {
        rfc1583compat yes;
        tick 2;
        preference 50;
        ecmp yes;
        import filter {
                # Default-Route und die von den anderen kommenden ANYCAST-IPs nicht aus OSPF importieren
                if ((net = 0.0.0.0/0) || is_anycastIP()) then {
                        reject;
                }
                accept;
        };
        export filter {
                # Nur die ANYCAST-IPs ins OSPF propagieren
                if ((source = RTS_DEVICE) && is_anycastIP())  then {
                        # E1-Route mit Kosten=5000 erzeugen
                        ospf_metric1 = 5000;
                        accept;
                }
                reject;
        };
        area 0 {
                interface "bond0" {
                        type broadcast;
                        hello 10; retransmit 5; wait 40; dead 40;
                        check link;
                        priority 0;
                        cost 5000;

                        authentication cryptographic;
                        password "SECRET";
                };
        };
}
---- SNIP ----

-- 
Ralf Hildebrandt                   Charite Universitätsmedizin Berlin
ralf.hildebrandt at charite.de        Campus Benjamin Franklin
http://www.charite.de              Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155


More information about the Bird-users mailing list