Build it like so: make CLIENT_LIBS="-lreadline -ltinfo“
Greetings, Clemens -- Von einem Mobiltelefon gesendet. Bitte die Kürze entschuldigen. Sent from a mobile phone. Please excuse brevity. > Am 27.12.2017 um 17:28 schrieb Mike Neo <[email protected]>: > > The problem is with birdc so I run birdc with strace, ok? :) > > rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT ALRM TERM TSTP TTIN TTOU], [], 8) = 0 > rt_sigaction(SIGINT, {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, > {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGTERM, {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, > {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGHUP, {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, > {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGQUIT, {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, > {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGALRM, {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, > {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGTSTP, {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, > {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGTTOU, {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, > {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGTTIN, {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, > {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > rt_sigaction(SIGWINCH, {0x7f0889e45110, [], SA_RESTORER|SA_RESTART, > 0x7f08899e9390}, {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > read(0, "[", 1) = 1 > rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, > {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGTERM, {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, > {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGHUP, {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, > {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, > {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, > {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGTSTP, {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, > {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGTTOU, {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, > {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGTTIN, {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, > {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGWINCH, {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, > {0x7f0889e45110, [], SA_RESTORER|SA_RESTART, 0x7f08899e9390}, 8) = 0 > select(4, [0 3], NULL, NULL, NULL) = 1 (in [0]) > rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT ALRM TERM TSTP TTIN TTOU], [], 8) = 0 > rt_sigaction(SIGINT, {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, > {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGTERM, {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, > {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGHUP, {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, > {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGQUIT, {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, > {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGALRM, {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, > {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGTSTP, {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, > {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGTTOU, {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, > {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigaction(SIGTTIN, {0x7f0889e45b60, [], SA_RESTORER, 0x7f08899e9390}, > {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > rt_sigaction(SIGWINCH, {0x7f0889e45110, [], SA_RESTORER|SA_RESTART, > 0x7f08899e9390}, {SIG_DFL, [], SA_RESTORER, 0x7f08899e9390}, 8) = 0 > read(0, "A", 1) = 1 > --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x8} --- > +++ killed by SIGSEGV (core dumped) +++ > Segmentation fault (core dumped) > > > > 2017-12-27 17:20 GMT+01:00 Michael McConnell <[email protected]>: >> Try running >> >> strace -f bird -f -u bird -g bird >> >> and providing the last 20 or 30 lines of the output. >> >> -- >> Michael McConnell >> WINK Streaming; >> email: [email protected] >> toll free: 877-GO-4-WINK x 7400 >> direct: +1 312 281-5434 >> cell: +506 8706-2389 >> skype: wink-michael >> web: http://winkstreaming.com >> >>> On Dec 27, 2017, at 10:01 AM, Mike Neo <[email protected]> wrote: >>> >>> Hi, >>> >>> using up arrow in birdc causes segmentation fault: >>> >>> <image.png> >>> >>> syslog: >>> >>> Dec 27 16:55:56 r1 kernel: [331700.979873] birdc[15259] segfault at 0 ip >>> 00007fab7221ba0b sp 00007ffef0ee16c8 error 4 in >>> libreadline.so.6.3[7fab721ed000+3d000] >>> >>> environment: >>> >>> Description: Ubuntu 16.04.3 LTS >>> Release: 16.04 >>> Codename: xenial >>> >>> start cmd: bird -f -u bird -g bird >>> >>> What's the problem? >>> >>> BR, >>> Mike >> >
