BIRD v2.0.0-11-gc36a298 segmentation fault
Clemens Schrimpe
clemens.schrimpe at gmail.com
Wed Dec 27 18:20:44 CET 2017
The fix came from Ondrej Zajicek, who also -I think- put it back upstream?!
Ondrej?
Hälsningar -
Clemens
--
Von einem Mobiltelefon gesendet. Bitte die Kürze entschuldigen.
Sent from a mobile phone. Please excuse brevity.
> Am 27.12.2017 um 18:17 schrieb Mike Neo <neomikemac at gmail.com>:
>
> is working properly - thx a lot :)
>
> 2017-12-27 18:08 GMT+01:00 Clemens Schrimpe <clemens.schrimpe at gmail.com>:
>> 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 <neomikemac at gmail.com>:
>>>
>>
>>> 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 <michael at winkstreaming.com>:
>>>> 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: michael at winkstreaming.com
>>>> 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 <neomikemac at gmail.com> 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
>>>>
>>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20171227/ceb88f33/attachment.html>
More information about the Bird-users
mailing list