Memory leak detected in AgentPath::ReorderCompositeNH
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Fix Committed
|
High
|
RAVI KIRAN | |||
R3.0.2.x |
Fix Committed
|
High
|
RAVI KIRAN | |||
R3.1 |
Fix Committed
|
High
|
RAVI KIRAN | |||
Trunk |
Fix Committed
|
High
|
RAVI KIRAN |
Bug Description
Possible fix:
diff --git a/src/vnsw/
index 89d47a0..521800f 100644
--- a/src/vnsw/
+++ b/src/vnsw/
@@ -1305,6 +1305,7 @@ bool AgentPath:
if (nh_key_
+ delete nh_key_2;
}
break;
==23823== 88 (72 direct, 16 indirect) bytes in 1 blocks are definitely lost in loss record 7,072 of 10,912
==23823== at 0x4C2B0E0: operator new(unsigned long) (in /usr/lib/
==23823== by 0x17F1E45: CompositeNH:
==23823== by 0x16F2C1F: AgentPath:
==23823== by 0x1CA324F: ControllerEcmpR
==23823== by 0x170EAB7: AgentRoute:
==23823== by 0x170D11C: AgentRouteTable
==23823== by 0x170C9A2: AgentRouteTable
==23823== by 0x2140DA3: DBTablePartitio
==23823== by 0x2134DEA: DBPartition:
==23823== by 0x22E6337: TaskImpl::execute() (task.cc:262)
==23823== by 0x6BDCB39: ??? (in /usr/lib/
==23823== by 0x6BD8815: ??? (in /usr/lib/
==23823== by 0x6BD7F4A: ??? (in /usr/lib/
==23823== by 0x6BD40FE: ??? (in /usr/lib/
==23823== by 0x6BD42F8: ??? (in /usr/lib/
==23823== by 0x69A6183: start_thread (pthread_
==23823== by 0x770A37C: clone (clone.S:111)
Changed in juniperopenstack: | |
assignee: | nobody → RAVI KIRAN (ravibk) |
importance: | Undecided → High |
Review in progress for https:/ /review. opencontrail. org/23586
Submitter: RAVI KIRAN (<email address hidden>)