redis icon indicating copy to clipboard operation
redis copied to clipboard

Redis error on windows Fatal Error: Invalid integer encoding 0xDE #D:\dev\GitHub\redis\src\ziplist.c:320

Open superdev093 opened this issue 5 years ago • 0 comments

c:\Program Files\Redis>redis-server.exe redis.windows.conf [20032] 13 Aug 23:40:00.268 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo [20032] 13 Aug 23:40:00.268 # Redis version=5.0.9, bits=64, commit=9414ab9b, modified=0, pid=20032, just started [20032] 13 Aug 23:40:00.268 # Configuration loaded . .-__ ''-._ _.- . . ''-._ Redis 5.0.9 (9414ab9b/0) 64 bit .- .-```. ```\/ _.,_ ''-._ ( ' , .-` | `, ) Running in standalone mode |`-._`-...-` __...-.-.|'_.-'| Port: 6379 | -. ._ / _.-' | PID: 20032 -._ -._ -./ .-' .-' |-._-. -.__.-' _.-'_.-'| | -.-._ _.-'_.-' | http://redis.io -._ -._-..-'.-' .-' |-._-. -.__.-' _.-'_.-'| | -.-._ _.-'_.-' | -._ -._-..-'_.-' _.-' -._ -..-' _.-' -._ _.-' -..-'

[20032] 13 Aug 23:40:00.271 # Server initialized [20032] 13 Aug 23:40:00.700 * DB loaded from disk: 0.426 seconds [20032] 13 Aug 23:40:00.700 * Ready to accept connections

