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

new rip bfd code crashes rip every time #13415

Closed
donaldsharp opened this issue May 2, 2023 · 0 comments
Closed

new rip bfd code crashes rip every time #13415

donaldsharp opened this issue May 2, 2023 · 0 comments
Assignees
Labels
triage Needs further investigation

Comments

@donaldsharp
Copy link
Member

rip_bfd_topo1 test crashes every time for me:
[New LWP 54258]
[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/ripd --command-log-always --log file:ripd.log --log-level debug -d'.
Program terminated with signal SIGABRT, Aborted.
#0 raise (sig=) at ../sysdeps/unix/sysv/linux/raise.c:50
50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 raise (sig=) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007fcba0b7a1e2 in core_handler (signo=6, siginfo=0x7ffcecdfccb0, context=0x7ffcecdfcb80) at lib/sigevent.c:246
#2
#3 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#4 0x00007fcba085a859 in __GI_abort () at abort.c:79
#5 0x00007fcba0bba909 in _zlog_assert_failed (xref=0x7fcba0c6d3a0 <_xref.9793>, extra=0x0) at lib/zlog.c:689
#6 0x00007fcba0b32f82 in mt_count_free (mt=0x5644777f8240 <MTYPE_TMP>, ptr=0x564477d3e760) at lib/memory.c:73
#7 0x00007fcba0b331d0 in qfree (mt=0x5644777f8240 <MTYPE_TMP>, ptr=0x564477d3e760) at lib/memory.c:129
#8 0x00005644777c4d5d in rip_interface_reset (ri=0x564477d3ef30) at ripd/rip_interface.c:460
#9 0x00005644777c6523 in rip_interface_delete_hook (ifp=0x564477d3ee10) at ripd/rip_interface.c:1130
#10 0x00007fcba0b110c1 in hook_call_if_del (ifp=0x564477d3ee10) at lib/if.c:46
#11 0x00007fcba0b117f4 in if_delete_retain (ifp=0x564477d3ee10) at lib/if.c:251
#12 0x00007fcba0b1192a in if_delete (ifp=0x7ffcecdfd480) at lib/if.c:271
#13 0x00007fcba0b13c30 in if_terminate (vrf=0x564477c928e0) at lib/if.c:1032
#14 0x00007fcba0b98791 in vrf_terminate_single (vrf=0x564477c928e0) at lib/vrf.c:514
#15 0x00007fcba0b98890 in vrf_terminate () at lib/vrf.c:543
#16 0x00005644777d6982 in rip_vrf_terminate () at ripd/ripd.c:3601
#17 0x00005644777c6ccf in sigint () at ripd/rip_main.c:71
#18 0x00007fcba0b79f35 in frr_sigevent_process () at lib/sigevent.c:115
#19 0x00007fcba0b93c1d in event_fetch (m=0x564477aa8830, fetch=0x7ffcecdfd5c0) at lib/event.c:1761
#20 0x00007fcba0b20f55 in frr_run (master=0x564477aa8830) at lib/libfrr.c:1184
#21 0x00005644777c6e22 in main (argc=7, argv=0x7ffcecdfd7d8) at ripd/rip_main.c:171
(gdb)

I am not including anything else since this crash happens no matter what.

@donaldsharp donaldsharp added the triage Needs further investigation label May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs further investigation
Projects
None yet
Development

No branches or pull requests

2 participants