Last active
September 30, 2015 08:55
-
-
Save toufik-airane/a45619e343ff6002bb5c to your computer and use it in GitHub Desktop.
Redis.io Valgrind log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@kali:~/Documents/redis-3.0.4# valgrind -v --trace-children=yes --leak-check=full ./src/redis-server | |
==64442== Memcheck, a memory error detector | |
==64442== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. | |
==64442== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info | |
==64442== Command: ./src/redis-server | |
==64442== | |
--64442-- Valgrind options: | |
--64442-- -v | |
--64442-- --trace-children=yes | |
--64442-- --leak-check=full | |
--64442-- Contents of /proc/version: | |
--64442-- Linux version 4.0.0-kali1-amd64 ([email protected]) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Debian 4.0.4-1+kali2 (2015-06-03) | |
--64442-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi | |
--64442-- Page sizes: currently 4096, max supported 4096 | |
--64442-- Valgrind library directory: /usr/lib/valgrind | |
--64442-- Reading syms from /root/Documents/redis-3.0.4/src/redis-server | |
--64442-- Reading syms from /lib/x86_64-linux-gnu/ld-2.19.so | |
--64442-- Considering /lib/x86_64-linux-gnu/ld-2.19.so .. | |
--64442-- .. CRC mismatch (computed a7f35eb3 wanted c33a8314) | |
--64442-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.19.so .. | |
--64442-- .. CRC is valid | |
--64442-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux | |
--64442-- Considering /usr/lib/valgrind/memcheck-amd64-linux .. | |
--64442-- .. CRC mismatch (computed fba1eb69 wanted cc7f300d) | |
--64442-- Considering /usr/lib/debug/usr/lib/valgrind/memcheck-amd64-linux .. | |
--64442-- .. CRC is valid | |
--64442-- object doesn't have a dynamic symbol table | |
--64442-- Scheduler: using generic scheduler lock implementation. | |
--64442-- Reading suppressions file: /usr/lib/valgrind/default.supp | |
==64442== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-64442-by-root-on-??? | |
==64442== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-64442-by-root-on-??? | |
==64442== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-64442-by-root-on-??? | |
==64442== | |
==64442== TO CONTROL THIS PROCESS USING vgdb (which you probably | |
==64442== don't want to do, unless you know exactly what you're doing, | |
==64442== or are doing some strange experiment): | |
==64442== /usr/lib/valgrind/../../bin/vgdb --pid=64442 ...command... | |
==64442== | |
==64442== TO DEBUG THIS PROCESS USING GDB: start GDB like this | |
==64442== /path/to/gdb ./src/redis-server | |
==64442== and then give GDB the following command | |
==64442== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=64442 | |
==64442== --pid is optional if only one valgrind process is running | |
==64442== | |
--64442-- REDIR: 0x4017950 (ld-linux-x86-64.so.2:strlen) redirected to 0x380c21d1 (vgPlain_amd64_linux_REDIR_FOR_strlen) | |
--64442-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so | |
--64442-- Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so .. | |
--64442-- .. CRC mismatch (computed 667ba0c6 wanted f004b766) | |
--64442-- Considering /usr/lib/debug/usr/lib/valgrind/vgpreload_core-amd64-linux.so .. | |
--64442-- .. CRC is valid | |
--64442-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so | |
--64442-- Considering /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so .. | |
--64442-- .. CRC mismatch (computed b41ced70 wanted 5c134fce) | |
--64442-- Considering /usr/lib/debug/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so .. | |
--64442-- .. CRC is valid | |
==64442== WARNING: new redirection conflicts with existing -- ignoring it | |
--64442-- old: 0x04017950 (strlen ) R-> (0000.0) 0x380c21d1 vgPlain_amd64_linux_REDIR_FOR_strlen | |
--64442-- new: 0x04017950 (strlen ) R-> (2007.0) 0x04c2c260 strlen | |
--64442-- REDIR: 0x4017700 (ld-linux-x86-64.so.2:index) redirected to 0x4c2be10 (index) | |
--64442-- REDIR: 0x4017920 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c2d310 (strcmp) | |
--64442-- REDIR: 0x4018650 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c2fe60 (mempcpy) | |
--64442-- Reading syms from /lib/x86_64-linux-gnu/libm-2.19.so | |
--64442-- Considering /lib/x86_64-linux-gnu/libm-2.19.so .. | |
--64442-- .. CRC mismatch (computed 99371e4a wanted 9a41b649) | |
--64442-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libm-2.19.so .. | |
--64442-- .. CRC is valid | |
--64442-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.19.so | |
--64442-- Considering /lib/x86_64-linux-gnu/libdl-2.19.so .. | |
--64442-- .. CRC mismatch (computed 3266e406 wanted 3cd73555) | |
--64442-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.19.so .. | |
--64442-- .. CRC is valid | |
--64442-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.19.so | |
--64442-- Considering /lib/x86_64-linux-gnu/libpthread-2.19.so .. | |
--64442-- .. CRC mismatch (computed 85ae53b8 wanted 1d1e49d0) | |
--64442-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libpthread-2.19.so .. | |
--64442-- .. CRC is valid | |
--64442-- Reading syms from /lib/x86_64-linux-gnu/libc-2.19.so | |
--64442-- Considering /lib/x86_64-linux-gnu/libc-2.19.so .. | |
--64442-- .. CRC mismatch (computed c7b6f1bf wanted 8c956c0d) | |
--64442-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.19.so .. | |
--64442-- .. CRC is valid | |
--64442-- REDIR: 0x55dce10 (libc.so.6:strcasecmp) redirected to 0x4a23730 (_vgnU_ifunc_wrapper) | |
--64442-- REDIR: 0x55df100 (libc.so.6:strncasecmp) redirected to 0x4a23730 (_vgnU_ifunc_wrapper) | |
--64442-- REDIR: 0x55dc5e0 (libc.so.6:memcpy@GLIBC_2.2.5) redirected to 0x4a23730 (_vgnU_ifunc_wrapper) | |
--64442-- REDIR: 0x55da960 (libc.so.6:rindex) redirected to 0x4c2baf0 (rindex) | |
--64442-- REDIR: 0x55d8c60 (libc.so.6:strlen) redirected to 0x4c2c1a0 (strlen) | |
--64442-- REDIR: 0x55dc670 (libc.so.6:memset) redirected to 0x4c2f3f0 (memset) | |
--64442-- REDIR: 0xffffffffff600400 (???:???) redirected to 0x380c21bd (vgPlain_amd64_linux_REDIR_FOR_vtime) | |
--64442-- REDIR: 0x55dbcb0 (libc.so.6:memchr) redirected to 0x4c2d3b0 (memchr) | |
--64442-- REDIR: 0x55dc440 (libc.so.6:__GI_memmove) redirected to 0x4c2f720 (__GI_memmove) | |
--64442-- REDIR: 0x55d3010 (libc.so.6:malloc) redirected to 0x4c28bb0 (malloc) | |
--64442-- REDIR: 0x55e1830 (libc.so.6:__GI_memcpy) redirected to 0x4c2dd10 (__GI_memcpy) | |
--64442-- REDIR: 0x55d6fc0 (libc.so.6:index) redirected to 0x4a23730 (_vgnU_ifunc_wrapper) | |
--64442-- REDIR: 0x55d6ff0 (libc.so.6:__GI_strchr) redirected to 0x4c2bc50 (__GI_strchr) | |
--64442-- REDIR: 0x558e7d0 (libc.so.6:setenv) redirected to 0x4c30700 (setenv) | |
--64442-- REDIR: 0x55d36e0 (libc.so.6:realloc) redirected to 0x4c2aeb0 (realloc) | |
--64442-- REDIR: 0x55d90d0 (libc.so.6:__GI_strncmp) redirected to 0x4c2c950 (__GI_strncmp) | |
--64442-- REDIR: 0x55d7250 (libc.so.6:__GI_strcmp) redirected to 0x4c2d220 (__GI_strcmp) | |
--64442-- REDIR: 0x55e37a0 (libc.so.6:strchrnul) redirected to 0x4c2fa80 (strchrnul) | |
--64442-- REDIR: 0x55d3650 (libc.so.6:free) redirected to 0x4c29e20 (free) | |
--64442-- REDIR: 0x55db5b0 (libc.so.6:__GI_strstr) redirected to 0x4c300e0 (__strstr_sse2) | |
--64442-- REDIR: 0x55dce80 (libc.so.6:__GI___strcasecmp_l) redirected to 0x4c2ce40 (__GI___strcasecmp_l) | |
--64442-- REDIR: 0x55d8e20 (libc.so.6:strnlen) redirected to 0x4c2c120 (strnlen) | |
--64442-- REDIR: 0x55dcca0 (libc.so.6:__GI_stpcpy) redirected to 0x4c2eeb0 (__GI_stpcpy) | |
--64442-- REDIR: 0x55d86e0 (libc.so.6:__GI_strcpy) redirected to 0x4c2c350 (__GI_strcpy) | |
--64442-- REDIR: 0x55e3590 (libc.so.6:rawmemchr) redirected to 0x4c2fab0 (rawmemchr) | |
--64442-- REDIR: 0xffffffffff600000 (???:???) redirected to 0x380c21b3 (vgPlain_amd64_linux_REDIR_FOR_vgettimeofday) | |
--64442-- REDIR: 0x55dba70 (libc.so.6:strstr) redirected to 0x4a23730 (_vgnU_ifunc_wrapper) | |
--64442-- REDIR: 0x55f0960 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4c30050 (strstr) | |
--64442-- REDIR: 0x55e17e0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x4a23730 (_vgnU_ifunc_wrapper) | |
--64442-- REDIR: 0x55e7700 (libc.so.6:__memcpy_sse2_unaligned) redirected to 0x4c2d6f0 (memcpy@@GLIBC_2.14) | |
--64442-- REDIR: 0x5679300 (libc.so.6:__strcasecmp_avx) redirected to 0x4c2caa0 (strcasecmp) | |
--64442-- REDIR: 0x55dc040 (libc.so.6:__GI_memcmp) redirected to 0x4c2eca0 (__GI_memcmp) | |
64442:C 27 Sep 14:10:00.828 # Warning: no config file specified, using the default config. In order to specify a config file use ./src/redis-server /path/to/redis.conf | |
--64442-- REDIR: 0x568c1b0 (libc.so.6:__memmove_ssse3_back) redirected to 0x4c2d470 (memcpy@GLIBC_2.2.5) | |
--64442-- REDIR: 0x55dc000 (libc.so.6:bcmp) redirected to 0x4a23730 (_vgnU_ifunc_wrapper) | |
--64442-- REDIR: 0x569c180 (libc.so.6:__memcmp_sse4_1) redirected to 0x4c2ed20 (__memcmp_sse4_1) | |
--64442-- REDIR: 0x55d3980 (libc.so.6:calloc) redirected to 0x4c2ac90 (calloc) | |
_._ | |
_.-``__ ''-._ | |
_.-`` `. `_. ''-._ Redis 3.0.4 (00000000/0) 64 bit | |
.-`` .-```. ```\/ _.,_ ''-._ | |
( ' , .-` | `, ) Running in standalone mode | |
|`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | |
| `-._ `._ / _.-' | PID: 64442 | |
`-._ `-._ `-./ _.-' _.-' | |
|`-._`-._ `-.__.-' _.-'_.-'| | |
| `-._`-._ _.-'_.-' | http://redis.io | |
`-._ `-._`-.__.-'_.-' _.-' | |
|`-._`-._ `-.__.-' _.-'_.-'| | |
| `-._`-._ _.-'_.-' | | |
`-._ `-._`-.__.-'_.-' _.-' | |
`-._ `-.__.-' _.-' | |
`-._ _.-' | |
`-.__.-' | |
64442:M 27 Sep 14:10:01.229 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. | |
64442:M 27 Sep 14:10:01.236 # Server started, Redis version 3.0.4 | |
64442:M 27 Sep 14:10:01.238 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. | |
64442:M 27 Sep 14:10:01.239 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. | |
64442:M 27 Sep 14:10:01.249 * DB loaded from disk: 0.005 seconds | |
64442:M 27 Sep 14:10:01.250 * The server is now ready to accept connections on port 6379 | |
==64442== Invalid write of size 1 | |
==64442== at 0x44FF00: debugCommand (debug.c:257) | |
==64442== by 0x42016D: call (redis.c:2062) | |
==64442== by 0x422F3E: processCommand (redis.c:2308) | |
==64442== by 0x42C83E: processInputBuffer (networking.c:1148) | |
==64442== by 0x42C971: readQueryFromClient (networking.c:1213) | |
==64442== by 0x41B082: aeProcessEvents (ae.c:412) | |
==64442== by 0x41B39A: aeMain (ae.c:455) | |
==64442== by 0x41A05D: main (redis.c:3694) | |
==64442== Address 0xffffffffffffffff is not stack'd, malloc'd or (recently) free'd | |
==64442== | |
64442:M 27 Sep 14:10:16.072 # | |
=== REDIS BUG REPORT START: Cut & paste starting from here === | |
64442:M 27 Sep 14:10:16.073 # Redis 3.0.4 crashed by signal: 11 | |
64442:M 27 Sep 14:10:16.074 # Failed assertion: <no assertion failed> (<no file>:0) | |
64442:M 27 Sep 14:10:16.074 # --- STACK TRACE | |
--64442-- Reading syms from /lib/x86_64-linux-gnu/libgcc_s.so.1 | |
--64442-- Considering /lib/x86_64-linux-gnu/libgcc_s.so.1 .. | |
--64442-- .. CRC mismatch (computed e1528828 wanted 15fbad25) | |
--64442-- object doesn't have a symbol table | |
./src/redis-server *:6379(logStackTrace+0x25)[0x450555] | |
./src/redis-server *:6379(debugCommand+0x180)[0x44ff00] | |
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf8d0)[0x53498d0] | |
./src/redis-server *:6379(debugCommand+0x180)[0x44ff00] | |
./src/redis-server *:6379(call+0x7e)[0x42016e] | |
./src/redis-server *:6379(processCommand+0x44f)[0x422f3f] | |
./src/redis-server *:6379(processInputBuffer+0x4f)[0x42c83f] | |
./src/redis-server *:6379(readQueryFromClient+0xb2)[0x42c972] | |
./src/redis-server *:6379(aeProcessEvents+0x133)[0x41b083] | |
./src/redis-server *:6379(aeMain+0x2b)[0x41b39b] | |
./src/redis-server *:6379(main+0x28e)[0x41a05e] | |
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x5578b45] | |
./src/redis-server *:6379[0x41a2a9] | |
64442:M 27 Sep 14:10:16.137 # --- INFO OUTPUT | |
64442:M 27 Sep 14:10:16.160 # # Server | |
redis_version:3.0.4 | |
redis_git_sha1:00000000 | |
redis_git_dirty:0 | |
redis_build_id:1ec539dae6d691f1 | |
redis_mode:standalone | |
os:Linux 4.0.0-kali1-amd64 x86_64 | |
arch_bits:64 | |
multiplexing_api:epoll | |
gcc_version:4.9.2 | |
process_id:64442 | |
run_id:46f147139fcb5ef50fff3ba1987ea6229ce660d3 | |
tcp_port:6379 | |
uptime_in_seconds:16 | |
uptime_in_days:0 | |
hz:10 | |
lru_clock:515240 | |
config_file: | |
# Clients | |
connected_clients:1 | |
client_longest_output_list:0 | |
client_biggest_input_buf:0 | |
blocked_clients:0 | |
# Memory | |
used_memory:815968 | |
used_memory_human:796.84K | |
used_memory_rss:58560512 | |
used_memory_peak:815968 | |
used_memory_peak_human:796.84K | |
used_memory_lua:36864 | |
mem_fragmentation_ratio:71.77 | |
mem_allocator:jemalloc-3.6.0 | |
# Persistence | |
loading:0 | |
rdb_changes_since_last_save:0 | |
rdb_bgsave_in_progress:0 | |
rdb_last_save_time:1443355800 | |
rdb_last_bgsave_status:ok | |
rdb_last_bgsave_time_sec:-1 | |
rdb_current_bgsave_time_sec:-1 | |
aof_enabled:0 | |
aof_rewrite_in_progress:0 | |
aof_rewrite_scheduled:0 | |
aof_last_rewrite_time_sec:-1 | |
aof_current_rewrite_time_sec:-1 | |
aof_last_bgrewrite_status:ok | |
aof_last_write_status:ok | |
# Stats | |
total_connections_received:1 | |
total_commands_processed:0 | |
instantaneous_ops_per_sec:0 | |
total_net_input_bytes:29 | |
total_net_output_bytes:0 | |
instantaneous_input_kbps:0.00 | |
instantaneous_output_kbps:0.00 | |
rejected_connections:0 | |
sync_full:0 | |
sync_partial_ok:0 | |
sync_partial_err:0 | |
expired_keys:0 | |
evicted_keys:0 | |
keyspace_hits:0 | |
keyspace_misses:0 | |
pubsub_channels:0 | |
pubsub_patterns:0 | |
latest_fork_usec:0 | |
migrate_cached_sockets:0 | |
# Replication | |
role:master | |
connected_slaves:0 | |
master_repl_offset:0 | |
repl_backlog_active:0 | |
repl_backlog_size:1048576 | |
repl_backlog_first_byte_offset:0 | |
repl_backlog_histlen:0 | |
# CPU | |
used_cpu_sys:1.12 | |
used_cpu_user:1.46 | |
used_cpu_sys_children:0.00 | |
used_cpu_user_children:0.00 | |
# Commandstats | |
# Cluster | |
cluster_enabled:0 | |
# Keyspace | |
hash_init_value: 1443735288 | |
64442:M 27 Sep 14:10:16.161 # --- CLIENT LIST OUTPUT | |
64442:M 27 Sep 14:10:16.171 # id=2 addr=127.0.0.1:53262 fd=6 name= age=5 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=32768 obl=0 oll=0 omem=0 events=r cmd=debug | |
64442:M 27 Sep 14:10:16.172 # --- CURRENT CLIENT INFO | |
64442:M 27 Sep 14:10:16.173 # client: id=2 addr=127.0.0.1:53262 fd=6 name= age=5 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=32768 obl=0 oll=0 omem=0 events=r cmd=debug | |
64442:M 27 Sep 14:10:16.174 # argv[0]: 'debug' | |
64442:M 27 Sep 14:10:16.175 # argv[1]: 'segfault' | |
64442:M 27 Sep 14:10:16.176 # --- REGISTERS | |
64442:M 27 Sep 14:10:16.177 # | |
RAX:0000000000000000 RBX:00000000064135f8 | |
RCX:00000000380c21bc RDX:0000000000000000 | |
RDI:0000000000000000 RSI:00000000004c9d8e | |
RBP:000000000651c000 RSP:0000000ffeffffb0 | |
R8 :0000000000000003 R9 :0000000000000001 | |
R10:0000000000000027 R11:0000000006406060 | |
R12:0000000006486280 R13:0000000000000000 | |
R14:0000000000000007 R15:000520b976b38b29 | |
RIP:000000000044ff00 EFL:0000000000000044 | |
CSGSFS:0000000000000000 | |
==64442== Use of uninitialised value of size 8 | |
==64442== at 0x559D0A1: _itoa_word (_itoa.c:180) | |
==64442== by 0x55A12A9: vfprintf (vfprintf.c:1641) | |
==64442== by 0x55C9458: vsnprintf (vsnprintf.c:119) | |
==64442== by 0x41DF98: redisLog (redis.c:346) | |
==64442== by 0x45048C: logStackContent (debug.c:524) | |
==64442== by 0x450B6D: sigsegvHandler (debug.c:838) | |
==64442== by 0x53498CF: ??? (in /lib/x86_64-linux-gnu/libpthread-2.19.so) | |
==64442== by 0x44FEFF: debugCommand (debug.c:318) | |
==64442== by 0x42016D: call (redis.c:2062) | |
==64442== by 0x422F3E: processCommand (redis.c:2308) | |
==64442== by 0x42C83E: processInputBuffer (networking.c:1148) | |
==64442== by 0x42C971: readQueryFromClient (networking.c:1213) | |
==64442== | |
==64442== Conditional jump or move depends on uninitialised value(s) | |
==64442== at 0x559D0A8: _itoa_word (_itoa.c:180) | |
==64442== by 0x55A12A9: vfprintf (vfprintf.c:1641) | |
==64442== by 0x55C9458: vsnprintf (vsnprintf.c:119) | |
==64442== by 0x41DF98: redisLog (redis.c:346) | |
==64442== by 0x45048C: logStackContent (debug.c:524) | |
==64442== by 0x450B6D: sigsegvHandler (debug.c:838) | |
==64442== by 0x53498CF: ??? (in /lib/x86_64-linux-gnu/libpthread-2.19.so) | |
==64442== by 0x44FEFF: debugCommand (debug.c:318) | |
==64442== by 0x42016D: call (redis.c:2062) | |
==64442== by 0x422F3E: processCommand (redis.c:2308) | |
==64442== by 0x42C83E: processInputBuffer (networking.c:1148) | |
==64442== by 0x42C971: readQueryFromClient (networking.c:1213) | |
==64442== | |
==64442== Conditional jump or move depends on uninitialised value(s) | |
==64442== at 0x55A12FC: vfprintf (vfprintf.c:1641) | |
==64442== by 0x55C9458: vsnprintf (vsnprintf.c:119) | |
==64442== by 0x41DF98: redisLog (redis.c:346) | |
==64442== by 0x45048C: logStackContent (debug.c:524) | |
==64442== by 0x450B6D: sigsegvHandler (debug.c:838) | |
==64442== by 0x53498CF: ??? (in /lib/x86_64-linux-gnu/libpthread-2.19.so) | |
==64442== by 0x44FEFF: debugCommand (debug.c:318) | |
==64442== by 0x42016D: call (redis.c:2062) | |
==64442== by 0x422F3E: processCommand (redis.c:2308) | |
==64442== by 0x42C83E: processInputBuffer (networking.c:1148) | |
==64442== by 0x42C971: readQueryFromClient (networking.c:1213) | |
==64442== by 0x41B082: aeProcessEvents (ae.c:412) | |
==64442== | |
==64442== Conditional jump or move depends on uninitialised value(s) | |
==64442== at 0x55A074C: vfprintf (vfprintf.c:1641) | |
==64442== by 0x55C9458: vsnprintf (vsnprintf.c:119) | |
==64442== by 0x41DF98: redisLog (redis.c:346) | |
==64442== by 0x45048C: logStackContent (debug.c:524) | |
==64442== by 0x450B6D: sigsegvHandler (debug.c:838) | |
==64442== by 0x53498CF: ??? (in /lib/x86_64-linux-gnu/libpthread-2.19.so) | |
==64442== by 0x44FEFF: debugCommand (debug.c:318) | |
==64442== by 0x42016D: call (redis.c:2062) | |
==64442== by 0x422F3E: processCommand (redis.c:2308) | |
==64442== by 0x42C83E: processInputBuffer (networking.c:1148) | |
==64442== by 0x42C971: readQueryFromClient (networking.c:1213) | |
==64442== by 0x41B082: aeProcessEvents (ae.c:412) | |
==64442== | |
==64442== Conditional jump or move depends on uninitialised value(s) | |
==64442== at 0x55A07CC: vfprintf (vfprintf.c:1641) | |
==64442== by 0x55C9458: vsnprintf (vsnprintf.c:119) | |
==64442== by 0x41DF98: redisLog (redis.c:346) | |
==64442== by 0x45048C: logStackContent (debug.c:524) | |
==64442== by 0x450B6D: sigsegvHandler (debug.c:838) | |
==64442== by 0x53498CF: ??? (in /lib/x86_64-linux-gnu/libpthread-2.19.so) | |
==64442== by 0x44FEFF: debugCommand (debug.c:318) | |
==64442== by 0x42016D: call (redis.c:2062) | |
==64442== by 0x422F3E: processCommand (redis.c:2308) | |
==64442== by 0x42C83E: processInputBuffer (networking.c:1148) | |
==64442== by 0x42C971: readQueryFromClient (networking.c:1213) | |
==64442== by 0x41B082: aeProcessEvents (ae.c:412) | |
==64442== | |
64442:M 27 Sep 14:10:16.177 # (0000000ffeffffbf) -> 00000000064110e0 | |
64442:M 27 Sep 14:10:16.178 # (0000000ffeffffbe) -> 000000000640f5e0 | |
64442:M 27 Sep 14:10:16.178 # (0000000ffeffffbd) -> 000000000041c6ad | |
64442:M 27 Sep 14:10:16.178 # (0000000ffeffffbc) -> 0000000fff0000fc | |
64442:M 27 Sep 14:10:16.178 # (0000000ffeffffbb) -> 0000000f00000001 | |
64442:M 27 Sep 14:10:16.178 # (0000000ffeffffba) -> 0000000000000000 | |
64442:M 27 Sep 14:10:16.178 # (0000000ffeffffb9) -> 0000000000000000 | |
64442:M 27 Sep 14:10:16.178 # (0000000ffeffffb8) -> 0000000f00000001 | |
64442:M 27 Sep 14:10:16.178 # (0000000ffeffffb7) -> 0000000f00000000 | |
64442:M 27 Sep 14:10:16.178 # (0000000ffeffffb6) -> 00000000ffffffff | |
64442:M 27 Sep 14:10:16.178 # (0000000ffeffffb5) -> 000000000049a10e | |
64442:M 27 Sep 14:10:16.179 # (0000000ffeffffb4) -> 0000000006486280 | |
64442:M 27 Sep 14:10:16.179 # (0000000ffeffffb3) -> 0000000000000000 | |
64442:M 27 Sep 14:10:16.179 # (0000000ffeffffb2) -> 0000000000008009 | |
64442:M 27 Sep 14:10:16.179 # (0000000ffeffffb1) -> 0000000006486280 | |
64442:M 27 Sep 14:10:16.179 # (0000000ffeffffb0) -> 0000000000000010 | |
64442:M 27 Sep 14:10:16.179 # --- FAST MEMORY TEST | |
64442:M 27 Sep 14:10:16.203 # Bio thread for job type #0 terminated | |
64442:M 27 Sep 14:10:16.204 # Bio thread for job type #1 terminated | |
Testing 6ff000 90112 | |
Testing 4020000 8192 | |
Testing 4029000 8192 | |
Testing 4045000 20480 | |
Testing 4222000 4096 | |
Testing 4223000 4096 | |
Testing 5553000 16384 | |
Testing 58fc000 16384 | |
Testing 5c00000 4194304 | |
Testing 6000000 4194304 | |
Testing 6400000 4194304 | |
Testing 6801000 8388608 | |
Testing 7002000 8388608 | |
Testing 385e5000 27721728 | |
Testing 802001000 14249984 | |
Testing 802e9d000 131072 | |
Testing 802ebd000 3538944 | |
Testing 80323f000 196608 | |
Testing 8032cd000 1048576 | |
Testing 8033cf000 1048576 | |
Testing 80359b000 6340608 | |
Testing 803ba9000 1048576 | |
Testing 803d6c000 42991616 | |
Testing ffeffd000 16384 | |
Testing 7ffeffd57000 135168 | |
==64442== Invalid read of size 1 | |
==64442== at 0x45E4E2: crc64 (crc64.c:178) | |
==64442== by 0x450893: memtest_test_linux_anonymous_maps (debug.c:767) | |
==64442== by 0x450B88: sigsegvHandler (debug.c:844) | |
==64442== by 0x53498CF: ??? (in /lib/x86_64-linux-gnu/libpthread-2.19.so) | |
==64442== by 0x44FEFF: debugCommand (debug.c:318) | |
==64442== by 0x42016D: call (redis.c:2062) | |
==64442== by 0x422F3E: processCommand (redis.c:2308) | |
==64442== by 0x42C83E: processInputBuffer (networking.c:1148) | |
==64442== by 0x42C971: readQueryFromClient (networking.c:1213) | |
==64442== by 0x41B082: aeProcessEvents (ae.c:412) | |
==64442== by 0x41B39A: aeMain (ae.c:455) | |
==64442== by 0x41A05D: main (redis.c:3694) | |
==64442== Address 0x6000000 is not stack'd, malloc'd or (recently) free'd | |
==64442== | |
==64442== Use of uninitialised value of size 8 | |
==64442== at 0x45E4EF: crc64 (crc64.c:178) | |
==64442== by 0x450893: memtest_test_linux_anonymous_maps (debug.c:767) | |
==64442== by 0x450B88: sigsegvHandler (debug.c:844) | |
==64442== by 0x53498CF: ??? (in /lib/x86_64-linux-gnu/libpthread-2.19.so) | |
==64442== by 0x44FEFF: debugCommand (debug.c:318) | |
==64442== by 0x42016D: call (redis.c:2062) | |
==64442== by 0x422F3E: processCommand (redis.c:2308) | |
==64442== by 0x42C83E: processInputBuffer (networking.c:1148) | |
==64442== by 0x42C971: readQueryFromClient (networking.c:1213) | |
==64442== by 0x41B082: aeProcessEvents (ae.c:412) | |
==64442== by 0x41B39A: aeMain (ae.c:455) | |
==64442== by 0x41A05D: main (redis.c:3694) | |
==64442== | |
==64442== | |
==64442== More than 10000000 total errors detected. I'm not reporting any more. | |
==64442== Final error counts will be inaccurate. Go fix your program! | |
==64442== Rerun with --error-limit=no to disable this cutoff. Note | |
==64442== that errors may occur in your program without prior warning from | |
==64442== Valgrind, because errors are no longer being displayed. | |
==64442== | |
==64442== | |
==64442== Process terminating with default action of signal 11 (SIGSEGV) | |
==64442== Access not within mapped region at address 0x17 | |
==64442== at 0x45E411: memtest_non_destructive_invert (memtest.c:252) | |
==64442== by 0x4508C8: memtest_test_linux_anonymous_maps (debug.c:773) | |
==64442== by 0x450B88: sigsegvHandler (debug.c:844) | |
==64442== by 0x53498CF: ??? (in /lib/x86_64-linux-gnu/libpthread-2.19.so) | |
==64442== by 0x44FEFF: debugCommand (debug.c:318) | |
==64442== by 0x42016D: call (redis.c:2062) | |
==64442== by 0x422F3E: processCommand (redis.c:2308) | |
==64442== by 0x42C83E: processInputBuffer (networking.c:1148) | |
==64442== by 0x42C971: readQueryFromClient (networking.c:1213) | |
==64442== by 0x41B082: aeProcessEvents (ae.c:412) | |
==64442== by 0x41B39A: aeMain (ae.c:455) | |
==64442== by 0x41A05D: main (redis.c:3694) | |
==64442== If you believe this happened as a result of a stack | |
==64442== overflow in your program's main thread (unlikely but | |
==64442== possible), you can try to increase the size of the | |
==64442== main thread stack using the --main-stacksize= flag. | |
==64442== The main thread stack size used in this run was 8388608. | |
==64442== | |
==64442== Process terminating with default action of signal 11 (SIGSEGV) | |
==64442== Access not within mapped region at address 0x17 | |
==64442== at 0x400DD29: _dl_fixup (dl-runtime.c:69) | |
==64442== by 0x4014324: _dl_runtime_resolve (dl-trampoline.S:45) | |
==64442== by 0x4A236CC: _vgnU_freeres (vg_preloaded.c:63) | |
==64442== by 0x4508C8: memtest_test_linux_anonymous_maps (debug.c:773) | |
==64442== by 0x450B88: sigsegvHandler (debug.c:844) | |
==64442== by 0x53498CF: ??? (in /lib/x86_64-linux-gnu/libpthread-2.19.so) | |
==64442== by 0x44FEFF: debugCommand (debug.c:318) | |
==64442== by 0x42016D: call (redis.c:2062) | |
==64442== by 0x422F3E: processCommand (redis.c:2308) | |
==64442== by 0x42C83E: processInputBuffer (networking.c:1148) | |
==64442== by 0x42C971: readQueryFromClient (networking.c:1213) | |
==64442== by 0x41B082: aeProcessEvents (ae.c:412) | |
==64442== If you believe this happened as a result of a stack | |
==64442== overflow in your program's main thread (unlikely but | |
==64442== possible), you can try to increase the size of the | |
==64442== main thread stack using the --main-stacksize= flag. | |
==64442== The main thread stack size used in this run was 8388608. | |
==64442== | |
==64442== HEAP SUMMARY: | |
==64442== in use at exit: 52,477 bytes in 593 blocks | |
==64442== total heap usage: 824 allocs, 231 frees, 81,501 bytes allocated | |
==64442== | |
==64442== Searching for pointers to 593 not-freed blocks | |
Memcheck: mc_leakcheck.c:1045 (lc_scan_memory): Assertion 'bad_scanned_addr >= VG_ROUNDUP(start, sizeof(Addr))' failed. | |
host stacktrace: | |
==64442== at 0x380A927F: show_sched_status_wrk (m_libcassert.c:319) | |
sched status: | |
running_tid=1 | |
Note: see also the FAQ in the source distribution. | |
It contains workarounds to several common problems. | |
In particular, if Valgrind aborted or crashed after | |
identifying problems in your program, there's a good chance | |
that fixing those problems will prevent Valgrind aborting or | |
crashing, especially if it happened in m_mallocfree.c. | |
If that doesn't help, please report this bug to: www.valgrind.org | |
In the bug report, send all the above text, the valgrind | |
version, and what OS and version you are using. Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment