Skip to content
This repository was archived by the owner on Feb 20, 2021. It is now read-only.
This repository was archived by the owner on Feb 20, 2021. It is now read-only.

Bug Report : Redis crashes intermittently - EXCEPTION_INT_DIVIDE_BY_ZERO #646

@212588083

Description

@212588083

Hi,
Redis is crashing on the server periodically with EXCEPTION_INT_DIVIDE_BY_ZERO.

=== REDIS BUG REPORT START: Cut & paste starting from here ===
[2140] 10 Oct 19:34:44.740 # Redis version: 3.0.504
[2140] 10 Oct 19:34:44.740 # --- EXCEPTION_INT_DIVIDE_BY_ZERO
[2140] 10 Oct 19:34:44.740 # --- STACK TRACE
redis-server.exe!LogStackTrace(c:\release\redis\src\win32_interop\win32_stacktrace.cpp:95)(0x00E3E690, 0x00E3FF90, 0x00000001, 0x401248B0)
redis-server.exe!UnhandledExceptiontHandler(c:\release\redis\src\win32_interop\win32_stacktrace.cpp:185)(0x00000000, 0x00000000, 0x00000000, 0x00000001)
KERNELBASE.dll!UnhandledExceptionFilter(c:\release\redis\src\win32_interop\win32_stacktrace.cpp:185)(0x00E3EE00, 0x7ED01E08, 0x00000000, 0x40065C23)
ntdll.dll!memset(c:\release\redis\src\win32_interop\win32_stacktrace.cpp:185)(0x00E3F2F0, 0x00E3E6F0, 0x7C3B84D4, 0x00E3FAF0)
ntdll.dll!_C_specific_handler(c:\release\redis\src\win32_interop\win32_stacktrace.cpp:185)(0x00000000, 0x00E3E800, 0x00E3EE00, 0x00000000)
ntdll.dll!_chkstk(c:\release\redis\src\win32_interop\win32_stacktrace.cpp:185)(0x7C454498, 0x00E3EE00, 0xFD8F2500, 0x7D9F1137)
ntdll.dll!RtlImageNtHeaderEx(c:\release\redis\src\win32_interop\win32_stacktrace.cpp:185)(0x00000000, 0x00000000, 0x00E3F4E0, 0x00000000)
ntdll.dll!KiUserExceptionDispatcher(c:\release\redis\src\win32_interop\win32_stacktrace.cpp:185)(0x00008301, 0x02C07068, 0x00000000, 0x00E3F4E0)
redis-server.exe!rioFileWrite(c:\release\redis\src\rio.c:118)(0x00000009, 0x00E3F4E0, 0x00000009, 0x00000006)
redis-server.exe!rdbSaveRio(c:\release\redis\src\rdb.c:673)(0x40150210, 0x02CE8000, 0x0000000E, 0x02C07068)
redis-server.exe!rdbSave(c:\release\redis\src\rdb.c:758)(0x025C5190, 0x00000007, 0x02CE8000, 0x400AB79F)
redis-server.exe!saveCommand(c:\release\redis\src\rdb.c:1583)(0x00000000, 0xEF2BF499, 0x02C090A0, 0x4008E95C)
redis-server.exe!call(c:\release\redis\src\redis.c:2122)(0x5F824514, 0x400A5AE0, 0x00000000, 0x0000000E)
redis-server.exe!processCommand(c:\release\redis\src\redis.c:2368)(0x00000004, 0x0000000E, 0x00000000, 0x00000000)
redis-server.exe!processInputBuffer(c:\release\redis\src\networking.c:1291)(0x00000000, 0x0000000E, 0x0000000E, 0x00000000)
redis-server.exe!readQueryFromClient(c:\release\redis\src\networking.c:1344)(0x02C6F1C0, 0x00000001, 0x02C4B150, 0x000001A4)
redis-server.exe!aeMain(c:\release\redis\src\ae.c:481)(0x5F80800A, 0x02C06FA8, 0x00000002, 0x0054FE40)
redis-server.exe!redis_main(c:\release\redis\src\redis.c:3765)(0x00000000, 0x0055CFA0, 0x5F808009, 0x0055CFA0)
redis-server.exe!main(c:\release\redis\src\win32_interop\win32_qfork.cpp:1237)(0x00000016, 0xFFFFFFFF, 0x00000016, 0x00000000)
redis-server.exe!ServiceWorkerThread(c:\release\redis\src\win32_interop\win32_service.cpp:484)(0x00000000, 0x00000000, 0x00000000, 0x00000000)
KERNEL32.DLL!BaseThreadInitThunk(c:\release\redis\src\win32_interop\win32_service.cpp:484)(0x00000000, 0x00000000, 0x00000000, 0x00000000)
ntdll.dll!RtlUserThreadStart(c:\release\redis\src\win32_interop\win32_service.cpp:484)(0x00000000, 0x00000000, 0x00000000, 0x00000000)
ntdll.dll!RtlUserThreadStart(c:\release\redis\src\win32_interop\win32_service.cpp:484)(0x00000000, 0x00000000, 0x00000000, 0x00000000)
[2140] 10 Oct 19:34:44.803 # --- INFO OUTPUT

