birdc 2.0.0 crashes

Ondrej Zajicek santiago at crfreenet.org
Fri Dec 15 04:15:24 CET 2017


On Thu, Dec 14, 2017 at 04:50:20PM +0100, Clemens Schrimpe wrote:
> 
> > On 14.12.2017, at 14:18, Ondrej Zajicek <santiago at crfreenet.org> wrote:
> > 
> > What is output of ldd birdc for 1.6.3?
> 
> # for 2.0.0
> newnoc:~/builds/bird-2.0.0# ldd birdc
> 	linux-vdso.so.1 =>  (0x00007ffeb07dd000)
> 	libhistory.so.6 => /lib/x86_64-linux-gnu/libhistory.so.6 (0x00007fcab708d000)
> 	libreadline.so.6 => /lib/x86_64-linux-gnu/libreadline.so.6 (0x00007fcab6e47000)
> 	libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fcab6c1d000)
> 	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fcab6a00000)
> 	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcab6636000)
> 	/lib64/ld-linux-x86-64.so.2 (0x000055a00f20b000)
> 
> # for 1.6.3
> newnoc:~/builds/bird-2.0.0# ldd /usr/local/sbin/birdc
> 	linux-vdso.so.1 =>  (0x00007ffcbb5d2000)
> 	libreadline.so.6 => /lib/x86_64-linux-gnu/libreadline.so.6 (0x00007f8e4bd8c000)
> 	libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f8e4bb63000)
> 	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f8e4b945000)
> 	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8e4b57b000)
> 	/lib64/ld-linux-x86-64.so.2 (0x0000557f92c50000)

Hi

It seems like history functions are both in independent libhistory and as
a part of libreadline. We link birdc to both libraries, which possibly
caused some confusion (readline internally called its history functions,
while birdc uses functions from libhistory).

The same problem is described here:
https://lists.gnu.org/archive/html/bug-readline/2015-10/msg00000.html

Could you try to build bird/birdc (without any patches i sent before) using:

  make CLIENT_LIBS="-lreadline -ltinfo"

?

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20171215/6b4cd681/attachment.asc>


More information about the Bird-users mailing list