Uploaded image for project: 'SEBA'
  1. SEBA
  2. SEBA-844

BBSIM crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: SEBA-Next
    • Component/s: bbsim
    • Labels:
      None

      Description

      The new BBSIM crashed with the exception below, during bringup test for 1 OLT, 2 ONUS.

      {{DEBU[0021] Changing ONU OperState from down to up ID=3 module=ONU
      DEBU[0021] Changing ONU InternalState from discovered to enabled IntfId=0 OnuId=3 OnuSn=BBSM00010003 module=ONU
      DEBU[0021] Sent Indication_OnuInd AdminState=up IntfId=0 OnuId=3 OnuSn=BBSM00010003 OperState=up module=ONU
      fatal error: concurrent map writes
      fatal error: concurrent map writes

      goroutine 22 [running]:
      runtime.throw(0xa8934e, 0x15)
      /usr/local/go/src/runtime/panic.go:617 +0x72 fp=0xc0003204f8 sp=0xc0003204c8 pc=0x42f7a2
      runtime.mapassign_fast64(0x99a120, 0xc000164540, 0x100000000, 0x17386c0)
      /usr/local/go/src/runtime/map_fast64.go:176 +0x344 fp=0xc000320538 sp=0xc0003204f8 pc=0x4148a4
      github.com/opencord/omci-sim.OmciSim(0x100000000, 0xc000208150, 0x2c, 0x2c, 0x2c, 0x2c, 0x0, 0xa6e24d, 0xa6e24d)
      /home/netsia/go/src/github.com/opencord/bbsim/vendor/github.com/opencord/omci-sim/omci_sim.go:55 +0x14f2 fp=0xc000320cb8 sp=0xc000320538 pc=0x8df502
      github.com/opencord/bbsim/internal/bbsim/devices.Onu.handleOmciMessage(0x1, 0x0, 0x3, 0x0, 0x0, 0x0, 0x1, 0xc00003c130, 0xb, 0x1, ...)
      /home/netsia/go/src/github.com/opencord/bbsim/internal/bbsim/devices/onu.go:357 +0x2bd fp=0xc000321008 sp=0xc000320cb8 pc=0x8f4c9d
      github.com/opencord/bbsim/internal/bbsim/devices.Onu.processOnuMessages(0x1, 0x0, 0x3, 0x0, 0x0, 0x0, 0x1, 0xc00003c130, 0xb, 0x1, ...)
      /home/netsia/go/src/github.com/opencord/bbsim/internal/bbsim/devices/onu.go:198 +0x89a fp=0xc000321eb0 sp=0xc000321008 pc=0x8f278a
      runtime.goexit()
      /usr/local/go/src/runtime/asm_amd64.s:1337 +0x1 fp=0xc000321eb8 sp=0xc000321eb0 pc=0x45c101
      created by github.com/opencord/bbsim/internal/bbsim/devices.OltDevice.Enable
      /home/netsia/go/src/github.com/opencord/bbsim/internal/bbsim/devices/olt.go:224 +0x4f9}}

        Attachments

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

          Activity

            People

            Assignee:
            teone Matteo Scandolo
            Reporter:
            mahirgu Mahir Gunyel
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes