[quagga-dev 4158] Re: Bug in long delay networks

Paul Jakma paul at clubi.ie
Wed May 31 13:10:02 BST 2006


On Wed, 31 May 2006, Vincent Jardin wrote:

> Agree, I do prefer this option.

Well, its the logical conclusion of Philips proposal to remove the 
flood call in the maxage_remover. ;)

The only problem is, this morning it had crashed. And it crashes 
whenever a non-self-originated LSA changes (it seems). There appears 
to be an ospf_lsa_lock() missing somewhere:

2006/05/31 06:31:11 OSPF: RXmtL(1)--, NBR(212.17.55.54), LSA[Type1,id(212.17.55.50),ar(212.17.55.50)]
2006/05/31 06:31:11 OSPF: LSA: freed 0x5c39d0
2006/05/31 06:31:11 OSPF: LSA[Type1:212.17.55.50]: data freed 0x5c5680
2006/05/31 06:31:11 OSPF: SPF: calculation timer scheduled
2006/05/31 06:31:11 OSPF: SPF: calculation timer delay = 200
2006/05/31 06:31:11 OSPF: LSA[Type1,id(212.17.55.50),ar(212.17.55.50)]: Install router-LSA to Area 0.0.0.0
2006/05/31 06:31:11 OSPF: LSA[Type1:212.17.55.50]: Install LSA 0x0x5bf370, MaxAge
OSPF: Received signal 11 at 1149053471 (si_addr 0x0); aborting...
Backtrace for 14 stack frames:
/usr/lib64/quagga/libzebra.so.0(zlog_backtrace_sigsafe+0x2b)[0x318b12a849]
/usr/lib64/quagga/libzebra.so.0(zlog_signal+0x23a)[0x318b12ad63]
/usr/lib64/quagga/libzebra.so.0[0x318b134723]
/lib64/libc.so.6[0x343fb2f300]
/usr/lib64/quagga/libospf.so.0(ospf_flood_through_area+0x71)[0x318b339928]
/usr/lib64/quagga/libospf.so.0(ospf_lsa_flush_area+0x21)[0x318b339fdb]
/usr/lib64/quagga/libospf.so.0(ospf_lsa_install+0x4c9)[0x318b331684]
/usr/lib64/quagga/libospf.so.0(ospf_flood+0x1b9)[0x318b339d92]
/usr/lib64/quagga/libospf.so.0[0x318b32bf18]
/usr/lib64/quagga/libospf.so.0(ospf_read+0xcb8)[0x318b32d3a0]
/usr/lib64/quagga/libzebra.so.0(thread_call+0x86)[0x318b120bd3]

The trace is very consistent.

And interestingly the reporter on Bug #269 has just added more 
information that strongly suggests his crash must be the same 
problem.. (So it's an existing and apparently mostly latent bug, i.e. 
*not* specific to this patch).

Where is the missing lsa_lock() though?

regards,
-- 
Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
Fortune:
Grandpa Charnock's Law:
 	You never really learn to swear until you learn to drive.

 	[I thought it was when your kids learned to drive.  Ed.]



More information about the Quagga-dev mailing list