Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-10289

Memory Leak in Multi-Role

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • SimpleLink CC13x2-26x2 SDK BLE5 Stack
    • BLE_AGAMA-3055
    • BLE Stack BLE5-2.2.0 RC15
    • Hide
      BLE Stack BLE5-2.2.1 RC2
      BLE Stack BLE5-2.2.1
      Show
      BLE Stack BLE5-2.2.1 RC2 BLE Stack BLE5-2.2.1
    • CC26X2R1

      SDK version: simplelink_cc13x2_26x2_sdk_4_40_00_44

      examples: multi-role

      problem description: When repetitively connecting and disconnecting with OOB multi-role project(enable HEAPMGR_METRICS), you can see the heapmgrMemAlo/heapmgrMemMax just keeps growing.

      reproducibility: 100%

      steps to reproduce:

      Flash one CC26x2 launchpads with OOB multi-role with HEAPMGR_METRICS enabled.
      Flash one CC26x2 launchpads with a modified simple_central project(ble5_simple_central_cc26x2r1lp_app_src_FlashOnly_Release.hex). The modified sc project has DEFAULT_DEV_DISC_BY_SVC_UUID set to true, no pairing, thus will automatically search for multi-role and connect to it. After 5s, the sc device will reset. Then it will search for multi-role/simple_peripheral project again and connect to it.
      Additional Observation:

      1. If the simple_central sends GAP_TerminateLinkReq() instead of just disappearing from the network(reset), then you won't see the memory leak.

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: