Hi,

Here at Srce we are running OpenBSD 7.5-release as route server. I
wanted to collect some additional MRT data and I have this in bgpd.conf

dump table-v2 "/data/bgpdumps/bgp-rib-dump-%y_%m_%d-%H_%M" 300
dump all out "/data/bgpdumps/bgp-all-out-%y_%m_%d-%H_%M" 300
dump all in "/data/bgpdumps/bgp-all-in-%y_%m_%d-%H_%M" 300

If I want to read bgp-rib-dump with
bgpctl show mrt file /data/bgpdumps/bgp-rib-dump-24_06_03-10_46

everything seems fine

But if I want to read bgp-all-in or bgp-all-out I get
Segmentation fault (core dumped)


rs1# gdb bgpctl bgpctl.core
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd7.5"...(no debugging
symbols found)

Core was generated by `bgpctl'.
Program terminated with signal 11, Segmentation fault.
(no debugging symbols found)
Loaded symbols for /usr/sbin/bgpctl
Reading symbols from /usr/lib/libutil.so.18.0...done.
Loaded symbols for /usr/lib/libutil.so.18.0
Reading symbols from /usr/lib/libm.so.10.1...done.
Loaded symbols for /usr/lib/libm.so.10.1
Reading symbols from /usr/lib/libc.so.99.0...done.
Loaded symbols for /usr/lib/libc.so.99.0
Reading symbols from /usr/libexec/ld.so...Error while reading shared
library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be
2) [in module /usr/libexec/ld.so]
#0  ibuf_get_n8 (buf=0x751ce250b5d0, value=0x751ce250b6dd "u") at
/usr/src/lib/libutil/imsg-buffer.c:412
412     /usr/src/lib/libutil/imsg-buffer.c: No such file or directory.
        in /usr/src/lib/libutil/imsg-buffer.c




All those three files I can normally read with bgpdump.

Reply via email to