Skip to content

OSPF SR crash #4248

Closed
Closed
@anubiz85

Description

  • When reporting a crash, provide a backtrace
  • When pasting configs, logs, shell output, backtraces, and other large chunks of text use Markdown code blocks
  • Include the FRR version; if you built from Git, please provide the commit hash
  • Write your issue in English

We are seeing the following ospf crash on our 3-node setup(connected in a triangle topology) intermittently.

(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007f0d41ec9801 in __GI_abort () at abort.c:79
#2 0x00007f0d41eb939a in __assert_fail_base (fmt=0x7f0d420407d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x56404819b276 "node",
file=file@entry=0x56404819ae00 "ospfd/ospf_packet.c", line=line@entry=666, function=function@entry=0x56404819cd48 <PRETTY_FUNCTION.16922> "ospf_write")
at assert.c:92
#3 0x00007f0d41eb9412 in __GI___assert_fail (assertion=0x56404819b276 "node", file=0x56404819ae00 "ospfd/ospf_packet.c", line=666,
function=0x56404819cd48 <PRETTY_FUNCTION.16922> "ospf_write") at assert.c:101
#4 0x000056404815f1e6 in ospf_write (thread=) at ospfd/ospf_packet.c:667
#5 0x00007f0d42912a48 in thread_call (thread=thread@entry=0x7ffcd06d9ee0) at lib/thread.c:1547
#6 0x00007f0d428eee09 in frr_run (master=0x564049533210) at lib/libfrr.c:1016
#7 0x000056404814d1a1 in main (argc=4, argv=0x7ffcd06da1f8) at ospfd/ospf_main.c:230

All 3 nodes are in ospf area 1.1.1.1 and configs are identical (pasted below)

!
router ospf
ospf router-id 10.10.10.10
capability opaque
mpls-te on
mpls-te router-address 10.10.10.10
segment-routing on
segment-routing global-block 10000 19999
segment-routing node-msd 8
router-info area
!

Describe the bug
A clear and concise description of what the bug is.

(put "x" in "[ ]" if you already tried following)
[ ] Did you check if this is a duplicate issue? Tried
[ ] Did you test it on the latest FRRouting/frr master branch? Tried

To Reproduce
Apply configs and wait for sometime.

Expected behavior
No crash

Screenshots
If applicable, add screenshots to help explain your problem.

Versions

  • OS Kernel: Ubuntu
    frr# uname -r
    4.15.0-47-generic

  • FRR Version [version]

show ver

FRRouting 7.1-dev-MyOwnFRRVersion-g1504192 (yocto_ref_8d01-linux2).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
This is a git build of frr-7.1-dev-300-g4c1504192
Associated branch(es):
local:master

configured with:
'--prefix=/usr' '--includedir=${prefix}/include' '--enable-exampledir=${prefix}/share/doc/frr/examples' '--bindir=${prefix}/bin' '--sbindir=${prefix}/lib/frr' '--libdir=${prefix}/lib/frr' '--libexecdir=${prefix}/lib/frr' '--localstatedir=/var/run/frr' '--sysconfdir=/etc/frr' '--with-moduledir=${prefix}/lib/frr/modules' '--with-libyang-pluginsdir=${prefix}/lib/frr/libyang_plugins' '--enable-configfile-mask=0640' '--enable-logfile-mask=0640' '--enable-snmp=agentx' '--enable-multipath=64' '--enable-user=frr' '--enable-group=frr' '--enable-vty-group=frrvty' '--with-pkg-git-version' '--with-pkg-extra-version=-MyOwnFRRVersion' '--enable-systemd=yes'

Additional context
We are trying to use ospfclient api to get lsa updates here as well. We haven't done any ospf changes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions