Bug #91956 | Sig 6 : Assertion failure in ha_innodb.cc line 17420 | ||
---|---|---|---|
Submitted: | 10 Aug 2018 6:56 | Modified: | 10 Aug 2018 7:08 |
Reporter: | Ramesh Sivaraman | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 5.6.41, 5.7.23 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | debug |
[10 Aug 2018 6:56]
Ramesh Sivaraman
[10 Aug 2018 7:08]
MySQL Verification Team
Hello Ramesh, Thank you for the report and feedback! thanks, Umesh
[29 Aug 2018 6:38]
Ashurei Luis
I have a similar issue InnoDB crushed by try to allocate huge memory, not sure it is related, both has message "Unable to allocate memory ... in file ha_innodb.cc line 17420". Version MySQL-server-5.6.41-1.el7.x86_64 Crush & recovery log: 2018-08-29 22:09:52 7f5d803a8700 InnoDB: Error: page 3 log sequence number 7252937 InnoDB: is in the future! Current system log sequence number 6630232. InnoDB: Your database may be corrupt or you may have copied the InnoDB InnoDB: tablespace but not the InnoDB log files. See InnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html InnoDB: for more information. 2018-08-29 22:09:52 13379 [ERROR] InnoDB: InnoDB: Unable to allocate memory of size 18446744073709550360. 2018-08-29 22:09:52 7f5d803a8700 InnoDB: Assertion failure in thread 140039560005376 in file ha_innodb.cc line 17420 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/5.6/en/forcing-innodb-recovery.html InnoDB: about forcing recovery. 14:09: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. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail. key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=5 max_threads=151 thread_count=5 connection_count=5 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1786764 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x6404dc0 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 = 7f5d803a7e90 thread_stack 0x20000 mysqld(my_print_stacktrace+0x3b)[0x8ed7cb] mysqld(handle_fatal_signal+0x491)[0x6794f1] /lib64/libpthread.so.0(+0xf5e0)[0x7f5e2e6805e0] /lib64/libc.so.6(gsignal+0x37)[0x7f5e2d27b1f7] /lib64/libc.so.6(abort+0x148)[0x7f5e2d27c8e8] mysqld[0x92aa3c] mysqld[0x9671c7] mysqld[0x96730c] mysqld[0x9f194e] mysqld[0x9f1f56] mysqld[0x9d5b7f] mysqld[0x9ccc1a] mysqld[0x9245c1] mysqld(_ZN7handler18index_read_idx_mapEPhjPKhm16ha_rkey_function+0x68)[0x5b7f48] mysqld(_ZN7handler21ha_index_read_idx_mapEPhjPKhm16ha_rkey_function+0x9b)[0x5bc09b] mysqld[0x6d6624] mysqld(_Z21join_read_const_tableP13st_join_tableP11st_position+0xb7)[0x6d6737] mysqld[0x84e271] mysqld(_ZN4JOIN8optimizeEv+0x74c)[0x85046c] mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_P10SQL_I_ListI8st_orderESB_S7_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x22f)[0x71c8cf] mysqld(_Z13handle_selectP3THDP13select_resultm+0x195)[0x71d1a5] mysqld[0x57e7a7] mysqld(_Z21mysql_execute_commandP3THD+0x3253)[0x6f8953] mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x378)[0x6fc028] mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0xf65)[0x6fd7a5] mysqld(_Z24do_handle_one_connectionP3THD+0x152)[0x6ca6a2] mysqld(handle_one_connection+0x40)[0x6ca760] mysqld(pfs_spawn_thread+0x146)[0xb453d6] /lib64/libpthread.so.0(+0x7e25)[0x7f5e2e678e25] /lib64/libc.so.6(clone+0x6d)[0x7f5e2d33e34d] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (7f5d4c0013c0): is an invalid pointer Connection ID (thread ID): 11 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. 2018-08-29 22:09:52 15051 [Note] Plugin 'FEDERATED' is disabled. 2018-08-29 22:09:52 7fd493fdc740 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator. 2018-08-29 22:09:52 15051 [Note] InnoDB: Using atomics to ref count buffer pool pages 2018-08-29 22:09:52 15051 [Note] InnoDB: The InnoDB memory heap is disabled 2018-08-29 22:09:52 15051 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2018-08-29 22:09:52 15051 [Note] InnoDB: Memory barrier is not used 2018-08-29 22:09:52 15051 [Note] InnoDB: Compressed tables use zlib 1.2.3 2018-08-29 22:09:52 15051 [Note] InnoDB: Using Linux native AIO 2018-08-29 22:09:52 15051 [Note] InnoDB: Using CPU crc32 instructions 2018-08-29 22:09:52 15051 [Note] InnoDB: Initializing buffer pool, size = 2.0G 2018-08-29 22:09:53 15051 [Note] InnoDB: Completed initialization of buffer pool 2018-08-29 22:09:53 15051 [Note] InnoDB: Highest supported file format is Barracuda. 2018-08-29 22:09:53 15051 [Note] InnoDB: The log sequence numbers 6629629 and 6629629 in ibdata files do not match the log sequence number 6630232 in the ib_logfiles! 2018-08-29 22:09:53 15051 [Note] InnoDB: Database was not shutdown normally! 2018-08-29 22:09:53 15051 [Note] InnoDB: Starting crash recovery. 2018-08-29 22:09:53 15051 [Note] InnoDB: Reading tablespace information from the .ibd files... 2018-08-29 22:09:53 15051 [Note] InnoDB: Restoring possible half-written data pages 2018-08-29 22:09:53 15051 [Note] InnoDB: from the doublewrite buffer... 2018-08-29 22:09:53 15051 [Note] InnoDB: 128 rollback segment(s) are active. 2018-08-29 22:09:53 15051 [Note] InnoDB: Waiting for purge to start 2018-08-29 22:09:53 15051 [Note] InnoDB: 5.6.41 started; log sequence number 6630232 2018-08-29 22:09:53 15051 [Note] Server hostname (bind-address): '*'; port: 3308 2018-08-29 22:09:53 15051 [Note] IPv6 is available. 2018-08-29 22:09:53 15051 [Note] - '::' resolves to '::'; 2018-08-29 22:09:53 15051 [Note] Server socket created on IP: '::'. 2018-08-29 22:09:53 15051 [Warning] 'user' entry 'root@localhost.localdomain' ignored in --skip-name-resolve mode. 2018-08-29 22:09:53 15051 [Warning] 'proxies_priv' entry '@ root@localhost.localdomain' ignored in --skip-name-resolve mode. 2018-08-29 22:09:53 15051 [Note] Event Scheduler: Loaded 0 events 2018-08-29 22:09:53 15051 [Note] mysqld: ready for connections.
[28 Jan 2019 10:59]
MySQL Verification Team
Bug #94096 marked as duplicate of this one