Bug #91973 | InnoDB: Assertion failure: srv0start.cc:1482:0 | ||
---|---|---|---|
Submitted: | 10 Aug 2018 22:53 | Modified: | 21 Sep 2018 14:11 |
Reporter: | Roel Van de Paar | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S6 (Debug Builds) |
Version: | 8.0.12 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | debug |
[10 Aug 2018 22:53]
Roel Van de Paar
[10 Aug 2018 23:32]
MySQL Verification Team
Thank you for the bug report. Repeatable only with debug build: miguel@izalco:~/dbs/8.0 $ bin/mysqld --innodb-spin-wait-delay=1125899906842624 ]2018-08-10T23:15:22.546963Z 0 [Warning] [MY-010139] [Server] Changed limits: max_open_files: 1024 (requested 8161) 2018-08-10T23:15:22.547057Z 0 [Warning] [MY-010142] [Server] Changed limits: table_open_cache: 431 (requested 4000) 2018-08-10T23:15:22.756016Z 0 [System] [MY-010116] [Server] /home/miguel/dbs/8.0/bin/mysqld (mysqld 8.0.13) starting as process 7964 2018-08-10T23:15:25.653634Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 2018-08-10T23:15:25.807693Z 0 [System] [MY-010931] [Server] /home/miguel/dbs/8.0/bin/mysqld: ready for connections. Version: '8.0.13' socket: '/tmp/mysql.sock' port: 3306 Source distribution BUILD: 2018-JUL-20. 2018-08-10T23:15:26.137908Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: '/tmp/mysqlx.sock' bind-address: '::' port: 33060 2018-08-10T23:18:16.920459Z 8 [System] [MY-013172] [Server] Received SHUTDOWN from user root. Shutting down mysqld (Version: 8.0.13). 2018-08-10T23:18:18.934975Z 0 [System] [MY-010910] [Server] /home/miguel/dbs/8.0/bin/mysqld: Shutdown complete (mysqld 8.0.13) Source distribution BUILD: 2018-JUL-20. miguel@izalco:~/dbs/8.0 $ cd miguel@izalco:~ $ cd dbsd/8.0/ miguel@izalco:~/dbsd/8.0 $ bin/mysqld --innodb-spin-wait-delay=1125899906842624 2018-08-10T23:27:54.844675Z 0 [Warning] [MY-010139] [Server] Changed limits: max_open_files: 1024 (requested 8161) 2018-08-10T23:27:54.855413Z 0 [Warning] [MY-010142] [Server] Changed limits: table_open_cache: 431 (requested 4000) 2018-08-10T23:27:55.174371Z 0 [System] [MY-010116] [Server] /home/miguel/dbsd/8.0/bin/mysqld (mysqld 8.0.13-debug) starting as process 8301 2018-08-10T23:27:59.488480Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 2018-08-10T23:27:59.702369Z 0 [System] [MY-010931] [Server] /home/miguel/dbsd/8.0/bin/mysqld: ready for connections. Version: '8.0.13-debug' socket: '/tmp/mysql.sock' port: 3306 Source distribution BUILD: 2018-JUL-20. 2018-08-10T23:27:59.964982Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: '/tmp/mysqlx.sock' bind-address: '::' port: 33060 2018-08-10T23:28:09.977333Z 8 [System] [MY-013172] [Server] Received SHUTDOWN from user root. Shutting down mysqld (Version: 8.0.13-debug). 2018-08-10T23:29:52.074733Z 0 [Warning] [MY-012928] [InnoDB] 1 threads created by InnoDB had not exited at shutdown! Pending normal aio reads: 0 Pending normal aio writes: 0 Pending ibuf aio reads: 0 Pending log i/o's: 0 Pending sync i/o's: 0 2018-08-10T23:29:52.074848Z 0 [ERROR] [MY-013183] [InnoDB] Assertion failure: srv0start.cc:1485:0 thread 140583611677056 InnoDB: We intentionally generate a memory trap. InnoDB: Submit a detailed bug report to http://bugs.mysql.com. InnoDB: If you get repeated assertion failures or crashes, even InnoDB: immediately after the mysqld startup, there may be InnoDB: corruption in the InnoDB tablespace. Please refer to InnoDB: http://dev.mysql.com/doc/refman/8.0/en/forcing-innodb-recovery.html InnoDB: about forcing recovery. 23:29:52 UTC - mysqld got signal 6 ; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. Attempting to collect some information that could help diagnose the problem. As this is a crash and something is definitely wrong, the information collection process might fail. key_buffer_size=8388608 read_buffer_size=131072 max_used_connections=1 max_threads=151 thread_count=0 connection_count=0 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 67870 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. 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... stack_bottom = 0 thread_stack 0x46000 /home/miguel/dbsd/8.0/bin/mysqld(my_print_stacktrace(unsigned char*, unsigned long)+0x43) [0x4148f2c] /home/miguel/dbsd/8.0/bin/mysqld(handle_fatal_signal+0x3f5) [0x2f1d23e] /lib64/libpthread.so.0(+0xf6d0) [0x7fdc2bfce6d0] /lib64/libc.so.6(gsignal+0x37) [0x7fdc2a2e5277] /lib64/libc.so.6(abort+0x148) [0x7fdc2a2e6968] /home/miguel/dbsd/8.0/bin/mysqld(ut_dbg_assertion_failed(char const*, char const*, unsigned long)+0x187) [0x450a010] /home/miguel/dbsd/8.0/bin/mysqld(srv_shutdown_all_bg_threads()+0x2a1) [0x4494093] /home/miguel/dbsd/8.0/bin/mysqld(srv_shutdown()+0xbe) [0x4498100] /home/miguel/dbsd/8.0/bin/mysqld() [0x4256496] /home/miguel/dbsd/8.0/bin/mysqld(ha_finalize_handlerton(st_plugin_int*)+0xc3) [0x308aaaa] /home/miguel/dbsd/8.0/bin/mysqld() [0x2da80ec] /home/miguel/dbsd/8.0/bin/mysqld() [0x2da87ae] /home/miguel/dbsd/8.0/bin/mysqld(plugin_shutdown()+0x86) [0x2dab196] /home/miguel/dbsd/8.0/bin/mysqld() [0x2c080a4] /home/miguel/dbsd/8.0/bin/mysqld(mysqld_main(int, char**)+0x31d1) [0x2c17391] /home/miguel/dbsd/8.0/bin/mysqld(main+0x20) [0x2c04d1d] /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fdc2a2d1445] /home/miguel/dbsd/8.0/bin/mysqld() [0x2c04c39] 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. miguel@izalco:~/dbsd/8.0 $
[21 Sep 2018 14:11]
Daniel Price
Posted by developer: Fixed as of the upcoming 8.0.14 release, and here's the changelog entry: Setting innodb_spin_wait_delay to a high value caused an assertion failure when attempting to shut down the server. To prevent this failure from occurring, the innodb_spin_wait_delay maximum value was reduced to 1000.