Project

General

Profile

Bug #2779

OsmoMSC not closing subscriber connection when calling unknown number (may appear like OsmoBSC memory leak on SCCP connections)

Added by laforge 7 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
12/22/2017
Due date:
% Done:

100%

Estimated time:
Spec Reference:

Description

After one complete iteration of the TTCN-3 BSC_Tests.ttcn test suite, we have four leaked SCCP connections in the talloc report:

talloc report on 'vty' (total 205814 bytes in 12029 blocks)
    save_cwd                       contains     55 bytes in   1 blocks (ref 0) 0x84c44c0
    vty_command                    contains 120927 bytes in 7068 blocks (ref 0) 0x84a69a0
    vty_vector                     contains  84832 bytes in 4959 blocks (ref 0) 0x84a6900
full talloc report on 'openbsc' (total 690245 bytes in 299 blocks)
    telnet_connection              contains      1 bytes in   1 blocks (ref 0) 0x886d580
    struct osmo_ss7_instance       contains   5989 bytes in  43 blocks (ref 0) 0x8721ee0
        struct osmo_sccp_instance      contains   3884 bytes in  19 blocks (ref 0) 0x8872d60
            struct sccp_connection         contains    924 bytes in   4 blocks (ref 0) 0x9ab2d80
                struct osmo_fsm_inst           contains    220 bytes in   3 blocks (ref 0) 0x9ab30e0
                    SCCP-SCOC(19)[0x9ab30e0]       contains     25 bytes in   1 blocks (ref 0) 0x9ab32f0
                    19                             contains      3 bytes in   1 blocks (ref 0) 0x9ab3240
            struct sccp_connection         contains    924 bytes in   4 blocks (ref 0) 0x9a13a10
                struct osmo_fsm_inst           contains    220 bytes in   3 blocks (ref 0) 0x9a13d70
                    SCCP-SCOC(18)[0x9a13d70]       contains     25 bytes in   1 blocks (ref 0) 0x9a13f80
                    18                             contains      3 bytes in   1 blocks (ref 0) 0x9a13ed0
            struct sccp_connection         contains    924 bytes in   4 blocks (ref 0) 0x99746a0
                struct osmo_fsm_inst           contains    220 bytes in   3 blocks (ref 0) 0x9974a00
                    SCCP-SCOC(17)[0x9974a00]       contains     25 bytes in   1 blocks (ref 0) 0x9974c10
                    17                             contains      3 bytes in   1 blocks (ref 0) 0x9974b60
            struct sccp_connection         contains    922 bytes in   4 blocks (ref 0) 0x8c809e0
                struct osmo_fsm_inst           contains    218 bytes in   3 blocks (ref 0) 0x8c80d40
                    SCCP-SCOC(1)[0x8c80d40]        contains     24 bytes in   1 blocks (ref 0) 0x8c80f50
                    1                              contains      2 bytes in   1 blocks (ref 0) 0x8c80ea0
            struct osmo_sccp_user          contains     86 bytes in   2 blocks (ref 0) 0x8872e70
                msc-0                          contains      6 bytes in   1 blocks (ref 0) 0x8872f60
mobile-two-calls-os2779.pcapng mobile-two-calls-os2779.pcapng 481 KB pcap file captured while mobile program was making two calls stsp, 02/20/2018 04:28 PM

History

#1 Updated by laforge 5 months ago

  • Assignee changed from laforge to stsp

not sure if this is still the case, so please first try to reproduce and then try to hunt down where the leaks occur

#2 Updated by stsp 5 months ago

  • Status changed from New to In Progress

It looks like the problem is still present:

