-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.9
-
Component/s: openolt-adapter, rw-core
-
Labels:
-
Story Points:3
-
Epic Link:
-
Sprint:VOLTHA 2.9 - Sprint 6
flows arrive to openolt adapter before it has fully reconciled and the adapter panics
voltha/voltha-voltha-adapter-openolt-6d87d98cf-fhjjj[adapter-open-olt]: panic: runtime error: invalid memory address or nil pointer dereference
voltha/voltha-voltha-adapter-openolt-6d87d98cf-fhjjj[adapter-open-olt]: [signal SIGSEGV: segmentation violation code=0x1 addr=0xe8 pc=0xe20a85]
voltha/voltha-voltha-adapter-openolt-6d87d98cf-fhjjj[adapter-open-olt]:
voltha/voltha-voltha-adapter-openolt-6d87d98cf-fhjjj[adapter-open-olt]: goroutine 1078 [running]:
voltha/voltha-voltha-adapter-openolt-6d87d98cf-fhjjj[adapter-open-olt]: github.com/opencord/voltha-openolt-adapter/internal/pkg/core.(*OpenOltFlowMgr).RouteFlowToOnuChannel(0x0, 0x12305e0, 0xc001b01f80, 0xc0014cfd00, 0x1, 0xc001ab3b80, 0x7fbd689e80a0, 0x30)
voltha/voltha-voltha-adapter-openolt-6d87d98cf-fhjjj[adapter-open-olt]: /go/src/internal/pkg/core/openolt_flowmgr.go:2187 +0x265
voltha/voltha-voltha-adapter-openolt-6d87d98cf-fhjjj[adapter-open-olt]: github.com/opencord/voltha-openolt-adapter/internal/pkg/core.(*DeviceHandler).UpdateFlowsIncrementally(0xc000332800, 0x12305e0, 0xc001b01f80, 0xc001aad380, 0xc001a9d320, 0xc001ab3980, 0xc001ab3b80, 0xd, 0xef1d40)
voltha/voltha-voltha-adapter-openolt-6d87d98cf-fhjjj[adapter-open-olt]: /go/src/internal/pkg/core/device_handler.go:1641 +0x999
voltha/voltha-voltha-adapter-openolt-6d87d98cf-fhjjj[adapter-open-olt]: github.com/opencord/voltha-openolt-adapter/internal/pkg/core.(*OpenOLT).UpdateFlowsIncrementally(0xc000612140, 0x12305e0, 0xc001b01680, 0xc0014bb880, 0xc000612140, 0xc001a99320, 0x12305e0)
voltha/voltha-voltha-adapter-openolt-6d87d98cf-fhjjj[adapter-open-olt]: /go/src/internal/pkg/core/openolt.go:237 +0x2b2
voltha/voltha-voltha-adapter-openolt-6d87d98cf-fhjjj[adapter-open-olt]: github.com/opencord/voltha-protos/v5/go/adapter_services._AdapterService_UpdateFlowsIncrementally_Handler.func1(0x12305e0, 0xc001b01680, 0x1052540, 0xc0014bb880, 0xc001a99320, 0x12305e0, 0xc001b01680, 0x123ba20)