=== REDIS BUG REPORT START: Cut & paste starting from here === Redis version: 5.0.9 [20032] 13 Aug 23:42:17.105 # ------------------------------------------------ [20032] 13 Aug 23:42:17.106 # Fatal Error: Invalid integer encoding 0xDE #D:\dev\GitHub\redis\src\ziplist.c:320 [20032] 13 Aug 23:42:17.107 # ------------------------------------------------ [20032] 13 Aug 23:42:17.107 # --- EXCEPTION_ACCESS_VIOLATION [20032] 13 Aug 23:42:17.107 # --- STACK TRACE redis-server.exe!StackTraceInfo(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:153)(0x14018CBB0, 0x0014FF60, 0x1400DD020, 0x0014E780) redis-server.exe!UnhandledExceptiontHandler(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x0014E780, 0x1400DD001, 0x00000000, 0x00000009) KERNELBASE.dll!UnhandledExceptionFilter(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x0014E830, 0x7FFBF99F626C, 0x00000000, 0x0014E7C8) ntdll.dll!memset(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x00000000, 0x0014ED30, 0x00000000, 0x7FFBF98D210F) ntdll.dll!_C_specific_handler(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x00000000, 0x0014ED30, 0x0014F3F0, 0x00000000) ntdll.dll!_chkstk(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x0014F3F0, 0x00000000, 0x00000000, 0x0014E830) ntdll.dll!RtlRaiseException(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x00000020, 0x00000010, 0x140188A68, 0x004E0000) ntdll.dll!KiUserExceptionDispatcher(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x00000000, 0x140176060, 0x00801500, 0x00000001) redis-server.exe!_serverPanic(D:\dev\GitHub\redis\src\debug.c:736)(0x7FCD593ED000, 0x7FCD593ED000, 0x140188A68, 0x000000DE) redis-server.exe!zipIntSize(D:\dev\GitHub\redis\src\ziplist.c:320)(0x7FCD5707ACC0, 0x00000001, 0x00000000, 0x1400884A2) redis-server.exe!zipEntry(D:\dev\GitHub\redis\src\ziplist.c:576)(0x0014F950, 0x00000001, 0x0014F938, 0x140082AD6) redis-server.exe!ziplistGet(D:\dev\GitHub\redis\src\ziplist.c:1044)(0x7FCD56DD1420, 0x00000001, 0x0014F938, 0x7FCD593ED000) redis-server.exe!quicklistNext(D:\dev\GitHub\redis\src\quicklist.c:1159)(0x0000000A, 0x0000000F, 0x7FCD56A2E000, 0x7FCD593ED000) redis-server.exe!lrangeCommand(D:\dev\GitHub\redis\src\t_list.c:432)(0x00035FE7, 0x00035FF5, 0x5ACC4262566E7, 0x1400F022D) redis-server.exe!call(D:\dev\GitHub\redis\src\server.c:2554)(0x7FCD593ED000, 0x14003A020, 0x7FCD593ED000, 0x00000000) redis-server.exe!processCommand(D:\dev\GitHub\redis\src\server.c:2849)(0x00000006, 0x7FCD593ED000, 0x7FCD593ED000, 0x0000000B) redis-server.exe!processInputBuffer(D:\dev\GitHub\redis\src\networking.c:1568)(0x00000041, 0x7FCD00000000, 0x00000000, 0x004F8479) redis-server.exe!readQueryFromClient(D:\dev\GitHub\redis\src\networking.c:1686)(0x7FCD67400160, 0x00000000, 0x00000001, 0x100000001) redis-server.exe!aeProcessEvents(D:\dev\GitHub\redis\src\ae.c:473)(0x00000000, 0x0000000B, 0x00000000, 0x88B800000000) redis-server.exe!aeMain(D:\dev\GitHub\redis\src\ae.c:530)(0x00004E40, 0x1401870B0, 0x00801500, 0x00000001) redis-server.exe!redis_main(D:\dev\GitHub\redis\src\server.c:4360)(0x004F8450, 0x004F8450, 0x00501750, 0x00000002) redis-server.exe!main(D:\dev\GitHub\redis\src\Win32_Interop\Win32_QFork.cpp:1138)(0x00000000, 0x00000000, 0x004F8450, 0x00000000) redis-server.exe!__scrt_common_main_seh(d:\agent_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)(0x00000000, 0x00000000, 0x00000000, 0x00000000) KERNEL32.DLL!BaseThreadInitThunk(d:\agent_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)(0x00000000, 0x00000000, 0x00000000, 0x00000000) ntdll.dll!RtlUserThreadStart(d:\agent_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)(0x00000000, 0x00000000, 0x00000000, 0x00000000) ntdll.dll!RtlUserThreadStart(d:\agent_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)(0x00000000, 0x00000000, 0x00000000, 0x00000000) [20032] 13 Aug 23:42:17.146 # --- INFO OUTPUT

Server

redis_version:5.0.9 redis_git_sha1:9414ab9b redis_git_dirty:0 redis_build_id:25845e7feb545d77 redis_mode:standalone os:Windows arch_bits:64 multiplexing_api:WinSock_IOCP atomicvar_api:pthread-mutex process_id:20032 run_id:813bb8acfac3a01efc0c9d7c264a20b02b1ec43a tcp_port:6379 uptime_in_seconds:137 uptime_in_days:0 hz:10 configured_hz:10 lru_clock:3497817 executable:c:\Program Files\Redis\redis-server.exe config_file:c:\Program Files\Redis\redis.windows.conf

Clients

connected_clients:3 client_recent_max_input_buffer:2 client_recent_max_output_buffer:0 blocked_clients:0

Memory

