Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nhrpd crash on unconfig of nhrp event socket #570

Closed
anithanarasimhamurthy opened this issue May 17, 2017 · 1 comment
Closed

nhrpd crash on unconfig of nhrp event socket #570

anithanarasimhamurthy opened this issue May 17, 2017 · 1 comment
Assignees
Labels

Comments

@anithanarasimhamurthy
Copy link

Crash decode -

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/lib/frr/nhrpd --daemon -A 127.0.0.1'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007ffad3c52067 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007ffad3c52067 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffad3c53448 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffad50b72fc in core_handler (signo=11, siginfo=0x7ffc00e0ebb0, context=0x7ffc00e0ea80) at sigevent.c:256
#3
#4 0x00007ffad3c9ec3a in strlen () from /lib/x86_64-linux-gnu/libc.so.6
#5 0x00007ffad3c9e97e in strdup () from /lib/x86_64-linux-gnu/libc.so.6
#6 0x0000562d43857eba in evmgr_set_socket (socket=socket@entry=0x0) at nhrp_event.c:220
#7 0x0000562d4385f584 in no_nhrp_event_socket (self=, vty=, argc=,
argv=) at nhrp_vty.c:223
#8 0x00007ffad5097cf1 in cmd_execute_command_real (vline=vline@entry=0x562d44afea10, vty=vty@entry=0x562d44b08c70,
cmd=cmd@entry=0x0, filter=FILTER_RELAXED) at command.c:956
#9 0x00007ffad509994a in cmd_execute_command (vline=vline@entry=0x562d44afea10, vty=vty@entry=0x562d44b08c70,
cmd=cmd@entry=0x0, vtysh=vtysh@entry=0) at command.c:1010
#10 0x00007ffad509069b in vty_command (vty=vty@entry=0x562d44b08c70, buf=0x562d44b06260 "no nhrp event socket SOCKET")
at vty.c:457
#11 0x00007ffad509092f in vty_execute (vty=vty@entry=0x562d44b08c70) at vty.c:1367
#12 0x00007ffad5091a88 in vtysh_read (thread=) at vty.c:2190
#13 0x00007ffad509dbea in thread_call (thread=thread@entry=0x7ffc00e11598) at thread.c:1480
#14 0x00007ffad50c2653 in frr_run (master=0x562d44a8de30) at libfrr.c:441
#15 0x0000562d438541b3 in main (argc=, argv=0x7ffc00e117a8) at nhrp_main.c:150
(gdb)

switch(config)# no nhrp event socket SOCKET
vtysh: error reading from nhrpd: Success (0)Warning: closing connection to nhrpd because of an I/O error!
switch(config)#

@donaldsharp donaldsharp mentioned this issue May 17, 2017
@donaldsharp donaldsharp self-assigned this May 18, 2017
@donaldsharp
Copy link
Member

Fixed in #571

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants