Project

General

Profile

Actions

Bug #5354

closed

ttcn3-bts-test: memleaks after running the test suite

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

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

100%

Spec Reference:

Description

After running ttcn3-bts-test, I see the following chinks in talloc report:

Chunk 'sched_lchan_xcch.c:82'

$ osmo_interact_vty.py -H 127.0.0.1 -p 4241 -c "en; show talloc-context application full filter sched_lchan_xcch.c" | wc -l
427
$ osmo_interact_vty.py -H 127.0.0.1 -p 4241 -c "en; show talloc-context application full filter sched_lchan_xcch.c" 
full talloc report on 'OsmoBTS context' (total 4139819 bytes in 958 blocks)
  sched_lchan_xcch.c:82          contains    464 bytes in   1 blocks (ref 0) 0x616000023ae0
  sched_lchan_xcch.c:82          contains    464 bytes in   1 blocks (ref 0) 0x616000025be0
  sched_lchan_xcch.c:82          contains    464 bytes in   1 blocks (ref 0) 0x6160004a3ae0
  sched_lchan_xcch.c:82          contains    464 bytes in   1 blocks (ref 0) 0x6160004babe0
  sched_lchan_xcch.c:82          contains    464 bytes in   1 blocks (ref 0) 0x6160004a88e0
  sched_lchan_xcch.c:82          contains    464 bytes in   1 blocks (ref 0) 0x6160000276e0
  sched_lchan_xcch.c:82          contains    464 bytes in   1 blocks (ref 0) 0x61600002a6e0
  sched_lchan_xcch.c:82          contains    464 bytes in   1 blocks (ref 0) 0x6160004f50e0
  sched_lchan_xcch.c:82          contains    464 bytes in   1 blocks (ref 0) 0x61600047b2e0
  sched_lchan_xcch.c:82          contains    464 bytes in   1 blocks (ref 0) 0x61600047c4e0
  sched_lchan_xcch.c:82          contains    464 bytes in   1 blocks (ref 0) 0x6160004806e0
  sched_lchan_xcch.c:82          contains    464 bytes in   1 blocks (ref 0) 0x61600047eee0
...

Chunk 'cbch.c:201'

osmo_interact_vty.py -H 127.0.0.1 -p 4241 -c "en; show talloc-context application full filter cbch.c:201" | wc -l
37
osmo_interact_vty.py -H 127.0.0.1 -p 4241 -c "en; show talloc-context application full filter cbch.c:201" 
full talloc report on 'OsmoBTS context' (total 4139819 bytes in 958 blocks)
    cbch.c:201                     contains    112 bytes in   1 blocks (ref 0) 0x611000014960
    cbch.c:201                     contains    112 bytes in   1 blocks (ref 0) 0x611000014820
    cbch.c:201                     contains    112 bytes in   1 blocks (ref 0) 0x6110000146e0
    cbch.c:201                     contains    112 bytes in   1 blocks (ref 0) 0x6110000145a0
    cbch.c:201                     contains    112 bytes in   1 blocks (ref 0) 0x611000014460
    cbch.c:201                     contains    112 bytes in   1 blocks (ref 0) 0x611000014320
    cbch.c:201                     contains    112 bytes in   1 blocks (ref 0) 0x6110000141e0
    cbch.c:201                     contains    112 bytes in   1 blocks (ref 0) 0x6110000140a0
    cbch.c:201                     contains    112 bytes in   1 blocks (ref 0) 0x611000013ba0
    cbch.c:201                     contains    112 bytes in   1 blocks (ref 0) 0x611000013920
    cbch.c:201                     contains    112 bytes in   1 blocks (ref 0) 0x6110000136a0
    cbch.c:201                     contains    112 bytes in   1 blocks (ref 0) 0x611000013560
    cbch.c:201                     contains    112 bytes in   1 blocks (ref 0) 0x611000013420
    cbch.c:201                     contains    112 bytes in   1 blocks (ref 0) 0x6110000131a0
    cbch.c:201                     contains    112 bytes in   1 blocks (ref 0) 0x611000012f20
...

Chunk 'struct tlv_parsed'

$ osmo_interact_vty.py -H 127.0.0.1 -p 4241 -c "en; show talloc-context application full filter tlv_parsed" | wc -l
40
$ osmo_interact_vty.py -H 127.0.0.1 -p 4241 -c "en; show talloc-context application full filter tlv_parsed" 
    struct tlv_parsed              contains   4106 bytes in   3 blocks (ref 0) 0x55d5028a6320
    struct tlv_parsed              contains   4117 bytes in   7 blocks (ref 0) 0x55d5028a52b0
    struct tlv_parsed              contains   4116 bytes in   4 blocks (ref 0) 0x55d5028a4240
    struct tlv_parsed              contains   4098 bytes in   3 blocks (ref 0) 0x55d5028a31d0
    struct tlv_parsed              contains   4098 bytes in   3 blocks (ref 0) 0x55d5028a2160
    struct tlv_parsed              contains   4098 bytes in   3 blocks (ref 0) 0x55d5028a10f0
    struct tlv_parsed              contains   4098 bytes in   3 blocks (ref 0) 0x55d5028a0080
    struct tlv_parsed              contains   4098 bytes in   3 blocks (ref 0) 0x55d50289f010
    struct tlv_parsed              contains   4098 bytes in   3 blocks (ref 0) 0x55d50289dfa0
    struct tlv_parsed              contains   4098 bytes in   3 blocks (ref 0) 0x55d50289cf30
...

Checklist

  • Chunk 'sched_lchan_xcch.c:82'
  • Chunk 'cbch.c:201'
  • Chunk 'struct tlv_parsed'

Related issues

Related to Core testing infrastructure - Bug #5893: debian-buster-jenkins-arm image runs out of date jenkins_bts_model.shRejectedfixeria02/06/2023

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)