Bug #73881 | InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED on concurrent DDL/DML | ||
---|---|---|---|
Submitted: | 10 Sep 2014 23:39 | Modified: | 12 Sep 2014 18:02 |
Reporter: | Elena Stepanova | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 5.6 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[10 Sep 2014 23:39]
Elena Stepanova
[10 Sep 2014 23:40]
Elena Stepanova
RQG grammar
Attachment: 1.yy (application/octet-stream, text), 3.70 KiB.
[10 Sep 2014 23:40]
Elena Stepanova
RQG data template
Attachment: 1.zz (application/octet-stream, text), 323 bytes.
[11 Sep 2014 8:02]
MySQL Verification Team
Similar to bugs: Bug 16802288 - FAILING ASSERTION: PREBUILT->SQL_STAT_START || TRX->STATE == TRX_STATE_ACTIVE Bug 16268055 - INNODB: FAILING ASSERTION: UT_LIST_GET_LEN(TRX->LOCK.TRX_LOCKS) == 0 Bug 16543220 - ERROR: MYSQL IS TRYING TO PERFORM A CONSISTENT READ Bug 19142753 - ASSERT: MODE !=LOCK_X || LOCK_TABLE_HAS(THR_GET_TRX(THR), INDEX->TABLE, LOCK_IX)
[12 Sep 2014 17:58]
MySQL Verification Team
2014-09-12 14:53:34 18730 [Note] /home/miguel/mysql-5.6/sql/mysqld: ready for connections. Version: '5.6.22-debug-log' socket: '/home/miguel/mysql-5.6/mysql-test/var/mysql.sock' port: 19300 Source distribution 2014-09-12 14:53:52 18730 [ERROR] /home/miguel/mysql-5.6/sql/mysqld: Deadlock found when trying to get lock; try restarting transaction 2014-09-12 14:53:52 18730 [ERROR] /home/miguel/mysql-5.6/sql/mysqld: Sort aborted: Deadlock found when trying to get lock; try restarting transaction 2014-09-12 14:53:53 18730 [ERROR] /home/miguel/mysql-5.6/sql/mysqld: Deadlock found when trying to get lock; try restarting transaction 2014-09-12 14:53:53 18730 [ERROR] /home/miguel/mysql-5.6/sql/mysqld: Sort aborted: Deadlock found when trying to get lock; try restarting transaction 2014-09-12 14:53:53 18730 [ERROR] /home/miguel/mysql-5.6/sql/mysqld: Deadlock found when trying to get lock; try restarting transaction 2014-09-12 14:53:53 18730 [ERROR] /home/miguel/mysql-5.6/sql/mysqld: Sort aborted: Deadlock found when trying to get lock; try restarting transaction 2014-09-12 14:53:54 18730 [ERROR] /home/miguel/mysql-5.6/sql/mysqld: Deadlock found when trying to get lock; try restarting transaction 2014-09-12 14:53:54 18730 [ERROR] /home/miguel/mysql-5.6/sql/mysqld: Sort aborted: Deadlock found when trying to get lock; try restarting transaction 2014-09-12 14:54:24 18730 [ERROR] /home/miguel/mysql-5.6/sql/mysqld: Sort aborted: Query execution was interrupted 2014-09-12 14:54:26 18730 [ERROR] /home/miguel/mysql-5.6/sql/mysqld: Deadlock found when trying to get lock; try restarting transaction 2014-09-12 14:54:26 18730 [ERROR] /home/miguel/mysql-5.6/sql/mysqld: Sort aborted: Deadlock found when trying to get lock; try restarting transaction 2014-09-12 14:54:26 7fdd81b99700 InnoDB: Assertion failure in thread 140589340923648 in file trx0trx.ic line 60 InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED 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. 17:54:26 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=8388608 read_buffer_size=131072 max_used_connections=10 max_threads=151 thread_count=9 connection_count=9 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 68279 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x2f55230 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 = 7fdd81b98e28 thread_stack 0x40000 /home/miguel/mysql-5.6/sql/mysqld(my_print_stacktrace+0x38)[0xa8bbdb] /home/miguel/mysql-5.6/sql/mysqld(handle_fatal_signal+0x39f)[0x718f21] /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340)[0x7fdd9595f340] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39)[0x7fdd94d9ff89] /lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7fdd94da3398] /home/miguel/mysql-5.6/sql/mysqld[0xccf83e] /home/miguel/mysql-5.6/sql/mysqld[0xcd1419] /home/miguel/mysql-5.6/sql/mysqld[0xb6ed18] /home/miguel/mysql-5.6/sql/mysqld(_Z20ha_release_savepointP3THDP12st_savepoint+0xab)[0x630998] /home/miguel/mysql-5.6/sql/mysqld(_ZN3THD27restore_sub_statement_stateEP19Sub_statement_state+0xd1)[0x784c7d] /home/miguel/mysql-5.6/sql/mysqld(_ZN19Table_triggers_list16process_triggersEP3THD14trg_event_type20trg_action_time_typeb+0x261)[0x84df25] /home/miguel/mysql-5.6/sql/mysqld(_Z36fill_record_n_invoke_before_triggersP3THDR4ListI4ItemES4_bP19Table_triggers_list14trg_event_type+0x68)[0x766956] /home/miguel/mysql-5.6/sql/mysqld(_Z12mysql_updateP3THDP10TABLE_LISTR4ListI4ItemES6_PS4_jP8st_ordery15enum_duplicatesbPySB_+0x1d3d)[0x8568e0] /home/miguel/mysql-5.6/sql/mysqld(_Z21mysql_execute_commandP3THD+0x273c)[0x7c5b76] /home/miguel/mysql-5.6/sql/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x409)[0x7cdd51] /home/miguel/mysql-5.6/sql/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0xc20)[0x7c11af] /home/miguel/mysql-5.6/sql/mysqld(_Z10do_commandP3THD+0x30f)[0x7c0363] /home/miguel/mysql-5.6/sql/mysqld(_Z24do_handle_one_connectionP3THD+0x195)[0x789e3f] /home/miguel/mysql-5.6/sql/mysqld(handle_one_connection+0x33)[0x789976] /home/miguel/mysql-5.6/sql/mysqld(pfs_spawn_thread+0x156)[0xad78e1] /lib/x86_64-linux-gnu/libpthread.so.0(+0x8182)[0x7fdd95957182] /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fdd94e6438d] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (7fdd30004c90): UPDATE `table1_innodb_key_pk_parts_2_int_autoinc` SET `pk` = 2 WHERE `col_int` = 'yeah' Connection ID (thread ID): 13 Status: NOT_KILLED
[12 Sep 2014 18:02]
MySQL Verification Team
Thank you for the bug report.