Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis is configured to save RDB snapshots, but it is currently not able to persist on disk #160

Open
CaiQingsongCit opened this issue Apr 26, 2024 · 0 comments

Comments

@CaiQingsongCit
Copy link

Describe the bug/issue
Redis is configured to save RDB snapshots, but it is currently not able to persist on disk

Crash report
=== REDIS BUG REPORT START: Cut & paste starting from here ===
Redis version: 5.0.10
[6696] 26 Apr 09:16:54.158 # --- EXCEPTION_ACCESS_VIOLATION
[6696] 26 Apr 09:16:54.159 # --- STACK TRACE
redis-server.exe!StackTraceInfo(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:153)(0x14018CEB0, 0x0014FF90, 0x00000001, 0x0014C050)
redis-server.exe!UnhandledExceptiontHandler(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x0014C050, 0x00000001, 0x00000000, 0x00000001)
KERNELBASE.dll!UnhandledExceptionFilter(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x1401A1140, 0x7FF8F85FE4F8, 0x00000000, 0x0014C170)
ntdll.dll!memset(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x00000000, 0x00000000, 0x7FF8F5F784D4, 0x0014FF20)
ntdll.dll!_C_specific_handler(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x00000000, 0x0014C1C0, 0x0014C7C0, 0x00000000)
ntdll.dll!_chkstk(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x7FF8F6015498, 0x0014C7C0, 0x00000000, 0x005475F0)
ntdll.dll!RtlImageNtHeaderEx(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x00000DF5, 0x00000DF5, 0x00000000, 0x00520150)
ntdll.dll!KiUserExceptionDispatcher(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x1400B7795, 0x00000000, 0x1401AE608, 0x120000003B)
redis-server.exe!write(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x00000000, 0x1401AE608, 0x120000003B, 0x400000010)
redis-server.exe!malloc_tsd_boot1(D:\dev\GitHub\redis\deps\jemalloc-5.2.1\src\tsd.c:436)(0x00000030, 0x1401AE608, 0x00000030, 0x00000030)
redis-server.exe!malloc_init_hard(D:\dev\GitHub\redis\deps\jemalloc-5.2.1\src\jemalloc.c:1787)(0x00000030, 0x00000030, 0x0014F220, 0x140048263)
redis-server.exe!malloc_default(D:\dev\GitHub\redis\deps\jemalloc-5.2.1\src\jemalloc.c:2289)(0x7FA604400120, 0x14004A32C, 0x14017D648, 0x00000000)
redis-server.exe!zmalloc(D:\dev\GitHub\redis\src\zmalloc.c:111)(0x7FA604400120, 0x140083C47, 0x00000030, 0x00003431)
redis-server.exe!dictGetIterator(D:\dev\GitHub\redis\src\dict.c:564)(0x00000000, 0x14004A43D, 0x1DA97776CB573A8, 0x00000000)
redis-server.exe!rdbSaveModulesAux(D:\dev\GitHub\redis\src\module.c:3504)(0x0014F220, 0x00000000, 0x00000000, 0x00000009)
redis-server.exe!rdbSaveRio(D:\dev\GitHub\redis\src\rdb.c:1188)(0x005F0FC0, 0x00D30000, 0x00000000, 0x00001A28)
redis-server.exe!rdbSave(D:\dev\GitHub\redis\src\rdb.c:1321)(0x0162EA70, 0x00D30000, 0x00D30000, 0x00000089)
redis-server.exe!QForkChildInit(D:\dev\GitHub\redis\src\Win32_Interop\Win32_QFork.cpp:298)(0x000001C0, 0x00000000, 0x000001C0, 0x00529490)
redis-server.exe!main(D:\dev\GitHub\redis\src\Win32_Interop\Win32_QFork.cpp:1137)(0x00000000, 0x00000000, 0x00525320, 0x00000000)
redis-server.exe!__scrt_common_main_seh(D:\agent_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)(0x00000000, 0x00000000, 0x00000000, 0x00000000)
KERNEL32.DLL!BaseThreadInitThunk(D:\agent_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)(0x00000000, 0x00000000, 0x00000000, 0x00000000)
ntdll.dll!RtlUserThreadStart(D:\agent_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)(0x00000000, 0x00000000, 0x00000000, 0x00000000)
ntdll.dll!RtlUserThreadStart(D:\agent_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)(0x00000000, 0x00000000, 0x00000000, 0x00000000)
[6696] 26 Apr 09:16:54.164 # --- INFO OUTPUT
[6696] 26 Apr 09:16:54.164 # --- ABORT
[6696] 26 Apr 09:16:54.164 # --- STACK TRACE
redis-server.exe!StackTraceInfo(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:153)(0x00000016, 0x00000002, 0x1400DC960, 0x1401B5820)
redis-server.exe!AbortHandler(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:209)(0x1401B5820, 0x1400F7E7F, 0x0014B4F8, 0x0014B4D0)
redis-server.exe!raise(minkernel\crts\ucrt\src\appcrt\misc\signal.cpp:547)(0x0014B501, 0x00000000, 0x00000000, 0x0000046A)
redis-server.exe!abort(minkernel\crts\ucrt\src\appcrt\startup\abort.cpp:71)(0x00000000, 0x1401A9210, 0x0000046A, 0x000005AF)
redis-server.exe!zmalloc_default_oom(D:\dev\GitHub\redis\src\zmalloc.c:105)(0x00000000, 0x0000046A, 0x04C0000B, 0x0000000F)
redis-server.exe!zmalloc(D:\dev\GitHub\redis\src\zmalloc.c:115)(0x00000005, 0x04C0000B, 0x76DE97C74F6945E9, 0x140185860)
redis-server.exe!sdsMakeRoomFor(D:\dev\GitHub\redis\src\sds.c:243)(0x0014B620, 0x0014B620, 0x76DE97C74F6945E9, 0x0014BAA0)
redis-server.exe!sdscatlen(D:\dev\GitHub\redis\src\sds.c:420)(0x00000400, 0x00000400, 0x0014BAA0, 0x140185860)
redis-server.exe!sdscatvprintf(D:\dev\GitHub\redis\src\sds.c:575)(0x002B0086, 0x00000000, 0x140169E79, 0x00000000)
redis-server.exe!sdscatprintf(D:\dev\GitHub\redis\src\sds.c:603)(0x04C0000B, 0x140185860, 0x1401762A4, 0x14017E9D0)
redis-server.exe!genRedisInfoString(D:\dev\GitHub\redis\src\server.c:3262)(0x14018CEB0, 0xFFFFFFFFFFFFFFFF, 0x14018CEB0, 0x00000001)
redis-server.exe!UnhandledExceptiontHandler(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x0014C050, 0x00000001, 0x00000000, 0x00000001)
KERNELBASE.dll!UnhandledExceptionFilter(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x1401A1140, 0x7FF8F85FE4F8, 0x00000000, 0x0014C170)
ntdll.dll!memset(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x00000000, 0x00000000, 0x7FF8F5F784D4, 0x0014FF20)
ntdll.dll!_C_specific_handler(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x00000000, 0x0014C1C0, 0x0014C7C0, 0x00000000)
ntdll.dll!_chkstk(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x7FF8F6015498, 0x0014C7C0, 0x00000000, 0x005475F0)
ntdll.dll!RtlImageNtHeaderEx(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x00000DF5, 0x00000DF5, 0x00000000, 0x00520150)
ntdll.dll!KiUserExceptionDispatcher(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x1400B7795, 0x00000000, 0x1401AE608, 0x120000003B)
redis-server.exe!write(D:\dev\GitHub\redis\src\Win32_Interop\Win32_StackTrace.cpp:186)(0x00000000, 0x1401AE608, 0x120000003B, 0x400000010)
redis-server.exe!malloc_tsd_boot1(D:\dev\GitHub\redis\deps\jemalloc-5.2.1\src\tsd.c:436)(0x00000030, 0x1401AE608, 0x00000030, 0x00000030)
redis-server.exe!malloc_init_hard(D:\dev\GitHub\redis\deps\jemalloc-5.2.1\src\jemalloc.c:1787)(0x00000030, 0x00000030, 0x0014F220, 0x140048263)
redis-server.exe!malloc_default(D:\dev\GitHub\redis\deps\jemalloc-5.2.1\src\jemalloc.c:2289)(0x7FA604400120, 0x14004A32C, 0x14017D648, 0x00000000)
redis-server.exe!zmalloc(D:\dev\GitHub\redis\src\zmalloc.c:111)(0x7FA604400120, 0x140083C47, 0x00000030, 0x00003431)
redis-server.exe!dictGetIterator(D:\dev\GitHub\redis\src\dict.c:564)(0x00000000, 0x14004A43D, 0x1DA97776CB573A8, 0x00000000)
redis-server.exe!rdbSaveModulesAux(D:\dev\GitHub\redis\src\module.c:3504)(0x0014F220, 0x00000000, 0x00000000, 0x00000009)
redis-server.exe!rdbSaveRio(D:\dev\GitHub\redis\src\rdb.c:1188)(0x005F0FC0, 0x00D30000, 0x00000000, 0x00001A28)
redis-server.exe!rdbSave(D:\dev\GitHub\redis\src\rdb.c:1321)(0x0162EA70, 0x00D30000, 0x00D30000, 0x00000089)
redis-server.exe!QForkChildInit(D:\dev\GitHub\redis\src\Win32_Interop\Win32_QFork.cpp:298)(0x000001C0, 0x00000000, 0x000001C0, 0x00529490)
redis-server.exe!main(D:\dev\GitHub\redis\src\Win32_Interop\Win32_QFork.cpp:1137)(0x00000000, 0x00000000, 0x00525320, 0x00000000)
redis-server.exe!__scrt_common_main_seh(D:\agent_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)(0x00000000, 0x00000000, 0x00000000, 0x00000000)
KERNEL32.DLL!BaseThreadInitThunk(D:\agent_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)(0x00000000, 0x00000000, 0x00000000, 0x00000000)
ntdll.dll!RtlUserThreadStart(D:\agent_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)(0x00000000, 0x00000000, 0x00000000, 0x00000000)
ntdll.dll!RtlUserThreadStart(D:\agent_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)(0x00000000, 0x00000000, 0x00000000, 0x00000000)
[6696] 26 Apr 09:16:54.179 #
=== REDIS BUG REPORT END. Make sure to include from START to END. ===

Additional context
windows server 2016 Datacenter x64, RAM: 32GB ,
Redis-x64-5.0.10 standalone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant