segfault with exabgp and bird 1.4.2

Charlie Allom charlie at yelp.com
Sat May 3 15:37:18 CEST 2014


Hi,

I have been running a stable mesh with a BIRD peer in a mesh for a few
weeks now.

Trying to connect with ExaBGP makes BIRD segfault. How can I debug this further?

Here is the TCP stream: https://spodder.com/~yeled/bird.pcap

It seems innocuous to me.

  C.

~% ulimit -c 100000

~% file ./bird
./bird: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for
GNU/Linux 2.6.8, dynamically linked (uses shared libs), not stripped

~% sudo ./bird
bird: Hello or poll interval less that 5 makes cryptographic
authenication prone to replay attacks

~% sudo ./birdc
BIRD 1.4.2 ready.
Connection closed by server.

~% sudo gdb bird core
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/librt.so.1...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Core was generated by `./bird'.
Program terminated with signal 11, Segmentation fault.
[New process 11480]
#0  bgp_rx (sk=0x6aa930, size=<value optimized out>) at
../../../proto/bgp/packets.c:1030
1030    ../../../proto/bgp/packets.c: No such file or directory.
        in ../../../proto/bgp/packets.c
(gdb) bt
#0  bgp_rx (sk=0x6aa930, size=<value optimized out>) at
../../../proto/bgp/packets.c:1030
#1  0x00000000004396f3 in sk_read (s=0x6aa930) at io.c:1602
#2  0x000000000043ab03 in io_loop () at io.c:1843
#3  0x000000000043d7a1 in main (argc=<value optimized out>,
argv=<value optimized out>) at main.c:820
(gdb)



More information about the Bird-users mailing list