forked from gabrielmm1234/jvm-sb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
logfile.out
132 lines (132 loc) · 7.61 KB
/
logfile.out
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
==4053== Memcheck, a memory error detector
==4053== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==4053== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==4053== Command: ./jvm.exe HelloWorld.class 0
==4053== Parent PID: 2358
==4053==
--4053--
--4053-- Valgrind options:
--4053-- --leak-check=full
--4053-- --log-file=logfile.out
--4053-- -v
--4053-- Contents of /proc/version:
--4053-- Linux version 3.19.0-30-generic (buildd@lgw01-54) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #34~14.04.1-Ubuntu SMP Fri Oct 2 22:10:15 UTC 2015
--4053-- Arch and hwcaps: X86, LittleEndian, x86-mmxext-sse1-sse2
--4053-- Page sizes: currently 4096, max supported 4096
--4053-- Valgrind library directory: /usr/lib/valgrind
--4053-- Reading syms from /lib/i386-linux-gnu/ld-2.19.so
--4053-- Considering /lib/i386-linux-gnu/ld-2.19.so ..
--4053-- .. CRC mismatch (computed 19686c0d wanted 131a893d)
--4053-- Considering /usr/lib/debug/lib/i386-linux-gnu/ld-2.19.so ..
--4053-- .. CRC is valid
--4053-- Reading syms from /home/gabriel/Desktop/UnB/SB/jvm/jvm.exe
--4053-- Reading syms from /usr/lib/valgrind/memcheck-x86-linux
--4053-- Considering /usr/lib/valgrind/memcheck-x86-linux ..
--4053-- .. CRC mismatch (computed a1851f40 wanted a7f53555)
--4053-- object doesn't have a symbol table
--4053-- object doesn't have a dynamic symbol table
--4053-- Scheduler: using generic scheduler lock implementation.
--4053-- Reading suppressions file: /usr/lib/valgrind/default.supp
==4053== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-4053-by-gabriel-on-???
==4053== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-4053-by-gabriel-on-???
==4053== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-4053-by-gabriel-on-???
==4053==
==4053== TO CONTROL THIS PROCESS USING vgdb (which you probably
==4053== don't want to do, unless you know exactly what you're doing,
==4053== or are doing some strange experiment):
==4053== /usr/lib/valgrind/../../bin/vgdb --pid=4053 ...command...
==4053==
==4053== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==4053== /path/to/gdb ./jvm.exe
==4053== and then give GDB the following command
==4053== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=4053
==4053== --pid is optional if only one valgrind process is running
==4053==
--4053-- REDIR: 0x4017ed0 (ld-linux.so.2:strlen) redirected to 0x380755e2 (???)
--4053-- REDIR: 0x4017ce0 (ld-linux.so.2:index) redirected to 0x380755bd (???)
--4053-- Reading syms from /usr/lib/valgrind/vgpreload_core-x86-linux.so
--4053-- Considering /usr/lib/valgrind/vgpreload_core-x86-linux.so ..
--4053-- .. CRC mismatch (computed d3e3f8e8 wanted ff94bb6b)
--4053-- object doesn't have a symbol table
--4053-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so
--4053-- Considering /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so ..
--4053-- .. CRC mismatch (computed 3a29cef8 wanted 4be4f0fe)
--4053-- object doesn't have a symbol table
==4053== WARNING: new redirection conflicts with existing -- ignoring it
--4053-- old: 0x04017ed0 (strlen ) R-> (0000.0) 0x380755e2 ???
--4053-- new: 0x04017ed0 (strlen ) R-> (2007.0) 0x0402d480 strlen
--4053-- Reading syms from /lib/i386-linux-gnu/libm-2.19.so
--4053-- Considering /lib/i386-linux-gnu/libm-2.19.so ..
--4053-- .. CRC mismatch (computed e79387ba wanted 6c7b6053)
--4053-- Considering /usr/lib/debug/lib/i386-linux-gnu/libm-2.19.so ..
--4053-- .. CRC is valid
--4053-- Reading syms from /lib/i386-linux-gnu/libc-2.19.so
--4053-- Considering /lib/i386-linux-gnu/libc-2.19.so ..
--4053-- .. CRC mismatch (computed da700b2f wanted 551922c7)
--4053-- Considering /usr/lib/debug/lib/i386-linux-gnu/libc-2.19.so ..
--4053-- .. CRC is valid
--4053-- REDIR: 0x4112de0 (libc.so.6:strnlen) redirected to 0x4024580 (_vgnU_ifunc_wrapper)
--4053-- REDIR: 0x4114d90 (libc.so.6:strncasecmp) redirected to 0x4024580 (_vgnU_ifunc_wrapper)
--4053-- REDIR: 0x411a710 (libc.so.6:memrchr) redirected to 0x4024580 (_vgnU_ifunc_wrapper)
--4053-- REDIR: 0x412d750 (libc.so.6:wcslen) redirected to 0x4024580 (_vgnU_ifunc_wrapper)
--4053-- REDIR: 0x4112f90 (libc.so.6:__GI_strrchr) redirected to 0x402ce50 (__GI_strrchr)
--4053-- REDIR: 0x4112d20 (libc.so.6:__GI_strlen) redirected to 0x402d400 (__GI_strlen)
--4053-- REDIR: 0x4112650 (libc.so.6:strcpy) redirected to 0x4024580 (_vgnU_ifunc_wrapper)
--4053-- REDIR: 0x411b030 (libc.so.6:__strcpy_ssse3) redirected to 0x402d4c0 (strcpy)
--4053-- REDIR: 0x4116cd0 (libc.so.6:strchrnul) redirected to 0x4030e50 (strchrnul)
--4053-- REDIR: 0x410ed10 (libc.so.6:realloc) redirected to 0x402c2b0 (realloc)
--4053-- REDIR: 0x410efd0 (libc.so.6:calloc) redirected to 0x402c090 (calloc)
--4053-- REDIR: 0x410e6b0 (libc.so.6:malloc) redirected to 0x402a110 (malloc)
--4053-- REDIR: 0x4113b60 (libc.so.6:strstr) redirected to 0x4031460 (strstr)
--4053-- REDIR: 0x4114f50 (libc.so.6:__GI_memcpy) redirected to 0x402f090 (__GI_memcpy)
--4053-- REDIR: 0x4112580 (libc.so.6:strcmp) redirected to 0x4024580 (_vgnU_ifunc_wrapper)
--4053-- REDIR: 0x41d1ad0 (libc.so.6:__strcmp_ssse3) redirected to 0x402e5b0 (strcmp)
--4053-- REDIR: 0x410ec60 (libc.so.6:free) redirected to 0x402b370 (free)
==4053==
==4053== HEAP SUMMARY:
==4053== in use at exit: 823 bytes in 35 blocks
==4053== total heap usage: 41 allocs, 6 frees, 1,235 bytes allocated
==4053==
==4053== Searching for pointers to 35 not-freed blocks
==4053== Checked 71,208 bytes
==4053==
==4053== 4 bytes in 1 blocks are definitely lost in loss record 4 of 15
==4053== at 0x402C109: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4053== by 0x80489AC: carregaMemClasse (carregador.c:75)
==4053== by 0x8051079: main (main.c:81)
==4053==
==4053== 8 bytes in 1 blocks are definitely lost in loss record 5 of 15
==4053== at 0x402A17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4053== by 0x8048B46: retornaNome (carregador.c:135)
==4053== by 0x804EDEF: invokevirtual (instrucao.c:1806)
==4053== by 0x804C530: executarInstrucoes (instrucao.c:51)
==4053== by 0x805124D: executaFrameCorrente (metodo.c:88)
==4053== by 0x80510BD: main (main.c:104)
==4053==
==4053== 20 bytes in 1 blocks are definitely lost in loss record 8 of 15
==4053== at 0x402A17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4053== by 0x8048B46: retornaNome (carregador.c:135)
==4053== by 0x804ED6F: invokevirtual (instrucao.c:1798)
==4053== by 0x804C530: executarInstrucoes (instrucao.c:51)
==4053== by 0x805124D: executaFrameCorrente (metodo.c:88)
==4053== by 0x80510BD: main (main.c:104)
==4053==
==4053== 22 bytes in 1 blocks are definitely lost in loss record 9 of 15
==4053== at 0x402A17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4053== by 0x8048B46: retornaNome (carregador.c:135)
==4053== by 0x804EE0A: invokevirtual (instrucao.c:1808)
==4053== by 0x804C530: executarInstrucoes (instrucao.c:51)
==4053== by 0x805124D: executaFrameCorrente (metodo.c:88)
==4053== by 0x80510BD: main (main.c:104)
==4053==
==4053== LEAK SUMMARY:
==4053== definitely lost: 54 bytes in 4 blocks
==4053== indirectly lost: 0 bytes in 0 blocks
==4053== possibly lost: 0 bytes in 0 blocks
==4053== still reachable: 769 bytes in 31 blocks
==4053== suppressed: 0 bytes in 0 blocks
==4053== Reachable blocks (those to which a pointer was found) are not shown.
==4053== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==4053==
==4053== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
==4053== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)