Bug #119085 | FLUSH PRIVILEGES crashes server after a column is dropped from mysql.servers table. | ||
---|---|---|---|
Submitted: | 27 Sep 15:45 | Modified: | 28 Sep 15:54 |
Reporter: | QiFan Liu | Email Updates: | |
Status: | Unsupported | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 9.4.0 | OS: | Linux |
Assigned to: | CPU Architecture: | Any |
[27 Sep 15:45]
QiFan Liu
[28 Sep 15:48]
MySQL Verification Team
Changing the system table's structure is not supported. IF you can get a crash without doing that, feel free to open a new bug.
[28 Sep 15:51]
MySQL Verification Team
For reference, the crash is: 2025-09-28T15:50:56.221515Z 0 [System] [MY-010931] [Server] C:\my\mysql-commercial-9.4.0-winx64\bin\mysqld.exe: ready for connections. Version: '9.4.0-commercial' socket: '' port: 3306 MySQL Enterprise Server - Commercial. 2025-09-28T15:51:00Z UTC - mysqld got exception 0xc0000005 ; Most likely, you have hit a bug, but this error can also be caused by malfunctioning hardware. Thread pointer: 0x21a88d9bf50 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... 7ff6b42ebcf6 mysqld.exe!get_field()[table.cc:3680] 7ff6b440cad0 mysqld.exe!get_server_from_table_to_cache()[sql_servers.cc:376] 7ff6b440d2c8 mysqld.exe!servers_load()[sql_servers.cc:260] 7ff6b440d5b5 mysqld.exe!servers_reload()[sql_servers.cc:304] 7ff6b46fc297 mysqld.exe!handle_reload_request()[sql_reload.cc:169] 7ff6b4464260 mysqld.exe!mysql_execute_command()[sql_parse.cc:4267] 7ff6b445f965 mysqld.exe!dispatch_sql_command()[sql_parse.cc:5431] 7ff6b445ee29 mysqld.exe!dispatch_command()[sql_parse.cc:2151] 7ff6b445fd79 mysqld.exe!do_command()[sql_parse.cc:1492] 7ff6b4221d58 mysqld.exe!handle_connection()[connection_handler_per_thread.cc:304] 7ff6b5846b78 mysqld.exe!pfs_spawn_thread()[pfs.cc:3070] 7ff6b5250cfc mysqld.exe!win_thread_start()[my_thread.cc:75] 7ffed89637b0 ucrtbase.dll!wcsrchr() 7ffed9c9e8d7 KERNEL32.DLL!BaseThreadInitThunk() 7ffedb088d9c ntdll.dll!RtlUserThreadStart() Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (21aa97c0cf0): FLUSH PRIVILEGES Connection ID (thread ID): 9 Status: NOT_KILLED 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.