Bug #87463 | MySQL Crashes with operating system error number 995 in a file operation | ||
---|---|---|---|
Submitted: | 18 Aug 2017 2:02 | Modified: | 18 Aug 2017 9:55 |
Reporter: | Guang Yang | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
Version: | 5.7.15 | OS: | Windows (Server 2012R2) |
Assigned to: | CPU Architecture: | Any | |
Tags: | assertion failure, fil0fil.cc, innodb |
[18 Aug 2017 2:02]
Guang Yang
[18 Aug 2017 6:29]
MySQL Verification Team
Hi, Please upgrade to current version of 5.7.19 and test again. You need the fix for this https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-17.html "InnoDB; Microsoft Windows: On a MySQL 64-bit build on Windows, a file I/O retry result was misinterpreted due to a missing cast necessary for the correct operation of the retry path, resulting in a failing assertion and operating system error. (Bug #24711351)"
[18 Aug 2017 9:55]
Guang Yang
Thanks a lot, Shane. I upgraded MySQL to 5.7.19 just now. Hope now the server can work well.
[27 Sep 2018 5:59]
MySQL Verification Team
Would just like to note one case where i've seen this today. Seems some race condition during shutdown of mysqld under a heavy write load. Version: '5.7.23-log' socket: '' port: 3306 MySQL Community Server (GPL) 2018-09-27T05:35:01.465406Z 0 [Note] InnoDB: Buffer pool(s) load completed at 180927 7:35:01 2018-09-27T05:56:00.797321Z 0 [Note] mysqld.exe: Normal shutdown 2018-09-27T05:56:00.799321Z 0 [Note] Giving 6 client threads a chance to die gracefully 2018-09-27T05:56:00.800821Z 0 [Note] Shutting down slave threads 2018-09-27T05:56:00.814323Z 0 [ERROR] InnoDB: Operating system error number 995 in a file operation. 2018-09-27T05:56:00.814823Z 0 [ERROR] InnoDB: The error means that the I/O operation has been aborted because of either a thread exit or an application request. Retry attempt is made. 2018-09-27T05:56:00.915336Z 0 [ERROR] InnoDB: Operating system error number 995 in a file operation. 2018-09-27T05:56:00.916336Z 0 [ERROR] InnoDB: The error means that the I/O operation has been aborted because of either a thread exit or an application request. Retry attempt is made. 2018-09-27T05:56:01.016848Z 0 [ERROR] InnoDB: Operating system error number 995 in a file operation. 2018-09-27T05:56:01.017849Z 0 [ERROR] InnoDB: The error means that the I/O operation has been aborted because of either a thread exit or an application request. Retry attempt is made. 2018-09-27T05:56:01.118361Z 0 [ERROR] InnoDB: Operating system error number 995 in a file operation. 2018-09-27T05:56:01.118861Z 0 [ERROR] InnoDB: The error means that the I/O operation has been aborted because of either a thread exit or an application request. Retry attempt is made. ... 2018-09-27T05:56:01.730439Z 0 [ERROR] InnoDB: The error means that the I/O operation has been aborted because of either a thread exit or 2018-09-27T05:56:02.442029Z 0 [ERROR] InnoDB: Operating system error number 995 in a file operation. 2018-09-27T05:56:02.443030Z 0 [ERROR] InnoDB: The error means that the I/O operation has been aborted because of either a thread exit or an application request. Retry attempt is made. 2018-09-27T05:56:02.543542Z 0 [ERROR] InnoDB: Operating system error number 995 in a file operation. 2018-09-27T05:56:02.544042Z 0 [ERROR] InnoDB: The error means that the I/O operation has been aborted because of either a thread exit or an application request. Retry attempt is made. 2018-09-27T05:56:02.645055Z 0 [ERROR] InnoDB: Operating system error number 995 in a file operation. 2018-09-27T05:56:02.646055Z 0 [ERROR] InnoDB: The error means that the I/O operation has been aborted because of either a thread exit or an application request. Retry attempt is made. 2018-09-27T05:56:02.746568Z 0 [ERROR] InnoDB: Operating system error number 995 in a file operation. 2018-09-27T05:56:02.747568Z 0 [ERROR] InnoDB: The error means that the I/O operation has been aborted because of either a thread exit or an application request. Retry attempt is made. 2018-09-27T05:56:02.802075Z 0 [Note] Forcefully disconnecting 2 remaining clients 2018-09-27T05:56:02.802575Z 0 [Warning] mysqld.exe: Forcing close of thread 67 user: 'root' 2018-09-27T05:56:02.804575Z 0 [Warning] mysqld.exe: Forcing close of thread 83 user: 'root' 2018-09-27T05:56:02.806576Z 0 [Note] Event Scheduler: Purging the queue. 1 events 2018-09-27T05:56:02.807576Z 0 [Note] Binlog end ... 2018-09-27T05:56:02.843580Z 0 [Note] Shutting down plugin 'InnoDB' 2018-09-27T05:56:02.844080Z 0 [Note] InnoDB: FTS optimize thread exiting. 2018-09-27T05:56:02.845081Z 0 [Note] InnoDB: Starting shutdown... 2018-09-27T05:56:02.848081Z 0 [ERROR] InnoDB: Operating system error number 995 in a file operation. 2018-09-27T05:56:02.849081Z 0 [ERROR] InnoDB: The error means that the I/O operation has been aborted because of either a thread exit or an application request. Retry attempt is made. 2018-09-27T05:56:02.945593Z 0 [Note] InnoDB: Dumping buffer pool(s) to E:\mysql-5.7.23-winx64\data\ib_buffer_pool 2018-09-27T05:56:02.949594Z 0 [ERROR] InnoDB: Operating system error number 995 in a file operation. 2018-09-27T05:56:02.950594Z 0 [ERROR] InnoDB: The error means that the I/O operation has been aborted because of either a thread exit or an application request. Retry attempt is made. 2018-09-27T05:56:02.949594Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 180927 7:56:02 2018-09-27T05:56:03.051107Z 0 [ERROR] InnoDB: Operating system error number 995 in a file operation. 2018-09-27T05:56:03.052107Z 0 [ERROR] InnoDB: The error means that the I/O operation has been aborted because of either a thread exit or an application request. Retry attempt is made. ... 2018-09-27T05:56:04.216755Z 0 [ERROR] InnoDB: Operating system error number 995 in a file operation. 2018-09-27T05:56:04.217755Z 0 [ERROR] InnoDB: The error means that the I/O operation has been aborted because of either a thread exit or an application request. Retry attempt is made. 2018-09-27T05:56:04.328769Z 0 [ERROR] InnoDB: Operating system error number 995 in a file operation. 2018-09-27T05:56:04.329769Z 0 [ERROR] InnoDB: The error means that the I/O operation has been aborted because of either a thread exit or an application request. Retry attempt is made. 2018-09-27T05:56:04.438783Z 0 [ERROR] InnoDB: Operating system error number 995 in a file operation. 2018-09-27T05:56:04.440283Z 0 [ERROR] InnoDB: The error means that the I/O operation has been aborted because of either a thread exit or an application request. Retry attempt is made. 2018-09-27T05:56:04.545797Z 0 [ERROR] InnoDB: Operating system error number 995 in a file operation. 2018-09-27T05:56:04.546797Z 0 [ERROR] InnoDB: The error means that the I/O operation has been aborted because of either a thread exit or an application request. Retry attempt is made. 2018-09-27T05:56:04.648310Z 0 [ERROR] InnoDB: Operating system error number 995 in a file operation. 2018-09-27T05:56:04.649310Z 0 [ERROR] InnoDB: The error means that the I/O operation has been aborted because of either a thread exit or an application request. Retry attempt is made. 2018-09-27T05:56:04.752323Z 0 [ERROR] InnoDB: Operating system error number 995 in a file operation. 2018-09-27T05:56:04.753323Z 0 [ERROR] InnoDB: The error means that the I/O operation has been aborted because of either a thread exit or an application request. Retry attempt is made. 2018-09-27T05:56:04.854336Z 0 [ERROR] InnoDB: Operating system error number 995 in a file operation. 2018-09-27T05:56:04.855336Z 0 [ERROR] InnoDB: The error means that the I/O operation has been aborted because of either a thread exit or an application request. Retry attempt is made. 2018-09-27T05:56:04.956349Z 0 [ERROR] InnoDB: Operating system error number 995 in a file operation. 2018-09-27T05:56:04.957349Z 0 [ERROR] InnoDB: The error means that the I/O operation has been aborted because of either a thread exit or an application request. Retry attempt is made. ... 2018-09-27T05:56:07.348652Z 0 [Note] InnoDB: Shutdown completed; log sequence number 54992561385 2018-09-27T05:56:07.350653Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2018-09-27T05:56:07.350653Z 0 [Note] Shutting down plugin 'MEMORY' 2018-09-27T05:56:07.351153Z 0 [Note] Shutting down plugin 'CSV' 2018-09-27T05:56:07.351153Z 0 [Note] Shutting down plugin 'sha256_password' 2018-09-27T05:56:07.351653Z 0 [Note] Shutting down plugin 'mysql_native_password' 2018-09-27T05:56:07.352153Z 0 [Note] Shutting down plugin 'binlog' 2018-09-27T05:56:07.373656Z 0 [Note] mysqld.exe: Shutdown complete
[18 Oct 2021 14:34]
Sindhur raj
Please let me know if anyone found any appropriate reason for this error and resolution for this bug.
[18 Oct 2021 18:21]
Sindhur raj
Can anyone re-open this ticket and provide details ?