-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalgrind.log
More file actions
128 lines (128 loc) · 9.75 KB
/
valgrind.log
File metadata and controls
128 lines (128 loc) · 9.75 KB
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
==225659== Memcheck, a memory error detector
==225659== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
==225659== Using Valgrind-3.25.1-4441567fbe-20250520 and LibVEX; rerun with -h for copyright info
==225659== Command: ./build/sqlite sample.db .dbinfo
==225659== Parent PID: 225577
==225659==
--225659--
--225659-- Valgrind options:
--225659-- --leak-check=full
--225659-- --show-leak-kinds=all
--225659-- --track-origins=yes
--225659-- --verbose
--225659-- --log-file=valgrind.log
--225659-- Contents of /proc/version:
--225659-- Linux version 6.16.10-200.fc42.x86_64 (mockbuild@972f0dab0ea04e12a2a8e0d18dd0050d) (gcc (GCC) 15.2.1 20250808 (Red Hat 15.2.1-1), GNU ld version 2.44-6.fc42) #1 SMP PREEMPT_DYNAMIC Thu Oct 2 19:23:55 UTC 2025
--225659--
--225659-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma
--225659-- Page sizes: currently 4096, max supported 4096
--225659-- Valgrind library directory: /usr/libexec/valgrind
--225659-- Reading syms from /home/michael/Code/codecrafters/sqlite-c/build/sqlite
--225659-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2
--225659-- Warning: cross-CU LIMITATION: some inlined fn names
--225659-- might be shown as UnknownInlinedFun
--225659-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux
--225659-- object doesn't have a dynamic symbol table
--225659-- Scheduler: using generic scheduler lock implementation.
--225659-- Reading suppressions file: /usr/libexec/valgrind/default.supp
==225659== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-225659-by-michael-on-fedora-desktop
==225659== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-225659-by-michael-on-fedora-desktop
==225659== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-225659-by-michael-on-fedora-desktop
==225659==
==225659== TO CONTROL THIS PROCESS USING vgdb (which you probably
==225659== don't want to do, unless you know exactly what you're doing,
==225659== or are doing some strange experiment):
==225659== /usr/libexec/valgrind/../../bin/vgdb --pid=225659 ...command...
==225659==
==225659== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==225659== /path/to/gdb ./build/sqlite
==225659== and then give GDB the following command
==225659== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=225659
==225659== --pid is optional if only one valgrind process is running
==225659==
==225659== Downloading debug info for /usr/libexec/valgrind/memcheck-amd64-linux...
--225659-- Considering /home/michael/.cache/debuginfod_client/754e638d7d8e5a4ee6c2b5456c053a50d89ae698/debuginfo ..
--225659-- .. CRC is valid
==225659== Successfully downloaded debug file for /usr/libexec/valgrind/memcheck-amd64-linux
==225659== Downloading debug info for /home/michael/.cache/debuginfod_client/754e638d7d8e5a4ee6c2b5456c053a50d89ae698/debuginfo...
--225659-- Considering /home/michael/.cache/debuginfod_client/3e399a29d5322d083cfee11d8bb47ad6f1ef076b/debuginfo ..
--225659-- .. build-id is valid
==225659== Successfully downloaded debug file for /home/michael/.cache/debuginfod_client/754e638d7d8e5a4ee6c2b5456c053a50d89ae698/debuginfo
--225659-- REDIR: 0x4026960 (ld-linux-x86-64.so.2:strlen) redirected to 0x5823e2bd (vgPlain_amd64_linux_REDIR_FOR_strlen)
--225659-- REDIR: 0x4025320 (ld-linux-x86-64.so.2:strcmp) redirected to 0x5823e2d7 (vgPlain_amd64_linux_REDIR_FOR_strcmp)
--225659-- REDIR: 0x40250f0 (ld-linux-x86-64.so.2:index) redirected to 0x5823e310 (vgPlain_amd64_linux_REDIR_FOR_index)
--225659-- REDIR: 0x4024480 (ld-linux-x86-64.so.2:bcmp) redirected to 0x5823e2f2 (vgPlain_amd64_linux_REDIR_FOR_memcmp)
--225659-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so
--225659-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so
==225659== WARNING: new redirection conflicts with existing -- ignoring it
--225659-- old: 0x04025320 (strcmp ) R-> (0000.0) 0x5823e2d7 vgPlain_amd64_linux_REDIR_FOR_strcmp
--225659-- new: 0x04025320 (strcmp ) R-> (2016.0) 0x04849970 strcmp
==225659== WARNING: new redirection conflicts with existing -- ignoring it
--225659-- old: 0x04026960 (strlen ) R-> (0000.0) 0x5823e2bd vgPlain_amd64_linux_REDIR_FOR_strlen
--225659-- new: 0x04026960 (strlen ) R-> (2007.0) 0x04848540 strlen
--225659-- REDIR: 0x4024750 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x484e100 (mempcpy)
--225659-- Reading syms from /usr/lib64/libc.so.6
==225659== Downloading debug info for /usr/lib64/libc.so.6...
--225659-- Considering /home/michael/.cache/debuginfod_client/48c4b9b1efb1df15da8e787f489128bf31893317/debuginfo ..
--225659-- .. CRC is valid
==225659== Successfully downloaded debug file for /usr/lib64/libc.so.6
--225659-- REDIR: 0x4026b00 (ld-linux-x86-64.so.2:strncmp) redirected to 0x4849110 (strncmp)
--225659-- REDIR: 0x49078c0 (libc.so.6:strnlen) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4907940 (libc.so.6:strpbrk) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4905980 (libc.so.6:strcmp) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x491caf0 (libc.so.6:wcsnlen) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x49049e0 (libc.so.6:memset) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x491c1b0 (libc.so.6:wcslen) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x497e400 (libc.so.6:__memcpy_chk) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4904960 (libc.so.6:memrchr) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x491ca80 (libc.so.6:wcsncpy) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4903e70 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x491afe0 (libc.so.6:wcschr) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4905880 (libc.so.6:index) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4907970 (libc.so.6:rindex) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x491b080 (libc.so.6:wcscmp) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4904c30 (libc.so.6:stpncpy) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4928d60 (libc.so.6:wmemchr) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4907760 (libc.so.6:strncmp) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4904c90 (libc.so.6:strcasecmp) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4906a60 (libc.so.6:strcspn) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x491bf90 (libc.so.6:wcscpy) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4905810 (libc.so.6:strcat) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4907660 (libc.so.6:strncasecmp_l) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4905900 (libc.so.6:strchrnul) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4903d80 (libc.so.6:bcmp) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x49069f0 (libc.so.6:strcpy) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4904d30 (libc.so.6:strcasecmp_l) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4907540 (libc.so.6:strlen) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4907800 (libc.so.6:strncpy) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4928de0 (libc.so.6:wmemcmp) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x497e510 (libc.so.6:__memmove_chk) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
==225659== WARNING: new redirection conflicts with existing -- ignoring it
--225659-- old: 0x049c3e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x0484e210 __memcpy_chk
--225659-- new: 0x049c3e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x0484dae0 __memmove_chk
--225659-- REDIR: 0x4904bc0 (libc.so.6:stpcpy) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4904740 (libc.so.6:memmove) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
==225659== Preferring higher priority redirection:
--225659-- old: 0x049c3e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484b020 __memcpy_avx_unaligned_erms
--225659-- new: 0x049c3e40 (__memcpy_avx_unalign) R-> (2018.1) 0x0484cdb0 memmove
--225659-- REDIR: 0x4903d00 (libc.so.6:memchr) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4907b70 (libc.so.6:strspn) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x491abf0 (libc.so.6:wcpncpy) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x4904850 (libc.so.6:mempcpy) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x49075c0 (libc.so.6:strncasecmp) redirected to 0x483a4ba (_vgnU_ifunc_wrapper)
--225659-- REDIR: 0x49c8a70 (libc.so.6:__strrchr_avx2) redirected to 0x4847ca0 (rindex)
--225659-- REDIR: 0x48ffb10 (libc.so.6:malloc) redirected to 0x483eab0 (malloc)
--225659-- REDIR: 0x49c5fe0 (libc.so.6:__strchr_avx2) redirected to 0x4847f20 (index)
--225659-- REDIR: 0x4900260 (libc.so.6:free) redirected to 0x4841dd1 (free)
--225659-- REDIR: 0x49c3e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x484cdb0 (memmove)
--225659-- REDIR: 0x49c6410 (libc.so.6:__strcmp_avx2) redirected to 0x48497f0 (strcmp)
--225659-- REDIR: 0x49c6220 (libc.so.6:__strchrnul_avx2) redirected to 0x484db80 (strchrnul)
--225659-- REDIR: 0x49c3e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x484dcc0 (mempcpy)
==225659==
==225659== HEAP SUMMARY:
==225659== in use at exit: 0 bytes in 0 blocks
==225659== total heap usage: 3 allocs, 3 frees, 5,592 bytes allocated
==225659==
==225659== All heap blocks were freed -- no leaks are possible
==225659==
==225659== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)