Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-4389

openonu-go panic

    XMLWordPrintable

    Details

      Description

      panic: runtime error: invalid memory address or nil pointer dereference
      [signal SIGSEGV: segmentation violation code=0x1 addr=0x58 pc=0x109bfb1]

      goroutine 1707 [running]:
      github.com/opencord/voltha-openonu-adapter-go/internal/pkg/core.(*deviceHandler).isFsmInOmciIdleStateDefault(0xc000846000, 0x1555720, 0xc0009107e0, 0x7, 0x13b2718, 0x16, 0x0)
      /go/src/internal/pkg/core/device_handler.go:3623 +0x351
      github.com/opencord/voltha-openonu-adapter-go/internal/pkg/core.(*deviceHandler).CheckAuditStartCondition(0xc000846000, 0x1555720, 0xc0009107e0, 0x0, 0xb)
      /go/src/internal/pkg/core/device_handler.go:3670 +0xe9
      github.com/opencord/voltha-openonu-adapter-go/internal/pkg/mib.(*OnuDeviceEntry).enterAuditingState(0xc000a2c300, 0x1555720, 0xc0009107e0, 0xc000c180e0)
      /go/src/internal/pkg/mib/mib_sync.go:379 +0x1b2
      github.com/opencord/voltha-openonu-adapter-go/internal/pkg/mib.NewOnuDeviceEntry.func15(0xc000c180e0)
      /go/src/internal/pkg/mib/onu_device_entry.go:342 +0x46
      github.com/looplab/fsm.(*FSM).enterStateCallbacks(0xc000bcc300, 0xc000c180e0)
      /go/src/vendor/github.com/looplab/fsm/fsm.go:403 +0x102
      github.com/looplab/fsm.(*FSM).Event.func1()
      /go/src/vendor/github.com/looplab/fsm/fsm.go:308 +0x9e
      github.com/looplab/fsm.transitionerStruct.transition(...)
      /go/src/vendor/github.com/looplab/fsm/fsm.go:354
      github.com/looplab/fsm.(*FSM).doTransition(...)
      /go/src/vendor/github.com/looplab/fsm/fsm.go:339
      github.com/looplab/fsm.(*FSM).Event(0xc000bcc300, 0x139b8b8, 0xc, 0x0, 0x0, 0x0, 0x0, 0x0)
      /go/src/vendor/github.com/looplab/fsm/fsm.go:322 +0x608
      github.com/opencord/voltha-openonu-adapter-go/internal/pkg/mib.(*OnuDeviceEntry).enterInSyncState.func1(0xc000a2c300, 0x1555720, 0xc0009107e0)
      /go/src/internal/pkg/mib/mib_sync.go:278 +0x75
      created by github.com/opencord/voltha-openonu-adapter-go/internal/pkg/mib.(*OnuDeviceEntry).enterInSyncState
      /go/src/internal/pkg/mib/mib_sync.go:276 +0x2b0

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity