Package: quagga
Version: 0.98.3-7
Severity: grave

quagga in sarge segfault when it acts on an event on an interface with
vlans. here's a log+bt

2005/11/26 21:20:21 OSPF: Packet[DD]: Neighbor x.x.x.212 Negotiation
done (Slave).
2005/11/26 21:20:21 OSPF: nsm_change_state(x.x.x.212, Exchange -> Full):
scheduling new router-LSA origination
2005/11/26 21:20:21 OSPF: Route[External]: Calculate AS-external-LSA to
x.x.x.240/30
2005/11/26 21:20:21 OSPF: Route[External]: type-1 created.
2005/11/26 21:20:21 OSPF: Route[External]: Adding a new route x.x.x.240/30
OSPF: Received signal 11 at 1133058023 (si_addr 0x2c, PC 0x4004e705);
aborting...
Program counter: /usr/lib/libospf.so.0(ospf_lsdb_lookup+0x27)[0x4004e705]
Backtrace for 10 stack frames:
/usr/lib/libzebra.so.0(zlog_backtrace_sigsafe+0x28)[0x400ac81a]
/usr/lib/libzebra.so.0(zlog_signal+0x258)[0x400ac7ea]
/usr/lib/libzebra.so.0[0x400b3eb6]
[0xffffe440]
/usr/lib/libospf.so.0(ospf_discard_from_db+0x1f)[0x400450df]
/usr/lib/libospf.so.0(ospf_maxage_lsa_remover+0x121)[0x4004565f]
/usr/lib/libzebra.so.0(thread_call+0x52)[0x400a4b72]
/usr/lib/quagga/ospfd(main+0x2ca)[0x80494b0]
/lib/tls/libc.so.6(__libc_start_main+0xf4)[0x401a4974]
/usr/lib/quagga/ospfd[0x80490d1]

----------------

i replaced the network part with x.x.x for privacy reasons
x.x.x.212 is an EdgeCore L3 switch running OSPF.
x.x.x.240 is an end-user being routed
all of this is done over eth0.1, which has 4 VLAN created and up (eth0.1
eth0.2 eth0 eth0.4 eth0.21)

eth0      Link encap:Ethernet  HWaddr 00:11:D8:D4:A8:8C
          inet addr:192.168.4.254  Bcast:192.168.4.255  Mask:255.255.255.0
          inet6 addr: fe80::211:d8ff:fed4:a88c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:31369228 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36363422 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:318638418 (303.8 MiB)  TX bytes:2023613677 (1.8 GiB)
          Interrupt:209 Memory:feaec000-0

eth0.1    Link encap:Ethernet  HWaddr 00:11:D8:D4:A8:8C
          inet addr:x.x.x.209  Bcast:x.x.x.223  Mask:255.255.255.240
          inet6 addr: fe80::211:d8ff:fed4:a88c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:273405 errors:0 dropped:0 overruns:0 frame:0
          TX packets:285257 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:38200388 (36.4 MiB)  TX bytes:192221488 (183.3 MiB)

also note that the "native" vlan on eth0 is 3 so using eth0.1 is
definately correct in this case. this cannot be changed for legacy reasons

this doesn't happen on other systems that don't use VLANs, and combined
with the reference below, lead me to think it really is vlan related

reference:
http://lists.quagga.net/pipermail/quagga-users/2005-February/003939.html

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to