Project

General

Profile

Bug #8339

quagga: ospfd crashes with assertion since upgrade to quagga-1.2.3

Added by Nico Weichbrodt about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
Quagga OSPF
Target version:
-
Start date:
02/19/2018
Due date:
% Done:

0%

Estimated time:
Affected Version:
All
Affected Architecture:
All

Description

Hi, ospfd crashes with an assertion since I upgraded to 1.2.3 (upgraded Quagga_OSPF to 0.6.20_2):

Feb 19 22:13:16 gate ospfd[85824]: DR-Election[1st]: Backup 10.1.10.1
Feb 19 22:13:16 gate ospfd[85824]: DR-Election[1st]: DR     10.1.10.13
Feb 19 22:13:16 gate ospfd[85824]: DR-Election[2nd]: Backup 10.1.10.1
Feb 19 22:13:16 gate ospfd[85824]: DR-Election[2nd]: DR     10.1.10.13
Feb 19 22:13:16 gate ospfd[85824]: interface 10.1.10.1 [10] join AllDRouters Multicast group.
Feb 19 22:13:16 gate ospfd[85824]: OSPF MPLS-TE: Abort update TE parameters: no Link Parameters for interface
Feb 19 22:13:18 gate ospfd[85824]: Packet[DD]: Neighbor 10.1.10.13 Negotiation done (Slave).
Feb 19 22:13:18 gate ospfd[85824]: Assertion `thread->master != ((void *)0) && thread != ((void *)0)' failed in file thread.c, line 607, function thread_add_unuse
Feb 19 22:13:18 gate ospfd[85824]: Backtrace for 10 stack frames:
Feb 19 22:13:18 gate ospfd[85824]: [bt 0] 0x800aed088 <zlog_backtrace+0x28> at /usr/local/lib/libzebra.so.1
Feb 19 22:13:18 gate ospfd[85824]: [bt 1] 0x800aedc3c <_zlog_assert_failed+0x9c> at /usr/local/lib/libzebra.so.1
Feb 19 22:13:18 gate ospfd[85824]: [bt 2] 0x800add7b1 <thread_cancel+0x271> at /usr/local/lib/libzebra.so.1
Feb 19 22:13:18 gate ospfd[85824]: [bt 3] 0x800adddae <funcname_thread_execute+0x31e> at /usr/local/lib/libzebra.so.1
Feb 19 22:13:18 gate ospfd[85824]: [bt 4] 0x800addaf4 <funcname_thread_execute+0x64> at /usr/local/lib/libzebra.so.1
Feb 19 22:13:18 gate ospfd[85824]: [bt 5] 0x800854525 <ospf_read+0x3155> at /usr/local/lib/libospf.so.0
Feb 19 22:13:18 gate ospfd[85824]: [bt 6] 0x800addc08 <funcname_thread_execute+0x178> at /usr/local/lib/libzebra.so.1
Feb 19 22:13:18 gate ospfd[85824]: [bt 7] 0x800addee5 <thread_main+0x125> at /usr/local/lib/libzebra.so.1
Feb 19 22:13:18 gate ospfd[85824]: [bt 8] 0x4019e1 <???> at /usr/local/sbin/ospfd
Feb 19 22:13:18 gate ospfd[85824]: [bt 9] 0x40161f <???> at /usr/local/sbin/ospfd
Feb 19 22:13:18 gate ospfd[85824]: Current thread not known/applicable
Feb 19 22:13:18 gate zebra[84135]: client 12 disconnected. 1 ospf routes removed from the rib

I'm seeing the same crash with quagga 1.2.3 on Debian (self compiled and installed), here is the quagga bugtracker link: https://bugzilla.quagga.net/show_bug.cgi?id=975 However, you might want to pull the update for now, until 1.2.4 is released.

Here is the config I'm using:

# This file was created by the pfSense package manager.  Do not edit!

password qwertzuiop1
log syslog
interface lagg0.10
  ip ospf network broadcast
  ip ospf cost 10
  ip ospf hello-interval 10
  ip ospf priority 1
  ip ospf retransmit-interval 5
  ip ospf dead-interval 60

router ospf
  ospf router-id 10.1.10.1
  network 10.1.10.0/24 area 0.0.0.0

History

#2 Updated by Jim Pingle about 3 years ago

We're aware, we'll have it updated soon.

In the meantime, consider switching to the FRR package.

#3 Updated by Jim Pingle about 3 years ago

  • Category set to Quagga OSPF
  • Status changed from New to Resolved
  • Assignee set to Renato Botelho
  • Affected Version set to All
  • Affected Architecture All added
  • Affected Architecture deleted ()

Everyone should have 1.2.4 now

Also available in: Atom PDF