1
|
==21696== Memcheck, a memory error detector
|
2
|
==21696== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
|
3
|
==21696== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
|
4
|
==21696== Command: osmo-msc -c osmo-msc.cfg
|
5
|
==21696==
|
6
|
<0011> telnet_interface.c:104 telnet at 127.0.0.1 4254
|
7
|
[0;m<000c> smpp_smsc.c:1000 SMPP at 0.0.0.0 2775
|
8
|
[0;m<0018> control_if.c:854 CTRL at 127.0.0.1 4255
|
9
|
[0;m<001b> gsup_client.c:76 GSUP connecting to 127.0.0.1:4222
|
10
|
[0;m<001e> sccp_user.c:370 OsmoMSC-A: Creating SS7 instance
|
11
|
[0;m<001e> sccp_user.c:397 OsmoMSC-A: Using SS7 instance 0, pc:0.23.1
|
12
|
[0;m<001e> sccp_user.c:411 OsmoMSC-A: Creating AS instance
|
13
|
[0;m<001e> sccp_user.c:421 OsmoMSC-A: Using AS instance as-clnt-OsmoMSC-A
|
14
|
[0;m<001e> sccp_user.c:426 OsmoMSC-A: Creating default route
|
15
|
[0;m<001e> sccp_user.c:446 OsmoMSC-A: Creating ASP instance
|
16
|
[0;m<001e> sccp_user.c:481 OsmoMSC-A: Using ASP instance asp-clnt-OsmoMSC-A
|
17
|
[0;m<001e> sccp_user.c:484 OsmoMSC-A: Creating SCCP instance
|
18
|
[0;m<0010> a_iface.c:630 Initalizing SCCP connection to stp...
|
19
|
[0;m<0013> input/ipa.c:131 127.0.0.1:4222 connection done
|
20
|
[0;m<0013> input/ipaccess.c:708 received ID get from 0/0/0
|
21
|
[0;m<0020> m3ua.c:633 asp-asp-clnt-OsmoMSC-A: Received NOTIFY Type State Change:AS Inactive ()
|
22
|
[0;m<001d> xua_default_lm_fsm.c:352 xua_default_lm(asp-clnt-OsmoMSC-A)[0x8484f70]{ACTIVE}: Ignoring primitive M-ASP_ACTIVE.confirm
|
23
|
[0;m<0020> m3ua.c:633 asp-asp-clnt-OsmoMSC-A: Received NOTIFY Type State Change:AS Active ()
|
24
|
[0;m<0010> a_iface.c:138 The calling BSC (RI=SSN_PC,PC=0.23.3,SSN=BSSAP) is unknown to this MSC ...
|
25
|
[0;m<0010> a_iface.c:458 Adding new BSC connection for BSC RI=SSN_PC,PC=0.23.3,SSN=BSSAP...
|
26
|
[0;m<0010> a_iface_bssap.c:115 Rx BSSMAP RESET from BSC RI=SSN_PC,PC=0.23.3,SSN=BSSAP, sending RESET ACK
|
27
|
[0;m<000e> fsm.c:262 vlr_lu_fsm(901700000000001)[0x84a58c0]{VLR_ULA_S_IDLE}: Allocated
|
28
|
[0;m<000e> fsm.c:292 vlr_lu_fsm(901700000000001)[0x84a58c0]{VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000000001)[0x84a55e0]
|
29
|
[0;m<000e> vlr_lu_fsm.c:1437 vlr_lu_fsm(901700000000001)[0x84a58c0]{VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth)
|
30
|
[0;m<000e> vlr_lu_fsm.c:1443 vlr_lu_fsm(901700000000001)[0x84a58c0]{VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA
|
31
|
[0;m<000e> vlr.c:378 set IMSI on subscriber; IMSI=901700000000001 id=901700000000001
|
32
|
[0;m<000e> vlr.c:337 New subscr, IMSI: 901700000000001
|
33
|
[0;m<000e> vlr_lu_fsm.c:855 vlr_lu_fsm(901700000000001)[0x84a58c0]{VLR_ULA_S_IDLE}: vlr_loc_upd_node1()
|
34
|
[0;m<000e> vlr_lu_fsm.c:822 vlr_lu_fsm(901700000000001)[0x84a58c0]{VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth()
|
35
|
[0;m<000e> vlr_lu_fsm.c:790 vlr_lu_fsm(901700000000001)[0x84a58c0]{VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph()
|
36
|
[0;m<000e> vlr_lu_fsm.c:751 vlr_lu_fsm(901700000000001)[0x84a58c0]{VLR_ULA_S_IDLE}: vlr_loc_upd_node_4()
|
37
|
[0;m<000e> vlr_lu_fsm.c:760 vlr_lu_fsm(901700000000001)[0x84a58c0]{VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD
|
38
|
[0;m<000e> fsm.c:262 upd_hlr_vlr_fsm(901700000000001)[0x84a6180]{UPD_HLR_VLR_S_INIT}: Allocated
|
39
|
[0;m<000e> fsm.c:292 upd_hlr_vlr_fsm(901700000000001)[0x84a6180]{UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000000001)[0x84a58c0]
|
40
|
[0;m<000e> vlr_lu_fsm.c:167 upd_hlr_vlr_fsm(901700000000001)[0x84a6180]{UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START
|
41
|
[0;m<000e> vlr.c:147 GSUP tx: 04010809710000000000f1
|
42
|
[0;m<000e> vlr_lu_fsm.c:84 upd_hlr_vlr_fsm(901700000000001)[0x84a6180]{UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA
|
43
|
[0;m<000e> vlr.c:809 GSUP rx 16: 10010809710000000000f108030288f8
|
44
|
[0;m<000e> vlr.c:665 IMSI:901700000000001 has MSISDN:888
|
45
|
[0;m<000e> gsm_04_08.c:3717 SUBSCR(MSISDN:888) VLR: update for IMSI=901700000000001 (MSISDN=888, used=2)
|
46
|
[0;m<000e> vlr.c:147 GSUP tx: 12010809710000000000f1
|
47
|
[0;m<000e> vlr.c:809 GSUP rx 11: 06010809710000000000f1
|
48
|
[0;m<000e> vlr.c:755 vlr_lu_fsm(901700000000001)[0x84a58c0]{VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES
|
49
|
[0;m<000e> vlr_lu_fsm.c:1170 upd_hlr_vlr_fsm(901700000000001)[0x84a6180]{UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK
|
50
|
[0;m<000e> vlr_lu_fsm.c:106 upd_hlr_vlr_fsm(901700000000001)[0x84a6180]{UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE
|
51
|
[0;m<000e> vlr_lu_fsm.c:107 upd_hlr_vlr_fsm(901700000000001)[0x84a6180]{UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR)
|
52
|
[0;m<000e> vlr_lu_fsm.c:107 upd_hlr_vlr_fsm(901700000000001)[0x84a6180]{UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000000001)[0x84a58c0]
|
53
|
[0;m<000e> vlr_lu_fsm.c:107 upd_hlr_vlr_fsm(901700000000001)[0x84a6180]{UPD_HLR_VLR_S_DONE}: Freeing instance
|
54
|
[0;m<000e> fsm.c:344 upd_hlr_vlr_fsm(901700000000001)[0x84a6180]{UPD_HLR_VLR_S_DONE}: Deallocated
|
55
|
[0;m<000e> vlr_lu_fsm.c:107 vlr_lu_fsm(901700000000001)[0x84a58c0]{VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL
|
56
|
[0;m<000e> vlr_lu_fsm.c:1178 vlr_lu_fsm(901700000000001)[0x84a58c0]{VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL
|
57
|
[0;m<000e> fsm.c:262 lu_compl_vlr_fsm(901700000000001)[0x84a9280]{LU_COMPL_VLR_S_INIT}: Allocated
|
58
|
[0;m<000e> fsm.c:292 lu_compl_vlr_fsm(901700000000001)[0x84a9280]{LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000000001)[0x84a58c0]
|
59
|
[0;m<000e> vlr_lu_fsm.c:733 lu_compl_vlr_fsm(901700000000001)[0x84a9280]{LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START
|
60
|
[0;m<000e> vlr_lu_fsm.c:396 lu_compl_vlr_fsm(901700000000001)[0x84a9280]{LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES
|
61
|
[0;m<000e> fsm.c:262 sub_pres_vlr_fsm(901700000000001)[0x84a9630]{SUB_PRES_VLR_S_INIT}: Allocated
|
62
|
[0;m<000e> fsm.c:292 sub_pres_vlr_fsm(901700000000001)[0x84a9630]{SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000000001)[0x84a9280]
|
63
|
[0;m<000e> vlr_lu_fsm.c:280 sub_pres_vlr_fsm(901700000000001)[0x84a9630]{SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START
|
64
|
[0;m<000e> vlr_lu_fsm.c:203 sub_pres_vlr_fsm(901700000000001)[0x84a9630]{SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE
|
65
|
[0;m<000e> vlr_lu_fsm.c:204 sub_pres_vlr_fsm(901700000000001)[0x84a9630]{SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR)
|
66
|
[0;m<000e> vlr_lu_fsm.c:204 sub_pres_vlr_fsm(901700000000001)[0x84a9630]{SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000000001)[0x84a9280]
|
67
|
[0;m<000e> vlr_lu_fsm.c:204 sub_pres_vlr_fsm(901700000000001)[0x84a9630]{SUB_PRES_VLR_S_DONE}: Freeing instance
|
68
|
[0;m<000e> fsm.c:344 sub_pres_vlr_fsm(901700000000001)[0x84a9630]{SUB_PRES_VLR_S_DONE}: Deallocated
|
69
|
[0;m<000e> vlr_lu_fsm.c:204 lu_compl_vlr_fsm(901700000000001)[0x84a9280]{LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL
|
70
|
[0;m<000e> vlr_lu_fsm.c:407 lu_compl_vlr_fsm(901700000000001)[0x84a9280]{LU_COMPL_VLR_S_WAIT_SUB_PRES}: lu_compl_vlr_new_tmsi()
|
71
|
[0;m==21696== Invalid read of size 4
|
72
|
==21696== at 0x7FDE404: pthread_mutex_lock (pthread_mutex_lock.c:66)
|
73
|
==21696== by 0x67A940B: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.28.30.1)
|
74
|
==21696== by 0x6839B06: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.28.30.1)
|
75
|
==21696== by 0x426588: vlr_subscr_alloc_tmsi (vlr.c:283)
|
76
|
==21696== by 0x42AE65: lu_compl_vlr_new_tmsi (vlr_lu_fsm.c:409)
|
77
|
==21696== by 0x56CD2BC: _osmo_fsm_inst_dispatch (fsm.c:507)
|
78
|
==21696== by 0x56CD2BC: _osmo_fsm_inst_dispatch (fsm.c:507)
|
79
|
==21696== by 0x56CD2BC: _osmo_fsm_inst_dispatch (fsm.c:507)
|
80
|
==21696== by 0x56CD2BC: _osmo_fsm_inst_dispatch (fsm.c:507)
|
81
|
==21696== by 0x56CD2BC: _osmo_fsm_inst_dispatch (fsm.c:507)
|
82
|
==21696== by 0x56CD2BC: _osmo_fsm_inst_dispatch (fsm.c:507)
|
83
|
==21696== by 0x4273CA: vlr_subscr_handle_lu_res (vlr.c:755)
|
84
|
==21696== by 0x4273CA: vlr_gsupc_read_cb (vlr.c:855)
|
85
|
==21696== Address 0x10 is not stack'd, malloc'd or (recently) free'd
|
86
|
==21696==
|
87
|
==21696==
|
88
|
==21696== Process terminating with default action of signal 11 (SIGSEGV)
|
89
|
==21696== Access not within mapped region at address 0x10
|
90
|
==21696== at 0x7FDE404: pthread_mutex_lock (pthread_mutex_lock.c:66)
|
91
|
==21696== by 0x67A940B: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.28.30.1)
|
92
|
==21696== by 0x6839B06: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.28.30.1)
|
93
|
==21696== by 0x426588: vlr_subscr_alloc_tmsi (vlr.c:283)
|
94
|
==21696== by 0x42AE65: lu_compl_vlr_new_tmsi (vlr_lu_fsm.c:409)
|
95
|
==21696== by 0x56CD2BC: _osmo_fsm_inst_dispatch (fsm.c:507)
|
96
|
==21696== by 0x56CD2BC: _osmo_fsm_inst_dispatch (fsm.c:507)
|
97
|
==21696== by 0x56CD2BC: _osmo_fsm_inst_dispatch (fsm.c:507)
|
98
|
==21696== by 0x56CD2BC: _osmo_fsm_inst_dispatch (fsm.c:507)
|
99
|
==21696== by 0x56CD2BC: _osmo_fsm_inst_dispatch (fsm.c:507)
|
100
|
==21696== by 0x56CD2BC: _osmo_fsm_inst_dispatch (fsm.c:507)
|
101
|
==21696== by 0x4273CA: vlr_subscr_handle_lu_res (vlr.c:755)
|
102
|
==21696== by 0x4273CA: vlr_gsupc_read_cb (vlr.c:855)
|
103
|
==21696== If you believe this happened as a result of a stack
|
104
|
==21696== overflow in your program's main thread (unlikely but
|
105
|
==21696== possible), you can try to increase the size of the
|
106
|
==21696== main thread stack using the --main-stacksize= flag.
|
107
|
==21696== The main thread stack size used in this run was 8388608.
|
108
|
==21696== Invalid free() / delete / delete[] / realloc()
|
109
|
==21696== at 0x4C2BDEC: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
|
110
|
==21696== by 0x6507E2B: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.19.so)
|
111
|
==21696== by 0x4A256BC: _vgnU_freeres (in /usr/lib/valgrind/vgpreload_core-amd64-linux.so)
|
112
|
==21696== by 0xEA: ???
|
113
|
==21696== by 0x67A940B: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.28.30.1)
|
114
|
==21696== by 0x6839B06: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.28.30.1)
|
115
|
==21696== by 0x426588: vlr_subscr_alloc_tmsi (vlr.c:283)
|
116
|
==21696== by 0x42AE65: lu_compl_vlr_new_tmsi (vlr_lu_fsm.c:409)
|
117
|
==21696== by 0x56CD2BC: _osmo_fsm_inst_dispatch (fsm.c:507)
|
118
|
==21696== by 0x56CD2BC: _osmo_fsm_inst_dispatch (fsm.c:507)
|
119
|
==21696== by 0x56CD2BC: _osmo_fsm_inst_dispatch (fsm.c:507)
|
120
|
==21696== by 0x56CD2BC: _osmo_fsm_inst_dispatch (fsm.c:507)
|
121
|
==21696== Address 0x67613c0 is 0 bytes inside data symbol "noai6ai_cached"
|
122
|
==21696==
|
123
|
==21696==
|
124
|
==21696== HEAP SUMMARY:
|
125
|
==21696== in use at exit: 983,271 bytes in 8,022 blocks
|
126
|
==21696== total heap usage: 13,618 allocs, 5,597 frees, 1,924,496 bytes allocated
|
127
|
==21696==
|
128
|
==21696== LEAK SUMMARY:
|
129
|
==21696== definitely lost: 408 bytes in 3 blocks
|
130
|
==21696== indirectly lost: 2,831 bytes in 24 blocks
|
131
|
==21696== possibly lost: 974,258 bytes in 7,879 blocks
|
132
|
==21696== still reachable: 5,774 bytes in 116 blocks
|
133
|
==21696== suppressed: 0 bytes in 0 blocks
|
134
|
==21696== Rerun with --leak-check=full to see details of leaked memory
|
135
|
==21696==
|
136
|
==21696== For counts of detected and suppressed errors, rerun with: -v
|
137
|
==21696== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
|