Bug #109342 | Randomly crashes and stops mysql server | ||
---|---|---|---|
Submitted: | 12 Dec 2022 14:13 | Modified: | 14 Dec 2022 23:10 |
Reporter: | Juan Prado | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 8.0.31 | OS: | Windows (Server 2016 Standard) |
Assigned to: | CPU Architecture: | Other (Xeon CPU E5-2670 (2 processors)) | |
Tags: | Ram 192 GB |
[12 Dec 2022 14:13]
Juan Prado
[12 Dec 2022 15:22]
MySQL Verification Team
Hi Mr. Prado, Thank you for your bug report. We have already received a number of identical reports. It is clear, from the stacktrace, that a bug occurs in Microsoft's STL library. Hence, you should report this to Microsoft. It is a problem due to the very frequent usage of the recursion in their library. A workaround is to increase thread_stack , which solves a problem. We are not able to repeat it and you have not provided a fully repeatable test case.
[14 Dec 2022 23:10]
Juan Prado
Hi Mysql I have changed the thread_stack parameter: Before: thread_stack = 1048576 Now: thread_stack = 4194304 The mysql server has been up for a few days, but today it went down again. What could be the problem? I will upload the my.ini file on the page The error log is as follows: Timestamp, Thread, Type, Details 2022-12-14 14:28:27.804632, 0, [Warning] [MY-010055] [Server], IP address '45.227.254.53' could not be resolved: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. 2022-12-14 14:28:27.804631, 0, [Warning] [MY-010055] [Server], IP address '45.227.254.53' could not be resolved: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. 2022-12-14 14:28:32.812328, 0, [Warning] [MY-010055] [Server], IP address '45.227.254.53' could not be resolved: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. , , , 2022-12-14T22:47:27Z UTC - mysqld got exception 0xc0000005 ; , , , Most likely, you have hit a bug, but this error can also be caused by malfunctioning hardware. , , , Thread pointer: 0x0 , , , Attempting backtrace. You can use the following information to find out , , , where mysqld died. If you see no messages after this, something went , , , terribly wrong... , , , 7ffd0ac5b496 jemalloc.dll!??? , , , 7ffd0ac5b918 jemalloc.dll!??? , , , 7ffd0ac5ef2e jemalloc.dll!je_realloc() , , , 7ffd0bc36cdd libcrypto-1_1-x64.dll!CRYPTO_memcmp() , , , 7ffd0bc7abd2 libcrypto-1_1-x64.dll!CRYPTO_memcmp() , , , 7ffd0bc7d6e3 libcrypto-1_1-x64.dll!CRYPTO_memcmp() , , , 7ffd0bc4846d libcrypto-1_1-x64.dll!CRYPTO_memcmp() , , , 7ffd0bb512ec libcrypto-1_1-x64.dll!CRYPTO_memcmp() , , , 7ffd0bcf827f libcrypto-1_1-x64.dll!CRYPTO_memcmp() , , , 7ffd18a785af ntdll.dll!RtlDeactivateActivationContextUnsafeFast() , , , 7ffd18a75c41 ntdll.dll!LdrShutdownThread() , , , 7ffd18ab238e ntdll.dll!RtlExitUserThread() , , , 7ffd1595af93 KERNELBASE.dll!FreeLibraryAndExitThread() , , , 7ffd15d7fd04 ucrtbase.dll!_o__realloc_base() , , , 7ffd15dd0259 ucrtbase.dll!_endthreadex() , , , 7ff788e59245 mysqld.exe!?thread_id@THD@@QEBAIXZ() , , , 7ff78a4e5b79 mysqld.exe!?my_init_dynamic_array@@YA_NPEAUDYNAMIC_ARRAY@@IIPEAXII@Z() , , , 7ff789ee05ac mysqld.exe!?my_thread_self_setname@@YAXPEBD@Z() , , , 7ffd15d7fb80 ucrtbase.dll!_o__realloc_base() , , , 7ffd161384d4 KERNEL32.DLL!BaseThreadInitThunk() , , , 7ffd18ab1791 ntdll.dll!RtlUserThreadStart() , , , The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains , , , information that should help you find out what is causing the crash.
[15 Dec 2022 12:43]
MySQL Verification Team
Hi Mr. Prado, Yes, that is yet another very well known Windows bug. You have to rename jemalloc library and restart MySQL server ..... You should report both bugs to Microsoft.