ospf性能部分问题

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff6c4bf700 (LWP 11846)]
0x00007fff6e245a32 in ospf_zebra_add (p=0x7fff58e70e88, or=0x7fff58e70f08) at ospf_zebra.c:357
357                  api.nexthop[count].intf.index = path->ifindex;
(gdb) bt
#0  0x00007fff6e245a32 in ospf_zebra_add (p=0x7fff58e70e88, or=0x7fff58e70f08) at ospf_zebra.c:357
#1  0x00007fff6e268a62 in ospf_route_install (ospf=0x7fff6c3f9bd8, rt=0x7fff59b39488) at ospf_route.c:291
#2  0x00007fff6e267ddb in ospf_spf_calculate_timer (thread=0x7fff6c4beb10) at ospf_spf.c:1378
#3  0x00007fff6e2a98fd in thread_call (thread=0x7fff6c4beb10) at thread.c:1271
#4  0x00007fff6e241375 in main (argc=5, argv=0x1f1db20) at ospf_main.c:347
#5  0x00007ffff79ff3bf in ns3::DceManager::DoStartProcess (context=0x1fc10b0) at ../model/dce-manager.cc:283
#6  0x00007ffff7a88b78 in ns3::TaskManager::Trampoline (context=0x1453c40) at ../model/task-manager.cc:274
#7  0x00007ffff7a84b53 in ns3::PthreadFiberManager::Run (arg=0x1fc0a80) at ../model/pthread-fiber-manager.cc:402
#8  0x000000318b2079d1 in start_thread () from /lib64/libpthread.so.0
#9  0x000000318a6e88fd in clone () from /lib64/libc.so.6
(gdb)



(gdb) p count
$1 = 45927690
(gdb)


原来是count太多了。

你可能感兴趣的:(ospf性能部分问题)