-
Notifications
You must be signed in to change notification settings - Fork 1
/
mem.log
executable file
·102 lines (102 loc) · 7.11 KB
/
mem.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
==8231== Memcheck, a memory error detector
==8231== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==8231== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==8231== Command: ./Debug/Ats
==8231== Parent PID: 6325
==8231==
==8231== Mismatched free() / delete / delete []
==8231== at 0x4C2A18D: operator delete(void*) (vg_replace_malloc.c:576)
==8231== by 0x569EB11: __tcf_0 (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x6B03DB9: __cxa_finalize (cxa_finalize.c:55)
==8231== by 0x561E985: ??? (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x57D3ED0: ??? (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x6B03A48: __run_exit_handlers (exit.c:77)
==8231== by 0x6B03A94: exit (exit.c:99)
==8231== by 0x6AECB3B: (below main) (libc-start.c:308)
==8231== Address 0x74be620 is 0 bytes inside a block of size 424 alloc'd
==8231== at 0x4C298A8: operator new[](unsigned long) (vg_replace_malloc.c:423)
==8231== by 0x569E8A4: __static_initialization_and_destruction_0(int, int) (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x57D3EB5: ??? (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x561DF4F: ??? (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231==
==8231== Mismatched free() / delete / delete []
==8231== at 0x4C2A18D: operator delete(void*) (vg_replace_malloc.c:576)
==8231== by 0x5DD5451: __tcf_0 (in /home/ruanbo/Codes/Ats/ctp/libthostmduserapi.so)
==8231== by 0x6B03DB9: __cxa_finalize (cxa_finalize.c:55)
==8231== by 0x5D55F45: ??? (in /home/ruanbo/Codes/Ats/ctp/libthostmduserapi.so)
==8231== by 0x5E1B930: ??? (in /home/ruanbo/Codes/Ats/ctp/libthostmduserapi.so)
==8231== by 0x6B03A48: __run_exit_handlers (exit.c:77)
==8231== by 0x6B03A94: exit (exit.c:99)
==8231== by 0x6AECB3B: (below main) (libc-start.c:308)
==8231== Address 0x74b4300 is 0 bytes inside a block of size 424 alloc'd
==8231== at 0x4C298A8: operator new[](unsigned long) (vg_replace_malloc.c:423)
==8231== by 0x5DD51E4: __static_initialization_and_destruction_0(int, int) (in /home/ruanbo/Codes/Ats/ctp/libthostmduserapi.so)
==8231== by 0x5E1B915: ??? (in /home/ruanbo/Codes/Ats/ctp/libthostmduserapi.so)
==8231== by 0x5D5573A: ??? (in /home/ruanbo/Codes/Ats/ctp/libthostmduserapi.so)
==8231==
==8231==
==8231== HEAP SUMMARY:
==8231== in use at exit: 20,592 bytes in 6 blocks
==8231== total heap usage: 3,420 allocs, 3,414 frees, 211,384 bytes allocated
==8231==
==8231== 24 bytes in 1 blocks are still reachable in loss record 1 of 6
==8231== at 0x4C29203: operator new(unsigned long) (vg_replace_malloc.c:334)
==8231== by 0x5D57933: __static_initialization_and_destruction_0(int, int) (in /home/ruanbo/Codes/Ats/ctp/libthostmduserapi.so)
==8231== by 0x5E1B915: ??? (in /home/ruanbo/Codes/Ats/ctp/libthostmduserapi.so)
==8231== by 0x5D5573A: ??? (in /home/ruanbo/Codes/Ats/ctp/libthostmduserapi.so)
==8231==
==8231== 24 bytes in 1 blocks are still reachable in loss record 2 of 6
==8231== at 0x4C29203: operator new(unsigned long) (vg_replace_malloc.c:334)
==8231== by 0x5620373: __static_initialization_and_destruction_0(int, int) (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x57D3EB5: ??? (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x561DF4F: ??? (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231==
==8231== 32 bytes in 1 blocks are still reachable in loss record 3 of 6
==8231== at 0x4C28BE3: malloc (vg_replace_malloc.c:299)
==8231== by 0x5711AA2: CRYPTO_malloc (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x572D720: sk_new (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x56F5153: load_builtin_compressions (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x56F5358: SSL_COMP_get_compression_methods (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x56F92E5: SSL_library_init (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x5638A87: CSslNetworkFactory::CSslNetworkFactory() (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x5638B03: __static_initialization_and_destruction_0(int, int) (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x57D3EB5: ??? (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x561DF4F: ??? (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231==
==8231== 32 bytes in 1 blocks are still reachable in loss record 4 of 6
==8231== at 0x4C28BE3: malloc (vg_replace_malloc.c:299)
==8231== by 0x5711AA2: CRYPTO_malloc (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x572D73E: sk_new (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x56F5153: load_builtin_compressions (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x56F5358: SSL_COMP_get_compression_methods (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x56F92E5: SSL_library_init (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x5638A87: CSslNetworkFactory::CSslNetworkFactory() (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x5638B03: __static_initialization_and_destruction_0(int, int) (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x57D3EB5: ??? (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x561DF4F: ??? (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231==
==8231== 10,240 bytes in 1 blocks are still reachable in loss record 5 of 6
==8231== at 0x4C28BE3: malloc (vg_replace_malloc.c:299)
==8231== by 0x5D5E20C: CMemory::newBlock() (in /home/ruanbo/Codes/Ats/ctp/libthostmduserapi.so)
==8231== by 0x5D5E5B1: CMemory::CMemory(int) (in /home/ruanbo/Codes/Ats/ctp/libthostmduserapi.so)
==8231== by 0x5D5E607: __static_initialization_and_destruction_0(int, int) (in /home/ruanbo/Codes/Ats/ctp/libthostmduserapi.so)
==8231== by 0x5E1B915: ??? (in /home/ruanbo/Codes/Ats/ctp/libthostmduserapi.so)
==8231== by 0x5D5573A: ??? (in /home/ruanbo/Codes/Ats/ctp/libthostmduserapi.so)
==8231==
==8231== 10,240 bytes in 1 blocks are still reachable in loss record 6 of 6
==8231== at 0x4C28BE3: malloc (vg_replace_malloc.c:299)
==8231== by 0x5626C4C: CMemory::newBlock() (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x5626FF1: CMemory::CMemory(int) (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x5627047: __static_initialization_and_destruction_0(int, int) (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x57D3EB5: ??? (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231== by 0x561DF4F: ??? (in /home/ruanbo/Codes/Ats/ctp/libthosttraderapi.so)
==8231==
==8231== LEAK SUMMARY:
==8231== definitely lost: 0 bytes in 0 blocks
==8231== indirectly lost: 0 bytes in 0 blocks
==8231== possibly lost: 0 bytes in 0 blocks
==8231== still reachable: 20,592 bytes in 6 blocks
==8231== suppressed: 0 bytes in 0 blocks
==8231==
==8231== For counts of detected and suppressed errors, rerun with: -v
==8231== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)