Server

redis_version:3.0.504
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:a4f7a6e86f2d60b3
redis_mode:standalone
os:Windows
arch_bits:64
multiplexing_api:WinSock_IOCP
process_id:2140
run_id:96ffee07104970b96453ef43974ec41ddea5bd03
tcp_port:6379
uptime_in_seconds:115979
uptime_in_days:1
hz:10
lru_clock:8537364
config_file:C:\Program Files\Redis\redis.windows-service.conf

Clients

connected_clients:3
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0

Memory

used_memory:734592
used_memory_human:717.38K
used_memory_rss:696840
used_memory_peak:843944
used_memory_peak_human:824.16K
used_memory_lua:36864
mem_fragmentation_ratio:0.95
mem_allocator:jemalloc-3.6.0

Persistence

loading:0
rdb_changes_since_last_save:144
rdb_bgsave_in_progress:0
rdb_last_save_time:1602256905
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:22
total_commands_processed:7644
instantaneous_ops_per_sec:2
total_net_input_bytes:242419
total_net_output_bytes:916681
instantaneous_input_kbps:0.13
instantaneous_output_kbps:0.08
rejected_connections:0
sync_full:0
sync_partial_ok:0
sync_partial_err:0
expired_keys:2
evicted_keys:0
keyspace_hits:142
keyspace_misses:62
pubsub_channels:3
pubsub_patterns:1
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:0.05
used_cpu_user:0.09
used_cpu_sys_children:0.00
used_cpu_user_children:0.00

Commandstats

cmdstat_get:calls=92,usec=863,usec_per_call=9.38
cmdstat_set:calls=7,usec=83,usec_per_call=11.86
cmdstat_setex:calls=13,usec=204,usec_per_call=15.69
cmdstat_del:calls=53,usec=133,usec_per_call=2.51
cmdstat_exists:calls=19,usec=51,usec_per_call=2.68
cmdstat_expire:calls=112,usec=1475,usec_per_call=13.17
cmdstat_ping:calls=3656,usec=13389,usec_per_call=3.66
cmdstat_echo:calls=4,usec=1,usec_per_call=0.25
cmdstat_flushall:calls=1,usec=18,usec_per_call=18.00
cmdstat_info:calls=3660,usec=73550,usec_per_call=20.10
cmdstat_slaveof:calls=3,usec=243,usec_per_call=81.00
cmdstat_config:calls=11,usec=2498,usec_per_call=227.09
cmdstat_subscribe:calls=5,usec=28,usec_per_call=5.60
cmdstat_psubscribe:calls=2,usec=11,usec_per_call=5.50
cmdstat_cluster:calls=2,usec=9,usec_per_call=4.50
cmdstat_client:calls=4,usec=22,usec_per_call=5.50

Cluster

cluster_enabled:0

Keyspace

db0:keys=1,expires=0,avg_ttl=0
[2140] 10 Oct 19:34:44.803 #
=== REDIS BUG REPORT END. Make sure to include from START to END. ===

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions