1 relaying data between gdb and process ....
2 vgdb
-error value changed from
0 to
999999
3 Breakpoint
1 at
0x........
: file leak
-tree.c
, line
42.
4 Breakpoint
2 at
0x........
: file leak
-tree.c
, line
67.
6 Breakpoint
1, f
() at leak
-tree.c
:42
9 Breakpoint
2, main
() at leak
-tree.c
:67
10 67 PRINT_LEAK_COUNTS
(stderr
);
11 Searching
for pointers to
0x........
12 *0x........ points at
0x........
13 Address
0x........ is
0 bytes inside data symbol
"t"
15 16 bytes in
1 blocks are still reachable in loss record ... of ...
16 at
0x........
: malloc
(vg_replace_malloc.c
:...
)
17 by
0x........
: mk
(leak
-tree.c
:28)
18 by
0x........
: f
(leak
-tree.c
:41)
19 by
0x........
: main
(leak
-tree.c
:63)
20 16 bytes in
1 blocks are still reachable in loss record ... of ...
21 at
0x........
: malloc
(vg_replace_malloc.c
:...
)
22 by
0x........
: mk
(leak
-tree.c
:28)
23 by
0x........
: f
(leak
-tree.c
:42)
24 by
0x........
: main
(leak
-tree.c
:63)
25 16 bytes in
1 blocks are still reachable in loss record ... of ...
26 at
0x........
: malloc
(vg_replace_malloc.c
:...
)
27 by
0x........
: mk
(leak
-tree.c
:28)
28 by
0x........
: f
(leak
-tree.c
:45)
29 by
0x........
: main
(leak
-tree.c
:63)
30 16 bytes in
1 blocks are indirectly lost in loss record ... of ...
31 at
0x........
: malloc
(vg_replace_malloc.c
:...
)
32 by
0x........
: mk
(leak
-tree.c
:28)
33 by
0x........
: f
(leak
-tree.c
:46)
34 by
0x........
: main
(leak
-tree.c
:63)
35 16 bytes in
1 blocks are indirectly lost in loss record ... of ...
36 at
0x........
: malloc
(vg_replace_malloc.c
:...
)
37 by
0x........
: mk
(leak
-tree.c
:28)
38 by
0x........
: f
(leak
-tree.c
:47)
39 by
0x........
: main
(leak
-tree.c
:63)
40 16 bytes in
1 blocks are definitely lost in loss record ... of ...
41 at
0x........
: malloc
(vg_replace_malloc.c
:...
)
42 by
0x........
: mk
(leak
-tree.c
:28)
43 by
0x........
: f
(leak
-tree.c
:44)
44 by
0x........
: main
(leak
-tree.c
:63)
45 48 (16 direct
, 32 indirect
) bytes in
1 blocks are definitely lost in loss record ... of ...
46 at
0x........
: malloc
(vg_replace_malloc.c
:...
)
47 by
0x........
: mk
(leak
-tree.c
:28)
48 by
0x........
: f
(leak
-tree.c
:43)
49 by
0x........
: main
(leak
-tree.c
:63)
51 16 bytes in
1 blocks are definitely lost in loss record ... of ...
52 at
0x........
: malloc
(vg_replace_malloc.c
:...
)
53 by
0x........
: mk
(leak
-tree.c
:28)
54 by
0x........
: f
(leak
-tree.c
:44)
55 by
0x........
: main
(leak
-tree.c
:63)
58 48 (16 direct
, 32 indirect
) bytes in
1 blocks are definitely lost in loss record ... of ...
59 at
0x........
: malloc
(vg_replace_malloc.c
:...
)
60 by
0x........
: mk
(leak
-tree.c
:28)
61 by
0x........
: f
(leak
-tree.c
:43)
62 by
0x........
: main
(leak
-tree.c
:63)
64 0x........
[16] indirect loss record
4
65 0x........
[16] indirect loss record
5
66 monitor command request to kill this process
67 Remote connection closed