OsmoBSC# show talloc-context application full
full talloc report on 'openbsc' (total 792894 bytes in 374 blocks)
  telnet_connection              contains     89 bytes in   2 blocks (ref 0) 0x55a5af55f3f0
    struct telnet_connection       contains     88 bytes in   1 blocks (ref 0) 0x55a5af58f750
  0.0.0.0                        contains      8 bytes in   1 blocks (ref 0) 0x55a5af55f730
  utils.c:220                    contains    168 bytes in   1 blocks (ref 0) 0x55a5af3be420
  utils.c:220                    contains     56 bytes in   1 blocks (ref 0) 0x55a5af3be380
  utils.c:220                    contains    495 bytes in   1 blocks (ref 0) 0x55a5af3be120
  utils.c:220                    contains    130 bytes in   1 blocks (ref 0) 0x55a5af3a8d80
  abis                           contains 192877 bytes in  23 blocks (ref 0) 0x55a5af3a37d0
    unixsocket                     contains      1 bytes in   1 blocks (ref 0) 0x55a5af3a3a20
    ipa                            contains 144121 bytes in   8 blocks (ref 0) 0x55a5af3a39b0
      struct e1inp_line              contains  47976 bytes in   1 blocks (ref 0) 0x55a5af596030
      struct e1inp_line              contains  47976 bytes in   1 blocks (ref 0) 0x55a5af5bf440
      struct e1inp_line              contains  47976 bytes in   1 blocks (ref 0) 0x55a5af5cb010
      struct ipa_server_link         contains     96 bytes in   2 blocks (ref 0) 0x55a5af55e420
        0.0.0.0                        contains      8 bytes in   1 blocks (ref 0) 0x55a5af55f9b0
      struct ipa_server_link         contains     96 bytes in   2 blocks (ref 0) 0x55a5af55e360
        0.0.0.0                        contains      8 bytes in   1 blocks (ref 0) 0x55a5af572720
    e1inp                          contains  48755 bytes in  13 blocks (ref 0) 0x55a5af3a3840
      struct e1inp_line              contains  48561 bytes in   8 blocks (ref 0) 0x55a5af55fd80
        struct ipaccess_line           contains      4 bytes in   1 blocks (ref 0) 0x55a5af55f940
        rate_ctr.c:228                 contains    581 bytes in   6 blocks (ref 0) 0x55a5af56b950
          struct rate_ctr_group_desc     contains    149 bytes in   5 blocks (ref 0) 0x55a5af55fc60
            struct rate_ctr_desc           contains    117 bytes in   4 blocks (ref 0) 0x55a5af56bb70
              hdlc:overrun                   contains     13 bytes in   1 blocks (ref 0) 0x55a5af55f460
              hdlc:bad_fcs                   contains     13 bytes in   1 blocks (ref 0) 0x55a5af55f550
              hdlc:abort                     contains     11 bytes in   1 blocks (ref 0) 0x55a5af55f7a0
      e1inp_sign_link                contains    193 bytes in   4 blocks (ref 0) 0x55a5af3a38b0
        struct e1inp_sign_link         contains     64 bytes in   1 blocks (ref 0) 0x55a5af593b70
        struct e1inp_sign_link         contains     64 bytes in   1 blocks (ref 0) 0x55a5af5b0c30
        struct e1inp_sign_link         contains     64 bytes in   1 blocks (ref 0) 0x55a5af593a10
  struct gsm_network             contains 596358 bytes in 326 blocks (ref 0) 0x55a5af3a2f80
    struct mgcp_ctx                contains    136 bytes in   1 blocks (ref 0) 0x55a5af3ac3a0
    struct mgcp_ctx                contains    136 bytes in   1 blocks (ref 0) 0x55a5af3ce240
    struct mgcp_ctx                contains    136 bytes in   1 blocks (ref 0) 0x55a5af3abce0
    struct mgcp_ctx                contains    136 bytes in   1 blocks (ref 0) 0x55a5af3f87a0
    struct mgcp_ctx                contains    136 bytes in   1 blocks (ref 0) 0x55a5af3fd1d0
    struct mgcp_client             contains    184 bytes in   1 blocks (ref 0) 0x55a5af57ffd0
    struct ctrl_handle             contains     80 bytes in   1 blocks (ref 0) 0x55a5af55e9f0
    struct bsc_msc_data            contains  18803 bytes in  96 blocks (ref 0) 0x55a5af57e400
      struct a_reset_ctx             contains     32 bytes in   1 blocks (ref 0) 0x55a5af581300
      struct osmo_ss7_instance       contains  18083 bytes in  94 blocks (ref 0) 0x55a5af5800f0
        struct osmo_sccp_instance      contains  15977 bytes in  71 blocks (ref 0) 0x55a5af5811c0
          struct sccp_connection         contains    929 bytes in   4 blocks (ref 0) 0x55a5af5a54e0
            struct osmo_fsm_inst           contains    225 bytes in   3 blocks (ref 0) 0x55a5af5a5810
              SCCP-SCOC(23)[0x55a5af5a5810]  contains     30 bytes in   1 blocks (ref 0) 0x55a5af5a2c70
              23                             contains      3 bytes in   1 blocks (ref 0) 0x55a5af5a3b10
          struct sccp_connection         contains    929 bytes in   4 blocks (ref 0) 0x55a5af5a4400
            struct osmo_fsm_inst           contains    225 bytes in   3 blocks (ref 0) 0x55a5af5a4730
              SCCP-SCOC(22)[0x55a5af5a4730]  contains     30 bytes in   1 blocks (ref 0) 0x55a5af594b30
              22                             contains      3 bytes in   1 blocks (ref 0) 0x55a5af594ce0
          struct sccp_connection         contains    929 bytes in   4 blocks (ref 0) 0x55a5af594ec0
            struct osmo_fsm_inst           contains    225 bytes in   3 blocks (ref 0) 0x55a5af5954b0
              SCCP-SCOC(21)[0x55a5af5954b0]  contains     30 bytes in   1 blocks (ref 0) 0x55a5af5b53f0
              21                             contains      3 bytes in   1 blocks (ref 0) 0x55a5af595880
          struct sccp_connection         contains    929 bytes in   4 blocks (ref 0) 0x55a5af5a26f0
            struct osmo_fsm_inst           contains    225 bytes in   3 blocks (ref 0) 0x55a5af5a2a20
              SCCP-SCOC(20)[0x55a5af5a2a20]  contains     30 bytes in   1 blocks (ref 0) 0x55a5af5b5020
              20                             contains      3 bytes in   1 blocks (ref 0) 0x55a5af594560
          struct sccp_connection         contains    929 bytes in   4 blocks (ref 0) 0x55a5af595b40
            struct osmo_fsm_inst           contains    225 bytes in   3 blocks (ref 0) 0x55a5af595e70
              SCCP-SCOC(19)[0x55a5af595e70]  contains     30 bytes in   1 blocks (ref 0) 0x55a5af5b0790
              19                             contains      3 bytes in   1 blocks (ref 0) 0x55a5af592c40
          struct sccp_connection         contains    929 bytes in   4 blocks (ref 0) 0x55a5af5b5540
            struct osmo_fsm_inst           contains    225 bytes in   3 blocks (ref 0) 0x55a5af5b5870
              SCCP-SCOC(18)[0x55a5af5b5870]  contains     30 bytes in   1 blocks (ref 0) 0x55a5af5b0ff0
              18                             contains      3 bytes in   1 blocks (ref 0) 0x55a5af592600
          struct sccp_connection         contains    929 bytes in   4 blocks (ref 0) 0x55a5af5ad320
            struct osmo_fsm_inst           contains    225 bytes in   3 blocks (ref 0) 0x55a5af5be470
              SCCP-SCOC(17)[0x55a5af5be470]  contains     30 bytes in   1 blocks (ref 0) 0x55a5af5930f0
              17                             contains      3 bytes in   1 blocks (ref 0) 0x55a5af5b0e80
          struct sccp_connection         contains    929 bytes in   4 blocks (ref 0) 0x55a5af5bad90
            struct osmo_fsm_inst           contains    225 bytes in   3 blocks (ref 0) 0x55a5af5bc4b0
              SCCP-SCOC(16)[0x55a5af5bc4b0]  contains     30 bytes in   1 blocks (ref 0) 0x55a5af5bc650
              16                             contains      3 bytes in   1 blocks (ref 0) 0x55a5af5b8e60
          struct sccp_connection         contains    929 bytes in   4 blocks (ref 0) 0x55a5af5b9160
            struct osmo_fsm_inst           contains    225 bytes in   3 blocks (ref 0) 0x55a5af5bb590
              SCCP-SCOC(15)[0x55a5af5bb590]  contains     30 bytes in   1 blocks (ref 0) 0x55a5af5b7df0
              15                             contains      3 bytes in   1 blocks (ref 0) 0x55a5af5bcc00
          struct sccp_connection         contains    929 bytes in   4 blocks (ref 0) 0x55a5af5bb260
            struct osmo_fsm_inst           contains    225 bytes in   3 blocks (ref 0) 0x55a5af5b9b90
              SCCP-SCOC(14)[0x55a5af5b9b90]  contains     30 bytes in   1 blocks (ref 0) 0x55a5af5b7c80
              14                             contains      3 bytes in   1 blocks (ref 0) 0x55a5af5b9ee0
          struct sccp_connection         contains    929 bytes in   4 blocks (ref 0) 0x55a5af5b9740
            struct osmo_fsm_inst           contains    225 bytes in   3 blocks (ref 0) 0x55a5af5b9610
              SCCP-SCOC(13)[0x55a5af5b9610]  contains     30 bytes in   1 blocks (ref 0) 0x55a5af5b65b0
              13                             contains      3 bytes in   1 blocks (ref 0) 0x55a5af5ba3e0
          struct sccp_connection         contains    929 bytes in   4 blocks (ref 0) 0x55a5af5b6950
            struct osmo_fsm_inst           contains    225 bytes in   3 blocks (ref 0) 0x55a5af5b6c80
              SCCP-SCOC(12)[0x55a5af5b6c80]  contains     30 bytes in   1 blocks (ref 0) 0x55a5af58bef0
              12                             contains      3 bytes in   1 blocks (ref 0) 0x55a5af58bdf0
          struct sccp_connection         contains    929 bytes in   4 blocks (ref 0) 0x55a5af58c110
            struct osmo_fsm_inst           contains    225 bytes in   3 blocks (ref 0) 0x55a5af58c440
              SCCP-SCOC(11)[0x55a5af58c440]  contains     30 bytes in   1 blocks (ref 0) 0x55a5af5b8870
              11                             contains      3 bytes in   1 blocks (ref 0) 0x55a5af5b8800
          struct sccp_connection         contains    929 bytes in   4 blocks (ref 0) 0x55a5af584f50
            struct osmo_fsm_inst           contains    225 bytes in   3 blocks (ref 0) 0x55a5af5b6270
              SCCP-SCOC(10)[0x55a5af5b6270]  contains     30 bytes in   1 blocks (ref 0) 0x55a5af58c7e0
              10                             contains      3 bytes in   1 blocks (ref 0) 0x55a5af58ccd0
          struct sccp_connection         contains    927 bytes in   4 blocks (ref 0) 0x55a5af5891f0
            struct osmo_fsm_inst           contains    223 bytes in   3 blocks (ref 0) 0x55a5af589520
              SCCP-SCOC(9)[0x55a5af589520]   contains     29 bytes in   1 blocks (ref 0) 0x55a5af587a40
              9                              contains      2 bytes in   1 blocks (ref 0) 0x55a5af58c770
          struct sccp_connection         contains    927 bytes in   4 blocks (ref 0) 0x55a5af590bc0
            struct osmo_fsm_inst           contains    223 bytes in   3 blocks (ref 0) 0x55a5af584200
              SCCP-SCOC(8)[0x55a5af584200]   contains     29 bytes in   1 blocks (ref 0) 0x55a5af58d580
              8                              contains      2 bytes in   1 blocks (ref 0) 0x55a5af58d610
          struct sccp_connection         contains    927 bytes in   4 blocks (ref 0) 0x55a5af5832b0
            struct osmo_fsm_inst           contains    223 bytes in   3 blocks (ref 0) 0x55a5af5835e0
              SCCP-SCOC(3)[0x55a5af5835e0]   contains     29 bytes in   1 blocks (ref 0) 0x55a5af5823f0
              3                              contains      2 bytes in   1 blocks (ref 0) 0x55a5af584330
          struct osmo_sccp_user          contains     86 bytes in   2 blocks (ref 0) 0x55a5af55ed60
            msc-0                          contains      6 bytes in   1 blocks (ref 0) 0x55a5af581290
        struct osmo_ss7_asp            contains   1083 bytes in  12 blocks (ref 0) 0x55a5af580970
          (r=127.0.0.1:2905<->l=127.0.0.1:45001) contains     39 bytes in   1 blocks (ref 0) 0x55a5af5816e0
          struct osmo_fsm_inst           contains    351 bytes in   4 blocks (ref 0) 0x55a5af580eb0
            struct xua_asp_fsm_priv        contains    104 bytes in   1 blocks (ref 0) 0x55a5af5810f0
            XUA_ASP(asp-clnt-msc-0)[0x55a5af580eb0] contains     40 bytes in   1 blocks (ref 0) 0x55a5af581060
            asp-clnt-msc-0                 contains     15 bytes in   1 blocks (ref 0) 0x55a5af580fe0
          struct osmo_stream_cli         contains    224 bytes in   1 blocks (ref 0) 0x55a5af580d60
          struct osmo_fsm_inst           contains    262 bytes in   4 blocks (ref 0) 0x55a5af580b20
            struct lm_fsm_priv             contains      8 bytes in   1 blocks (ref 0) 0x55a5af580cf0
            xua_default_lm(asp-clnt-msc-0)[0x55a5af580b20] contains     47 bytes in   1 blocks (ref 0) 0x55a5af580c50
            asp-clnt-msc-0                 contains     15 bytes in   1 blocks (ref 0) 0x55a5af5808f0
          asp-clnt-msc-0                 contains     15 bytes in   1 blocks (ref 0) 0x55a5af580aa0
        struct osmo_ss7_as             contains    586 bytes in   6 blocks (ref 0) 0x55a5af580410
          struct osmo_fsm_inst           contains    348 bytes in   4 blocks (ref 0) 0x55a5af5805e0
            struct xua_as_fsm_priv         contains    104 bytes in   1 blocks (ref 0) 0x55a5af580820
            XUA_AS(as-clnt-msc-0)[0x55a5af5805e0] contains     38 bytes in   1 blocks (ref 0) 0x55a5af580790
            as-clnt-msc-0                  contains     14 bytes in   1 blocks (ref 0) 0x55a5af580710
          as-clnt-msc-0                  contains     14 bytes in   1 blocks (ref 0) 0x55a5af580560
        struct osmo_ss7_route_table    contains    141 bytes in   4 blocks (ref 0) 0x55a5af580280
          struct osmo_ss7_route          contains     78 bytes in   2 blocks (ref 0) 0x55a5af56c230
            as-clnt-msc-0                  contains     14 bytes in   1 blocks (ref 0) 0x55a5af580390
          system                         contains      7 bytes in   1 blocks (ref 0) 0x55a5af580320
    struct gsm_bts                 contains 191688 bytes in  70 blocks (ref 0) 0x55a5af578510
      struct handover_cfg            contains    208 bytes in   1 blocks (ref 0) 0x55a5af57ddf0
      struct gsm_bts_trx             contains 176184 bytes in  65 blocks (ref 0) 0x7fcc6d36e070
        (bts=2,trx=0,ts=7,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57dd70
        (bts=2,trx=0,ts=7,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57dcf0
        (bts=2,trx=0,ts=7,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57dc70
        (bts=2,trx=0,ts=7,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57dbf0
        (bts=2,trx=0,ts=7,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57db70
        (bts=2,trx=0,ts=7,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57daf0
        (bts=2,trx=0,ts=7,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57da70
        (bts=2,trx=0,ts=7,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d9f0
        (bts=2,trx=0,ts=6,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d970
        (bts=2,trx=0,ts=6,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d8f0
        (bts=2,trx=0,ts=6,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d870
        (bts=2,trx=0,ts=6,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d7f0
        (bts=2,trx=0,ts=6,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d770
        (bts=2,trx=0,ts=6,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d6f0
        (bts=2,trx=0,ts=6,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d670
        (bts=2,trx=0,ts=6,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d5f0
        (bts=2,trx=0,ts=5,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d570
        (bts=2,trx=0,ts=5,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d4f0
        (bts=2,trx=0,ts=5,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d470
        (bts=2,trx=0,ts=5,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d3f0
        (bts=2,trx=0,ts=5,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d370
        (bts=2,trx=0,ts=5,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d2f0
        (bts=2,trx=0,ts=5,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d270
        (bts=2,trx=0,ts=5,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d1f0
        (bts=2,trx=0,ts=4,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d170
        (bts=2,trx=0,ts=4,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d0f0
        (bts=2,trx=0,ts=4,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d070
        (bts=2,trx=0,ts=4,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57cff0
        (bts=2,trx=0,ts=4,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57cf70
        (bts=2,trx=0,ts=4,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57cef0
        (bts=2,trx=0,ts=4,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57ce70
        (bts=2,trx=0,ts=4,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57cdf0
        (bts=2,trx=0,ts=3,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57cd70
        (bts=2,trx=0,ts=3,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57ccf0
        (bts=2,trx=0,ts=3,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57cc70
        (bts=2,trx=0,ts=3,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57cbf0
        (bts=2,trx=0,ts=3,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57cb70
        (bts=2,trx=0,ts=3,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57caf0
        (bts=2,trx=0,ts=3,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57ca70
        (bts=2,trx=0,ts=3,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c9f0
        (bts=2,trx=0,ts=2,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c970
        (bts=2,trx=0,ts=2,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c8f0
        (bts=2,trx=0,ts=2,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c870
        (bts=2,trx=0,ts=2,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c7f0
        (bts=2,trx=0,ts=2,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c770
        (bts=2,trx=0,ts=2,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c6f0
        (bts=2,trx=0,ts=2,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c670
        (bts=2,trx=0,ts=2,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c5f0
        (bts=2,trx=0,ts=1,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c570
        (bts=2,trx=0,ts=1,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c4f0
        (bts=2,trx=0,ts=1,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c470
        (bts=2,trx=0,ts=1,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c3f0
        (bts=2,trx=0,ts=1,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c370
        (bts=2,trx=0,ts=1,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c2f0
        (bts=2,trx=0,ts=1,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c270
        (bts=2,trx=0,ts=1,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c1f0
        (bts=2,trx=0,ts=0,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af572790
        (bts=2,trx=0,ts=0,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af578360
        (bts=2,trx=0,ts=0,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5780c0
        (bts=2,trx=0,ts=0,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5724f0
        (bts=2,trx=0,ts=0,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af578040
        (bts=2,trx=0,ts=0,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af578140
        (bts=2,trx=0,ts=0,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af578240
        (bts=2,trx=0,ts=0,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5781c0
      stat_item.c:96                 contains    336 bytes in   2 blocks (ref 0) 0x55a5af5782c0
        stat_item.c:118                contains    288 bytes in   1 blocks (ref 0) 0x55a5af57c060
      rate_ctr.c:228                 contains   1632 bytes in   1 blocks (ref 0) 0x55a5af57b990
    struct gsm_bts                 contains 191688 bytes in  70 blocks (ref 0) 0x55a5af572820
      struct handover_cfg            contains    208 bytes in   1 blocks (ref 0) 0x55a5af577f00
      struct gsm_bts_trx             contains 176184 bytes in  65 blocks (ref 0) 0x7fcc6d399070
        (bts=1,trx=0,ts=7,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577e80
        (bts=1,trx=0,ts=7,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577e00
        (bts=1,trx=0,ts=7,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577d80
        (bts=1,trx=0,ts=7,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577d00
        (bts=1,trx=0,ts=7,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577c80
        (bts=1,trx=0,ts=7,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577c00
        (bts=1,trx=0,ts=7,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577b80
        (bts=1,trx=0,ts=7,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577b00
        (bts=1,trx=0,ts=6,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577a80
        (bts=1,trx=0,ts=6,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577a00
        (bts=1,trx=0,ts=6,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577980
        (bts=1,trx=0,ts=6,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577900
        (bts=1,trx=0,ts=6,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577880
        (bts=1,trx=0,ts=6,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577800
        (bts=1,trx=0,ts=6,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577780
        (bts=1,trx=0,ts=6,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577700
        (bts=1,trx=0,ts=5,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577680
        (bts=1,trx=0,ts=5,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577600
        (bts=1,trx=0,ts=5,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577580
        (bts=1,trx=0,ts=5,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577500
        (bts=1,trx=0,ts=5,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577480
        (bts=1,trx=0,ts=5,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577400
        (bts=1,trx=0,ts=5,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577380
        (bts=1,trx=0,ts=5,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577300
        (bts=1,trx=0,ts=4,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577280
        (bts=1,trx=0,ts=4,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577200
        (bts=1,trx=0,ts=4,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577180
        (bts=1,trx=0,ts=4,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577100
        (bts=1,trx=0,ts=4,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577080
        (bts=1,trx=0,ts=4,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577000
        (bts=1,trx=0,ts=4,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576f80
        (bts=1,trx=0,ts=4,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576f00
        (bts=1,trx=0,ts=3,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576e80
        (bts=1,trx=0,ts=3,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576e00
        (bts=1,trx=0,ts=3,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576d80
        (bts=1,trx=0,ts=3,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576d00
        (bts=1,trx=0,ts=3,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576c80
        (bts=1,trx=0,ts=3,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576c00
        (bts=1,trx=0,ts=3,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576b80
        (bts=1,trx=0,ts=3,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576b00
        (bts=1,trx=0,ts=2,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576a80
        (bts=1,trx=0,ts=2,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576a00
        (bts=1,trx=0,ts=2,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576980
        (bts=1,trx=0,ts=2,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576900
        (bts=1,trx=0,ts=2,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576880
        (bts=1,trx=0,ts=2,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576800
        (bts=1,trx=0,ts=2,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576780
        (bts=1,trx=0,ts=2,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576700
        (bts=1,trx=0,ts=1,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576680
        (bts=1,trx=0,ts=1,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576600
        (bts=1,trx=0,ts=1,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576580
        (bts=1,trx=0,ts=1,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576500
        (bts=1,trx=0,ts=1,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af572430
        (bts=1,trx=0,ts=1,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5723b0
        (bts=1,trx=0,ts=1,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af56bcc0
        (bts=1,trx=0,ts=1,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5722a0
        (bts=1,trx=0,ts=0,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af572610
        (bts=1,trx=0,ts=0,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5720a0
        (bts=1,trx=0,ts=0,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af572020
        (bts=1,trx=0,ts=0,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af572120
        (bts=1,trx=0,ts=0,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5721a0
        (bts=1,trx=0,ts=0,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af572330
        (bts=1,trx=0,ts=0,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af572220
        (bts=1,trx=0,ts=0,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af55f370
      stat_item.c:96                 contains    336 bytes in   2 blocks (ref 0) 0x55a5af572570
        stat_item.c:118                contains    288 bytes in   1 blocks (ref 0) 0x55a5af576370
      rate_ctr.c:228                 contains   1632 bytes in   1 blocks (ref 0) 0x55a5af575ca0
    struct gsm_bts                 contains 191688 bytes in  70 blocks (ref 0) 0x55a5af56c2e0
      struct handover_cfg            contains    208 bytes in   1 blocks (ref 0) 0x55a5af571ee0
      struct gsm_bts_trx             contains 176184 bytes in  65 blocks (ref 0) 0x7fcc6d3cd070
        (bts=0,trx=0,ts=7,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571e60
        (bts=0,trx=0,ts=7,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571de0
        (bts=0,trx=0,ts=7,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571d60
        (bts=0,trx=0,ts=7,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571ce0
        (bts=0,trx=0,ts=7,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571c60
        (bts=0,trx=0,ts=7,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571be0
        (bts=0,trx=0,ts=7,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571b60
        (bts=0,trx=0,ts=7,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571ae0
        (bts=0,trx=0,ts=6,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571a60
        (bts=0,trx=0,ts=6,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5719e0
        (bts=0,trx=0,ts=6,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571960
        (bts=0,trx=0,ts=6,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5718e0
        (bts=0,trx=0,ts=6,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571860
        (bts=0,trx=0,ts=6,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5717e0
        (bts=0,trx=0,ts=6,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571760
        (bts=0,trx=0,ts=6,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5716e0
        (bts=0,trx=0,ts=5,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571660
        (bts=0,trx=0,ts=5,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5715e0
        (bts=0,trx=0,ts=5,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571560
        (bts=0,trx=0,ts=5,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5714e0
        (bts=0,trx=0,ts=5,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571460
        (bts=0,trx=0,ts=5,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5713e0
        (bts=0,trx=0,ts=5,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571360
        (bts=0,trx=0,ts=5,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5712e0
        (bts=0,trx=0,ts=4,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571260
        (bts=0,trx=0,ts=4,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5711e0
        (bts=0,trx=0,ts=4,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571160
        (bts=0,trx=0,ts=4,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5710e0
        (bts=0,trx=0,ts=4,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571060
        (bts=0,trx=0,ts=4,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570fe0
        (bts=0,trx=0,ts=4,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570f60
        (bts=0,trx=0,ts=4,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570ee0
        (bts=0,trx=0,ts=3,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570e60
        (bts=0,trx=0,ts=3,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570de0
        (bts=0,trx=0,ts=3,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570d60
        (bts=0,trx=0,ts=3,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570ce0
        (bts=0,trx=0,ts=3,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570c60
        (bts=0,trx=0,ts=3,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570be0
        (bts=0,trx=0,ts=3,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570b60
        (bts=0,trx=0,ts=3,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570ae0
        (bts=0,trx=0,ts=2,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570a60
        (bts=0,trx=0,ts=2,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5709e0
        (bts=0,trx=0,ts=2,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570960
        (bts=0,trx=0,ts=2,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5708e0
        (bts=0,trx=0,ts=2,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570860
        (bts=0,trx=0,ts=2,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5707e0
        (bts=0,trx=0,ts=2,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570760
        (bts=0,trx=0,ts=2,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5706e0
        (bts=0,trx=0,ts=1,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570660
        (bts=0,trx=0,ts=1,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5705e0
        (bts=0,trx=0,ts=1,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570560
        (bts=0,trx=0,ts=1,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5704e0
        (bts=0,trx=0,ts=1,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570460
        (bts=0,trx=0,ts=1,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5703e0
        (bts=0,trx=0,ts=1,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570360
        (bts=0,trx=0,ts=1,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5702e0
        (bts=0,trx=0,ts=0,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570260
        (bts=0,trx=0,ts=0,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5701e0
        (bts=0,trx=0,ts=0,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570160
        (bts=0,trx=0,ts=0,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5700e0
        (bts=0,trx=0,ts=0,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570060
        (bts=0,trx=0,ts=0,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af55f5d0
        (bts=0,trx=0,ts=0,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af56bd50
        (bts=0,trx=0,ts=0,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af56c050
      stat_item.c:96                 contains    336 bytes in   2 blocks (ref 0) 0x55a5af56fe30
        stat_item.c:118                contains    288 bytes in   1 blocks (ref 0) 0x55a5af56fed0
      rate_ctr.c:228                 contains   1632 bytes in   1 blocks (ref 0) 0x55a5af56f760
    struct mgcp_client_conf        contains     40 bytes in   1 blocks (ref 0) 0x55a5af3a3740
    rate_ctr.c:228                 contains    672 bytes in   1 blocks (ref 0) 0x55a5af3a3430
    struct handover_cfg            contains    208 bytes in   1 blocks (ref 0) 0x55a5af3a32f0
    struct osmo_bsc_data           contains    163 bytes in   8 blocks (ref 0) 0x55a5af3a3230
      bsc-list                       contains      9 bytes in   1 blocks (ref 0) 0x55a5af57e030
      struct gsm_audio_support *     contains     27 bytes in   4 blocks (ref 0) 0x55a5af57e0b0
        struct gsm_audio_support       contains      1 bytes in   1 blocks (ref 0) 0x55a5af55c1d0
        struct gsm_audio_support       contains      1 bytes in   1 blocks (ref 0) 0x55a5af55f6c0
        struct gsm_audio_support       contains      1 bytes in   1 blocks (ref 0) 0x55a5af56bdd0
      struct bsc_msc_dest            contains     47 bytes in   2 blocks (ref 0) 0x55a5af56bc30
        192.168.100.11                 contains     15 bytes in   1 blocks (ref 0) 0x55a5af5726a0
    struct llist_head              contains     16 bytes in   1 blocks (ref 0) 0x55a5af3a31b0
  counter                        contains      0 bytes in   1 blocks (ref 0) 0x55a5af3a27a0
  subch_txq_entry                contains      0 bytes in   1 blocks (ref 0) 0x55a5af3a2730
  signal_handler                 contains    400 bytes in  11 blocks (ref 0) 0x55a5af3a26c0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55a5af581650
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55a5af5815c0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55a5af57fce0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55a5af57f9e0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55a5af57f480
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55a5af55f8b0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55a5af55f820
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55a5af578480
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55a5af55fcf0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55a5af3a3920
  bs11_file_list_entry           contains      0 bytes in   1 blocks (ref 0) 0x55a5af3a2650
  paging_request                 contains      0 bytes in   1 blocks (ref 0) 0x55a5af3a25e0
  msgb                           contains   2312 bytes in   2 blocks (ref 0) 0x55a5af3a2570
    xua_asp-xlm msgb               contains   2312 bytes in   1 blocks (ref 0) 0x55a5af58dd40
OsmoBSC#

#3 Updated by stsp 5 months ago

It looks like the apparently dangling sccp connections get deallocated after a while.
I left the osmo-bsc process running (idle) for some time, and now see no allocations for sccp connections anymore:

OsmoBSC# show talloc-context application full
full talloc report on 'openbsc' (total 777107 bytes in 306 blocks)
  telnet_connection              contains     89 bytes in   2 blocks (ref 0) 0x55a5af55f3f0
    struct telnet_connection       contains     88 bytes in   1 blocks (ref 0) 0x55a5af58f750
  0.0.0.0                        contains      8 bytes in   1 blocks (ref 0) 0x55a5af55f730
  utils.c:220                    contains    168 bytes in   1 blocks (ref 0) 0x55a5af3be420
  utils.c:220                    contains     56 bytes in   1 blocks (ref 0) 0x55a5af3be380
  utils.c:220                    contains    495 bytes in   1 blocks (ref 0) 0x55a5af3be120
  utils.c:220                    contains    130 bytes in   1 blocks (ref 0) 0x55a5af3a8d80
  abis                           contains 192877 bytes in  23 blocks (ref 0) 0x55a5af3a37d0
    unixsocket                     contains      1 bytes in   1 blocks (ref 0) 0x55a5af3a3a20
    ipa                            contains 144121 bytes in   8 blocks (ref 0) 0x55a5af3a39b0
      struct e1inp_line              contains  47976 bytes in   1 blocks (ref 0) 0x55a5af596030
      struct e1inp_line              contains  47976 bytes in   1 blocks (ref 0) 0x55a5af5bf440
      struct e1inp_line              contains  47976 bytes in   1 blocks (ref 0) 0x55a5af5cb010
      struct ipa_server_link         contains     96 bytes in   2 blocks (ref 0) 0x55a5af55e420
        0.0.0.0                        contains      8 bytes in   1 blocks (ref 0) 0x55a5af55f9b0
      struct ipa_server_link         contains     96 bytes in   2 blocks (ref 0) 0x55a5af55e360
        0.0.0.0                        contains      8 bytes in   1 blocks (ref 0) 0x55a5af572720
    e1inp                          contains  48755 bytes in  13 blocks (ref 0) 0x55a5af3a3840
      struct e1inp_line              contains  48561 bytes in   8 blocks (ref 0) 0x55a5af55fd80
        struct ipaccess_line           contains      4 bytes in   1 blocks (ref 0) 0x55a5af55f940
        rate_ctr.c:228                 contains    581 bytes in   6 blocks (ref 0) 0x55a5af56b950
          struct rate_ctr_group_desc     contains    149 bytes in   5 blocks (ref 0) 0x55a5af55fc60
            struct rate_ctr_desc           contains    117 bytes in   4 blocks (ref 0) 0x55a5af56bb70
              hdlc:overrun                   contains     13 bytes in   1 blocks (ref 0) 0x55a5af55f460
              hdlc:bad_fcs                   contains     13 bytes in   1 blocks (ref 0) 0x55a5af55f550
              hdlc:abort                     contains     11 bytes in   1 blocks (ref 0) 0x55a5af55f7a0
      e1inp_sign_link                contains    193 bytes in   4 blocks (ref 0) 0x55a5af3a38b0
        struct e1inp_sign_link         contains     64 bytes in   1 blocks (ref 0) 0x55a5af593b70
        struct e1inp_sign_link         contains     64 bytes in   1 blocks (ref 0) 0x55a5af5b0c30
        struct e1inp_sign_link         contains     64 bytes in   1 blocks (ref 0) 0x55a5af593a10
  struct gsm_network             contains 580571 bytes in 258 blocks (ref 0) 0x55a5af3a2f80
    struct mgcp_ctx                contains    136 bytes in   1 blocks (ref 0) 0x55a5af3ac3a0
    struct mgcp_ctx                contains    136 bytes in   1 blocks (ref 0) 0x55a5af3ce240
    struct mgcp_ctx                contains    136 bytes in   1 blocks (ref 0) 0x55a5af3abce0
    struct mgcp_ctx                contains    136 bytes in   1 blocks (ref 0) 0x55a5af3f87a0
    struct mgcp_ctx                contains    136 bytes in   1 blocks (ref 0) 0x55a5af3fd1d0
    struct mgcp_client             contains    184 bytes in   1 blocks (ref 0) 0x55a5af57ffd0
    struct ctrl_handle             contains     80 bytes in   1 blocks (ref 0) 0x55a5af55e9f0
    struct bsc_msc_data            contains   3016 bytes in  28 blocks (ref 0) 0x55a5af57e400
      struct a_reset_ctx             contains     32 bytes in   1 blocks (ref 0) 0x55a5af581300
      struct osmo_ss7_instance       contains   2296 bytes in  26 blocks (ref 0) 0x55a5af5800f0
        struct osmo_sccp_instance      contains    190 bytes in   3 blocks (ref 0) 0x55a5af5811c0
          struct osmo_sccp_user          contains     86 bytes in   2 blocks (ref 0) 0x55a5af55ed60
            msc-0                          contains      6 bytes in   1 blocks (ref 0) 0x55a5af581290
        struct osmo_ss7_asp            contains   1083 bytes in  12 blocks (ref 0) 0x55a5af580970
          (r=127.0.0.1:2905<->l=127.0.0.1:45001) contains     39 bytes in   1 blocks (ref 0) 0x55a5af5816e0
          struct osmo_fsm_inst           contains    351 bytes in   4 blocks (ref 0) 0x55a5af580eb0
            struct xua_asp_fsm_priv        contains    104 bytes in   1 blocks (ref 0) 0x55a5af5810f0
            XUA_ASP(asp-clnt-msc-0)[0x55a5af580eb0] contains     40 bytes in   1 blocks (ref 0) 0x55a5af581060
            asp-clnt-msc-0                 contains     15 bytes in   1 blocks (ref 0) 0x55a5af580fe0
          struct osmo_stream_cli         contains    224 bytes in   1 blocks (ref 0) 0x55a5af580d60
          struct osmo_fsm_inst           contains    262 bytes in   4 blocks (ref 0) 0x55a5af580b20
            struct lm_fsm_priv             contains      8 bytes in   1 blocks (ref 0) 0x55a5af580cf0
            xua_default_lm(asp-clnt-msc-0)[0x55a5af580b20] contains     47 bytes in   1 blocks (ref 0) 0x55a5af580c50
            asp-clnt-msc-0                 contains     15 bytes in   1 blocks (ref 0) 0x55a5af5808f0
          asp-clnt-msc-0                 contains     15 bytes in   1 blocks (ref 0) 0x55a5af580aa0
        struct osmo_ss7_as             contains    586 bytes in   6 blocks (ref 0) 0x55a5af580410
          struct osmo_fsm_inst           contains    348 bytes in   4 blocks (ref 0) 0x55a5af5805e0
            struct xua_as_fsm_priv         contains    104 bytes in   1 blocks (ref 0) 0x55a5af580820
            XUA_AS(as-clnt-msc-0)[0x55a5af5805e0] contains     38 bytes in   1 blocks (ref 0) 0x55a5af580790
            as-clnt-msc-0                  contains     14 bytes in   1 blocks (ref 0) 0x55a5af580710
          as-clnt-msc-0                  contains     14 bytes in   1 blocks (ref 0) 0x55a5af580560
        struct osmo_ss7_route_table    contains    141 bytes in   4 blocks (ref 0) 0x55a5af580280
          struct osmo_ss7_route          contains     78 bytes in   2 blocks (ref 0) 0x55a5af56c230
            as-clnt-msc-0                  contains     14 bytes in   1 blocks (ref 0) 0x55a5af580390
          system                         contains      7 bytes in   1 blocks (ref 0) 0x55a5af580320
    struct gsm_bts                 contains 191688 bytes in  70 blocks (ref 0) 0x55a5af578510
      struct handover_cfg            contains    208 bytes in   1 blocks (ref 0) 0x55a5af57ddf0
      struct gsm_bts_trx             contains 176184 bytes in  65 blocks (ref 0) 0x7fcc6d36e070
        (bts=2,trx=0,ts=7,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57dd70
        (bts=2,trx=0,ts=7,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57dcf0
        (bts=2,trx=0,ts=7,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57dc70
        (bts=2,trx=0,ts=7,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57dbf0
        (bts=2,trx=0,ts=7,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57db70
        (bts=2,trx=0,ts=7,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57daf0
        (bts=2,trx=0,ts=7,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57da70
        (bts=2,trx=0,ts=7,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d9f0
        (bts=2,trx=0,ts=6,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d970
        (bts=2,trx=0,ts=6,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d8f0
        (bts=2,trx=0,ts=6,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d870
        (bts=2,trx=0,ts=6,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d7f0
        (bts=2,trx=0,ts=6,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d770
        (bts=2,trx=0,ts=6,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d6f0
        (bts=2,trx=0,ts=6,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d670
        (bts=2,trx=0,ts=6,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d5f0
        (bts=2,trx=0,ts=5,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d570
        (bts=2,trx=0,ts=5,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d4f0
        (bts=2,trx=0,ts=5,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d470
        (bts=2,trx=0,ts=5,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d3f0
        (bts=2,trx=0,ts=5,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d370
        (bts=2,trx=0,ts=5,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d2f0
        (bts=2,trx=0,ts=5,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d270
        (bts=2,trx=0,ts=5,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d1f0
        (bts=2,trx=0,ts=4,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d170
        (bts=2,trx=0,ts=4,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d0f0
        (bts=2,trx=0,ts=4,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57d070
        (bts=2,trx=0,ts=4,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57cff0
        (bts=2,trx=0,ts=4,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57cf70
        (bts=2,trx=0,ts=4,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57cef0
        (bts=2,trx=0,ts=4,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57ce70
        (bts=2,trx=0,ts=4,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57cdf0
        (bts=2,trx=0,ts=3,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57cd70
        (bts=2,trx=0,ts=3,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57ccf0
        (bts=2,trx=0,ts=3,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57cc70
        (bts=2,trx=0,ts=3,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57cbf0
        (bts=2,trx=0,ts=3,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57cb70
        (bts=2,trx=0,ts=3,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57caf0
        (bts=2,trx=0,ts=3,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57ca70
        (bts=2,trx=0,ts=3,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c9f0
        (bts=2,trx=0,ts=2,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c970
        (bts=2,trx=0,ts=2,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c8f0
        (bts=2,trx=0,ts=2,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c870
        (bts=2,trx=0,ts=2,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c7f0
        (bts=2,trx=0,ts=2,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c770
        (bts=2,trx=0,ts=2,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c6f0
        (bts=2,trx=0,ts=2,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c670
        (bts=2,trx=0,ts=2,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c5f0
        (bts=2,trx=0,ts=1,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c570
        (bts=2,trx=0,ts=1,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c4f0
        (bts=2,trx=0,ts=1,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c470
        (bts=2,trx=0,ts=1,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c3f0
        (bts=2,trx=0,ts=1,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c370
        (bts=2,trx=0,ts=1,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c2f0
        (bts=2,trx=0,ts=1,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c270
        (bts=2,trx=0,ts=1,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af57c1f0
        (bts=2,trx=0,ts=0,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af572790
        (bts=2,trx=0,ts=0,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af578360
        (bts=2,trx=0,ts=0,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5780c0
        (bts=2,trx=0,ts=0,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5724f0
        (bts=2,trx=0,ts=0,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af578040
        (bts=2,trx=0,ts=0,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af578140
        (bts=2,trx=0,ts=0,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af578240
        (bts=2,trx=0,ts=0,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5781c0
      stat_item.c:96                 contains    336 bytes in   2 blocks (ref 0) 0x55a5af5782c0
        stat_item.c:118                contains    288 bytes in   1 blocks (ref 0) 0x55a5af57c060
      rate_ctr.c:228                 contains   1632 bytes in   1 blocks (ref 0) 0x55a5af57b990
    struct gsm_bts                 contains 191688 bytes in  70 blocks (ref 0) 0x55a5af572820
      struct handover_cfg            contains    208 bytes in   1 blocks (ref 0) 0x55a5af577f00
      struct gsm_bts_trx             contains 176184 bytes in  65 blocks (ref 0) 0x7fcc6d399070
        (bts=1,trx=0,ts=7,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577e80
        (bts=1,trx=0,ts=7,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577e00
        (bts=1,trx=0,ts=7,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577d80
        (bts=1,trx=0,ts=7,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577d00
        (bts=1,trx=0,ts=7,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577c80
        (bts=1,trx=0,ts=7,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577c00
        (bts=1,trx=0,ts=7,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577b80
        (bts=1,trx=0,ts=7,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577b00
        (bts=1,trx=0,ts=6,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577a80
        (bts=1,trx=0,ts=6,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577a00
        (bts=1,trx=0,ts=6,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577980
        (bts=1,trx=0,ts=6,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577900
        (bts=1,trx=0,ts=6,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577880
        (bts=1,trx=0,ts=6,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577800
        (bts=1,trx=0,ts=6,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577780
        (bts=1,trx=0,ts=6,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577700
        (bts=1,trx=0,ts=5,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577680
        (bts=1,trx=0,ts=5,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577600
        (bts=1,trx=0,ts=5,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577580
        (bts=1,trx=0,ts=5,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577500
        (bts=1,trx=0,ts=5,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577480
        (bts=1,trx=0,ts=5,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577400
        (bts=1,trx=0,ts=5,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577380
        (bts=1,trx=0,ts=5,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577300
        (bts=1,trx=0,ts=4,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577280
        (bts=1,trx=0,ts=4,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577200
        (bts=1,trx=0,ts=4,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577180
        (bts=1,trx=0,ts=4,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577100
        (bts=1,trx=0,ts=4,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577080
        (bts=1,trx=0,ts=4,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af577000
        (bts=1,trx=0,ts=4,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576f80
        (bts=1,trx=0,ts=4,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576f00
        (bts=1,trx=0,ts=3,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576e80
        (bts=1,trx=0,ts=3,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576e00
        (bts=1,trx=0,ts=3,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576d80
        (bts=1,trx=0,ts=3,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576d00
        (bts=1,trx=0,ts=3,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576c80
        (bts=1,trx=0,ts=3,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576c00
        (bts=1,trx=0,ts=3,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576b80
        (bts=1,trx=0,ts=3,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576b00
        (bts=1,trx=0,ts=2,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576a80
        (bts=1,trx=0,ts=2,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576a00
        (bts=1,trx=0,ts=2,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576980
        (bts=1,trx=0,ts=2,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576900
        (bts=1,trx=0,ts=2,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576880
        (bts=1,trx=0,ts=2,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576800
        (bts=1,trx=0,ts=2,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576780
        (bts=1,trx=0,ts=2,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576700
        (bts=1,trx=0,ts=1,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576680
        (bts=1,trx=0,ts=1,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576600
        (bts=1,trx=0,ts=1,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576580
        (bts=1,trx=0,ts=1,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af576500
        (bts=1,trx=0,ts=1,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af572430
        (bts=1,trx=0,ts=1,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5723b0
        (bts=1,trx=0,ts=1,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af56bcc0
        (bts=1,trx=0,ts=1,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5722a0
        (bts=1,trx=0,ts=0,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af572610
        (bts=1,trx=0,ts=0,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5720a0
        (bts=1,trx=0,ts=0,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af572020
        (bts=1,trx=0,ts=0,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af572120
        (bts=1,trx=0,ts=0,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5721a0
        (bts=1,trx=0,ts=0,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af572330
        (bts=1,trx=0,ts=0,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af572220
        (bts=1,trx=0,ts=0,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af55f370
      stat_item.c:96                 contains    336 bytes in   2 blocks (ref 0) 0x55a5af572570
        stat_item.c:118                contains    288 bytes in   1 blocks (ref 0) 0x55a5af576370
      rate_ctr.c:228                 contains   1632 bytes in   1 blocks (ref 0) 0x55a5af575ca0
    struct gsm_bts                 contains 191688 bytes in  70 blocks (ref 0) 0x55a5af56c2e0
      struct handover_cfg            contains    208 bytes in   1 blocks (ref 0) 0x55a5af571ee0
      struct gsm_bts_trx             contains 176184 bytes in  65 blocks (ref 0) 0x7fcc6d3cd070
        (bts=0,trx=0,ts=7,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571e60
        (bts=0,trx=0,ts=7,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571de0
        (bts=0,trx=0,ts=7,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571d60
        (bts=0,trx=0,ts=7,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571ce0
        (bts=0,trx=0,ts=7,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571c60
        (bts=0,trx=0,ts=7,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571be0
        (bts=0,trx=0,ts=7,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571b60
        (bts=0,trx=0,ts=7,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571ae0
        (bts=0,trx=0,ts=6,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571a60
        (bts=0,trx=0,ts=6,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5719e0
        (bts=0,trx=0,ts=6,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571960
        (bts=0,trx=0,ts=6,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5718e0
        (bts=0,trx=0,ts=6,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571860
        (bts=0,trx=0,ts=6,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5717e0
        (bts=0,trx=0,ts=6,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571760
        (bts=0,trx=0,ts=6,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5716e0
        (bts=0,trx=0,ts=5,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571660
        (bts=0,trx=0,ts=5,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5715e0
        (bts=0,trx=0,ts=5,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571560
        (bts=0,trx=0,ts=5,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5714e0
        (bts=0,trx=0,ts=5,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571460
        (bts=0,trx=0,ts=5,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5713e0
        (bts=0,trx=0,ts=5,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571360
        (bts=0,trx=0,ts=5,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5712e0
        (bts=0,trx=0,ts=4,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571260
        (bts=0,trx=0,ts=4,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5711e0
        (bts=0,trx=0,ts=4,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571160
        (bts=0,trx=0,ts=4,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5710e0
        (bts=0,trx=0,ts=4,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af571060
        (bts=0,trx=0,ts=4,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570fe0
        (bts=0,trx=0,ts=4,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570f60
        (bts=0,trx=0,ts=4,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570ee0
        (bts=0,trx=0,ts=3,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570e60
        (bts=0,trx=0,ts=3,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570de0
        (bts=0,trx=0,ts=3,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570d60
        (bts=0,trx=0,ts=3,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570ce0
        (bts=0,trx=0,ts=3,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570c60
        (bts=0,trx=0,ts=3,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570be0
        (bts=0,trx=0,ts=3,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570b60
        (bts=0,trx=0,ts=3,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570ae0
        (bts=0,trx=0,ts=2,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570a60
        (bts=0,trx=0,ts=2,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5709e0
        (bts=0,trx=0,ts=2,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570960
        (bts=0,trx=0,ts=2,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5708e0
        (bts=0,trx=0,ts=2,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570860
        (bts=0,trx=0,ts=2,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5707e0
        (bts=0,trx=0,ts=2,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570760
        (bts=0,trx=0,ts=2,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5706e0
        (bts=0,trx=0,ts=1,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570660
        (bts=0,trx=0,ts=1,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5705e0
        (bts=0,trx=0,ts=1,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570560
        (bts=0,trx=0,ts=1,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5704e0
        (bts=0,trx=0,ts=1,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570460
        (bts=0,trx=0,ts=1,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5703e0
        (bts=0,trx=0,ts=1,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570360
        (bts=0,trx=0,ts=1,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5702e0
        (bts=0,trx=0,ts=0,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570260
        (bts=0,trx=0,ts=0,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5701e0
        (bts=0,trx=0,ts=0,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570160
        (bts=0,trx=0,ts=0,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af5700e0
        (bts=0,trx=0,ts=0,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af570060
        (bts=0,trx=0,ts=0,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af55f5d0
        (bts=0,trx=0,ts=0,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af56bd50
        (bts=0,trx=0,ts=0,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55a5af56c050
      stat_item.c:96                 contains    336 bytes in   2 blocks (ref 0) 0x55a5af56fe30
        stat_item.c:118                contains    288 bytes in   1 blocks (ref 0) 0x55a5af56fed0
      rate_ctr.c:228                 contains   1632 bytes in   1 blocks (ref 0) 0x55a5af56f760
    struct mgcp_client_conf        contains     40 bytes in   1 blocks (ref 0) 0x55a5af3a3740
    rate_ctr.c:228                 contains    672 bytes in   1 blocks (ref 0) 0x55a5af3a3430
    struct handover_cfg            contains    208 bytes in   1 blocks (ref 0) 0x55a5af3a32f0
    struct osmo_bsc_data           contains    163 bytes in   8 blocks (ref 0) 0x55a5af3a3230
      bsc-list                       contains      9 bytes in   1 blocks (ref 0) 0x55a5af57e030
      struct gsm_audio_support *     contains     27 bytes in   4 blocks (ref 0) 0x55a5af57e0b0
        struct gsm_audio_support       contains      1 bytes in   1 blocks (ref 0) 0x55a5af55c1d0
        struct gsm_audio_support       contains      1 bytes in   1 blocks (ref 0) 0x55a5af55f6c0
        struct gsm_audio_support       contains      1 bytes in   1 blocks (ref 0) 0x55a5af56bdd0
      struct bsc_msc_dest            contains     47 bytes in   2 blocks (ref 0) 0x55a5af56bc30
        192.168.100.11                 contains     15 bytes in   1 blocks (ref 0) 0x55a5af5726a0
    struct llist_head              contains     16 bytes in   1 blocks (ref 0) 0x55a5af3a31b0
  counter                        contains      0 bytes in   1 blocks (ref 0) 0x55a5af3a27a0
  subch_txq_entry                contains      0 bytes in   1 blocks (ref 0) 0x55a5af3a2730
  signal_handler                 contains    400 bytes in  11 blocks (ref 0) 0x55a5af3a26c0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55a5af581650
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55a5af5815c0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55a5af57fce0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55a5af57f9e0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55a5af57f480
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55a5af55f8b0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55a5af55f820
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55a5af578480
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55a5af55fcf0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55a5af3a3920
  bs11_file_list_entry           contains      0 bytes in   1 blocks (ref 0) 0x55a5af3a2650
  paging_request                 contains      0 bytes in   1 blocks (ref 0) 0x55a5af3a25e0
  msgb                           contains   2312 bytes in   2 blocks (ref 0) 0x55a5af3a2570
    xua_asp-xlm msgb               contains   2312 bytes in   1 blocks (ref 0) 0x55a5af58dd40
OsmoBSC#

#4 Updated by stsp 5 months ago

Philipp suggested to try reproducing the problem in a virtual-um setup.

This shows the initial talloc report after startup, and then talloc reports with dangling sccp connections, one after an instance of 'mobile' made one call, and two after the same instance of 'mobile' made another call. Both calls were made to a non-existent subscriber B.

OsmoBSC# show talloc-context application full
full talloc report on 'openbsc' (total 296967 bytes in 153 blocks)
  telnet_connection              contains     89 bytes in   2 blocks (ref 0) 0x55ba265543f0
    struct telnet_connection       contains     88 bytes in   1 blocks (ref 0) 0x55ba2656ba90
  utils.c:220                    contains    168 bytes in   1 blocks (ref 0) 0x55ba263b3420
  utils.c:220                    contains     56 bytes in   1 blocks (ref 0) 0x55ba263b3380
  utils.c:220                    contains    495 bytes in   1 blocks (ref 0) 0x55ba263b3120
  utils.c:220                    contains    130 bytes in   1 blocks (ref 0) 0x55ba2639dd80
  abis                           contains  96875 bytes in  21 blocks (ref 0) 0x55ba263987d0
    unixsocket                     contains      1 bytes in   1 blocks (ref 0) 0x55ba26398a20
    ipa                            contains  48183 bytes in   7 blocks (ref 0) 0x55ba263989b0
      struct e1inp_line              contains  47976 bytes in   1 blocks (ref 0) 0x55ba2656d830
      struct ipa_server_link         contains     98 bytes in   2 blocks (ref 0) 0x55ba26553420
        127.0.0.1                      contains     10 bytes in   1 blocks (ref 0) 0x55ba2655aaa0
      struct ipa_server_link         contains     98 bytes in   2 blocks (ref 0) 0x55ba26553360
        127.0.0.1                      contains     10 bytes in   1 blocks (ref 0) 0x55ba2655aba0
      127.0.0.1                      contains     10 bytes in   1 blocks (ref 0) 0x55ba265549d0
    e1inp                          contains  48691 bytes in  12 blocks (ref 0) 0x55ba26398840
      struct e1inp_line              contains  48561 bytes in   8 blocks (ref 0) 0x55ba2655b3f0
        struct ipaccess_line           contains      4 bytes in   1 blocks (ref 0) 0x55ba265546d0
        rate_ctr.c:228                 contains    581 bytes in   6 blocks (ref 0) 0x55ba26566fc0
          struct rate_ctr_group_desc     contains    149 bytes in   5 blocks (ref 0) 0x55ba2655aeb0
            struct rate_ctr_desc           contains    117 bytes in   4 blocks (ref 0) 0x55ba265671e0
              hdlc:overrun                   contains     13 bytes in   1 blocks (ref 0) 0x55ba2655a910
              hdlc:bad_fcs                   contains     13 bytes in   1 blocks (ref 0) 0x55ba26554370
              hdlc:abort                     contains     11 bytes in   1 blocks (ref 0) 0x55ba2655a990
      e1inp_sign_link                contains    129 bytes in   3 blocks (ref 0) 0x55ba263988b0
        struct e1inp_sign_link         contains     64 bytes in   1 blocks (ref 0) 0x55ba2655b1e0
        struct e1inp_sign_link         contains     64 bytes in   1 blocks (ref 0) 0x55ba2655b290
  struct gsm_network             contains 196441 bytes in 108 blocks (ref 0) 0x55ba26397f80
    struct mgcp_client             contains    184 bytes in   1 blocks (ref 0) 0x55ba26568ef0
    struct ctrl_handle             contains     80 bytes in   1 blocks (ref 0) 0x55ba26553aa0
    struct bsc_msc_data            contains   3016 bytes in  28 blocks (ref 0) 0x55ba265672a0
      struct a_reset_ctx             contains     32 bytes in   1 blocks (ref 0) 0x55ba2656a220
      struct osmo_ss7_instance       contains   2296 bytes in  26 blocks (ref 0) 0x55ba26569010
        struct osmo_sccp_instance      contains    190 bytes in   3 blocks (ref 0) 0x55ba2656a0e0
          struct osmo_sccp_user          contains     86 bytes in   2 blocks (ref 0) 0x55ba26553e10
            msc-0                          contains      6 bytes in   1 blocks (ref 0) 0x55ba2656a1b0
        struct osmo_ss7_asp            contains   1083 bytes in  12 blocks (ref 0) 0x55ba26569890
          (r=127.0.0.1:2905<->l=127.0.0.1:35618) contains     39 bytes in   1 blocks (ref 0) 0x55ba2656b570
          struct osmo_fsm_inst           contains    351 bytes in   4 blocks (ref 0) 0x55ba26569dd0
            struct xua_asp_fsm_priv        contains    104 bytes in   1 blocks (ref 0) 0x55ba2656a010
            XUA_ASP(asp-clnt-msc-0)[0x55ba26569dd0] contains     40 bytes in   1 blocks (ref 0) 0x55ba26569f80
            asp-clnt-msc-0                 contains     15 bytes in   1 blocks (ref 0) 0x55ba26569f00
          struct osmo_stream_cli         contains    224 bytes in   1 blocks (ref 0) 0x55ba26569c80
          struct osmo_fsm_inst           contains    262 bytes in   4 blocks (ref 0) 0x55ba26569a40
            struct lm_fsm_priv             contains      8 bytes in   1 blocks (ref 0) 0x55ba26569c10
            xua_default_lm(asp-clnt-msc-0)[0x55ba26569a40] contains     47 bytes in   1 blocks (ref 0) 0x55ba26569b70
            asp-clnt-msc-0                 contains     15 bytes in   1 blocks (ref 0) 0x55ba26569810
          asp-clnt-msc-0                 contains     15 bytes in   1 blocks (ref 0) 0x55ba265699c0
        struct osmo_ss7_as             contains    586 bytes in   6 blocks (ref 0) 0x55ba26569330
          struct osmo_fsm_inst           contains    348 bytes in   4 blocks (ref 0) 0x55ba26569500
            struct xua_as_fsm_priv         contains    104 bytes in   1 blocks (ref 0) 0x55ba26569740
            XUA_AS(as-clnt-msc-0)[0x55ba26569500] contains     38 bytes in   1 blocks (ref 0) 0x55ba265696b0
            as-clnt-msc-0                  contains     14 bytes in   1 blocks (ref 0) 0x55ba26569630
          as-clnt-msc-0                  contains     14 bytes in   1 blocks (ref 0) 0x55ba26569480
        struct osmo_ss7_route_table    contains    141 bytes in   4 blocks (ref 0) 0x55ba265691a0
          struct osmo_ss7_route          contains     78 bytes in   2 blocks (ref 0) 0x55ba2655b340
            as-clnt-msc-0                  contains     14 bytes in   1 blocks (ref 0) 0x55ba265692b0
          system                         contains      7 bytes in   1 blocks (ref 0) 0x55ba26569240
    struct gsm_bts                 contains 191688 bytes in  70 blocks (ref 0) 0x55ba26554a50
      struct handover_cfg            contains    208 bytes in   1 blocks (ref 0) 0x55ba2655a6d0
      struct gsm_bts_trx             contains 176184 bytes in  65 blocks (ref 0) 0x7f76bedb2070
        (bts=0,trx=0,ts=7,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a650
        (bts=0,trx=0,ts=7,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a5d0
        (bts=0,trx=0,ts=7,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a550
        (bts=0,trx=0,ts=7,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a4d0
        (bts=0,trx=0,ts=7,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a450
        (bts=0,trx=0,ts=7,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a3d0
        (bts=0,trx=0,ts=7,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a350
        (bts=0,trx=0,ts=7,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a2d0
        (bts=0,trx=0,ts=6,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a250
        (bts=0,trx=0,ts=6,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a1d0
        (bts=0,trx=0,ts=6,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a150
        (bts=0,trx=0,ts=6,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a0d0
        (bts=0,trx=0,ts=6,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a050
        (bts=0,trx=0,ts=6,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559fd0
        (bts=0,trx=0,ts=6,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559f50
        (bts=0,trx=0,ts=6,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559ed0
        (bts=0,trx=0,ts=5,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559e50
        (bts=0,trx=0,ts=5,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559dd0
        (bts=0,trx=0,ts=5,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559d50
        (bts=0,trx=0,ts=5,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559cd0
        (bts=0,trx=0,ts=5,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559c50
        (bts=0,trx=0,ts=5,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559bd0
        (bts=0,trx=0,ts=5,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559b50
        (bts=0,trx=0,ts=5,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559ad0
        (bts=0,trx=0,ts=4,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559a50
        (bts=0,trx=0,ts=4,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265599d0
        (bts=0,trx=0,ts=4,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559950
        (bts=0,trx=0,ts=4,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265598d0
        (bts=0,trx=0,ts=4,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559850
        (bts=0,trx=0,ts=4,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265597d0
        (bts=0,trx=0,ts=4,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559750
        (bts=0,trx=0,ts=4,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265596d0
        (bts=0,trx=0,ts=3,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559650
        (bts=0,trx=0,ts=3,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265595d0
        (bts=0,trx=0,ts=3,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559550
        (bts=0,trx=0,ts=3,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265594d0
        (bts=0,trx=0,ts=3,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559450
        (bts=0,trx=0,ts=3,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265593d0
        (bts=0,trx=0,ts=3,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559350
        (bts=0,trx=0,ts=3,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265592d0
        (bts=0,trx=0,ts=2,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559250
        (bts=0,trx=0,ts=2,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265591d0
        (bts=0,trx=0,ts=2,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559150
        (bts=0,trx=0,ts=2,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265590d0
        (bts=0,trx=0,ts=2,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559050
        (bts=0,trx=0,ts=2,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558fd0
        (bts=0,trx=0,ts=2,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558f50
        (bts=0,trx=0,ts=2,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558ed0
        (bts=0,trx=0,ts=1,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558e50
        (bts=0,trx=0,ts=1,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558dd0
        (bts=0,trx=0,ts=1,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558d50
        (bts=0,trx=0,ts=1,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558cd0
        (bts=0,trx=0,ts=1,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558c50
        (bts=0,trx=0,ts=1,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558bd0
        (bts=0,trx=0,ts=1,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558b50
        (bts=0,trx=0,ts=1,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558ad0
        (bts=0,trx=0,ts=0,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558a50
        (bts=0,trx=0,ts=0,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265589d0
        (bts=0,trx=0,ts=0,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558950
        (bts=0,trx=0,ts=0,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265588d0
        (bts=0,trx=0,ts=0,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558850
        (bts=0,trx=0,ts=0,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265587d0
        (bts=0,trx=0,ts=0,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265545c0
        (bts=0,trx=0,ts=0,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26554540
      stat_item.c:96                 contains    336 bytes in   2 blocks (ref 0) 0x55ba265585a0
        stat_item.c:118                contains    288 bytes in   1 blocks (ref 0) 0x55ba26558640
      rate_ctr.c:228                 contains   1632 bytes in   1 blocks (ref 0) 0x55ba26557ed0
    struct mgcp_client_conf        contains     40 bytes in   1 blocks (ref 0) 0x55ba26398740
    rate_ctr.c:228                 contains    672 bytes in   1 blocks (ref 0) 0x55ba26398430
    struct handover_cfg            contains    208 bytes in   1 blocks (ref 0) 0x55ba263982f0
    struct osmo_bsc_data           contains     89 bytes in   3 blocks (ref 0) 0x55ba26398230
      struct gsm_audio_support *     contains      9 bytes in   2 blocks (ref 0) 0x55ba26554840
        struct gsm_audio_support       contains      1 bytes in   1 blocks (ref 0) 0x55ba2655ac20
    struct llist_head              contains     16 bytes in   1 blocks (ref 0) 0x55ba263981b0
  counter                        contains      0 bytes in   1 blocks (ref 0) 0x55ba263977a0
  subch_txq_entry                contains      0 bytes in   1 blocks (ref 0) 0x55ba26397730
  signal_handler                 contains    400 bytes in  11 blocks (ref 0) 0x55ba263976c0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba2656a570
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba2656a4e0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba26568c00
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba26568900
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba265683a0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba26554740
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba2655af40
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba26554640
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba265548b0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba26398920
  bs11_file_list_entry           contains      0 bytes in   1 blocks (ref 0) 0x55ba26397650
  paging_request                 contains      0 bytes in   1 blocks (ref 0) 0x55ba263975e0
  msgb                           contains   2312 bytes in   2 blocks (ref 0) 0x55ba26397570
    xua_asp-xlm msgb               contains   2312 bytes in   1 blocks (ref 0) 0x55ba2656a8f0
OsmoBSC# show talloc-context application full
full talloc report on 'openbsc' (total 300470 bytes in 158 blocks)
  telnet_connection              contains     89 bytes in   2 blocks (ref 0) 0x55ba265543f0
    struct telnet_connection       contains     88 bytes in   1 blocks (ref 0) 0x55ba2656ba90
  utils.c:220                    contains    168 bytes in   1 blocks (ref 0) 0x55ba263b3420
  utils.c:220                    contains     56 bytes in   1 blocks (ref 0) 0x55ba263b3380
  utils.c:220                    contains    495 bytes in   1 blocks (ref 0) 0x55ba263b3120
  utils.c:220                    contains    130 bytes in   1 blocks (ref 0) 0x55ba2639dd80
  abis                           contains  96875 bytes in  21 blocks (ref 0) 0x55ba263987d0
    unixsocket                     contains      1 bytes in   1 blocks (ref 0) 0x55ba26398a20
    ipa                            contains  48183 bytes in   7 blocks (ref 0) 0x55ba263989b0
      struct e1inp_line              contains  47976 bytes in   1 blocks (ref 0) 0x55ba2656d830
      struct ipa_server_link         contains     98 bytes in   2 blocks (ref 0) 0x55ba26553420
        127.0.0.1                      contains     10 bytes in   1 blocks (ref 0) 0x55ba2655aaa0
      struct ipa_server_link         contains     98 bytes in   2 blocks (ref 0) 0x55ba26553360
        127.0.0.1                      contains     10 bytes in   1 blocks (ref 0) 0x55ba2655aba0
      127.0.0.1                      contains     10 bytes in   1 blocks (ref 0) 0x55ba265549d0
    e1inp                          contains  48691 bytes in  12 blocks (ref 0) 0x55ba26398840
      struct e1inp_line              contains  48561 bytes in   8 blocks (ref 0) 0x55ba2655b3f0
        struct ipaccess_line           contains      4 bytes in   1 blocks (ref 0) 0x55ba265546d0
        rate_ctr.c:228                 contains    581 bytes in   6 blocks (ref 0) 0x55ba26566fc0
          struct rate_ctr_group_desc     contains    149 bytes in   5 blocks (ref 0) 0x55ba2655aeb0
            struct rate_ctr_desc           contains    117 bytes in   4 blocks (ref 0) 0x55ba265671e0
              hdlc:overrun                   contains     13 bytes in   1 blocks (ref 0) 0x55ba2655a910
              hdlc:bad_fcs                   contains     13 bytes in   1 blocks (ref 0) 0x55ba26554370
              hdlc:abort                     contains     11 bytes in   1 blocks (ref 0) 0x55ba2655a990
      e1inp_sign_link                contains    129 bytes in   3 blocks (ref 0) 0x55ba263988b0
        struct e1inp_sign_link         contains     64 bytes in   1 blocks (ref 0) 0x55ba2655b1e0
        struct e1inp_sign_link         contains     64 bytes in   1 blocks (ref 0) 0x55ba2655b290
  struct gsm_network             contains 199944 bytes in 113 blocks (ref 0) 0x55ba26397f80
    struct gsm_subscriber_connection contains   2576 bytes in   1 blocks (ref 0) 0x55ba2657d080
    struct mgcp_client             contains    184 bytes in   1 blocks (ref 0) 0x55ba26568ef0
    struct ctrl_handle             contains     80 bytes in   1 blocks (ref 0) 0x55ba26553aa0
    struct bsc_msc_data            contains   3943 bytes in  32 blocks (ref 0) 0x55ba265672a0
      struct a_reset_ctx             contains     32 bytes in   1 blocks (ref 0) 0x55ba2656a220
      struct osmo_ss7_instance       contains   3223 bytes in  30 blocks (ref 0) 0x55ba26569010
        struct osmo_sccp_instance      contains   1117 bytes in   7 blocks (ref 0) 0x55ba2656a0e0
          struct sccp_connection         contains    927 bytes in   4 blocks (ref 0) 0x55ba2656c1f0
            struct osmo_fsm_inst           contains    223 bytes in   3 blocks (ref 0) 0x55ba2656c520
              SCCP-SCOC(2)[0x55ba2656c520]   contains     29 bytes in   1 blocks (ref 0) 0x55ba2657a210
              2                              contains      2 bytes in   1 blocks (ref 0) 0x55ba2656b2f0
          struct osmo_sccp_user          contains     86 bytes in   2 blocks (ref 0) 0x55ba26553e10
            msc-0                          contains      6 bytes in   1 blocks (ref 0) 0x55ba2656a1b0
        struct osmo_ss7_asp            contains   1083 bytes in  12 blocks (ref 0) 0x55ba26569890
          (r=127.0.0.1:2905<->l=127.0.0.1:35618) contains     39 bytes in   1 blocks (ref 0) 0x55ba2656b570
          struct osmo_fsm_inst           contains    351 bytes in   4 blocks (ref 0) 0x55ba26569dd0
            struct xua_asp_fsm_priv        contains    104 bytes in   1 blocks (ref 0) 0x55ba2656a010
            XUA_ASP(asp-clnt-msc-0)[0x55ba26569dd0] contains     40 bytes in   1 blocks (ref 0) 0x55ba26569f80
            asp-clnt-msc-0                 contains     15 bytes in   1 blocks (ref 0) 0x55ba26569f00
          struct osmo_stream_cli         contains    224 bytes in   1 blocks (ref 0) 0x55ba26569c80
          struct osmo_fsm_inst           contains    262 bytes in   4 blocks (ref 0) 0x55ba26569a40
            struct lm_fsm_priv             contains      8 bytes in   1 blocks (ref 0) 0x55ba26569c10
            xua_default_lm(asp-clnt-msc-0)[0x55ba26569a40] contains     47 bytes in   1 blocks (ref 0) 0x55ba26569b70
            asp-clnt-msc-0                 contains     15 bytes in   1 blocks (ref 0) 0x55ba26569810
          asp-clnt-msc-0                 contains     15 bytes in   1 blocks (ref 0) 0x55ba265699c0
        struct osmo_ss7_as             contains    586 bytes in   6 blocks (ref 0) 0x55ba26569330
          struct osmo_fsm_inst           contains    348 bytes in   4 blocks (ref 0) 0x55ba26569500
            struct xua_as_fsm_priv         contains    104 bytes in   1 blocks (ref 0) 0x55ba26569740
            XUA_AS(as-clnt-msc-0)[0x55ba26569500] contains     38 bytes in   1 blocks (ref 0) 0x55ba265696b0
            as-clnt-msc-0                  contains     14 bytes in   1 blocks (ref 0) 0x55ba26569630
          as-clnt-msc-0                  contains     14 bytes in   1 blocks (ref 0) 0x55ba26569480
        struct osmo_ss7_route_table    contains    141 bytes in   4 blocks (ref 0) 0x55ba265691a0
          struct osmo_ss7_route          contains     78 bytes in   2 blocks (ref 0) 0x55ba2655b340
            as-clnt-msc-0                  contains     14 bytes in   1 blocks (ref 0) 0x55ba265692b0
          system                         contains      7 bytes in   1 blocks (ref 0) 0x55ba26569240
    struct gsm_bts                 contains 191688 bytes in  70 blocks (ref 0) 0x55ba26554a50
      struct handover_cfg            contains    208 bytes in   1 blocks (ref 0) 0x55ba2655a6d0
      struct gsm_bts_trx             contains 176184 bytes in  65 blocks (ref 0) 0x7f76bedb2070
        (bts=0,trx=0,ts=7,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a650
        (bts=0,trx=0,ts=7,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a5d0
        (bts=0,trx=0,ts=7,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a550
        (bts=0,trx=0,ts=7,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a4d0
        (bts=0,trx=0,ts=7,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a450
        (bts=0,trx=0,ts=7,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a3d0
        (bts=0,trx=0,ts=7,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a350
        (bts=0,trx=0,ts=7,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a2d0
        (bts=0,trx=0,ts=6,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a250
        (bts=0,trx=0,ts=6,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a1d0
        (bts=0,trx=0,ts=6,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a150
        (bts=0,trx=0,ts=6,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a0d0
        (bts=0,trx=0,ts=6,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a050
        (bts=0,trx=0,ts=6,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559fd0
        (bts=0,trx=0,ts=6,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559f50
        (bts=0,trx=0,ts=6,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559ed0
        (bts=0,trx=0,ts=5,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559e50
        (bts=0,trx=0,ts=5,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559dd0
        (bts=0,trx=0,ts=5,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559d50
        (bts=0,trx=0,ts=5,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559cd0
        (bts=0,trx=0,ts=5,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559c50
        (bts=0,trx=0,ts=5,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559bd0
        (bts=0,trx=0,ts=5,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559b50
        (bts=0,trx=0,ts=5,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559ad0
        (bts=0,trx=0,ts=4,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559a50
        (bts=0,trx=0,ts=4,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265599d0
        (bts=0,trx=0,ts=4,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559950
        (bts=0,trx=0,ts=4,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265598d0
        (bts=0,trx=0,ts=4,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559850
        (bts=0,trx=0,ts=4,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265597d0
        (bts=0,trx=0,ts=4,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559750
        (bts=0,trx=0,ts=4,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265596d0
        (bts=0,trx=0,ts=3,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559650
        (bts=0,trx=0,ts=3,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265595d0
        (bts=0,trx=0,ts=3,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559550
        (bts=0,trx=0,ts=3,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265594d0
        (bts=0,trx=0,ts=3,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559450
        (bts=0,trx=0,ts=3,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265593d0
        (bts=0,trx=0,ts=3,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559350
        (bts=0,trx=0,ts=3,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265592d0
        (bts=0,trx=0,ts=2,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559250
        (bts=0,trx=0,ts=2,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265591d0
        (bts=0,trx=0,ts=2,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559150
        (bts=0,trx=0,ts=2,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265590d0
        (bts=0,trx=0,ts=2,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559050
        (bts=0,trx=0,ts=2,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558fd0
        (bts=0,trx=0,ts=2,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558f50
        (bts=0,trx=0,ts=2,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558ed0
        (bts=0,trx=0,ts=1,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558e50
        (bts=0,trx=0,ts=1,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558dd0
        (bts=0,trx=0,ts=1,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558d50
        (bts=0,trx=0,ts=1,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558cd0
        (bts=0,trx=0,ts=1,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558c50
        (bts=0,trx=0,ts=1,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558bd0
        (bts=0,trx=0,ts=1,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558b50
        (bts=0,trx=0,ts=1,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558ad0
        (bts=0,trx=0,ts=0,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558a50
        (bts=0,trx=0,ts=0,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265589d0
        (bts=0,trx=0,ts=0,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558950
        (bts=0,trx=0,ts=0,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265588d0
        (bts=0,trx=0,ts=0,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558850
        (bts=0,trx=0,ts=0,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265587d0
        (bts=0,trx=0,ts=0,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265545c0
        (bts=0,trx=0,ts=0,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26554540
      stat_item.c:96                 contains    336 bytes in   2 blocks (ref 0) 0x55ba265585a0
        stat_item.c:118                contains    288 bytes in   1 blocks (ref 0) 0x55ba26558640
      rate_ctr.c:228                 contains   1632 bytes in   1 blocks (ref 0) 0x55ba26557ed0
    struct mgcp_client_conf        contains     40 bytes in   1 blocks (ref 0) 0x55ba26398740
    rate_ctr.c:228                 contains    672 bytes in   1 blocks (ref 0) 0x55ba26398430
    struct handover_cfg            contains    208 bytes in   1 blocks (ref 0) 0x55ba263982f0
    struct osmo_bsc_data           contains     89 bytes in   3 blocks (ref 0) 0x55ba26398230
      struct gsm_audio_support *     contains      9 bytes in   2 blocks (ref 0) 0x55ba26554840
        struct gsm_audio_support       contains      1 bytes in   1 blocks (ref 0) 0x55ba2655ac20
    struct llist_head              contains     16 bytes in   1 blocks (ref 0) 0x55ba263981b0
  counter                        contains      0 bytes in   1 blocks (ref 0) 0x55ba263977a0
  subch_txq_entry                contains      0 bytes in   1 blocks (ref 0) 0x55ba26397730
  signal_handler                 contains    400 bytes in  11 blocks (ref 0) 0x55ba263976c0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba2656a570
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba2656a4e0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba26568c00
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba26568900
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba265683a0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba26554740
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba2655af40
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba26554640
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba265548b0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba26398920
  bs11_file_list_entry           contains      0 bytes in   1 blocks (ref 0) 0x55ba26397650
  paging_request                 contains      0 bytes in   1 blocks (ref 0) 0x55ba263975e0
  msgb                           contains   2312 bytes in   2 blocks (ref 0) 0x55ba26397570
    xua_asp-xlm msgb               contains   2312 bytes in   1 blocks (ref 0) 0x55ba2656a8f0
OsmoBSC# show talloc-context application full
full talloc report on 'openbsc' (total 303973 bytes in 163 blocks)
  telnet_connection              contains     89 bytes in   2 blocks (ref 0) 0x55ba265543f0
    struct telnet_connection       contains     88 bytes in   1 blocks (ref 0) 0x55ba2656ba90
  utils.c:220                    contains    168 bytes in   1 blocks (ref 0) 0x55ba263b3420
  utils.c:220                    contains     56 bytes in   1 blocks (ref 0) 0x55ba263b3380
  utils.c:220                    contains    495 bytes in   1 blocks (ref 0) 0x55ba263b3120
  utils.c:220                    contains    130 bytes in   1 blocks (ref 0) 0x55ba2639dd80
  abis                           contains  96875 bytes in  21 blocks (ref 0) 0x55ba263987d0
    unixsocket                     contains      1 bytes in   1 blocks (ref 0) 0x55ba26398a20
    ipa                            contains  48183 bytes in   7 blocks (ref 0) 0x55ba263989b0
      struct e1inp_line              contains  47976 bytes in   1 blocks (ref 0) 0x55ba2656d830
      struct ipa_server_link         contains     98 bytes in   2 blocks (ref 0) 0x55ba26553420
        127.0.0.1                      contains     10 bytes in   1 blocks (ref 0) 0x55ba2655aaa0
      struct ipa_server_link         contains     98 bytes in   2 blocks (ref 0) 0x55ba26553360
        127.0.0.1                      contains     10 bytes in   1 blocks (ref 0) 0x55ba2655aba0
      127.0.0.1                      contains     10 bytes in   1 blocks (ref 0) 0x55ba265549d0
    e1inp                          contains  48691 bytes in  12 blocks (ref 0) 0x55ba26398840
      struct e1inp_line              contains  48561 bytes in   8 blocks (ref 0) 0x55ba2655b3f0
        struct ipaccess_line           contains      4 bytes in   1 blocks (ref 0) 0x55ba265546d0
        rate_ctr.c:228                 contains    581 bytes in   6 blocks (ref 0) 0x55ba26566fc0
          struct rate_ctr_group_desc     contains    149 bytes in   5 blocks (ref 0) 0x55ba2655aeb0
            struct rate_ctr_desc           contains    117 bytes in   4 blocks (ref 0) 0x55ba265671e0
              hdlc:overrun                   contains     13 bytes in   1 blocks (ref 0) 0x55ba2655a910
              hdlc:bad_fcs                   contains     13 bytes in   1 blocks (ref 0) 0x55ba26554370
              hdlc:abort                     contains     11 bytes in   1 blocks (ref 0) 0x55ba2655a990
      e1inp_sign_link                contains    129 bytes in   3 blocks (ref 0) 0x55ba263988b0
        struct e1inp_sign_link         contains     64 bytes in   1 blocks (ref 0) 0x55ba2655b1e0
        struct e1inp_sign_link         contains     64 bytes in   1 blocks (ref 0) 0x55ba2655b290
  struct gsm_network             contains 203447 bytes in 118 blocks (ref 0) 0x55ba26397f80
    struct gsm_subscriber_connection contains   2576 bytes in   1 blocks (ref 0) 0x55ba2657b040
    struct gsm_subscriber_connection contains   2576 bytes in   1 blocks (ref 0) 0x55ba2657d080
    struct mgcp_client             contains    184 bytes in   1 blocks (ref 0) 0x55ba26568ef0
    struct ctrl_handle             contains     80 bytes in   1 blocks (ref 0) 0x55ba26553aa0
    struct bsc_msc_data            contains   4870 bytes in  36 blocks (ref 0) 0x55ba265672a0
      struct a_reset_ctx             contains     32 bytes in   1 blocks (ref 0) 0x55ba2656a220
      struct osmo_ss7_instance       contains   4150 bytes in  34 blocks (ref 0) 0x55ba26569010
        struct osmo_sccp_instance      contains   2044 bytes in  11 blocks (ref 0) 0x55ba2656a0e0
          struct sccp_connection         contains    927 bytes in   4 blocks (ref 0) 0x55ba26579b40
            struct osmo_fsm_inst           contains    223 bytes in   3 blocks (ref 0) 0x55ba2657c5b0
              SCCP-SCOC(3)[0x55ba2657c5b0]   contains     29 bytes in   1 blocks (ref 0) 0x55ba26579500
              3                              contains      2 bytes in   1 blocks (ref 0) 0x55ba2656ceb0
          struct sccp_connection         contains    927 bytes in   4 blocks (ref 0) 0x55ba2656c1f0
            struct osmo_fsm_inst           contains    223 bytes in   3 blocks (ref 0) 0x55ba2656c520
              SCCP-SCOC(2)[0x55ba2656c520]   contains     29 bytes in   1 blocks (ref 0) 0x55ba2657a210
              2                              contains      2 bytes in   1 blocks (ref 0) 0x55ba2656b2f0
          struct osmo_sccp_user          contains     86 bytes in   2 blocks (ref 0) 0x55ba26553e10
            msc-0                          contains      6 bytes in   1 blocks (ref 0) 0x55ba2656a1b0
        struct osmo_ss7_asp            contains   1083 bytes in  12 blocks (ref 0) 0x55ba26569890
          (r=127.0.0.1:2905<->l=127.0.0.1:35618) contains     39 bytes in   1 blocks (ref 0) 0x55ba2656b570
          struct osmo_fsm_inst           contains    351 bytes in   4 blocks (ref 0) 0x55ba26569dd0
            struct xua_asp_fsm_priv        contains    104 bytes in   1 blocks (ref 0) 0x55ba2656a010
            XUA_ASP(asp-clnt-msc-0)[0x55ba26569dd0] contains     40 bytes in   1 blocks (ref 0) 0x55ba26569f80
            asp-clnt-msc-0                 contains     15 bytes in   1 blocks (ref 0) 0x55ba26569f00
          struct osmo_stream_cli         contains    224 bytes in   1 blocks (ref 0) 0x55ba26569c80
          struct osmo_fsm_inst           contains    262 bytes in   4 blocks (ref 0) 0x55ba26569a40
            struct lm_fsm_priv             contains      8 bytes in   1 blocks (ref 0) 0x55ba26569c10
            xua_default_lm(asp-clnt-msc-0)[0x55ba26569a40] contains     47 bytes in   1 blocks (ref 0) 0x55ba26569b70
            asp-clnt-msc-0                 contains     15 bytes in   1 blocks (ref 0) 0x55ba26569810
          asp-clnt-msc-0                 contains     15 bytes in   1 blocks (ref 0) 0x55ba265699c0
        struct osmo_ss7_as             contains    586 bytes in   6 blocks (ref 0) 0x55ba26569330
          struct osmo_fsm_inst           contains    348 bytes in   4 blocks (ref 0) 0x55ba26569500
            struct xua_as_fsm_priv         contains    104 bytes in   1 blocks (ref 0) 0x55ba26569740
            XUA_AS(as-clnt-msc-0)[0x55ba26569500] contains     38 bytes in   1 blocks (ref 0) 0x55ba265696b0
            as-clnt-msc-0                  contains     14 bytes in   1 blocks (ref 0) 0x55ba26569630
          as-clnt-msc-0                  contains     14 bytes in   1 blocks (ref 0) 0x55ba26569480
        struct osmo_ss7_route_table    contains    141 bytes in   4 blocks (ref 0) 0x55ba265691a0
          struct osmo_ss7_route          contains     78 bytes in   2 blocks (ref 0) 0x55ba2655b340
            as-clnt-msc-0                  contains     14 bytes in   1 blocks (ref 0) 0x55ba265692b0
          system                         contains      7 bytes in   1 blocks (ref 0) 0x55ba26569240
    struct gsm_bts                 contains 191688 bytes in  70 blocks (ref 0) 0x55ba26554a50
      struct handover_cfg            contains    208 bytes in   1 blocks (ref 0) 0x55ba2655a6d0
      struct gsm_bts_trx             contains 176184 bytes in  65 blocks (ref 0) 0x7f76bedb2070
        (bts=0,trx=0,ts=7,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a650
        (bts=0,trx=0,ts=7,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a5d0
        (bts=0,trx=0,ts=7,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a550
        (bts=0,trx=0,ts=7,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a4d0
        (bts=0,trx=0,ts=7,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a450
        (bts=0,trx=0,ts=7,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a3d0
        (bts=0,trx=0,ts=7,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a350
        (bts=0,trx=0,ts=7,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a2d0
        (bts=0,trx=0,ts=6,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a250
        (bts=0,trx=0,ts=6,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a1d0
        (bts=0,trx=0,ts=6,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a150
        (bts=0,trx=0,ts=6,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a0d0
        (bts=0,trx=0,ts=6,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba2655a050
        (bts=0,trx=0,ts=6,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559fd0
        (bts=0,trx=0,ts=6,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559f50
        (bts=0,trx=0,ts=6,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559ed0
        (bts=0,trx=0,ts=5,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559e50
        (bts=0,trx=0,ts=5,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559dd0
        (bts=0,trx=0,ts=5,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559d50
        (bts=0,trx=0,ts=5,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559cd0
        (bts=0,trx=0,ts=5,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559c50
        (bts=0,trx=0,ts=5,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559bd0
        (bts=0,trx=0,ts=5,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559b50
        (bts=0,trx=0,ts=5,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559ad0
        (bts=0,trx=0,ts=4,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559a50
        (bts=0,trx=0,ts=4,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265599d0
        (bts=0,trx=0,ts=4,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559950
        (bts=0,trx=0,ts=4,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265598d0
        (bts=0,trx=0,ts=4,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559850
        (bts=0,trx=0,ts=4,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265597d0
        (bts=0,trx=0,ts=4,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559750
        (bts=0,trx=0,ts=4,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265596d0
        (bts=0,trx=0,ts=3,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559650
        (bts=0,trx=0,ts=3,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265595d0
        (bts=0,trx=0,ts=3,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559550
        (bts=0,trx=0,ts=3,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265594d0
        (bts=0,trx=0,ts=3,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559450
        (bts=0,trx=0,ts=3,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265593d0
        (bts=0,trx=0,ts=3,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559350
        (bts=0,trx=0,ts=3,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265592d0
        (bts=0,trx=0,ts=2,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559250
        (bts=0,trx=0,ts=2,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265591d0
        (bts=0,trx=0,ts=2,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559150
        (bts=0,trx=0,ts=2,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265590d0
        (bts=0,trx=0,ts=2,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26559050
        (bts=0,trx=0,ts=2,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558fd0
        (bts=0,trx=0,ts=2,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558f50
        (bts=0,trx=0,ts=2,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558ed0
        (bts=0,trx=0,ts=1,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558e50
        (bts=0,trx=0,ts=1,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558dd0
        (bts=0,trx=0,ts=1,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558d50
        (bts=0,trx=0,ts=1,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558cd0
        (bts=0,trx=0,ts=1,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558c50
        (bts=0,trx=0,ts=1,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558bd0
        (bts=0,trx=0,ts=1,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558b50
        (bts=0,trx=0,ts=1,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558ad0
        (bts=0,trx=0,ts=0,ss=7)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558a50
        (bts=0,trx=0,ts=0,ss=6)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265589d0
        (bts=0,trx=0,ts=0,ss=5)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558950
        (bts=0,trx=0,ts=0,ss=4)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265588d0
        (bts=0,trx=0,ts=0,ss=3)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26558850
        (bts=0,trx=0,ts=0,ss=2)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265587d0
        (bts=0,trx=0,ts=0,ss=1)        contains     24 bytes in   1 blocks (ref 0) 0x55ba265545c0
        (bts=0,trx=0,ts=0,ss=0)        contains     24 bytes in   1 blocks (ref 0) 0x55ba26554540
      stat_item.c:96                 contains    336 bytes in   2 blocks (ref 0) 0x55ba265585a0
        stat_item.c:118                contains    288 bytes in   1 blocks (ref 0) 0x55ba26558640
      rate_ctr.c:228                 contains   1632 bytes in   1 blocks (ref 0) 0x55ba26557ed0
    struct mgcp_client_conf        contains     40 bytes in   1 blocks (ref 0) 0x55ba26398740
    rate_ctr.c:228                 contains    672 bytes in   1 blocks (ref 0) 0x55ba26398430
    struct handover_cfg            contains    208 bytes in   1 blocks (ref 0) 0x55ba263982f0
    struct osmo_bsc_data           contains     89 bytes in   3 blocks (ref 0) 0x55ba26398230
      struct gsm_audio_support *     contains      9 bytes in   2 blocks (ref 0) 0x55ba26554840
        struct gsm_audio_support       contains      1 bytes in   1 blocks (ref 0) 0x55ba2655ac20
    struct llist_head              contains     16 bytes in   1 blocks (ref 0) 0x55ba263981b0
  counter                        contains      0 bytes in   1 blocks (ref 0) 0x55ba263977a0
  subch_txq_entry                contains      0 bytes in   1 blocks (ref 0) 0x55ba26397730
  signal_handler                 contains    400 bytes in  11 blocks (ref 0) 0x55ba263976c0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba2656a570
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba2656a4e0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba26568c00
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba26568900
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba265683a0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba26554740
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba2655af40
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba26554640
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba265548b0
    struct signal_handler          contains     40 bytes in   1 blocks (ref 0) 0x55ba26398920
  bs11_file_list_entry           contains      0 bytes in   1 blocks (ref 0) 0x55ba26397650
  paging_request                 contains      0 bytes in   1 blocks (ref 0) 0x55ba263975e0
  msgb                           contains   2312 bytes in   2 blocks (ref 0) 0x55ba26397570
    xua_asp-xlm msgb               contains   2312 bytes in   1 blocks (ref 0) 0x55ba2656a8f0
OsmoBSC#

#6 Updated by stsp 5 months ago

More information on the case, found by Harald:

The pcap trace shows that the MSC is not closing the connection (filter by "(sccp) && (sctp.port == 48234", and see packets 1005, 1023, 1058).

The MSC vty lists no transactions:

OsmoMSC# show transaction                                      
------------Subscriber --ConnId -P TI -CallRef Proto 
OsmoMSC#

However, there are dangling connections:

OsmoMSC# show connection
--ConnId ------------Subscriber RAN --LAC Use --Tokens C A5 State
00000001            MSISDN:1111   A    23   1 00000004 - /0 SUBSCR_CONN_S_COMMUNICATING
00000002            MSISDN:1111   A    23   1 00000004 - /0 SUBSCR_CONN_S_COMMUNICATING
OsmoMSC# 

#7 Updated by stsp 5 months ago

There is a function _msc_subscr_conn_put() which potentially frees the connection after decrementing a reference counter.
However, it seems this function is not being called anywhere: (my bad, the calls are hidden in a macro)

$ grep -IR _msc_subscr_conn_put * 2>/dev/null
include/osmocom/msc/osmo_msc.h: _msc_subscr_conn_put(conn, balance_token, __BASE_FILE__, __LINE__)
include/osmocom/msc/osmo_msc.h:void _msc_subscr_conn_put(struct gsm_subscriber_connection *conn,
src/libmsc/TAGS:void _msc_subscr_conn_put(struct gsm_subscriber_connection *conn,_msc_subscr_conn_put360,10829
src/libmsc/osmo_msc.c:void _msc_subscr_conn_put(struct gsm_subscriber_connection *conn,

#8 Updated by stsp 5 months ago

The above connections do not seem to be dangling ones because they remain open only until the mobile program disconnects.
I suppose this is expected behaviour?

#9 Updated by laforge 5 months ago

On Mon, Feb 26, 2018 at 02:40:51PM +0000, stsp [REDMINE] wrote:

The above connections do not seem to be dangling ones because they remain open only until the mobile program disconnects.

what exactly is 'the mobile program disconnects'? A disconnect of what exactly,
at which protocol layer?

There is no "connection" betwee a phone and the MSC unless there is a dedicated
channel established for a given transaction (LU, SMS, Call). Once that transaction
is over, no SCCP, radio or other resources are utilized (aside from some state in memory).

#10 Updated by stsp 5 months ago

While investigating this further, I found a segfault in osmo-msc during 'show fsm-instances all':

Program received signal SIGSEGV, Segmentation fault.                    
__strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120         
120     ../sysdeps/x86_64/multiarch/../strlen.S: No such file or directory.                                                                     
(gdb) up                            
#1  0x00007ffff64a38c5 in _IO_vfprintf_internal (s=s@entry=0x7fffffffc8f0, format=<optimized out>,                                              
    format@entry=0x7ffff7bcd58a " Child: '%s'%s", ap=ap@entry=0x7fffffffca88) at vfprintf.c:1643                                                
1643    vfprintf.c: No such file or directory.                          
(gdb)                               
#2  0x00007ffff64ce440 in _IO_vsnprintf (string=0x7fffffffcaa0 " Child: 'l: 'DEBUG', State: 'SUBSCR_CONN_S_COMMUNICATING'\r\n",                 
    maxlen=<optimized out>, format=0x7ffff7bcd58a " Child: '%s'%s", args=0x7fffffffca88) at vsnprintf.c:114                                     
114     vsnprintf.c: No such file or directory.                         
(gdb)                               
#3  0x00007ffff7bbf988 in vty_out (vty=0x55555589ae00, format=0x7ffff7bcd58a " Child: '%s'%s") at vty.c:268                                     
268                     len = vsnprintf(buf, sizeof buf, format, args); 
(gdb)                               
#4  0x00007ffff7bc81fc in vty_out_fsm_inst (vty=0x55555589ae00, fsmi=0x5555558ca670) at fsm_vty.c:106                                           
106                     vty_out(vty, " Child: '%s'%s", child->name, VTY_NEWLINE);                                                               
(gdb) p child                       
$1 = (struct osmo_fsm_inst *) 0x5555558d0690                            
(gdb) p child->name                 
$2 = 0x555502fee0e0 <error: Cannot access memory at address 0x555502fee0e0>                                                                     
(gdb) p *fsmi
$3 = {list = {next = 0x5555558cad10, prev = 0x5555557a85b0 <subscr_conn_fsm+16>}, fsm = 0x5555557a85a0 <subscr_conn_fsm>, 
  id = 0x5555558cd9c0 "1645857463", name = 0x5555558cf5b0 "Subscr_Conn(1645857463)[0x5555558ca670]", priv = 0x5555558d0430, log_level = 1, 
  state = 3, T = 0, timer = {node = {rb_parent_color = 93824995881281, rb_right = 0x5555558ceaf0, rb_left = 0x0}, list = {
      next = 0x5555558ca6c8, prev = 0x5555558ca6c8}, timeout = {tv_sec = 1519644538, tv_usec = 89894}, active = 0, 
    cb = 0x7ffff730dada <fsm_tmr_cb>, data = 0x5555558ca670}, proc = {parent = 0x0, parent_term_event = 0, children = {next = 0x5555558d0690, 
      prev = 0x5555558d0690}, child = {next = 0x5555558ca720, prev = 0x5555558ca720}}}
(gdb) p *child
$4 = {list = {next = 0x5555558ca710, prev = 0x5555558ca710}, fsm = 0x5555558d0430, id = 0x71 <error: Cannot access memory at address 0x71>, 
  name = 0x555502fee0e0 <error: Cannot access memory at address 0x555502fee0e0>, priv = 0x0, log_level = 0, state = 0, T = 1435299632, 
  timer = {node = {rb_parent_color = 0, rb_right = 0x0, rb_left = 0x0}, list = {next = 0x7ffff6c6afe2, prev = 0x4}, timeout = {tv_sec = 0, 
      tv_usec = 0}, active = 1, cb = 0x2000000, data = 0x71}, proc = {parent = 0x555502fee0e0, parent_term_event = 1435277472, children = {
      next = 0x0, prev = 0x5555557abdc0}, child = {next = 0x0, prev = 0x0}}}

#11 Updated by stsp 5 months ago

laforge wrote:

On Mon, Feb 26, 2018 at 02:40:51PM +0000, stsp [REDMINE] wrote:

There is no "connection" betwee a phone and the MSC unless there is a dedicated
channel established for a given transaction (LU, SMS, Call). Once that transaction
is over, no SCCP, radio or other resources are utilized (aside from some state in memory).

Thanks. I understand this a bit better now, and it looks like a bug again :)

#12 Updated by stsp 5 months ago

Here is some annotated debug output.

Running master with this diff:

diff --git a/src/libmsc/subscr_conn.c b/src/libmsc/subscr_conn.c
index 512f5128e..4e8bd7849 100644
--- a/src/libmsc/subscr_conn.c
+++ b/src/libmsc/subscr_conn.c
@@ -224,6 +224,7 @@ static void subscr_conn_fsm_cleanup(struct osmo_fsm_inst *fi,

     if (!conn)
         return;
+    LOGP(DMM, LOGL_DEBUG, "Closing connection 0x%.08x\n", conn->a.conn_id);
     conn->conn_fsm = NULL;
      msc_subscr_conn_close(conn, cause);
     msc_subscr_conn_put(conn, MSC_CONN_USE_FSM);
@@ -348,6 +349,7 @@ int msc_create_conn_fsm(struct gsm_subscriber_connection *conn, const char *id)
              "%s: Failed to allocate subscr conn master FSM\n", id);
         return -ENOMEM;
     }
+    LOGP(DMM, LOGL_DEBUG, "Opened connection 0x%.08x\n", conn->a.conn_id);
     conn->conn_fsm = fi;
     osmo_fsm_inst_dispatch(conn->conn_fsm, SUBSCR_CONN_E_START, NULL);
     return 0;

MSC startup, mobile program connects, and makes a call to non-existent subscriber B:

stsp@fintan:~/osmo/v$ gdb --args ~/osmo/prefix/bin/osmo-msc -c osmo-msc.cfg
Reading symbols from /home/stsp/osmo/prefix/bin/osmo-msc...done.
(gdb) run
Starting program: /home/stsp/osmo/prefix/bin/osmo-msc -c osmo-msc.cfg
20180226173513374 DLGLOBAL <0011> telnet_interface.c:104 telnet at 127.0.0.1 4254
20180226173513374 DSMPP <000c> smpp_smsc.c:1000 SMPP at 0.0.0.0 2775
20180226173513374 DLCTRL <0018> control_if.c:854 CTRL at 127.0.0.1 4255
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
20180226173513445 DLGSUP <001b> gsup_client.c:76 GSUP connecting to 127.0.0.1:4222
20180226173513462 DLSCCP <001e> sccp_user.c:370 OsmoMSC-A: Creating SS7 instance
20180226173513462 DLSCCP <001e> sccp_user.c:397 OsmoMSC-A: Using SS7 instance 0, pc:0.23.1
20180226173513462 DLSCCP <001e> sccp_user.c:411 OsmoMSC-A: Creating AS instance
20180226173513462 DLSCCP <001e> sccp_user.c:421 OsmoMSC-A: Using AS instance as-clnt-OsmoMSC-A
20180226173513462 DLSCCP <001e> sccp_user.c:426 OsmoMSC-A: Creating default route
20180226173513462 DLSCCP <001e> sccp_user.c:446 OsmoMSC-A: Creating ASP instance
20180226173513462 DLSCCP <001e> sccp_user.c:481 OsmoMSC-A: Using ASP instance asp-clnt-OsmoMSC-A
20180226173513462 DLSCCP <001e> sccp_user.c:484 OsmoMSC-A: Creating SCCP instance
20180226173513462 DBSSAP <0010> a_iface.c:630 Initalizing SCCP connection to stp...
20180226173513462 DLINP <0013> input/ipa.c:131 127.0.0.1:4222 connection done
20180226173513462 DLINP <0013> input/ipaccess.c:708 received ID get from 0/0/0
20180226173515465 DLM3UA <0020> m3ua.c:633 asp-asp-clnt-OsmoMSC-A: Received NOTIFY Type State Change:AS Inactive ()
20180226173515466 DLSS7 <001d> xua_default_lm_fsm.c:352 xua_default_lm(asp-clnt-OsmoMSC-A)[0x5555558ddf30]{ACTIVE}: Ignoring primitive M-ASP_ACTIVE.confirm
20180226173515466 DLM3UA <0020> m3ua.c:633 asp-asp-clnt-OsmoMSC-A: Received NOTIFY Type State Change:AS Active ()
20180226173517272 DBSSAP <0010> a_iface.c:138 The calling BSC (RI=SSN_PC,PC=0.23.3,SSN=BSSAP) is unknown to this MSC ...
20180226173517272 DBSSAP <0010> a_iface.c:458 Adding new BSC connection for BSC RI=SSN_PC,PC=0.23.3,SSN=BSSAP...
20180226173517272 DBSSAP <0010> a_iface_bssap.c:115 Rx BSSMAP RESET from BSC RI=SSN_PC,PC=0.23.3,SSN=BSSAP, sending RESET ACK
20180226173527487 DREF <000a> osmo_msc.c:71 unknown: MSC conn use + compl_l3 == 1 (0x1)
20180226173527487 DREF <000a> subscr_conn.c:344 unknown: MSC conn use + fsm == 2 (0x5)
20180226173527487 DMM <0002> fsm.c:262 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_INIT}: Allocated
20180226173527487 DMM <0002> subscr_conn.c:352 Opened connection 0x00000000
20180226173527487 DMM <0002> subscr_conn.c:354 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START
20180226173527487 DMM <0002> subscr_conn.c:67 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW
20180226173527487 DMM <0002> gsm_04_08.c:344 LOCATION UPDATING REQUEST: MI(IMSI)=001010000000001 type=NORMAL
20180226173527487 DMM <0002> gsm_04_08.c:389 LU/new-LAC: 65534/23
20180226173527487 DVLR <000e> fsm.c:262 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_IDLE}: Allocated
20180226173527487 DVLR <000e> fsm.c:292 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_IDLE}: is child of Subscr_Conn(001010000000001)[0x5555558cc620]
20180226173527487 DVLR <000e> vlr_lu_fsm.c:1437 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth)
20180226173527487 DVLR <000e> vlr_lu_fsm.c:1443 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA
20180226173527487 DREF <000a> vlr_lu_fsm.c:954 VLR subscr unknown usage increases to: 1
20180226173527487 DVLR <000e> vlr.c:378 set IMSI on subscriber; IMSI=001010000000001 id=1010000000001
20180226173527487 DVLR <000e> vlr.c:337 New subscr, IMSI: 001010000000001
20180226173527487 DREF <000a> gsm_04_08.c:3726 VLR subscr IMSI:001010000000001 usage increases to: 2
20180226173527487 DREF <000a> vlr_lu_fsm.c:968 VLR subscr IMSI:001010000000001 usage decreases to: 1
20180226173527487 DVLR <000e> vlr_lu_fsm.c:855 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_IDLE}: vlr_loc_upd_node1()
20180226173527487 DVLR <000e> vlr_lu_fsm.c:822 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth()
20180226173527487 DVLR <000e> vlr_lu_fsm.c:790 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph()
20180226173527487 DVLR <000e> vlr_lu_fsm.c:751 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_IDLE}: vlr_loc_upd_node_4()
20180226173527487 DVLR <000e> vlr_lu_fsm.c:760 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD
20180226173527487 DVLR <000e> fsm.c:262 upd_hlr_vlr_fsm(001010000000001)[0x5555558cc880]{UPD_HLR_VLR_S_INIT}: Allocated
20180226173527487 DVLR <000e> fsm.c:292 upd_hlr_vlr_fsm(001010000000001)[0x5555558cc880]{UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(001010000000001)[0x5555558cc750]
20180226173527487 DVLR <000e> vlr_lu_fsm.c:167 upd_hlr_vlr_fsm(001010000000001)[0x5555558cc880]{UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START
20180226173527487 DVLR <000e> vlr.c:147 GSUP tx: 04010800010100000000f1
20180226173527487 DVLR <000e> vlr_lu_fsm.c:84 upd_hlr_vlr_fsm(001010000000001)[0x5555558cc880]{UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA
20180226173527487 DMM <0002> osmo_msc.c:60 IMSI:001010000000001: bump: conn still being established (SUBSCR_CONN_S_NEW)
20180226173527487 DREF <000a> osmo_msc.c:78 IMSI:001010000000001: MSC conn use - compl_l3 == 1 (0x4)
20180226173527488 DVLR <000e> vlr.c:809 GSUP rx 16: 10010800010100000000f10803021111
20180226173527488 DREF <000a> vlr.c:830 VLR subscr IMSI:001010000000001 usage increases to: 2
20180226173527488 DVLR <000e> vlr.c:665 IMSI:001010000000001 has MSISDN:1111
20180226173527488 DVLR <000e> gsm_04_08.c:3717 SUBSCR(MSISDN:1111) VLR: update for IMSI=001010000000001 (MSISDN=1111, used=2)
20180226173527488 DVLR <000e> vlr.c:147 GSUP tx: 12010800010100000000f1
20180226173527488 DREF <000a> vlr.c:876 VLR subscr MSISDN:1111 usage decreases to: 1
20180226173527488 DVLR <000e> vlr.c:809 GSUP rx 11: 06010800010100000000f1
20180226173527488 DREF <000a> vlr.c:830 VLR subscr MSISDN:1111 usage increases to: 2
20180226173527488 DVLR <000e> vlr.c:755 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES
20180226173527488 DVLR <000e> vlr_lu_fsm.c:1170 upd_hlr_vlr_fsm(001010000000001)[0x5555558cc880]{UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK
20180226173527488 DVLR <000e> vlr_lu_fsm.c:106 upd_hlr_vlr_fsm(001010000000001)[0x5555558cc880]{UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE
20180226173527488 DVLR <000e> vlr_lu_fsm.c:107 upd_hlr_vlr_fsm(001010000000001)[0x5555558cc880]{UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR)
20180226173527488 DVLR <000e> vlr_lu_fsm.c:107 upd_hlr_vlr_fsm(001010000000001)[0x5555558cc880]{UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(001010000000001)[0x5555558cc750]
20180226173527488 DVLR <000e> vlr_lu_fsm.c:107 upd_hlr_vlr_fsm(001010000000001)[0x5555558cc880]{UPD_HLR_VLR_S_DONE}: Freeing instance
20180226173527488 DVLR <000e> fsm.c:344 upd_hlr_vlr_fsm(001010000000001)[0x5555558cc880]{UPD_HLR_VLR_S_DONE}: Deallocated
20180226173527488 DVLR <000e> vlr_lu_fsm.c:107 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL
20180226173527488 DVLR <000e> vlr_lu_fsm.c:1178 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL
20180226173527488 DVLR <000e> fsm.c:262 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_INIT}: Allocated
20180226173527488 DVLR <000e> fsm.c:292 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(001010000000001)[0x5555558cc750]
20180226173527488 DVLR <000e> vlr_lu_fsm.c:733 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START
20180226173527488 DVLR <000e> vlr_lu_fsm.c:396 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES
20180226173527488 DVLR <000e> fsm.c:262 sub_pres_vlr_fsm(001010000000001)[0x5555558ccad0]{SUB_PRES_VLR_S_INIT}: Allocated
20180226173527488 DVLR <000e> fsm.c:292 sub_pres_vlr_fsm(001010000000001)[0x5555558ccad0]{SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]
20180226173527488 DVLR <000e> vlr_lu_fsm.c:280 sub_pres_vlr_fsm(001010000000001)[0x5555558ccad0]{SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START
20180226173527488 DVLR <000e> vlr_lu_fsm.c:203 sub_pres_vlr_fsm(001010000000001)[0x5555558ccad0]{SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE
20180226173527488 DVLR <000e> vlr_lu_fsm.c:204 sub_pres_vlr_fsm(001010000000001)[0x5555558ccad0]{SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR)
20180226173527488 DVLR <000e> vlr_lu_fsm.c:204 sub_pres_vlr_fsm(001010000000001)[0x5555558ccad0]{SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]
20180226173527488 DVLR <000e> vlr_lu_fsm.c:204 sub_pres_vlr_fsm(001010000000001)[0x5555558ccad0]{SUB_PRES_VLR_S_DONE}: Freeing instance
20180226173527488 DVLR <000e> fsm.c:344 sub_pres_vlr_fsm(001010000000001)[0x5555558ccad0]{SUB_PRES_VLR_S_DONE}: Deallocated
20180226173527488 DVLR <000e> vlr_lu_fsm.c:204 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL
20180226173527488 DVLR <000e> vlr_lu_fsm.c:407 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_WAIT_SUB_PRES}: lu_compl_vlr_new_tmsi()
20180226173527488 DVLR <000e> vlr_lu_fsm.c:416 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF
20180226173527488 DMM <0002> gsm_04_08.c:254 -> MSISDN:1111 LOCATION UPDATE ACCEPT (TMSI = 0x5e182add)
20180226173527488 DREF <000a> vlr.c:876 VLR subscr MSISDN:1111 usage decreases to: 1
20180226173527958 DREF <000a> osmo_msc.c:106 MSISDN:1111: MSC conn use + dtap == 2 (0x6)
20180226173527958 DMM <0002> gsm_04_08.c:1074 TMSI Reallocation Completed. Subscriber: MSISDN:1111
20180226173527958 DVLR <000e> vlr.c:948 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK
20180226173527958 DVLR <000e> vlr_lu_fsm.c:1213 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK
20180226173527958 DREF <000a> vlr_lu_fsm.c:342 VLR subscr MSISDN:1111 usage increases to: 2
20180226173527958 DVLR <000e> vlr_lu_fsm.c:332 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE
20180226173527958 DVLR <000e> vlr_lu_fsm.c:366 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS
20180226173527958 DVLR <000e> vlr_lu_fsm.c:741 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT)
20180226173527958 DVLR <000e> vlr_lu_fsm.c:741 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(001010000000001)[0x5555558cc750]
20180226173527958 DVLR <000e> vlr_lu_fsm.c:741 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_DONE}: Freeing instance
20180226173527958 DVLR <000e> fsm.c:344 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_DONE}: Deallocated
20180226173527958 DVLR <000e> vlr_lu_fsm.c:708 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE
20180226173527958 DMM <0002> vlr_lu_fsm.c:700 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED
20180226173527958 DMM <0002> subscr_conn.c:78 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU
20180226173527958 DMM <0002> subscr_conn.c:85 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED
20180226173527963 DMM <0002> subscr_conn.c:133 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP
20180226173527963 DMM <0002> subscr_conn.c:169 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn
20180226173527963 DMM <0002> subscr_conn.c:170 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED
20180226173527963 DMM <0002> subscr_conn.c:245 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR)
20180226173527963 DVLR <000e> subscr_conn.c:245 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT)
20180226173527963 DVLR <000e> subscr_conn.c:245 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(001010000000001)[0x5555558cc620]
20180226173527963 DVLR <000e> vlr_lu_fsm.c:1370 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT
20180226173527963 DVLR <000e> subscr_conn.c:245 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_DONE}: Freeing instance
20180226173527963 DVLR <000e> fsm.c:344 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_DONE}: Deallocated
20180226173527963 DMM <0002> subscr_conn.c:227 Closing connection 0x00000000
20180226173527963 DMM <0002> osmo_msc.c:310 msc_subscr_conn_close(vsub=MSISDN:1111, cause=2): no conn fsm, releasing directly without release event.
20180226173527963 DREF <000a> subscr_conn.c:230 MSISDN:1111: MSC conn use - fsm == 1 (0x2)
20180226173527963 DMM <0002> subscr_conn.c:245 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_RELEASED}: Freeing instance
20180226173527963 DMM <0002> fsm.c:344 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_RELEASED}: Deallocated
20180226173527963 DREF <000a> osmo_msc.c:111 MSISDN:1111: MSC conn use - dtap == 0 (0x0)
20180226173527963 DREF <000a> osmo_msc.c:231 VLR subscr MSISDN:1111 usage decreases to: 1
20180226173533151 DREF <000a> osmo_msc.c:71 unknown: MSC conn use + compl_l3 == 1 (0x1)
20180226173533151 DMM <0002> gsm_04_08.c:708 <- CM SERVICE REQUEST serv_type=0x01 MI(TMSI)=1578642141
20180226173533151 DREF <000a> subscr_conn.c:344 unknown: MSC conn use + fsm == 2 (0x5)
20180226173533151 DMM <0002> fsm.c:262 Subscr_Conn(1578642141)[0x5555558cc620]{SUBSCR_CONN_S_INIT}: Allocated
20180226173533151 DMM <0002> subscr_conn.c:352 Opened connection 0x00000001
20180226173533151 DMM <0002> subscr_conn.c:354 Subscr_Conn(1578642141)[0x5555558cc620]{SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START
20180226173533151 DMM <0002> subscr_conn.c:67 Subscr_Conn(1578642141)[0x5555558cc620]{SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW
20180226173533151 DVLR <000e> fsm.c:262 Process_Access_Request_VLR(1578642141)[0x5555558cc750]{PR_ARQ_S_INIT}: Allocated
20180226173533151 DVLR <000e> fsm.c:292 Process_Access_Request_VLR(1578642141)[0x5555558cc750]{PR_ARQ_S_INIT}: is child of Subscr_Conn(1578642141)[0x5555558cc620]
20180226173533151 DVLR <000e> vlr_access_req_fsm.c:690 Process_Access_Request_VLR(1578642141)[0x5555558cc750]{PR_ARQ_S_INIT}: rev=GSM net=GERAN (no Auth)
20180226173533151 DVLR <000e> vlr_access_req_fsm.c:716 Process_Access_Request_VLR(1578642141)[0x5555558cc750]{PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START
20180226173533151 DREF <000a> vlr_access_req_fsm.c:355 VLR subscr MSISDN:1111 usage increases to: 2
20180226173533151 DREF <000a> gsm_04_08.c:3726 VLR subscr MSISDN:1111 usage increases to: 3
20180226173533151 DVLR <000e> vlr_access_req_fsm.c:323 Process_Access_Request_VLR(1578642141)[0x5555558cc750]{PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi()
20180226173533151 DVLR <000e> vlr_access_req_fsm.c:288 Process_Access_Request_VLR(1578642141)[0x5555558cc750]{PR_ARQ_S_INIT}: _proc_arq_vlr_node2()
20180226173533151 DVLR <000e> vlr_access_req_fsm.c:255 Process_Access_Request_VLR(1578642141)[0x5555558cc750]{PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_ciph()
20180226173533151 DVLR <000e> vlr_access_req_fsm.c:227 Process_Access_Request_VLR(1578642141)[0x5555558cc750]{PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_vlr()
20180226173533151 DVLR <000e> vlr_access_req_fsm.c:212 Process_Access_Request_VLR(1578642141)[0x5555558cc750]{PR_ARQ_S_INIT}: _proc_arq_vlr_post_pres()
20180226173533151 DVLR <000e> vlr_access_req_fsm.c:196 Process_Access_Request_VLR(1578642141)[0x5555558cc750]{PR_ARQ_S_INIT}: _proc_arq_vlr_post_trace()
20180226173533151 DVLR <000e> vlr_access_req_fsm.c:174 Process_Access_Request_VLR(1578642141)[0x5555558cc750]{PR_ARQ_S_INIT}: _proc_arq_vlr_post_imei()
20180226173533151 DVLR <000e> vlr_access_req_fsm.c:187 Process_Access_Request_VLR(1578642141)[0x5555558cc750]{PR_ARQ_S_INIT}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED)
20180226173533151 DVLR <000e> vlr_access_req_fsm.c:109 Process_Access_Request_VLR(1578642141)[0x5555558cc750]{PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_DONE
20180226173533151 DVLR <000e> vlr_access_req_fsm.c:119 Process_Access_Request_VLR(1578642141)[0x5555558cc750]{PR_ARQ_S_DONE}: Process Access Request result: VLR_PR_ARQ_RES_PASSED
20180226173533151 DMM <0002> msc_ifaces.c:96 -> CM SERVICE ACCEPT MSISDN:1111
20180226173533151 DMM <0002> vlr_access_req_fsm.c:158 Subscr_Conn(1578642141)[0x5555558cc620]{SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED
20180226173533151 DMM <0002> subscr_conn.c:78 Subscr_Conn(1578642141)[0x5555558cc620]{SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_CM_SERVICE_REQ
20180226173533151 DMM <0002> subscr_conn.c:85 Subscr_Conn(1578642141)[0x5555558cc620]{SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED
20180226173533156 DMM <0002> subscr_conn.c:130 Subscr_Conn(1578642141)[0x5555558cc620]{SUBSCR_CONN_S_ACCEPTED}: received_cm_service_request = true
20180226173533156 DMM <0002> subscr_conn.c:133 Subscr_Conn(1578642141)[0x5555558cc620]{SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP
20180226173533156 DMM <0002> subscr_conn.c:147 Subscr_Conn(1578642141)[0x5555558cc620]{SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request
20180226173533156 DREF <000a> vlr_access_req_fsm.c:371 VLR subscr MSISDN:1111 usage decreases to: 2
20180226173533156 DMM <0002> osmo_msc.c:63 Subscr_Conn(1578642141)[0x5555558cc620]{SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP
20180226173533156 DMM <0002> subscr_conn.c:147 Subscr_Conn(1578642141)[0x5555558cc620]{SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request
20180226173533156 DREF <000a> osmo_msc.c:78 MSISDN:1111: MSC conn use - compl_l3 == 1 (0x4)
20180226173533607 DREF <000a> osmo_msc.c:106 MSISDN:1111: MSC conn use + dtap == 2 (0x6)
20180226173533607 DREF <000a> transaction.c:102 VLR subscr MSISDN:1111 usage increases to: 3
20180226173533607 DREF <000a> gsm_04_08.c:3269 MSISDN:1111: MSC conn use + trans_cc == 3 (0xe)
20180226173533607 DMM <0002> gsm_04_08.c:3346 MSISDN:1111: rx msg GSM48_MT_CC_SETUP: received_cm_service_request changes to false
20180226173533607 DMM <0002> subscr_conn.c:376 Subscr_Conn(1578642141)[0x5555558cc620]{SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING
20180226173533607 DMM <0002> subscr_conn.c:183 Subscr_Conn(1578642141)[0x5555558cc620]{SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING
20180226173533607 DMM <0002> osmo_msc.c:63 Subscr_Conn(1578642141)[0x5555558cc620]{SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP
20180226173533607 DMM <0002> subscr_conn.c:165 Subscr_Conn(1578642141)[0x5555558cc620]{SUBSCR_CONN_S_COMMUNICATING}: bump: connection still has active transaction: CC
20180226173533607 DREF <000a> osmo_msc.c:111 MSISDN:1111: MSC conn use - dtap == 2 (0xc)
20180226173533610 DBSSAP <0010> a_iface_bssap.c:423 (subscr MSISDN:1111, conn_id 1) Rx BSSMAP ASSIGNMENT FAILURE message
20180226173534262 DREF <000a> osmo_msc.c:106 MSISDN:1111: MSC conn use + dtap == 3 (0xe)
20180226173534262 DRLL <0000> gsm_04_08.c:3456 MSISDN:1111: Discarding duplicate L3 message
20180226173534262 DMM <0002> osmo_msc.c:63 Subscr_Conn(1578642141)[0x5555558cc620]{SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP
20180226173534262 DMM <0002> subscr_conn.c:165 Subscr_Conn(1578642141)[0x5555558cc620]{SUBSCR_CONN_S_COMMUNICATING}: bump: connection still has active transaction: CC
20180226173534262 DREF <000a> osmo_msc.c:111 MSISDN:1111: MSC conn use - dtap == 2 (0xc)

At this point, both transaction and connection are present in VTY output:

OsmoMSC> show transaction
------------Subscriber --ConnId -P TI -CallRef Proto
           MSISDN:1111 00000001 CC 08 80000001 RELEASE_REQ  776    1
OsmoMSC> show connection
--ConnId ------------Subscriber RAN --LAC Use --Tokens C A5 State
00000001            MSISDN:1111   A    23   2 0000000c - /0 SUBSCR_CONN_S_COMMUNICATING
20180226173553607 DMGCP <0007> msc_mgcp.c:492 MGW(MGW_8)[0x5555558cc880]{ST_MDCX_CN}: unexpected connection teardown -- graceful shutdown...
20180226173553608 DREF <000a> transaction.c:138 VLR subscr MSISDN:1111 usage decreases to: 2
20180226173553608 DREF <000a> transaction.c:145 MSISDN:1111: MSC conn use - trans_cc == 1 (0x4)

At this point, transaction has disappeared but connection is still present

OsmoMSC> show transaction
------------Subscriber --ConnId -P TI -CallRef Proto
OsmoMSC> show connection
--ConnId ------------Subscriber RAN --LAC Use --Tokens C A5 State
00000001            MSISDN:1111   A    23   1 00000004 - /0 SUBSCR_CONN_S_COMMUNICATING

Running 'show fsm-instance all' might now crash the process, but here is one instance where it didn't:

OsmoMSC# show fsm-instances all
FSM Instance Name: 'SCCP-SCOC(1)[0x5555558ca5c0]', ID: '1'
 Log-Level: 'DEBUG', State: 'ACTIVE'
FSM Instance Name: 'XUA_AS(as-clnt-OsmoMSC-A)[0x5555558cce10]', ID: 'as-clnt-OsmoMSC-A'
 Log-Level: 'DEBUG', State: 'AS_ACTIVE'
FSM Instance Name: 'XUA_ASP(asp-clnt-OsmoMSC-A)[0x5555558a1b00]', ID: 'asp-clnt-OsmoMSC-A'
 Log-Level: 'DEBUG', State: 'ASP_ACTIVE'
FSM Instance Name: 'xua_default_lm(asp-clnt-OsmoMSC-A)[0x5555558ddf30]', ID: 'asp-clnt-OsmoMSC-A'
 Log-Level: 'DEBUG', State: 'ACTIVE'
 Timer: 2
FSM Instance Name: 'Process_Access_Request_VLR(1578642141)[0x5555558cc750]', ID: '1578642141'
 Log-Level: 'DEBUG', State: 'PR_ARQ_S_DONE'
 Parent: 'Subscr_Conn(1578642141)[0x5555558cc620]', Term-Event: 'SUBSCR_CONN_E_CN_CLOSE'
FSM Instance Name: 'Subscr_Conn(1578642141)[0x5555558cc620]', ID: '1578642141'
 Log-Level: 'DEBUG', State: 'SUBSCR_CONN_S_COMMUNICATING'
 Child: ''
FSM Instance Name: 'A-RESET(bsc-187)[0x5555558a3750]', ID: 'bsc-187'
 Log-Level: 'DEBUG', State: 'CONN'
OsmoMSC#

#13 Updated by stsp 5 months ago

Same situation with 'loglevel cc debug' added:

stsp@fintan:~/osmo/v$ gdb --args ~/osmo/prefix/bin/osmo-msc -c osmo-msc.cfg
Reading symbols from /home/stsp/osmo/prefix/bin/osmo-msc...done.
(gdb) run
Starting program: /home/stsp/osmo/prefix/bin/osmo-msc -c osmo-msc.cfg
20180226181044845 DLGLOBAL <0011> telnet_interface.c:104 telnet at 127.0.0.1 4254
20180226181044845 DSMPP <000c> smpp_smsc.c:1000 SMPP at 0.0.0.0 2775
20180226181044845 DLCTRL <0018> control_if.c:854 CTRL at 127.0.0.1 4255
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
20180226181044915 DLGSUP <001b> gsup_client.c:76 GSUP connecting to 127.0.0.1:4222
20180226181044931 DLSCCP <001e> sccp_user.c:370 OsmoMSC-A: Creating SS7 instance
20180226181044931 DLSCCP <001e> sccp_user.c:397 OsmoMSC-A: Using SS7 instance 0, pc:0.23.1
20180226181044931 DLSCCP <001e> sccp_user.c:411 OsmoMSC-A: Creating AS instance
20180226181044931 DLSCCP <001e> sccp_user.c:421 OsmoMSC-A: Using AS instance as-clnt-OsmoMSC-A
20180226181044931 DLSCCP <001e> sccp_user.c:426 OsmoMSC-A: Creating default route
20180226181044931 DLSCCP <001e> sccp_user.c:446 OsmoMSC-A: Creating ASP instance
20180226181044931 DLSCCP <001e> sccp_user.c:481 OsmoMSC-A: Using ASP instance asp-clnt-OsmoMSC-A
20180226181044931 DLSCCP <001e> sccp_user.c:484 OsmoMSC-A: Creating SCCP instance
20180226181044931 DBSSAP <0010> a_iface.c:630 Initalizing SCCP connection to stp...
20180226181044931 DLINP <0013> input/ipa.c:131 127.0.0.1:4222 connection done
20180226181044931 DLINP <0013> input/ipaccess.c:708 received ID get from 0/0/0
20180226181046934 DLM3UA <0020> m3ua.c:633 asp-asp-clnt-OsmoMSC-A: Received NOTIFY Type State Change:AS Inactive ()
20180226181046935 DLSS7 <001d> xua_default_lm_fsm.c:352 xua_default_lm(asp-clnt-OsmoMSC-A)[0x5555558ddf30]{ACTIVE}: Ignoring primitive M-ASP_ACTIVE.confirm
20180226181046935 DLM3UA <0020> m3ua.c:633 asp-asp-clnt-OsmoMSC-A: Received NOTIFY Type State Change:AS Active ()
20180226181048744 DBSSAP <0010> a_iface.c:138 The calling BSC (RI=SSN_PC,PC=0.23.3,SSN=BSSAP) is unknown to this MSC ...
20180226181048744 DBSSAP <0010> a_iface.c:458 Adding new BSC connection for BSC RI=SSN_PC,PC=0.23.3,SSN=BSSAP...
20180226181048744 DBSSAP <0010> a_iface_bssap.c:115 Rx BSSMAP RESET from BSC RI=SSN_PC,PC=0.23.3,SSN=BSSAP, sending RESET ACK
20180226181055215 DREF <000a> osmo_msc.c:71 unknown: MSC conn use + compl_l3 == 1 (0x1)
20180226181055215 DREF <000a> subscr_conn.c:344 unknown: MSC conn use + fsm == 2 (0x5)
20180226181055215 DMM <0002> fsm.c:262 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_INIT}: Allocated
20180226181055215 DMM <0002> subscr_conn.c:352 Opened connection 0x00000000
20180226181055215 DMM <0002> subscr_conn.c:354 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START
20180226181055215 DMM <0002> subscr_conn.c:67 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW
20180226181055215 DMM <0002> gsm_04_08.c:344 LOCATION UPDATING REQUEST: MI(IMSI)=001010000000001 type=NORMAL
20180226181055215 DMM <0002> gsm_04_08.c:389 LU/new-LAC: 65534/23
20180226181055215 DVLR <000e> fsm.c:262 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_IDLE}: Allocated
20180226181055215 DVLR <000e> fsm.c:292 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_IDLE}: is child of Subscr_Conn(001010000000001)[0x5555558cc620]
20180226181055215 DVLR <000e> vlr_lu_fsm.c:1437 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth)
20180226181055215 DVLR <000e> vlr_lu_fsm.c:1443 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA
20180226181055215 DREF <000a> vlr_lu_fsm.c:954 VLR subscr unknown usage increases to: 1
20180226181055215 DVLR <000e> vlr.c:378 set IMSI on subscriber; IMSI=001010000000001 id=1010000000001
20180226181055215 DVLR <000e> vlr.c:337 New subscr, IMSI: 001010000000001
20180226181055215 DREF <000a> gsm_04_08.c:3726 VLR subscr IMSI:001010000000001 usage increases to: 2
20180226181055215 DREF <000a> vlr_lu_fsm.c:968 VLR subscr IMSI:001010000000001 usage decreases to: 1
20180226181055215 DVLR <000e> vlr_lu_fsm.c:855 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_IDLE}: vlr_loc_upd_node1()
20180226181055215 DVLR <000e> vlr_lu_fsm.c:822 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth()
20180226181055215 DVLR <000e> vlr_lu_fsm.c:790 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph()
20180226181055215 DVLR <000e> vlr_lu_fsm.c:751 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_IDLE}: vlr_loc_upd_node_4()
20180226181055215 DVLR <000e> vlr_lu_fsm.c:760 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD
20180226181055215 DVLR <000e> fsm.c:262 upd_hlr_vlr_fsm(001010000000001)[0x5555558cc880]{UPD_HLR_VLR_S_INIT}: Allocated
20180226181055215 DVLR <000e> fsm.c:292 upd_hlr_vlr_fsm(001010000000001)[0x5555558cc880]{UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(001010000000001)[0x5555558cc750]
20180226181055215 DVLR <000e> vlr_lu_fsm.c:167 upd_hlr_vlr_fsm(001010000000001)[0x5555558cc880]{UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START
20180226181055215 DVLR <000e> vlr.c:147 GSUP tx: 04010800010100000000f1
20180226181055215 DVLR <000e> vlr_lu_fsm.c:84 upd_hlr_vlr_fsm(001010000000001)[0x5555558cc880]{UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA
20180226181055215 DMM <0002> osmo_msc.c:60 IMSI:001010000000001: bump: conn still being established (SUBSCR_CONN_S_NEW)
20180226181055215 DREF <000a> osmo_msc.c:78 IMSI:001010000000001: MSC conn use - compl_l3 == 1 (0x4)
20180226181055216 DVLR <000e> vlr.c:809 GSUP rx 16: 10010800010100000000f10803021111
20180226181055216 DREF <000a> vlr.c:830 VLR subscr IMSI:001010000000001 usage increases to: 2
20180226181055216 DVLR <000e> vlr.c:665 IMSI:001010000000001 has MSISDN:1111
20180226181055216 DVLR <000e> gsm_04_08.c:3717 SUBSCR(MSISDN:1111) VLR: update for IMSI=001010000000001 (MSISDN=1111, used=2)
20180226181055216 DVLR <000e> vlr.c:147 GSUP tx: 12010800010100000000f1
20180226181055216 DREF <000a> vlr.c:876 VLR subscr MSISDN:1111 usage decreases to: 1
20180226181055216 DVLR <000e> vlr.c:809 GSUP rx 11: 06010800010100000000f1
20180226181055216 DREF <000a> vlr.c:830 VLR subscr MSISDN:1111 usage increases to: 2
20180226181055216 DVLR <000e> vlr.c:755 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES
20180226181055216 DVLR <000e> vlr_lu_fsm.c:1170 upd_hlr_vlr_fsm(001010000000001)[0x5555558cc880]{UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK
20180226181055216 DVLR <000e> vlr_lu_fsm.c:106 upd_hlr_vlr_fsm(001010000000001)[0x5555558cc880]{UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE
20180226181055216 DVLR <000e> vlr_lu_fsm.c:107 upd_hlr_vlr_fsm(001010000000001)[0x5555558cc880]{UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR)
20180226181055216 DVLR <000e> vlr_lu_fsm.c:107 upd_hlr_vlr_fsm(001010000000001)[0x5555558cc880]{UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(001010000000001)[0x5555558cc750]
20180226181055216 DVLR <000e> vlr_lu_fsm.c:107 upd_hlr_vlr_fsm(001010000000001)[0x5555558cc880]{UPD_HLR_VLR_S_DONE}: Freeing instance
20180226181055216 DVLR <000e> fsm.c:344 upd_hlr_vlr_fsm(001010000000001)[0x5555558cc880]{UPD_HLR_VLR_S_DONE}: Deallocated
20180226181055216 DVLR <000e> vlr_lu_fsm.c:107 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL
20180226181055216 DVLR <000e> vlr_lu_fsm.c:1178 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL
20180226181055217 DVLR <000e> fsm.c:262 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_INIT}: Allocated
20180226181055217 DVLR <000e> fsm.c:292 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(001010000000001)[0x5555558cc750]
20180226181055217 DVLR <000e> vlr_lu_fsm.c:733 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START
20180226181055217 DVLR <000e> vlr_lu_fsm.c:396 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES
20180226181055217 DVLR <000e> fsm.c:262 sub_pres_vlr_fsm(001010000000001)[0x5555558ccad0]{SUB_PRES_VLR_S_INIT}: Allocated
20180226181055217 DVLR <000e> fsm.c:292 sub_pres_vlr_fsm(001010000000001)[0x5555558ccad0]{SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]
20180226181055217 DVLR <000e> vlr_lu_fsm.c:280 sub_pres_vlr_fsm(001010000000001)[0x5555558ccad0]{SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START
20180226181055217 DVLR <000e> vlr_lu_fsm.c:203 sub_pres_vlr_fsm(001010000000001)[0x5555558ccad0]{SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE
20180226181055217 DVLR <000e> vlr_lu_fsm.c:204 sub_pres_vlr_fsm(001010000000001)[0x5555558ccad0]{SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR)
20180226181055217 DVLR <000e> vlr_lu_fsm.c:204 sub_pres_vlr_fsm(001010000000001)[0x5555558ccad0]{SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]
20180226181055217 DVLR <000e> vlr_lu_fsm.c:204 sub_pres_vlr_fsm(001010000000001)[0x5555558ccad0]{SUB_PRES_VLR_S_DONE}: Freeing instance
20180226181055217 DVLR <000e> fsm.c:344 sub_pres_vlr_fsm(001010000000001)[0x5555558ccad0]{SUB_PRES_VLR_S_DONE}: Deallocated
20180226181055217 DVLR <000e> vlr_lu_fsm.c:204 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL
20180226181055217 DVLR <000e> vlr_lu_fsm.c:407 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_WAIT_SUB_PRES}: lu_compl_vlr_new_tmsi()
20180226181055217 DVLR <000e> vlr_lu_fsm.c:416 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF
20180226181055217 DMM <0002> gsm_04_08.c:254 -> MSISDN:1111 LOCATION UPDATE ACCEPT (TMSI = 0x36b33e7a)
20180226181055217 DREF <000a> vlr.c:876 VLR subscr MSISDN:1111 usage decreases to: 1
20180226181055685 DREF <000a> osmo_msc.c:106 MSISDN:1111: MSC conn use + dtap == 2 (0x6)
20180226181055685 DMM <0002> gsm_04_08.c:1074 TMSI Reallocation Completed. Subscriber: MSISDN:1111
20180226181055685 DVLR <000e> vlr.c:948 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK
20180226181055685 DVLR <000e> vlr_lu_fsm.c:1213 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK
20180226181055685 DREF <000a> vlr_lu_fsm.c:342 VLR subscr MSISDN:1111 usage increases to: 2
20180226181055685 DVLR <000e> vlr_lu_fsm.c:332 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE
20180226181055685 DVLR <000e> vlr_lu_fsm.c:366 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS
20180226181055685 DVLR <000e> vlr_lu_fsm.c:741 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT)
20180226181055685 DVLR <000e> vlr_lu_fsm.c:741 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(001010000000001)[0x5555558cc750]
20180226181055685 DVLR <000e> vlr_lu_fsm.c:741 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_DONE}: Freeing instance
20180226181055686 DVLR <000e> fsm.c:344 lu_compl_vlr_fsm(001010000000001)[0x5555558cc880]{LU_COMPL_VLR_S_DONE}: Deallocated
20180226181055686 DVLR <000e> vlr_lu_fsm.c:708 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE
20180226181055686 DMM <0002> vlr_lu_fsm.c:700 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED
20180226181055686 DMM <0002> subscr_conn.c:78 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU
20180226181055686 DMM <0002> subscr_conn.c:85 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED
20180226181055690 DMM <0002> subscr_conn.c:133 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP
20180226181055690 DMM <0002> subscr_conn.c:169 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn
20180226181055690 DMM <0002> subscr_conn.c:170 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED
20180226181055690 DMM <0002> subscr_conn.c:245 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR)
20180226181055690 DVLR <000e> subscr_conn.c:245 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT)
20180226181055690 DVLR <000e> subscr_conn.c:245 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(001010000000001)[0x5555558cc620]
20180226181055690 DVLR <000e> vlr_lu_fsm.c:1370 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT
20180226181055690 DVLR <000e> subscr_conn.c:245 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_DONE}: Freeing instance
20180226181055690 DVLR <000e> fsm.c:344 vlr_lu_fsm(001010000000001)[0x5555558cc750]{VLR_ULA_S_DONE}: Deallocated
20180226181055690 DMM <0002> subscr_conn.c:227 Closing connection 0x00000000
20180226181055690 DMM <0002> osmo_msc.c:310 msc_subscr_conn_close(vsub=MSISDN:1111, cause=2): no conn fsm, releasing directly without release event.
20180226181055690 DREF <000a> subscr_conn.c:230 MSISDN:1111: MSC conn use - fsm == 1 (0x2)
20180226181055690 DMM <0002> subscr_conn.c:245 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_RELEASED}: Freeing instance
20180226181055690 DMM <0002> fsm.c:344 Subscr_Conn(001010000000001)[0x5555558cc620]{SUBSCR_CONN_S_RELEASED}: Deallocated
20180226181055690 DREF <000a> osmo_msc.c:111 MSISDN:1111: MSC conn use - dtap == 0 (0x0)
20180226181055690 DREF <000a> osmo_msc.c:231 VLR subscr MSISDN:1111 usage decreases to: 1
20180226181059931 DREF <000a> osmo_msc.c:71 unknown: MSC conn use + compl_l3 == 1 (0x1)
20180226181059931 DMM <0002> gsm_04_08.c:708 <- CM SERVICE REQUEST serv_type=0x01 MI(TMSI)=917716602
20180226181059931 DREF <000a> subscr_conn.c:344 unknown: MSC conn use + fsm == 2 (0x5)
20180226181059931 DMM <0002> fsm.c:262 Subscr_Conn(917716602)[0x5555558cc620]{SUBSCR_CONN_S_INIT}: Allocated
20180226181059931 DMM <0002> subscr_conn.c:352 Opened connection 0x00000001
20180226181059931 DMM <0002> subscr_conn.c:354 Subscr_Conn(917716602)[0x5555558cc620]{SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START
20180226181059931 DMM <0002> subscr_conn.c:67 Subscr_Conn(917716602)[0x5555558cc620]{SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW
20180226181059931 DVLR <000e> fsm.c:262 Process_Access_Request_VLR(917716602)[0x5555558cc750]{PR_ARQ_S_INIT}: Allocated
20180226181059931 DVLR <000e> fsm.c:292 Process_Access_Request_VLR(917716602)[0x5555558cc750]{PR_ARQ_S_INIT}: is child of Subscr_Conn(917716602)[0x5555558cc620]
20180226181059931 DVLR <000e> vlr_access_req_fsm.c:690 Process_Access_Request_VLR(917716602)[0x5555558cc750]{PR_ARQ_S_INIT}: rev=GSM net=GERAN (no Auth)
20180226181059931 DVLR <000e> vlr_access_req_fsm.c:716 Process_Access_Request_VLR(917716602)[0x5555558cc750]{PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START
20180226181059931 DREF <000a> vlr_access_req_fsm.c:355 VLR subscr MSISDN:1111 usage increases to: 2
20180226181059931 DREF <000a> gsm_04_08.c:3726 VLR subscr MSISDN:1111 usage increases to: 3
20180226181059931 DVLR <000e> vlr_access_req_fsm.c:323 Process_Access_Request_VLR(917716602)[0x5555558cc750]{PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi()
20180226181059931 DVLR <000e> vlr_access_req_fsm.c:288 Process_Access_Request_VLR(917716602)[0x5555558cc750]{PR_ARQ_S_INIT}: _proc_arq_vlr_node2()
20180226181059931 DVLR <000e> vlr_access_req_fsm.c:255 Process_Access_Request_VLR(917716602)[0x5555558cc750]{PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_ciph()
20180226181059932 DVLR <000e> vlr_access_req_fsm.c:227 Process_Access_Request_VLR(917716602)[0x5555558cc750]{PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_vlr()
20180226181059932 DVLR <000e> vlr_access_req_fsm.c:212 Process_Access_Request_VLR(917716602)[0x5555558cc750]{PR_ARQ_S_INIT}: _proc_arq_vlr_post_pres()
20180226181059932 DVLR <000e> vlr_access_req_fsm.c:196 Process_Access_Request_VLR(917716602)[0x5555558cc750]{PR_ARQ_S_INIT}: _proc_arq_vlr_post_trace()
20180226181059932 DVLR <000e> vlr_access_req_fsm.c:174 Process_Access_Request_VLR(917716602)[0x5555558cc750]{PR_ARQ_S_INIT}: _proc_arq_vlr_post_imei()
20180226181059932 DVLR <000e> vlr_access_req_fsm.c:187 Process_Access_Request_VLR(917716602)[0x5555558cc750]{PR_ARQ_S_INIT}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED)
20180226181059932 DVLR <000e> vlr_access_req_fsm.c:109 Process_Access_Request_VLR(917716602)[0x5555558cc750]{PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_DONE
20180226181059932 DVLR <000e> vlr_access_req_fsm.c:119 Process_Access_Request_VLR(917716602)[0x5555558cc750]{PR_ARQ_S_DONE}: Process Access Request result: VLR_PR_ARQ_RES_PASSED
20180226181059932 DMM <0002> msc_ifaces.c:96 -> CM SERVICE ACCEPT MSISDN:1111
20180226181059932 DMM <0002> vlr_access_req_fsm.c:158 Subscr_Conn(917716602)[0x5555558cc620]{SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED
20180226181059932 DMM <0002> subscr_conn.c:78 Subscr_Conn(917716602)[0x5555558cc620]{SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_CM_SERVICE_REQ
20180226181059932 DMM <0002> subscr_conn.c:85 Subscr_Conn(917716602)[0x5555558cc620]{SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED
20180226181059935 DMM <0002> subscr_conn.c:130 Subscr_Conn(917716602)[0x5555558cc620]{SUBSCR_CONN_S_ACCEPTED}: received_cm_service_request = true
20180226181059935 DMM <0002> subscr_conn.c:133 Subscr_Conn(917716602)[0x5555558cc620]{SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP
20180226181059935 DMM <0002> subscr_conn.c:147 Subscr_Conn(917716602)[0x5555558cc620]{SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request
20180226181059935 DREF <000a> vlr_access_req_fsm.c:371 VLR subscr MSISDN:1111 usage decreases to: 2
20180226181059935 DMM <0002> osmo_msc.c:63 Subscr_Conn(917716602)[0x5555558cc620]{SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP
20180226181059936 DMM <0002> subscr_conn.c:147 Subscr_Conn(917716602)[0x5555558cc620]{SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request
20180226181059936 DREF <000a> osmo_msc.c:78 MSISDN:1111: MSC conn use - compl_l3 == 1 (0x4)
20180226181100392 DREF <000a> osmo_msc.c:106 MSISDN:1111: MSC conn use + dtap == 2 (0x6)
20180226181100392 DCC <0001> gsm_04_08.c:3256 Unknown transaction ID 8, creating new trans.
20180226181100392 DCC <0001> transaction.c:96 (ti 08 sub MSISDN:1111 callref 80000001) New transaction
20180226181100392 DREF <000a> transaction.c:102 VLR subscr MSISDN:1111 usage increases to: 3
20180226181100392 DREF <000a> gsm_04_08.c:3269 MSISDN:1111: MSC conn use + trans_cc == 3 (0xe)
20180226181100393 DMM <0002> gsm_04_08.c:3346 MSISDN:1111: rx msg GSM48_MT_CC_SETUP: received_cm_service_request changes to false
20180226181100393 DCC <0001> gsm_04_08.c:1306 (ti 08 sub MSISDN:1111) new state NULL -> INITIATED
20180226181100393 DCC <0001> gsm_04_08.c:1715 Subscriber MSISDN:1111 (1111) sends SETUP to 0001
20180226181100393 DCC <0001> gsm_04_08.c:1381 Sending 'MNCC_SETUP_IND' to MNCC.
20180226181100393 DCC <0001> gsm_04_08.c:3148 (ti 08 sub 1111) Received 'MNCC_CALL_PROC_REQ' from MNCC in state 1 (INITIATED)
20180226181100393 DCC <0001> gsm_04_08.c:1306 (ti 08 sub MSISDN:1111) new state INITIATED -> MO_CALL_PROC
20180226181100393 DCC <0001> gsm_04_08.c:3148 (ti 08 sub 1111) Received 'MNCC_LCHAN_MODIFY' from MNCC in state 3 (MO_CALL_PROC)
20180226181100393 DCC <0001> gsm_04_08.c:3157 Message unhandled at this state.
20180226181100393 DCC <0001> gsm_04_08.c:3046 (bts - trx - ts - ti -- sub 0001) Received 'MNCC_SETUP_REQ' from MNCC with unknown subscriber 0001
20180226181100393 DCC <0001> gsm_04_08.c:1381 Sending 'MNCC_REL_IND' to MNCC.
20180226181100393 DCC <0001> gsm_04_08.c:3148 (ti 08 sub 1111) Received 'MNCC_REL_REQ' from MNCC in state 3 (MO_CALL_PROC)
20180226181100393 DCC <0001> gsm_04_08.c:1625 starting timer T308 with 10 seconds
20180226181100393 DCC <0001> gsm_04_08.c:1306 (ti 08 sub MSISDN:1111) new state MO_CALL_PROC -> RELEASE_REQ
20180226181100393 DMM <0002> subscr_conn.c:376 Subscr_Conn(917716602)[0x5555558cc620]{SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING
20180226181100393 DMM <0002> subscr_conn.c:183 Subscr_Conn(917716602)[0x5555558cc620]{SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING
20180226181100393 DMM <0002> osmo_msc.c:63 Subscr_Conn(917716602)[0x5555558cc620]{SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP
20180226181100393 DMM <0002> subscr_conn.c:165 Subscr_Conn(917716602)[0x5555558cc620]{SUBSCR_CONN_S_COMMUNICATING}: bump: connection still has active transaction: CC
20180226181100393 DREF <000a> osmo_msc.c:111 MSISDN:1111: MSC conn use - dtap == 2 (0xc)
20180226181100396 DBSSAP <0010> a_iface_bssap.c:423 (subscr MSISDN:1111, conn_id 1) Rx BSSMAP ASSIGNMENT FAILURE message
20180226181101150 DREF <000a> osmo_msc.c:106 MSISDN:1111: MSC conn use + dtap == 3 (0xe)
20180226181101150 DRLL <0000> gsm_04_08.c:3456 MSISDN:1111: Discarding duplicate L3 message
20180226181101150 DMM <0002> osmo_msc.c:63 Subscr_Conn(917716602)[0x5555558cc620]{SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP
20180226181101150 DMM <0002> subscr_conn.c:165 Subscr_Conn(917716602)[0x5555558cc620]{SUBSCR_CONN_S_COMMUNICATING}: bump: connection still has active transaction: CC
20180226181101150 DREF <000a> osmo_msc.c:111 MSISDN:1111: MSC conn use - dtap == 2 (0xc)
20180226181110394 DCC <0001> gsm_04_08.c:1625 starting timer T308 with 10 seconds
20180226181120394 DMGCP <0007> msc_mgcp.c:492 MGW(MGW_8)[0x5555558cc880]{ST_MDCX_CN}: unexpected connection teardown -- graceful shutdown...
20180226181120394 DCC <0001> gsm_04_08.c:3148 (ti 08 sub 1111) Received 'MNCC_REL_REQ' from MNCC in state 19 (RELEASE_REQ)
20180226181120394 DCC <0001> gsm_04_08.c:3157 Message unhandled at this state.
20180226181120394 DCC <0001> gsm_04_08.c:1381 Sending 'MNCC_REL_CNF' to MNCC.
20180226181120394 DCC <0001> gsm_04_08.c:1306 (ti 08 sub MSISDN:1111) new state RELEASE_REQ -> NULL
20180226181120394 DREF <000a> transaction.c:138 VLR subscr MSISDN:1111 usage decreases to: 2
20180226181120394 DREF <000a> transaction.c:145 MSISDN:1111: MSC conn use - trans_cc == 1 (0x4)

#14 Updated by neels 4 months ago

stsp and I came up with http://git.osmocom.org/osmo-msc/log/?h=neels/os2779
leaving up to stsp to wrap up and submit to gerrit
(that first patch on the branch is unrelated http://git.osmocom.org/osmo-msc/commit/?h=neels/os2779&id=4bc0c0f0f8212f0c16171679dbc1bbed27056e45 )

#15 Updated by stsp 4 months ago

  • Assignee changed from stsp to neels

Assigning to Neels after discussing with him. There's nothing meaningful left to contribute here for me.

#16 Updated by neels 4 months ago

  • % Done changed from 0 to 60

https://gerrit.osmocom.org/7303 not merged yet. Some ongoing discussion / pending review of subscr conn FSM.
For me it makes sense to merge this patch; even though a review of the FSM might change the details, there should be a release trigger in trans_free().

#17 Updated by neels 4 months ago

  • Subject changed from OsmoBSC memory leak on SCCP connections to OsmoMSC not closing subscriber connection when calling unknown number (may appear like OsmoBSC memory leak on SCCP connections)
  • Status changed from In Progress to Resolved
  • % Done changed from 60 to 100

the patch is merged

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)