used_memory:279024216 used_memory_human:266.00M used_memory_rss:279022776 used_memory_rss_human:266.00M used_memory_peak:279031880 used_memory_peak_human:266.00M used_memory_peak_perc:100.00% used_memory_overhead:9109586 used_memory_startup:665128 used_memory_dataset:269914630 used_memory_dataset_perc:96.97% allocator_allocated:279181872 allocator_active:847249408 allocator_resident:859832320 total_system_memory:0 total_system_memory_human:0B used_memory_lua:37888 used_memory_lua_human:37.00K used_memory_scripts:0 used_memory_scripts_human:0B number_of_cached_scripts:0 maxmemory:0 maxmemory_human:0B maxmemory_policy:noeviction allocator_frag_ratio:3.03 allocator_frag_bytes:568067536 allocator_rss_ratio:1.01 allocator_rss_bytes:12582912 rss_overhead_ratio:0.32 rss_overhead_bytes:-580809544 mem_fragmentation_ratio:1.00 mem_fragmentation_bytes:0 mem_not_counted_for_evict:0 mem_replication_backlog:0 mem_clients_slaves:0 mem_clients_normal:84306 mem_aof_buffer:0 mem_allocator:jemalloc-5.2.1 active_defrag_running:0 lazyfree_pending_objects:0

Persistence

loading:0 rdb_changes_since_last_save:3069 rdb_bgsave_in_progress:0 rdb_last_save_time:1597333200 rdb_last_bgsave_status:ok rdb_last_bgsave_time_sec:-1 rdb_current_bgsave_time_sec:-1 rdb_last_cow_size:0 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 aof_last_cow_size:0

Stats

total_connections_received:6 total_commands_processed:109172 instantaneous_ops_per_sec:98 total_net_input_bytes:6302552 total_net_output_bytes:17945884 instantaneous_input_kbps:6.22 instantaneous_output_kbps:31.13 rejected_connections:0 sync_full:0 sync_partial_ok:0 sync_partial_err:0 expired_keys:57 expired_stale_perc:0.24 expired_time_cap_reached_count:0 evicted_keys:0 keyspace_hits:106089 keyspace_misses:9 pubsub_channels:0 pubsub_patterns:0 latest_fork_usec:0 migrate_cached_sockets:0 slave_expires_tracked_keys:0 active_defrag_hits:0 active_defrag_misses:0 active_defrag_key_hits:0 active_defrag_key_misses:0

Replication

role:master connected_slaves:0 master_replid:6018bcc4a7d93e4401aad9aa7eda358b4ee2052d master_replid2:0000000000000000000000000000000000000000 master_repl_offset:0 second_repl_offset:-1 repl_backlog_active:0 repl_backlog_size:1048576 repl_backlog_first_byte_offset:0 repl_backlog_histlen:0

CPU

used_cpu_sys:2.906250 used_cpu_user:2.921875 used_cpu_sys_children:0.000000 used_cpu_user_children:0.000000

Commandstats

cmdstat_keys:calls=1,usec=41949,usec_per_call=41949.00 cmdstat_command:calls=1,usec=430,usec_per_call=430.00 cmdstat_get:calls=1,usec=11,usec_per_call=11.00 cmdstat_rpush:calls=2756,usec=16480,usec_per_call=5.98 cmdstat_select:calls=1,usec=4,usec_per_call=4.00 cmdstat_lrange:calls=2466,usec=43357,usec_per_call=17.58 cmdstat_set:calls=313,usec=1205,usec_per_call=3.85 cmdstat_monitor:calls=1,usec=0,usec_per_call=0.00 cmdstat_lindex:calls=5931,usec=32046,usec_per_call=5.40 cmdstat_type:calls=97699,usec=131661,usec_per_call=1.35 cmdstat_info:calls=1,usec=87,usec_per_call=87.00 cmdstat_dbsize:calls=1,usec=1,usec_per_call=1.00

Cluster

cluster_enabled:0

Keyspace

db0:keys=97738,expires=97555,avg_ttl=15494777 db1:keys=252,expires=0,avg_ttl=0 [20032] 13 Aug 23:42:17.147 # === REDIS BUG REPORT END. Make sure to include from START to END. ===

   Please report this bug by following the instructions at:

 https://github.com/tporadowski/redis/wiki/Submitting-an-Issue

Suspect RAM error? Use redis-server --test-memory to verify it.

superdev093 avatar Aug 13 '20 15:08 superdev093