Project

General

Profile

Actions

Bug #5337

closed

ttcn3-bsc-test: leaked struct bsc_subscr in BSC_Tests.TC_no_msc

Added by fixeria over 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
12/05/2021
Due date:
% Done:

100%

Spec Reference:

Description

After running ttcn3-bsc-test (actually few hours later), I see some ghost subscribers:

OsmoBSC# show subscriber all 
 IMSI             TMSI      Use
 001019876543210  ffffffff  3 (3*paging-start)
 001010000100001  ffffffff  1 (conn)

Here is the relevant talloc chunks:

$ osmo_interact_vty.py -H 127.0.0.1 -p 4242 -c "en; show talloc-context application full filter subscr" 
full talloc report on 'osmo-bsc' (total 1068914 bytes in 898 blocks)
      SUBSCR_CONN(msc4294967295-conn4294967295_subscr-IMSI-001010000100001)[0x562b2895a4a0] contains     86 bytes in   1 blocks (ref 0) 0x562b2897f090
      msc4294967295-conn4294967295_subscr-IMSI-001010000100001 contains     57 bytes in   1 blocks (ref 0) 0x562b28978a00
    struct gsm_subscriber_connection contains   6776 bytes in   1 blocks (ref 0) 0x562b289656a0
      struct bsc_subscr              contains    152 bytes in   3 blocks (ref 0) 0x562b28970aa0
        struct osmo_use_count_entry    contains     40 bytes in   1 blocks (ref 0) 0x562b289712f0
        struct osmo_use_count_entry    contains     40 bytes in   1 blocks (ref 0) 0x562b2893c3b0
      struct bsc_subscr              contains    232 bytes in   5 blocks (ref 0) 0x562b28973ba0
        struct osmo_use_count_entry    contains     40 bytes in   1 blocks (ref 0) 0x562b28975690
        struct osmo_use_count_entry    contains     40 bytes in   1 blocks (ref 0) 0x562b28981fb0
        struct osmo_use_count_entry    contains     40 bytes in   1 blocks (ref 0) 0x562b2897d850
        struct osmo_use_count_entry    contains     40 bytes in   1 blocks (ref 0) 0x562b2897f3d0

Related issues

Related to OsmoBSC - Bug #4832: osmo-bsc hard-releases lchan if no MSC is foundStalledneels10/25/2020

Actions
Related to OsmoBSC - Bug #5355: ttcn3-bsc-test: leaked struct bsc_subscr in LCS testsResolvedneels12/13/2021

Actions
Related to OsmoBSC - Bug #5444: ttcn3-bsc-test-vamos: leaked 'struct bsc_subscr'Resolvedneels02/07/2022

Actions
Related to Cellular Network Infrastructure - Feature #5446: correlate git version to ttcn3 testsNew02/07/2022

Actions
Related to OsmoBSC - Feature #2781: Extend OsmBSC TTCN-3 test coverage regarding resource leaksFeedbackneels12/22/2017

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)