Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL), 10.3(EOL), 10.4(EOL)
Description
10.4 2cff807d |
2020-01-03 14:39:50 0x7f9534216700 InnoDB: Assertion failure in file /data/src/10.4/storage/innobase/sync/sync0rw.cc line 255
|
InnoDB: Failing assertion: lock->lock_word.load(std::memory_order_relaxed) == X_LOCK_DECR
|
|
Query (0x7f94c0011d68): ALTER TABLE t1 CHANGE IF EXISTS b a INT, ALGORITHM=COPY /* QNO 169 CON_ID 12 */
|
Connection ID (thread ID): 12
|
Status: KILL_SERVER
|
#6 0x00005653d0678a6a in ut_dbg_assertion_failed (expr=0x5653d0e03f18 "lock->lock_word.load(std::memory_order_relaxed) == X_LOCK_DECR", file=0x5653d0e03e90 "/data/src/10.4/storage/innobase/sync/sync0rw.cc", line=255) at /data/src/10.4/storage/innobase/ut/ut0dbg.cc:60
|
#7 0x00005653d061c65f in rw_lock_free_func (lock=0x7f94c00b1e18) at /data/src/10.4/storage/innobase/sync/sync0rw.cc:255
|
#8 0x00005653d07d3a7e in pfs_rw_lock_free_func (lock=0x7f94c00b1e18) at /data/src/10.4/storage/innobase/include/sync0rw.ic:617
|
#9 0x00005653d07d7d89 in fts_cache_destroy (cache=0x7f94c00b1e18) at /data/src/10.4/storage/innobase/fts/fts0fts.cc:287
|
#10 0x00005653d07e2fb4 in fts_t::~fts_t (this=0x7f94c00844d8, __in_chrg=<optimized out>) at /data/src/10.4/storage/innobase/fts/fts0fts.cc:5349
|
#11 0x00005653d07e3094 in fts_free (table=0x7f94c043d0a8) at /data/src/10.4/storage/innobase/fts/fts0fts.cc:5386
|
#12 0x00005653d059a3e4 in row_drop_ancillary_fts_tables (table=0x7f94c043d0a8, trx=0x7f95218e4830) at /data/src/10.4/storage/innobase/row/row0mysql.cc:3248
|
#13 0x00005653d059b7fb in row_drop_table_for_mysql (name=0x7f9534210e80 "test/#sql-73c7_c", trx=0x7f95218e4830, sqlcom=SQLCOM_ALTER_TABLE, create_failed=false, nonatomic=true) at /data/src/10.4/storage/innobase/row/row0mysql.cc:3728
|
#14 0x00005653d0413245 in ha_innobase::delete_table (this=0x7f94c0013a10, name=0x7f94c00c7058 "./test/#sql-73c7_c", sqlcom=SQLCOM_ALTER_TABLE) at /data/src/10.4/storage/innobase/handler/ha_innodb.cc:13184
|
#15 0x00005653d03fc780 in ha_innobase::delete_table (this=0x7f94c0013a10, name=0x7f94c00c7058 "./test/#sql-73c7_c") at /data/src/10.4/storage/innobase/handler/ha_innodb.cc:13309
|
#16 0x00005653d01aed5c in handler::ha_delete_table (this=0x7f94c0013a10, name=0x7f94c00c7058 "./test/#sql-73c7_c") at /data/src/10.4/sql/handler.cc:4695
|
#17 0x00005653d00d3783 in THD::rm_temporary_table (this=0x7f94c0000af0, base=0x5653d284a5c0, path=0x7f94c00c7058 "./test/#sql-73c7_c") at /data/src/10.4/sql/temporary_tables.cc:701
|
#18 0x00005653d00d5663 in THD::free_tmp_table_share (this=0x7f94c0000af0, share=0x7f94c00c6ac0, delete_table=true) at /data/src/10.4/sql/temporary_tables.cc:1464
|
#19 0x00005653d00d35bb in THD::drop_temporary_table (this=0x7f94c0000af0, table=0x7f94c043aa80, is_trans=0x0, delete_table=true) at /data/src/10.4/sql/temporary_tables.cc:664
|
#20 0x00005653cff3810b in mysql_alter_table (thd=0x7f94c0000af0, new_db=0x7f94c00052b0, new_name=0x7f94c00056b8, create_info=0x7f9534213d40, table_list=0x7f94c0011eb0, alter_info=0x7f9534213c80, order_num=0, order=0x0, ignore=false) at /data/src/10.4/sql/sql_table.cc:10470
|
#21 0x00005653cffcf0cf in Sql_cmd_alter_table::execute (this=0x7f94c00126a8, thd=0x7f94c0000af0) at /data/src/10.4/sql/sql_alter.cc:508
|
#22 0x00005653cfe4db75 in mysql_execute_command (thd=0x7f94c0000af0) at /data/src/10.4/sql/sql_parse.cc:6102
|
#23 0x00005653cfe53237 in mysql_parse (thd=0x7f94c0000af0, rawbuf=0x7f94c0011d68 "ALTER TABLE t1 CHANGE IF EXISTS b a INT, ALGORITHM=COPY /* QNO 169 CON_ID 12 */", length=79, parser_state=0x7f95342151b0, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:7901
|
#24 0x00005653cfe3e3dc in dispatch_command (command=COM_QUERY, thd=0x7f94c0000af0, packet=0x7f94c037ebf1 "ALTER TABLE t1 CHANGE IF EXISTS b a INT, ALGORITHM=COPY /* QNO 169 CON_ID 12 */ ", packet_length=80, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1842
|
#25 0x00005653cfe3ca69 in do_command (thd=0x7f94c0000af0) at /data/src/10.4/sql/sql_parse.cc:1360
|
#26 0x00005653cffc59df in do_handle_one_connection (connect=0x5653d3484930) at /data/src/10.4/sql/sql_connect.cc:1412
|
#27 0x00005653cffc572e in handle_one_connection (arg=0x5653d3484930) at /data/src/10.4/sql/sql_connect.cc:1316
|
#28 0x00007f95391754a4 in start_thread (arg=0x7f9534216700) at pthread_create.c:456
|
#29 0x00007f95372a9d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
|
Reproducible on 10.2-10.4.
Both debug and non-debug are affected.
Couldn't reproduce on 10.1 and 10.5.
To reproduce:
git clone https://github.com/MariaDB/randgen --branch mdev21329 rqg-mdev21329
|
cd rqg-mdev21329
|
perl runall-new.pl --basedir=<your basedir> --grammar=mdev21329.yy --duration=600 --threads=2 --scenario=Restart --skip-gendata --seed=1 --scenario-restart-interval=20 --vardir=/dev/shm/vardir-mdev21329
|
Remember to set the path to the basedir on the command line.
The test runs the following two statements concurrently on a table with fulltext index:
INSERT INTO t1 () VALUES () |
|
ALTER TABLE t1 CHANGE IF EXISTS <field> <field> INT, ALGORITHM=COPY;
|
and restarts the server every 20 seconds.
Currently it takes a few minutes to fail on my machine, but it can vary on different machines and builds.
Variations of the assertion representation:
10.2 ef1e488b |
2020-01-03 14:49:39 0x7f8f59057700 InnoDB: Assertion failure in file /data/src/10.2/storage/innobase/sync/sync0rw.cc line 259
|
InnoDB: Failing assertion: lock->lock_word == X_LOCK_DECR
|
10.3 02e30069 |
2020-01-03 14:48:58 0x7fbc04232700 InnoDB: Assertion failure in file /data/src/10.3/storage/innobase/sync/sync0rw.cc line 258
|
InnoDB: Failing assertion: my_atomic_load32_explicit(&lock->lock_word, MY_MEMORY_ORDER_RELAXED) == X_LOCK_DECR
|
Attachments
Issue Links
- relates to
-
MDEV-23637 binlog_encryption.encrypted_master failed with InnoDB: my_atomic_load32_explicit(&lock->lock_word, MY_MEMORY_ORDER_RELAXED) == X_LOCK_DECR
-
- Closed
-
-
MDEV-24090 Optimize buf_page_optimistic_get()
-
- Open
-
-
MDEV-23693 Failing assertion: my_atomic_load32_explicit(&lock->lock_word, MY_MEMORY_ORDER_RELAXED) == X_LOCK_DECR
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | Full-text Search [ 10104 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Affects Version/s | 10.2 [ 14601 ] | |
Affects Version/s | 10.3 [ 22126 ] | |
Description |
_Still work in progress, very poorly reproducible_
{noformat:title=10.4 89ae01fd} 2019-12-16 18:32:00 0x7fc8fc052700 InnoDB: Assertion failure in file /data/src/10.4/storage/innobase/sync/sync0rw.cc line 255 InnoDB: Failing assertion: lock->lock_word.load(std::memory_order_relaxed) == X_LOCK_DECR #6 0x0000562280367b1c in ut_dbg_assertion_failed (expr=0x562280ad3cd8 "lock->lock_word.load(std::memory_order_relaxed) == X_LOCK_DECR", file=0x562280ad3c50 "/data/src/10.4/storage/innobase/sync/sync0rw.cc", line=255) at /data/src/10.4/storage/innobase/ut/ut0dbg.cc:60 #7 0x000056228030b89b in rw_lock_free_func (lock=0x7fc88414aa38) at /data/src/10.4/storage/innobase/sync/sync0rw.cc:255 #8 0x00005622804c220e in pfs_rw_lock_free_func (lock=0x7fc88414aa38) at /data/src/10.4/storage/innobase/include/sync0rw.ic:617 #9 0x00005622804c6527 in fts_cache_destroy (cache=0x7fc88414aa38) at /data/src/10.4/storage/innobase/fts/fts0fts.cc:287 #10 0x00005622804d174e in fts_t::~fts_t (this=0x7fc884170628, __in_chrg=<optimized out>) at /data/src/10.4/storage/innobase/fts/fts0fts.cc:5349 #11 0x00005622804d182e in fts_free (table=0x7fc8841338c8) at /data/src/10.4/storage/innobase/fts/fts0fts.cc:5386 #12 0x0000562280289c3c in row_drop_ancillary_fts_tables (table=0x7fc8841338c8, trx=0x7fc8e8185268) at /data/src/10.4/storage/innobase/row/row0mysql.cc:3248 #13 0x000056228028b053 in row_drop_table_for_mysql (name=0x7fc8fc04cea0 "test/#sql-673b_e", trx=0x7fc8e8185268, sqlcom=SQLCOM_ALTER_TABLE, create_failed=false, nonatomic=true) at /data/src/10.4/storage/innobase/row/row0mysql.cc:3728 #14 0x00005622801057a5 in ha_innobase::delete_table (this=0x7fc884489a28, name=0x7fc8840fddb8 "./test/#sql-673b_e", sqlcom=SQLCOM_ALTER_TABLE) at /data/src/10.4/storage/innobase/handler/ha_innodb.cc:13170 #15 0x00005622800eef22 in ha_innobase::delete_table (this=0x7fc884489a28, name=0x7fc8840fddb8 "./test/#sql-673b_e") at /data/src/10.4/storage/innobase/handler/ha_innodb.cc:13295 #16 0x000056227fea152a in handler::ha_delete_table (this=0x7fc884489a28, name=0x7fc8840fddb8 "./test/#sql-673b_e") at /data/src/10.4/sql/handler.cc:4694 #17 0x000056227fdc64ed in THD::rm_temporary_table (this=0x7fc884000af0, base=0x562283828180, path=0x7fc8840fddb8 "./test/#sql-673b_e") at /data/src/10.4/sql/temporary_tables.cc:694 #18 0x000056227fdc83cd in THD::free_tmp_table_share (this=0x7fc884000af0, share=0x7fc8840fd820, delete_table=true) at /data/src/10.4/sql/temporary_tables.cc:1457 #19 0x000056227fdc6325 in THD::drop_temporary_table (this=0x7fc884000af0, table=0x7fc8841328c0, is_trans=0x0, delete_table=true) at /data/src/10.4/sql/temporary_tables.cc:657 #20 0x000056227fc2b4ec in mysql_alter_table (thd=0x7fc884000af0, new_db=0x7fc8840052a8, new_name=0x7fc8840056b0, create_info=0x7fc8fc04fd60, table_list=0x7fc884011f68, alter_info=0x7fc8fc04fca0, order_num=0, order=0x0, ignore=false) at /data/src/10.4/sql/sql_table.cc:10420 #21 0x000056227fcc1fc1 in Sql_cmd_alter_table::execute (this=0x7fc884012b68, thd=0x7fc884000af0) at /data/src/10.4/sql/sql_alter.cc:508 #22 0x000056227fb416ec in mysql_execute_command (thd=0x7fc884000af0) at /data/src/10.4/sql/sql_parse.cc:6099 #23 0x000056227fb46daf in mysql_parse (thd=0x7fc884000af0, rawbuf=0x7fc884011d08 "ALTER TABLE `table300_innodb_int_autoinc` /*!100301 */ CHANGE IF EXISTS p n YEAR /*!100201 CHECK (w <= 3) */, ALGORITHM=COPY /* QNO 172 CON_ID 14 */", length=149, parser_state=0x7fc8fc0511c0, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:7898 #24 0x000056227fb31f8c in dispatch_command (command=COM_QUERY, thd=0x7fc884000af0, packet=0x7fc884008241 "ALTER TABLE `table300_innodb_int_autoinc` /*!100301 */ CHANGE IF EXISTS p n YEAR /*!100201 CHECK (w <= 3) */, ALGORITHM=COPY /* QNO 172 CON_ID 14 */ ", packet_length=150, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1842 #25 0x000056227fb30619 in do_command (thd=0x7fc884000af0) at /data/src/10.4/sql/sql_parse.cc:1360 #26 0x000056227fcb88d1 in do_handle_one_connection (connect=0x56228376bdb0) at /data/src/10.4/sql/sql_connect.cc:1412 #27 0x000056227fcb8620 in handle_one_connection (arg=0x56228376bdb0) at /data/src/10.4/sql/sql_connect.cc:1316 #28 0x00007fc8ff48f4a4 in start_thread (arg=0x7fc8fc052700) at pthread_create.c:456 #29 0x00007fc8fd9d6d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97 {noformat} {noformat:title=rqg-ment a95fbb8b} perl runall-trials.pl --output="srv_force_recovery >= SRV_FORCE_NO_BACKGROUND|lock->lock_word.load" --trials=50 --grammar=/data/tmp/xlock1.yy --duration=350 --threads=6 --filter=/data/src/mariadb-toolbox/travis/10.4-combo-filter-asan.ff --scenario=Restart --gendata=conf/engines/innodb/full_text_search.zz --basedir=/data/bld/10.4 --seed=time --short-column-names --mysqld=--max-statement-time=15 --mysqld=--lock-wait-timeout=10 --mysqld=--loose-innodb-lock-wait-timeout=5 --mysqld=--loose-debug_assert_on_not_freed_memory=0 --reporters=Backtrace,ErrorLog,Deadlock --mtr-build-thread=55 --vardir=/home/elenst/logs/xlock13a {noformat} {noformat:title=xlock1.yy} alt_alter: ALTER TABLE { $my_last_table = 't'.$prng->int(1,10) } alt_wait_optional; alt_alter_list_with_optional_order_by: ; alt_col_name_and_definition_list: ; alt_create: CREATE OR REPLACE TEMPORARY TABLE { $my_last_table = 't'.$prng->int(1,10) } (); alt_create_or_replace: CREATE OR REPLACE TEMPORARY TABLE { $my_last_table = 't'.$prng->int(1,10) } (); alt_flush: FLUSH TABLES; alt_ignore_optional: ; alt_online_optional: ; alt_optimize: OPTIMIZE TABLE { $my_last_table = 't'.$prng->int(1,10) }; alt_query: OPTIMIZE TABLE { $my_last_table = 't'.$prng->int(1,10) } ; alt_rename_multi: DROP TABLE IF EXISTS { $tmp_tbl= 'tmp_rename_'.abs($$) } ; RENAME TABLE { $my_last_table = 't'.$prng->int(1,10) } TO $tmp_tbl, $tmp_tbl TO { $my_last_table }; alt_table_flags: ; alt_table_name: { $my_last_table = 't'.$prng->int(1,10) }; alt_temporary: TEMPORARY; alt_transaction: COMMIT | ROLLBACK; alt_wait_optional: | /*!100301 WAIT _digit */; alttcol_add_column: ADD alttcol_column_word alttcol_if_not_exists ( alttcol_add_list ); alttcol_add_definition: BIT alttcol_optional_auto_increment alttcol_check_constraint | alttcol_int_type alttcol_zerofill alttcol_optional_auto_increment alttcol_check_constraint | SERIAL alttcol_check_constraint | YEAR alttcol_check_constraint | SET('foo','bar') alttcol_check_constraint; alttcol_add_list: alttcol_col_name alttcol_add_definition | alttcol_col_name alttcol_add_definition, alttcol_add_list; alttcol_algorithm: , ALGORITHM=COPY | /*!100307 , ALGORITHM=NOCOPY */ | /*!100307 , ALGORITHM=INSTANT */; alttcol_alter_column: ALTER alttcol_column_word /*!100305 IF EXISTS */ alttcol_col_name DROP DEFAULT; alttcol_change_column: CHANGE alttcol_column_word IF EXISTS alttcol_col_name alttcol_col_name alttcol_add_definition alttcol_location; alttcol_check_constraint: | /*!100201 CHECK (alttcol_check_constraint_expression) */; alttcol_check_constraint_expression: _letter alttcol_operator _letter | _letter alttcol_operator _digit; alttcol_col_name: _letter; alttcol_column_word: ; alttcol_default_char_val: NULL | ''; alttcol_default_int_or_auto_increment: alttcol_optional_auto_increment; alttcol_default_or_current_timestamp_val: '1970-01-01' | CURRENT_TIMESTAMP | 0; alttcol_enum_type: SET('foo','bar'); alttcol_geo_optional_default: | /*!100201 DEFAULT ST_GEOMFROMTEXT('Point(1 1)') */; alttcol_geo_type: POINT | POLYGON | MULTILINESTRING | MULTIPOLYGON | GEOMETRYCOLLECTION | GEOMETRY; alttcol_if_exists: IF EXISTS; alttcol_if_not_exists: | IF NOT EXISTS; alttcol_ignore: | IGNORE; alttcol_int_type: MEDIUMINT | BIGINT; alttcol_invisible: ; alttcol_item: CHANGE IF EXISTS _letter _letter alttcol_add_definition alttcol_location; alttcol_item_alg_lock: alttcol_item alttcol_algorithm alttcol_lock; alttcol_list: CHANGE IF EXISTS _letter _letter alttcol_add_definition alttcol_location alttcol_algorithm alttcol_lock ; # CHANGE IF EXISTS _letter _letter alttcol_add_definition alttcol_location alttcol_algorithm alttcol_lock, alttcol_list; alttcol_list_with_optional_order_by: alttcol_list alttcol_order_by; alttcol_location: | FIRST; alttcol_lock: | , LOCK=NONE; alttcol_modify_column: MODIFY alttcol_column_word IF EXISTS alttcol_col_name alttcol_add_definition alttcol_location; alttcol_null: ; alttcol_num_type: DECIMAL | FLOAT | DOUBLE; alttcol_online: ; alttcol_operator: != | LIKE | <= | > | >=; alttcol_optional_auto_increment: AUTO_INCREMENT | SERIAL DEFAULT VALUE; alttcol_optional_default: ; alttcol_optional_default_char: | DEFAULT alttcol_default_char_val; alttcol_optional_default_or_current_timestamp: | DEFAULT alttcol_default_or_current_timestamp_val; alttcol_order_by: ; alttcol_query: ALTER alttcol_ignore TABLE _table /*!100301 */ alttcol_list alttcol_order_by; alttcol_temporal_type: YEAR; alttcol_text_type: BLOB | TEXT | CHAR | VARCHAR(_smallint_unsigned) | BINARY | VARBINARY(_smallint_unsigned); alttcol_timestamp_type: DATETIME; alttcol_unsigned: ; alttcol_wait: ; alttcol_zerofill: | ZEROFILL; bulk_insert_load: INSERT INTO _table SELECT * FROM _table; bulk_replace_ignore: REPLACE | IGNORE; create_drop_index: ; delete: ; expression: > 1 | != 0; insert: INSERT INTO _table ( _field_no_pk ) VALUES ( _english ); limit_clause: LIMIT {$prng->int(10,30)}; natural_language_search: ; order_clause: ; query: # Can be removed, but... INSERT INTO _table ( _field_no_pk ) VALUES ( _english ) | OPTIMIZE TABLE { $my_last_table = 't'.$prng->int(1,10) } | ALTER alttcol_ignore TABLE _table /*!100301 */ alttcol_list ; query_expansion_search: SELECT _field_indexed[invariant], AS SCORE FROM _table LIMIT {$prng->int(10,30)}; query_expansion_search_condition: ; query_init: alt_create_or_replace ; alt_create_or_replace ; alt_create_or_replace ; alt_create_or_replace ; alt_create_or_replace ; alt_create_or_replace ; alt_create_or_replace ; alt_create_or_replace ; select: query_expansion_search; transaction: START TRANSACTION | COMMIT; {noformat} _Note: most of rules in this grammar are unused, it's not cleaned up_ |
{noformat:title=10.4 2cff807d}
2020-01-03 14:39:50 0x7f9534216700 InnoDB: Assertion failure in file /data/src/10.4/storage/innobase/sync/sync0rw.cc line 255 InnoDB: Failing assertion: lock->lock_word.load(std::memory_order_relaxed) == X_LOCK_DECR Query (0x7f94c0011d68): ALTER TABLE t1 CHANGE IF EXISTS b a INT, ALGORITHM=COPY /* QNO 169 CON_ID 12 */ Connection ID (thread ID): 12 Status: KILL_SERVER {noformat} {noformat} #6 0x00005653d0678a6a in ut_dbg_assertion_failed (expr=0x5653d0e03f18 "lock->lock_word.load(std::memory_order_relaxed) == X_LOCK_DECR", file=0x5653d0e03e90 "/data/src/10.4/storage/innobase/sync/sync0rw.cc", line=255) at /data/src/10.4/storage/innobase/ut/ut0dbg.cc:60 #7 0x00005653d061c65f in rw_lock_free_func (lock=0x7f94c00b1e18) at /data/src/10.4/storage/innobase/sync/sync0rw.cc:255 #8 0x00005653d07d3a7e in pfs_rw_lock_free_func (lock=0x7f94c00b1e18) at /data/src/10.4/storage/innobase/include/sync0rw.ic:617 #9 0x00005653d07d7d89 in fts_cache_destroy (cache=0x7f94c00b1e18) at /data/src/10.4/storage/innobase/fts/fts0fts.cc:287 #10 0x00005653d07e2fb4 in fts_t::~fts_t (this=0x7f94c00844d8, __in_chrg=<optimized out>) at /data/src/10.4/storage/innobase/fts/fts0fts.cc:5349 #11 0x00005653d07e3094 in fts_free (table=0x7f94c043d0a8) at /data/src/10.4/storage/innobase/fts/fts0fts.cc:5386 #12 0x00005653d059a3e4 in row_drop_ancillary_fts_tables (table=0x7f94c043d0a8, trx=0x7f95218e4830) at /data/src/10.4/storage/innobase/row/row0mysql.cc:3248 #13 0x00005653d059b7fb in row_drop_table_for_mysql (name=0x7f9534210e80 "test/#sql-73c7_c", trx=0x7f95218e4830, sqlcom=SQLCOM_ALTER_TABLE, create_failed=false, nonatomic=true) at /data/src/10.4/storage/innobase/row/row0mysql.cc:3728 #14 0x00005653d0413245 in ha_innobase::delete_table (this=0x7f94c0013a10, name=0x7f94c00c7058 "./test/#sql-73c7_c", sqlcom=SQLCOM_ALTER_TABLE) at /data/src/10.4/storage/innobase/handler/ha_innodb.cc:13184 #15 0x00005653d03fc780 in ha_innobase::delete_table (this=0x7f94c0013a10, name=0x7f94c00c7058 "./test/#sql-73c7_c") at /data/src/10.4/storage/innobase/handler/ha_innodb.cc:13309 #16 0x00005653d01aed5c in handler::ha_delete_table (this=0x7f94c0013a10, name=0x7f94c00c7058 "./test/#sql-73c7_c") at /data/src/10.4/sql/handler.cc:4695 #17 0x00005653d00d3783 in THD::rm_temporary_table (this=0x7f94c0000af0, base=0x5653d284a5c0, path=0x7f94c00c7058 "./test/#sql-73c7_c") at /data/src/10.4/sql/temporary_tables.cc:701 #18 0x00005653d00d5663 in THD::free_tmp_table_share (this=0x7f94c0000af0, share=0x7f94c00c6ac0, delete_table=true) at /data/src/10.4/sql/temporary_tables.cc:1464 #19 0x00005653d00d35bb in THD::drop_temporary_table (this=0x7f94c0000af0, table=0x7f94c043aa80, is_trans=0x0, delete_table=true) at /data/src/10.4/sql/temporary_tables.cc:664 #20 0x00005653cff3810b in mysql_alter_table (thd=0x7f94c0000af0, new_db=0x7f94c00052b0, new_name=0x7f94c00056b8, create_info=0x7f9534213d40, table_list=0x7f94c0011eb0, alter_info=0x7f9534213c80, order_num=0, order=0x0, ignore=false) at /data/src/10.4/sql/sql_table.cc:10470 #21 0x00005653cffcf0cf in Sql_cmd_alter_table::execute (this=0x7f94c00126a8, thd=0x7f94c0000af0) at /data/src/10.4/sql/sql_alter.cc:508 #22 0x00005653cfe4db75 in mysql_execute_command (thd=0x7f94c0000af0) at /data/src/10.4/sql/sql_parse.cc:6102 #23 0x00005653cfe53237 in mysql_parse (thd=0x7f94c0000af0, rawbuf=0x7f94c0011d68 "ALTER TABLE t1 CHANGE IF EXISTS b a INT, ALGORITHM=COPY /* QNO 169 CON_ID 12 */", length=79, parser_state=0x7f95342151b0, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:7901 #24 0x00005653cfe3e3dc in dispatch_command (command=COM_QUERY, thd=0x7f94c0000af0, packet=0x7f94c037ebf1 "ALTER TABLE t1 CHANGE IF EXISTS b a INT, ALGORITHM=COPY /* QNO 169 CON_ID 12 */ ", packet_length=80, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1842 #25 0x00005653cfe3ca69 in do_command (thd=0x7f94c0000af0) at /data/src/10.4/sql/sql_parse.cc:1360 #26 0x00005653cffc59df in do_handle_one_connection (connect=0x5653d3484930) at /data/src/10.4/sql/sql_connect.cc:1412 #27 0x00005653cffc572e in handle_one_connection (arg=0x5653d3484930) at /data/src/10.4/sql/sql_connect.cc:1316 #28 0x00007f95391754a4 in start_thread (arg=0x7f9534216700) at pthread_create.c:456 #29 0x00007f95372a9d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97 {noformat} Reproducible on 10.2-10.4. Both debug and non-debug are affected. Couldn't reproduce on 10.1 and 10.5. To reproduce: {noformat} git clone https://github.com/MariaDB/randgen --branch mdev21329 rqg-mdev21329 cd rqg-mdev21329 perl runall-new.pl --basedir=<your basedir> --grammar=mdev21329.yy --duration=600 --threads=2 --scenario=Restart --skip-gendata --seed=1 --scenario-restart-interval=20 --vardir=/dev/shm/vardir-mdev21329 {noformat} Remember to set the path to the basedir on the command line. The test runs the following two statements concurrently on a table with fulltext index: {noformat} INSERT INTO t1 () VALUES () | ALTER TABLE t1 CHANGE IF EXISTS <field> <field> INT, ALGORITHM=COPY; {noformat} and restarts the server every 20 seconds. Currently it takes a few minutes to fail on my machine, but it can vary on different machines and builds. Variations of the assertion representation: {noformat:title=10.2 ef1e488b} 2020-01-03 14:49:39 0x7f8f59057700 InnoDB: Assertion failure in file /data/src/10.2/storage/innobase/sync/sync0rw.cc line 259 InnoDB: Failing assertion: lock->lock_word == X_LOCK_DECR {noformat} {noformat:title=10.3 02e30069} 2020-01-03 14:48:58 0x7fbc04232700 InnoDB: Assertion failure in file /data/src/10.3/storage/innobase/sync/sync0rw.cc line 258 InnoDB: Failing assertion: my_atomic_load32_explicit(&lock->lock_word, MY_MEMORY_ORDER_RELAXED) == X_LOCK_DECR {noformat} |
Summary | InnoDB: Failing assertion: lock->lock_word.load(std::memory_order_relaxed) == X_LOCK_DECR | InnoDB: Failing assertion: lock->lock_word.load(std::memory_order_relaxed) == X_LOCK_DECR upon server shutdown |
Assignee | Elena Stepanova [ elenst ] | Marko Mäkelä [ marko ] |
Assignee | Marko Mäkelä [ marko ] | Thirunarayanan Balathandayuthapani [ thiru ] |
Component/s | Tests [ 10800 ] |
Labels | need_rr |
Link |
This issue relates to |
Link |
This issue relates to |
Labels | need_rr | rr-profile |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Thirunarayanan Balathandayuthapani [ thiru ] | Marko Mäkelä [ marko ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Marko Mäkelä [ marko ] | Thirunarayanan Balathandayuthapani [ thiru ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Fix Version/s | 10.2.35 [ 25022 ] | |
Fix Version/s | 10.3.26 [ 25021 ] | |
Fix Version/s | 10.4.16 [ 25020 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Fix Version/s | 10.5.7 [ 25019 ] |
Link | This issue relates to MDEV-24090 [ MDEV-24090 ] |
Workflow | MariaDB v3 [ 102112 ] | MariaDB v4 [ 157107 ] |
MTR test seem to be failing on the same assertion:
http://buildbot.askmonty.org/buildbot/builders/kvm-bintar-centos5-x86/builds/13719
10.2 e835881c474ec1c43ab3c24a9d4a6e26
innodb_zip.create_options '16k,innodb' w1 [ fail ]
Test ended at 2020-06-11 15:26:51
CURRENT_TEST: innodb_zip.create_options
mysqltest: At line 354: query 'DROP TABLE t1' failed: 2013: Lost connection to MySQL server during query
The result from queries just before the failure was:
< snip >
Warning 1478 InnoDB: assuming ROW_FORMAT=DYNAMIC.
SHOW WARNINGS;
Level Code Message
Warning 1478 InnoDB: assuming ROW_FORMAT=DYNAMIC.
SELECT TABLE_NAME,ROW_FORMAT,CREATE_OPTIONS FROM information_schema.tables WHERE TABLE_NAME = 't1';
TABLE_NAME ROW_FORMAT CREATE_OPTIONS
t1 Dynamic row_format=FIXED
# Test 10) StrictMode=OFF, CREATE with each ROW_FORMAT & a valid KEY_BLOCK_SIZE
# KEY_BLOCK_SIZE is ignored with COMPACT, REDUNDANT, & DYNAMIC
DROP TABLE t1;
CREATE TABLE t1 ( i INT ) ROW_FORMAT=COMPACT KEY_BLOCK_SIZE=1;
Warnings:
Warning 1478 InnoDB: ignoring KEY_BLOCK_SIZE=1 unless ROW_FORMAT=COMPRESSED.
SHOW WARNINGS;
Level Code Message
Warning 1478 InnoDB: ignoring KEY_BLOCK_SIZE=1 unless ROW_FORMAT=COMPRESSED.
SELECT TABLE_NAME,ROW_FORMAT,CREATE_OPTIONS FROM information_schema.tables WHERE TABLE_NAME = 't1';
TABLE_NAME ROW_FORMAT CREATE_OPTIONS
t1 Compact row_format=COMPACT key_block_size=1
DROP TABLE t1;
More results from queries before failure can be found in /usr/local/mariadb-10.2.33-linux-i686/mysql-test/var/1/log/create_options.log
Server [mysqld.1 - pid: 16564, winpid: 16564, exit: 256] failed during test run
Server log from this test:
----------SERVER LOG START-----------
2020-06-11 15:26:51 0xb06ffb70 InnoDB: Assertion failure in file /home/buildbot/buildbot/build/storage/innobase/sync/sync0rw.cc line 259
InnoDB: Failing assertion: lock->lock_word == X_LOCK_DECR
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to https://jira.mariadb.org/
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: https://mariadb.com/kb/en/library/innodb-recovery-modes/
InnoDB: about forcing recovery.
200611 15:26:51 [ERROR] 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.
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
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.
Server version: 10.2.33-MariaDB-log
key_buffer_size=1048576
read_buffer_size=131072
max_used_connections=2
max_threads=153
thread_count=8
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 61844 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0xa53048d8
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 = 0xb06ff314 thread_stack 0x49000
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld(my_print_stacktrace+0x2d)[0x8a9ce2d]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld(handle_fatal_signal+0x624)[0x84370e4]
addr2line: '': No such file
[0xdc6400]
/lib/libc.so.6(abort+0x17a)[0x42c3ca]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x87f678b]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x87b50cf]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x8880b6f]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x88a4c3a]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x882f6dc]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x88327b0]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x886a843]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x886c5c4]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x886cc2f]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x8851051]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x88da593]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x88e066d]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x88e25cc]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x88e3855]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x87f27f5]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x87d3888]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x88166aa]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x879391f]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x8794886]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x8795e41]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x872b224]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x872be94]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x8762101]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x869a86a]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x868eedd]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld(_Z15ha_delete_tableP3THDP10handlertonPKcS4_S4_b+0x116)[0x843f2b6]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld(_Z23mysql_rm_table_no_locksP3THDP10TABLE_LISTbbbbb+0x5a0)[0x82cad90]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld(_Z14mysql_rm_tableP3THDP10TABLE_LISTcc+0x17b)[0x82d23fb]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld(_Z21mysql_execute_commandP3THD+0x1da7)[0x82281b7]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x33f)[0x8231d2f]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x19a9)[0x8234079]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld(_Z10do_commandP3THD+0x129)[0x8236199]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x273)[0x8328a93]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld(handle_one_connection+0x3b)[0x8328c8b]
/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld[0x8654e88]
pthread_create.c:0(start_thread)[0x685a09]
/lib/libc.so.6(clone+0x5e)[0x4dd43e]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0xa5312e40): DROP TABLE t1
Connection ID (thread ID): 38
Status: NOT_KILLED
Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on
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.
Writing a core file...
Working directory at /dev/shm/var_auto_ksyx/1/mysqld.1/data
Resource Limits:
Limit Soft Limit Hard Limit Units
Max cpu time unlimited unlimited seconds
Max file size unlimited unlimited bytes
Max data size unlimited unlimited bytes
Max stack size 10485760 unlimited bytes
Max core file size unlimited unlimited bytes
Max resident set unlimited unlimited bytes
Max processes 1024 unlimited processes
Max open files 1024 1024 files
Max locked memory 65536 65536 bytes
Max address space unlimited unlimited bytes
Max file locks unlimited unlimited locks
Max pending signals 47566 47566 signals
Max msgqueue size 819200 819200 bytes
Max nice priority 0 0
Max realtime priority 0 0
Max realtime timeout unlimited unlimited us
Core pattern: core
----------SERVER LOG END-------------
- found 'core.16565' (0/0)
Trying 'dbx' to get a backtrace
Trying 'gdb' to get a backtrace from coredump /usr/local/mariadb-10.2.33-linux-i686/mysql-test/var/1/log/innodb_zip.create_options-16k,innodb/mysqld.1/data/core.16565
Core generated by '/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld'
Output from gdb follows. The first stack trace is from the failing thread.
The following stack traces are from all threads (so the failing one is
duplicated).
--------------------------
[New Thread 16617]
[New Thread 16569]
[New Thread 17000]
[New Thread 16582]
[New Thread 16583]
[New Thread 16584]
[New Thread 16585]
[New Thread 16595]
[New Thread 16586]
[New Thread 16588]
[New Thread 16599]
[New Thread 16587]
[New Thread 16593]
[New Thread 16606]
[New Thread 16591]
[New Thread 16607]
[New Thread 16605]
[New Thread 16594]
[New Thread 16615]
[New Thread 16596]
[New Thread 16616]
[New Thread 16598]
[New Thread 16604]
[New Thread 16597]
[New Thread 16592]
[New Thread 16590]
[New Thread 16581]
[New Thread 16565]
[Thread debugging using libthread_db enabled]
Core was generated by `/usr/local/mariadb-10.2.33-linux-i686/bin/mysqld --defaults-group-suffix=.1 --d'.
Program terminated with signal 6, Aborted.
#0 0x00dc6424 in __kernel_vsyscall ()
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x0068a403 in pthread_kill () from /lib/libpthread.so.0
#2 0x08a9cdeb in my_write_core (sig=6) at /home/buildbot/buildbot/build/mysys/stacktrace.c:477
#3 0x08437087 in handle_fatal_signal (sig=6) at /home/buildbot/buildbot/build/sql/signal_handler.cc:343
#4 <signal handler called>
#5 0x00dc6424 in __kernel_vsyscall ()
#6 0x0042aaf1 in raise () from /lib/libc.so.6
#7 0x0042c3ca in abort () from /lib/libc.so.6
#8 0x087f678b in ut_dbg_assertion_failed (expr=0x8c83888 "lock->lock_word == X_LOCK_DECR", file=0x8c83848 "/home/buildbot/buildbot/build/storage/innobase/sync/sync0rw.cc", line=259) at /home/buildbot/buildbot/build/storage/innobase/ut/ut0dbg.cc:60
#9 0x087b50cf in rw_lock_free_func (lock=0xa53731a0) at /home/buildbot/buildbot/build/storage/innobase/sync/sync0rw.cc:259
#10 0x08880b6f in pfs_rw_lock_free_func (table=0xa534fc70) at /home/buildbot/buildbot/build/storage/innobase/include/sync0rw.ic:603
#11 dict_table_stats_latch_free (table=0xa534fc70) at /home/buildbot/buildbot/build/storage/innobase/dict/dict0dict.cc:300
#12 dict_table_stats_latch_destroy (table=0xa534fc70) at /home/buildbot/buildbot/build/storage/innobase/dict/dict0dict.cc:337
#13 0x088a4c3a in dict_mem_table_free (table=0xa534fc70) at /home/buildbot/buildbot/build/storage/innobase/dict/dict0mem.cc:205
#14 0x0882f6dc in btr_search_lazy_free (index=0xa53516f0) at /home/buildbot/buildbot/build/storage/innobase/btr/btr0sea.cc:265
#15 0x088327b0 in btr_search_drop_page_hash_index (block=0xb0aa1cd0) at /home/buildbot/buildbot/build/storage/innobase/btr/btr0sea.cc:1272
#16 0x0886a843 in buf_LRU_free_page (bpage=0xb0aa1cd0, zip=true) at /home/buildbot/buildbot/build/storage/innobase/buf/buf0lru.cc:1616
#17 0x0886c5c4 in buf_LRU_free_from_common_LRU_list (buf_pool=0xb998210, scan_all=false) at /home/buildbot/buildbot/build/storage/innobase/buf/buf0lru.cc:698
#18 buf_LRU_scan_and_free_block (buf_pool=0xb998210, scan_all=false) at /home/buildbot/buildbot/build/storage/innobase/buf/buf0lru.cc:740
#19 0x0886cc2f in buf_LRU_get_free_block (buf_pool=0xb998210) at /home/buildbot/buildbot/build/storage/innobase/buf/buf0lru.cc:971
#20 0x08851051 in buf_page_create (page_id=..., page_size=..., mtr=0xb06f978c) at /home/buildbot/buildbot/build/storage/innobase/buf/buf0buf.cc:5593
#21 0x088da593 in fsp_page_create (space=<value optimized out>, offset=<value optimized out>, page_size=..., rw_latch=RW_SX_LATCH, mtr=0xb06f978c, init_mtr=0xb06f978c) at /home/buildbot/buildbot/build/storage/innobase/fsp/fsp0fsp.cc:1309
#22 0x088e066d in fsp_alloc_free_page (space=0xba45b18, page_size=..., hint=<value optimized out>, rw_latch=RW_SX_LATCH, mtr=0xb06f978c, init_mtr=0xb06f978c) at /home/buildbot/buildbot/build/storage/innobase/fsp/fsp0fsp.cc:1455
#23 0x088e25cc in fseg_alloc_free_page_low (space=0xba45b18, page_size=..., seg_inode=0xb1295832 "", hint=0, direction=111 'o', rw_latch=RW_SX_LATCH, mtr=0xb06f978c, init_mtr=0xb06f978c) at /home/buildbot/buildbot/build/storage/innobase/fsp/fsp0fsp.cc:2519
#24 0x088e3855 in fseg_create_general (space_id=0, page=0, byte_offset=60, has_done_reservation=1, mtr=0xb06f978c) at /home/buildbot/buildbot/build/storage/innobase/fsp/fsp0fsp.cc:2105
#25 0x087f27f5 in trx_undo_create (trx=0xb12cb93c, rseg=0xba7f248, undo=0xb12cc558, type=2) at /home/buildbot/buildbot/build/storage/innobase/trx/trx0undo.cc:451
#26 trx_undo_assign_undo (trx=0xb12cb93c, rseg=0xba7f248, undo=0xb12cc558, type=2) at /home/buildbot/buildbot/build/storage/innobase/trx/trx0undo.cc:1610
#27 0x087d3888 in trx_undo_report_row_operation (thr=0xa5366560, index=0xba6c268, clust_entry=0xa53adf80, update=0x0, cmpl_info=0, rec=0xb10adda9 "", offsets=0xb06faa1c, roll_ptr=0xb06fa290) at /home/buildbot/buildbot/build/storage/innobase/trx/trx0rec.cc:2073
#28 0x088166aa in btr_cur_del_mark_set_clust_rec (block=0xb0aaaa30, rec=0xb10adda9 "", index=0xba6c268, offsets=0xb06faa1c, thr=0xa5366560, entry=0xa53adf80, mtr=0xb06fa364) at /home/buildbot/buildbot/build/storage/innobase/btr/btr0cur.cc:4865
#29 0x0879391f in row_upd_del_mark_clust_rec (node=0xa5365538, thr=0xa5366560) at /home/buildbot/buildbot/build/storage/innobase/row/row0upd.cc:2997
#30 row_upd_clust_step (node=0xa5365538, thr=0xa5366560) at /home/buildbot/buildbot/build/storage/innobase/row/row0upd.cc:3169
#31 0x08794886 in row_upd (node=0xa5365538, thr=0xa5366560) at /home/buildbot/buildbot/build/storage/innobase/row/row0upd.cc:3290
#32 0x08795e41 in row_upd_step (thr=0xa5366560) at /home/buildbot/buildbot/build/storage/innobase/row/row0upd.cc:3436
#33 0x0872b224 in que_thr_step (thr=0xa5366560) at /home/buildbot/buildbot/build/storage/innobase/que/que0que.cc:1024
#34 que_run_threads_low (thr=0xa5366560) at /home/buildbot/buildbot/build/storage/innobase/que/que0que.cc:1104
#35 que_run_threads (thr=0xa5366560) at /home/buildbot/buildbot/build/storage/innobase/que/que0que.cc:1144
#36 0x0872be94 in que_eval_sql (info=0xa53aaf10, sql=0x8c79bec "PROCEDURE DROP_TABLE_PROC () IS\ntid CHAR;\niid CHAR;\nDECLARE CURSOR cur_idx IS\nSELECT ID FROM SYS_INDEXES\nWHERE TABLE_ID = tid FOR UPDATE;\nBEGIN\nSELECT ID INTO tid FROM SYS_TABLES\nWHERE NAME = :name FO"..., reserve_dict_mutex=0, trx=0xb12cb93c) at /home/buildbot/buildbot/build/storage/innobase/que/que0que.cc:1221
#37 0x08762101 in row_drop_table_for_mysql (name=0xb06fc61c "test/t1", trx=0xb12cb93c, sqlcom=SQLCOM_DROP_TABLE, create_failed=false, nonatomic=true) at /home/buildbot/buildbot/build/storage/innobase/row/row0mysql.cc:3665
#38 0x0869a86a in ha_innobase::delete_table (this=0xa5313510, name=0xb06fd78f "./test/t1", sqlcom=SQLCOM_DROP_TABLE) at /home/buildbot/buildbot/build/storage/innobase/handler/ha_innodb.cc:13357
#39 0x0868eedd in ha_innobase::delete_table (this=0xa5313510, name=0xb06fd78f "./test/t1") at /home/buildbot/buildbot/build/storage/innobase/handler/ha_innodb.cc:13482
#40 0x0843f2b6 in ha_delete_table (thd=0xa53048d8, table_type=0xb84bc20, path=0xb06fd78f "./test/t1", db=0xa5313320 "test", alias=0xa5312eb0 "t1", generate_warning=true) at /home/buildbot/buildbot/build/sql/handler.cc:4473
#41 ha_delete_table (thd=0xa53048d8, table_type=0xb84bc20, path=0xb06fd78f "./test/t1", db=0xa5313320 "test", alias=0xa5312eb0 "t1", generate_warning=true) at /home/buildbot/buildbot/build/sql/handler.cc:2442
#42 0x082cad90 in mysql_rm_table_no_locks (thd=0xa53048d8, tables=0xa5312ed8, if_exists=false, drop_temporary=false, drop_view=false, dont_log_query=false, dont_free_locks=false) at /home/buildbot/buildbot/build/sql/sql_table.cc:2447
#43 0x082d23fb in mysql_rm_table (thd=0xa53048d8, tables=0xa5312ed8, if_exists=0 '\000', drop_temporary=0 '\000') at /home/buildbot/buildbot/build/sql/sql_table.cc:2090
#44 0x082281b7 in mysql_execute_command (thd=0xa53048d8) at /home/buildbot/buildbot/build/sql/sql_parse.cc:4506
#45 0x08231d2f in mysql_parse (thd=0xa53048d8, rawbuf=0xa5312e40 "DROP TABLE t1", length=13, parser_state=0xb06ff0c4, is_com_multi=false, is_next_command=false) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7741
#46 0x08234079 in dispatch_command (command=COM_QUERY, thd=0xa53048d8, packet=0xa5308b81 "DROP TABLE t1", packet_length=13, is_com_multi=false, is_next_command=false) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1832
#47 0x08236199 in do_command (thd=0xa53048d8) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1386
#48 0x08328a93 in do_handle_one_connection (connect=0xbafa180) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1336
#49 0x08328c8b in handle_one_connection (arg=0xbafa180) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1241
#50 0x08654e88 in pfs_spawn_thread (arg=0xbafa358) at /home/buildbot/buildbot/build/storage/perfschema/pfs.cc:1869
#51 0x00685a09 in start_thread () from /lib/libpthread.so.0
#52 0x004dd43e in clone () from /lib/libc.so.6
Thread 28 (Thread 0xb78239f0 (LWP 16565)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x004d25f6 in poll () from /lib/libc.so.6
#2 0x08172db4 in handle_connections_sockets () at /home/buildbot/buildbot/build/sql/mysqld.cc:6667
#3 0x081747c6 in mysqld_main (argc=145, argv=0xb6fae98) at /home/buildbot/buildbot/build/sql/mysqld.cc:6133
#4 0x08166602 in main (argc=Cannot access memory at address 0x2
) at /home/buildbot/buildbot/build/sql/main.cc:25
Thread 27 (Thread 0xb20cbb70 (LWP 16581)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x00689624 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x08970217 in inline_mysql_cond_timedwait (control=0x9035298, sleep_time=29000000000) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1182
#3 my_service_thread_sleep (control=0x9035298, sleep_time=29000000000) at /home/buildbot/buildbot/build/storage/maria/ma_servicethread.c:115
#4 0x08968032 in ma_checkpoint_background (arg=0x1e) at /home/buildbot/buildbot/build/storage/maria/ma_checkpoint.c:709
#5 0x08654e88 in pfs_spawn_thread (arg=0xb84b908) at /home/buildbot/buildbot/build/storage/perfschema/pfs.cc:1869
#6 0x00685a09 in start_thread () from /lib/libpthread.so.0
#7 0x004dd43e in clone () from /lib/libc.so.6
Thread 26 (Thread 0xab0f9b70 (LWP 16590)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x00689624 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x0870cf8e in os_event::timed_wait (this=0xba1d4e0, abstime=0xab0f9270) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:275
#3 0x0870d651 in os_event::wait_time_low (this=0xba1d4e0, time_in_usec=1000000, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:385
#4 0x086e4466 in lock_wait_timeout_thread () at /home/buildbot/buildbot/build/storage/innobase/lock/lock0wait.cc:525
#5 0x00685a09 in start_thread () from /lib/libpthread.so.0
#6 0x004dd43e in clone () from /lib/libc.so.6
Thread 25 (Thread 0xabafab70 (LWP 16592)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x00689624 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x0870cf8e in os_event::timed_wait (this=0xb8deef8, abstime=0xabafa2a0) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:275
#3 0x0870d651 in os_event::wait_time_low (this=0xb8deef8, time_in_usec=5000000, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:385
#4 0x087a3d0c in srv_monitor_thread () at /home/buildbot/buildbot/build/storage/innobase/srv/srv0srv.cc:1751
#5 0x00685a09 in start_thread () from /lib/libpthread.so.0
#6 0x004dd43e in clone () from /lib/libc.so.6
Thread 24 (Thread 0xa74f3b70 (LWP 16597)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x0068927c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x0870d3c5 in wait (event=0xba51dd0, reset_sig_count=29) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:158
#3 wait_low (event=0xba51dd0, reset_sig_count=29) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:325
#4 os_event_wait_low (event=0xba51dd0, reset_sig_count=29) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:507
#5 0x087b320a in sync_array_wait_event (arr=0xb8c4cd8, cell=@0xa74f2c24) at /home/buildbot/buildbot/build/storage/innobase/sync/sync0arr.cc:471
#6 0x087b47ef in rw_lock_s_lock_spin (lock=0x90fc0a0, pass=0, file_name=0x8c7abc0 "/home/buildbot/buildbot/build/storage/innobase/row/row0purge.cc", line=982) at /home/buildbot/buildbot/build/storage/innobase/sync/sync0rw.cc:373
#7 0x087719b2 in row_purge_parse_undo_rec (node=0xba72690, undo_rec=0xa5507900 "", thr=0xba72628) at /home/buildbot/buildbot/build/storage/innobase/include/sync0rw.ic:290
#8 row_purge (node=0xba72690, undo_rec=0xa5507900 "", thr=0xba72628) at /home/buildbot/buildbot/build/storage/innobase/row/row0purge.cc:1157
#9 0x0877314a in row_purge_step (thr=0xba72628) at /home/buildbot/buildbot/build/storage/innobase/row/row0purge.cc:1219
#10 0x0872b7bc in que_thr_step (thr=0xba72628) at /home/buildbot/buildbot/build/storage/innobase/que/que0que.cc:1042
#11 que_run_threads_low (thr=0xba72628) at /home/buildbot/buildbot/build/storage/innobase/que/que0que.cc:1104
#12 que_run_threads (thr=0xba72628) at /home/buildbot/buildbot/build/storage/innobase/que/que0que.cc:1144
#13 0x087a4af5 in srv_task_execute (arg=0x0) at /home/buildbot/buildbot/build/storage/innobase/srv/srv0srv.cc:2571
#14 srv_worker_thread (arg=0x0) at /home/buildbot/buildbot/build/storage/innobase/srv/srv0srv.cc:2618
#15 0x00685a09 in start_thread () from /lib/libpthread.so.0
#16 0x004dd43e in clone () from /lib/libc.so.6
Thread 23 (Thread 0xa52ffb70 (LWP 16604)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x0068927c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x0870d3c5 in wait (event=0xb8def50, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:158
#3 wait_low (event=0xb8def50, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:325
#4 os_event_wait_low (event=0xb8def50, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:507
#5 0x0885bb67 in buf_dump_thread () at /home/buildbot/buildbot/build/storage/innobase/buf/buf0dump.cc:806
#6 0x00685a09 in start_thread () from /lib/libpthread.so.0
#7 0x004dd43e in clone () from /lib/libc.so.6
Thread 22 (Thread 0xa6af2b70 (LWP 16598)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x0068927c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x0870d3c5 in wait (event=0xb8dee48, reset_sig_count=566) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:158
#3 wait_low (event=0xb8dee48, reset_sig_count=566) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:325
#4 os_event_wait_low (event=0xb8dee48, reset_sig_count=566) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:507
#5 0x087a4842 in srv_resume_thread (arg=0x0) at /home/buildbot/buildbot/build/storage/innobase/srv/srv0srv.cc:940
#6 srv_worker_thread (arg=0x0) at /home/buildbot/buildbot/build/storage/innobase/srv/srv0srv.cc:2616
#7 0x00685a09 in start_thread () from /lib/libpthread.so.0
#8 0x004dd43e in clone () from /lib/libc.so.6
Thread 21 (Thread 0xb0849b70 (LWP 16616)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x0068927c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x08194bda in inline_mysql_cond_wait (arg=0x0) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1145
#3 handle_slave_background (arg=0x0) at /home/buildbot/buildbot/build/sql/slave.cc:337
#4 0x08654e88 in pfs_spawn_thread (arg=0xbad5338) at /home/buildbot/buildbot/build/storage/perfschema/pfs.cc:1869
#5 0x00685a09 in start_thread () from /lib/libpthread.so.0
#6 0x004dd43e in clone () from /lib/libc.so.6
Thread 20 (Thread 0xa7ef4b70 (LWP 16596)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x0068927c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x0870d3c5 in wait (event=0xba51dd0, reset_sig_count=29) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:158
#3 wait_low (event=0xba51dd0, reset_sig_count=29) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:325
#4 os_event_wait_low (event=0xba51dd0, reset_sig_count=29) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:507
#5 0x087b320a in sync_array_wait_event (arr=0xb8c4cd8, cell=@0xa7ef36c4) at /home/buildbot/buildbot/build/storage/innobase/sync/sync0arr.cc:471
#6 0x087b47ef in rw_lock_s_lock_spin (lock=0x90fc0a0, pass=0, file_name=0x8c7abc0 "/home/buildbot/buildbot/build/storage/innobase/row/row0purge.cc", line=982) at /home/buildbot/buildbot/build/storage/innobase/sync/sync0rw.cc:373
#7 0x087719b2 in row_purge_parse_undo_rec (node=0xba72b08, undo_rec=0xa550bb50 "", thr=0xba72aa0) at /home/buildbot/buildbot/build/storage/innobase/include/sync0rw.ic:290
#8 row_purge (node=0xba72b08, undo_rec=0xa550bb50 "", thr=0xba72aa0) at /home/buildbot/buildbot/build/storage/innobase/row/row0purge.cc:1157
#9 0x0877314a in row_purge_step (thr=0xba72aa0) at /home/buildbot/buildbot/build/storage/innobase/row/row0purge.cc:1219
#10 0x0872b7bc in que_thr_step (thr=0xba72aa0) at /home/buildbot/buildbot/build/storage/innobase/que/que0que.cc:1042
#11 que_run_threads_low (thr=0xba72aa0) at /home/buildbot/buildbot/build/storage/innobase/que/que0que.cc:1104
#12 que_run_threads (thr=0xba72aa0) at /home/buildbot/buildbot/build/storage/innobase/que/que0que.cc:1144
#13 0x087c61d2 in trx_purge (n_purge_threads=3, batch_size=300, truncate=false) at /home/buildbot/buildbot/build/storage/innobase/trx/trx0purge.cc:1738
#14 0x0879fd82 in srv_do_purge (n_total_purged=0xa7ef4368) at /home/buildbot/buildbot/build/storage/innobase/srv/srv0srv.cc:2733
#15 0x087a7c5c in srv_purge_coordinator_thread (arg=0x0) at /home/buildbot/buildbot/build/storage/innobase/srv/srv0srv.cc:2879
#16 0x00685a09 in start_thread () from /lib/libpthread.so.0
#17 0x004dd43e in clone () from /lib/libc.so.6
Thread 19 (Thread 0xb0893b70 (LWP 16615)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x0068d590 in sigwait () from /lib/libpthread.so.0
#2 0x08171b32 in signal_hand (arg=0x0) at /home/buildbot/buildbot/build/sql/mysqld.cc:3509
#3 0x08654e88 in pfs_spawn_thread (arg=0xba90970) at /home/buildbot/buildbot/build/storage/perfschema/pfs.cc:1869
#4 0x00685a09 in start_thread () from /lib/libpthread.so.0
#5 0x004dd43e in clone () from /lib/libc.so.6
Thread 18 (Thread 0xa92f6b70 (LWP 16594)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x00689624 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x0870cf8e in os_event::timed_wait (this=0xba46410, abstime=0xa92f6280) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:275
#3 0x0870d651 in os_event::wait_time_low (this=0xba46410, time_in_usec=10000000, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:385
#4 0x088b2525 in dict_stats_thread () at /home/buildbot/buildbot/build/storage/innobase/dict/dict0stats_bg.cc:474
#5 0x00685a09 in start_thread () from /lib/libpthread.so.0
#6 0x004dd43e in clone () from /lib/libc.so.6
Thread 17 (Thread 0xa48feb70 (LWP 16605)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x0068cc26 in nanosleep () from /lib/libpthread.so.0
#2 0x0870d8bc in os_thread_sleep (tm=1000000) at /home/buildbot/buildbot/build/storage/innobase/os/os0thread.cc:231
#3 0x0883b1cc in btr_defragment_thread () at /home/buildbot/buildbot/build/storage/innobase/btr/btr0defragment.cc:727
#4 0x00685a09 in start_thread () from /lib/libpthread.so.0
#5 0x004dd43e in clone () from /lib/libc.so.6
Thread 16 (Thread 0xa34fcb70 (LWP 16607)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x0068927c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x0868db22 in inline_mysql_cond_wait () at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1156
#3 thd_destructor_proxy () at /home/buildbot/buildbot/build/storage/innobase/handler/ha_innodb.cc:328
#4 0x08654e88 in pfs_spawn_thread (arg=0xba8a188) at /home/buildbot/buildbot/build/storage/perfschema/pfs.cc:1869
#5 0x00685a09 in start_thread () from /lib/libpthread.so.0
#6 0x004dd43e in clone () from /lib/libc.so.6
Thread 15 (Thread 0xaa6f8b70 (LWP 16591)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x00689624 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x0870cf8e in os_event::timed_wait (this=0xb8deea0, abstime=0xaa6f8190) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:275
#3 0x0870d651 in os_event::wait_time_low (this=0xb8deea0, time_in_usec=1000000, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:385
#4 0x0879ff23 in srv_error_monitor_thread () at /home/buildbot/buildbot/build/storage/innobase/srv/srv0srv.cc:1915
#5 0x00685a09 in start_thread () from /lib/libpthread.so.0
#6 0x004dd43e in clone () from /lib/libc.so.6
Thread 14 (Thread 0xa3efdb70 (LWP 16606)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x0068927c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x0870d3c5 in wait (event=0xb8df000, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:158
#3 wait_low (event=0xb8df000, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:325
#4 os_event_wait_low (event=0xb8df000, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:507
#5 0x0885451b in buf_resize_thread () at /home/buildbot/buildbot/build/storage/innobase/buf/buf0buf.cc:3133
#6 0x00685a09 in start_thread () from /lib/libpthread.so.0
#7 0x004dd43e in clone () from /lib/libc.so.6
Thread 13 (Thread 0xa9cf7b70 (LWP 16593)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x0068cc26 in nanosleep () from /lib/libpthread.so.0
#2 0x0870d8bc in os_thread_sleep (tm=1000000) at /home/buildbot/buildbot/build/storage/innobase/os/os0thread.cc:231
#3 0x087a5aac in srv_master_sleep (arg=0x0) at /home/buildbot/buildbot/build/storage/innobase/srv/srv0srv.cc:2418
#4 srv_master_thread (arg=0x0) at /home/buildbot/buildbot/build/storage/innobase/srv/srv0srv.cc:2458
#5 0x00685a09 in start_thread () from /lib/libpthread.so.0
#6 0x004dd43e in clone () from /lib/libc.so.6
Thread 12 (Thread 0xad48cb70 (LWP 16587)):
#0 0x00f0551a in ?? () from /lib/libaio.so.1
#1 0x0870aea4 in LinuxAIOHandler::poll (this=0xb92e390, m1=0xad48c33c, m2=0xad48c338, request=0xad48c328) at /home/buildbot/buildbot/build/storage/innobase/os/os0file.cc:2097
#2 0x0870b5a5 in os_aio_linux_handler (segment=5, m1=0xad48c33c, m2=0xad48c338, request=0xad48c328) at /home/buildbot/buildbot/build/storage/innobase/os/os0file.cc:2151
#3 os_aio_handler (segment=5, m1=0xad48c33c, m2=0xad48c338, request=0xad48c328) at /home/buildbot/buildbot/build/storage/innobase/os/os0file.cc:5781
#4 0x088bee40 in fil_aio_wait (segment=5) at /home/buildbot/buildbot/build/storage/innobase/fil/fil0fil.cc:5119
#5 0x087a8a8a in io_handler_thread (arg=0x90eec74) at /home/buildbot/buildbot/build/storage/innobase/srv/srv0start.cc:332
#6 0x00685a09 in start_thread () from /lib/libpthread.so.0
#7 0x004dd43e in clone () from /lib/libc.so.6
Thread 11 (Thread 0xa60f1b70 (LWP 16599)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x0068927c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x0870d3c5 in wait (event=0xba51dd0, reset_sig_count=29) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:158
#3 wait_low (event=0xba51dd0, reset_sig_count=29) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:325
#4 os_event_wait_low (event=0xba51dd0, reset_sig_count=29) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:507
#5 0x087b320a in sync_array_wait_event (arr=0xb8c4cd8, cell=@0xa60f0c24) at /home/buildbot/buildbot/build/storage/innobase/sync/sync0arr.cc:471
#6 0x087b47ef in rw_lock_s_lock_spin (lock=0x90fc0a0, pass=0, file_name=0x8c7abc0 "/home/buildbot/buildbot/build/storage/innobase/row/row0purge.cc", line=982) at /home/buildbot/buildbot/build/storage/innobase/sync/sync0rw.cc:373
#7 0x087719b2 in row_purge_parse_undo_rec (node=0xba729a0, undo_rec=0xa5509e58 "", thr=0xba72938) at /home/buildbot/buildbot/build/storage/innobase/include/sync0rw.ic:290
#8 row_purge (node=0xba729a0, undo_rec=0xa5509e58 "", thr=0xba72938) at /home/buildbot/buildbot/build/storage/innobase/row/row0purge.cc:1157
#9 0x0877314a in row_purge_step (thr=0xba72938) at /home/buildbot/buildbot/build/storage/innobase/row/row0purge.cc:1219
#10 0x0872b7bc in que_thr_step (thr=0xba72938) at /home/buildbot/buildbot/build/storage/innobase/que/que0que.cc:1042
#11 que_run_threads_low (thr=0xba72938) at /home/buildbot/buildbot/build/storage/innobase/que/que0que.cc:1104
#12 que_run_threads (thr=0xba72938) at /home/buildbot/buildbot/build/storage/innobase/que/que0que.cc:1144
#13 0x087a4af5 in srv_task_execute (arg=0x0) at /home/buildbot/buildbot/build/storage/innobase/srv/srv0srv.cc:2571
#14 srv_worker_thread (arg=0x0) at /home/buildbot/buildbot/build/storage/innobase/srv/srv0srv.cc:2618
#15 0x00685a09 in start_thread () from /lib/libpthread.so.0
#16 0x004dd43e in clone () from /lib/libc.so.6
Thread 10 (Thread 0xaca8bb70 (LWP 16588)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x00689624 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x0870cf8e in os_event::timed_wait (this=0xb8defa8, abstime=0xaca8b080) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:275
#3 0x0870d651 in os_event::wait_time_low (this=0xb8defa8, time_in_usec=388000, reset_sig_count=6) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:385
#4 0x08866f28 in pc_sleep_if_needed () at /home/buildbot/buildbot/build/storage/innobase/buf/buf0flu.cc:2698
#5 buf_flush_page_cleaner_coordinator () at /home/buildbot/buildbot/build/storage/innobase/buf/buf0flu.cc:3164
#6 0x00685a09 in start_thread () from /lib/libpthread.so.0
#7 0x004dd43e in clone () from /lib/libc.so.6
Thread 9 (Thread 0xade8db70 (LWP 16586)):
#0 0x00f0551a in ?? () from /lib/libaio.so.1
#1 0x0870aea4 in LinuxAIOHandler::poll (this=0xb92c390, m1=0xade8d33c, m2=0xade8d338, request=0xade8d328) at /home/buildbot/buildbot/build/storage/innobase/os/os0file.cc:2097
#2 0x0870b5a5 in os_aio_linux_handler (segment=4, m1=0xade8d33c, m2=0xade8d338, request=0xade8d328) at /home/buildbot/buildbot/build/storage/innobase/os/os0file.cc:2151
#3 os_aio_handler (segment=4, m1=0xade8d33c, m2=0xade8d338, request=0xade8d328) at /home/buildbot/buildbot/build/storage/innobase/os/os0file.cc:5781
#4 0x088bee40 in fil_aio_wait (segment=4) at /home/buildbot/buildbot/build/storage/innobase/fil/fil0fil.cc:5119
#5 0x087a8a8a in io_handler_thread (arg=0x90eec70) at /home/buildbot/buildbot/build/storage/innobase/srv/srv0start.cc:332
#6 0x00685a09 in start_thread () from /lib/libpthread.so.0
#7 0x004dd43e in clone () from /lib/libc.so.6
Thread 8 (Thread 0xa88f5b70 (LWP 16595)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x00689624 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x0870cf8e in os_event::timed_wait (this=0xba89ad0, abstime=0xa88f50b0) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:275
#3 0x0870d651 in os_event::wait_time_low (this=0xba89ad0, time_in_usec=5000000, reset_sig_count=1) at /home/buildbot/buildbot/build/storage/innobase/os/os0event.cc:385
#4 0x087fbbab in ib_wqueue_timedwait (wq=0xba89a08, wait_in_usecs=5000000) at /home/buildbot/buildbot/build/storage/innobase/ut/ut0wqueue.cc:156
#5 0x0890aec4 in fts_optimize_thread (arg=0xba89a08) at /home/buildbot/buildbot/build/storage/innobase/fts/fts0opt.cc:2820
#6 0x00685a09 in start_thread () from /lib/libpthread.so.0
#7 0x004dd43e in clone () from /lib/libc.so.6
Thread 7 (Thread 0xae88eb70 (LWP 16585)):
#0 0x00f0551a in ?? () from /lib/libaio.so.1
#1 0x0870aea4 in LinuxAIOHandler::poll (this=0xb900f28, m1=0xae88e33c, m2=0xae88e338, request=0xae88e328) at /home/buildbot/buildbot/build/storage/innobase/os/os0file.cc:2097
#2 0x0870b5a5 in os_aio_linux_handler (segment=3, m1=0xae88e33c, m2=0xae88e338, request=0xae88e328) at /home/buildbot/buildbot/build/storage/innobase/os/os0file.cc:2151
#3 os_aio_handler (segment=3, m1=0xae88e33c, m2=0xae88e338, request=0xae88e328) at /home/buildbot/buildbot/build/storage/innobase/os/os0file.cc:5781
#4 0x088bee40 in fil_aio_wait (segment=3) at /home/buildbot/buildbot/build/storage/innobase/fil/fil0fil.cc:5119
#5 0x087a8a8a in io_handler_thread (arg=0x90eec6c) at /home/buildbot/buildbot/build/storage/innobase/srv/srv0start.cc:332
#6 0x00685a09 in start_thread () from /lib/libpthread.so.0
#7 0x004dd43e in clone () from /lib/libc.so.6
Thread 6 (Thread 0xaf28fb70 (LWP 16584)):
#0 0x00f0551a in ?? () from /lib/libaio.so.1
#1 0x0870aea4 in LinuxAIOHandler::poll (this=0xb8fef28, m1=0xaf28f33c, m2=0xaf28f338, request=0xaf28f328) at /home/buildbot/buildbot/build/storage/innobase/os/os0file.cc:2097
#2 0x0870b5a5 in os_aio_linux_handler (segment=2, m1=0xaf28f33c, m2=0xaf28f338, request=0xaf28f328) at /home/buildbot/buildbot/build/storage/innobase/os/os0file.cc:2151
#3 os_aio_handler (segment=2, m1=0xaf28f33c, m2=0xaf28f338, request=0xaf28f328) at /home/buildbot/buildbot/build/storage/innobase/os/os0file.cc:5781
#4 0x088bee40 in fil_aio_wait (segment=2) at /home/buildbot/buildbot/build/storage/innobase/fil/fil0fil.cc:5119
#5 0x087a8a8a in io_handler_thread (arg=0x90eec68) at /home/buildbot/buildbot/build/storage/innobase/srv/srv0start.cc:332
#6 0x00685a09 in start_thread () from /lib/libpthread.so.0
#7 0x004dd43e in clone () from /lib/libc.so.6
Thread 5 (Thread 0xafc90b70 (LWP 16583)):
#0 0x00f0551a in ?? () from /lib/libaio.so.1
#1 0x0870aea4 in LinuxAIOHandler::poll (this=0xb917a08, m1=0xafc9033c, m2=0xafc90338, request=0xafc90328) at /home/buildbot/buildbot/build/storage/innobase/os/os0file.cc:2097
#2 0x0870b5a5 in os_aio_linux_handler (segment=1, m1=0xafc9033c, m2=0xafc90338, request=0xafc90328) at /home/buildbot/buildbot/build/storage/innobase/os/os0file.cc:2151
#3 os_aio_handler (segment=1, m1=0xafc9033c, m2=0xafc90338, request=0xafc90328) at /home/buildbot/buildbot/build/storage/innobase/os/os0file.cc:5781
#4 0x088bee40 in fil_aio_wait (segment=1) at /home/buildbot/buildbot/build/storage/innobase/fil/fil0fil.cc:5119
#5 0x087a8a8a in io_handler_thread (arg=0x90eec64) at /home/buildbot/buildbot/build/storage/innobase/srv/srv0start.cc:332
#6 0x00685a09 in start_thread () from /lib/libpthread.so.0
#7 0x004dd43e in clone () from /lib/libc.so.6
Thread 4 (Thread 0xb0691b70 (LWP 16582)):
#0 0x00f0551a in ?? () from /lib/libaio.so.1
#1 0x0870aea4 in LinuxAIOHandler::poll (this=0xb90c480, m1=0xb069133c, m2=0xb0691338, request=0xb0691328) at /home/buildbot/buildbot/build/storage/innobase/os/os0file.cc:2097
#2 0x0870b5a5 in os_aio_linux_handler (segment=0, m1=0xb069133c, m2=0xb0691338, request=0xb0691328) at /home/buildbot/buildbot/build/storage/innobase/os/os0file.cc:2151
#3 os_aio_handler (segment=0, m1=0xb069133c, m2=0xb0691338, request=0xb0691328) at /home/buildbot/buildbot/build/storage/innobase/os/os0file.cc:5781
#4 0x088bee40 in fil_aio_wait (segment=0) at /home/buildbot/buildbot/build/storage/innobase/fil/fil0fil.cc:5119
#5 0x087a8a8a in io_handler_thread (arg=0x90eec60) at /home/buildbot/buildbot/build/storage/innobase/srv/srv0start.cc:332
#6 0x00685a09 in start_thread () from /lib/libpthread.so.0
#7 0x004dd43e in clone () from /lib/libc.so.6
Thread 3 (Thread 0xac08ab70 (LWP 17000)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x00689624 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x081725d7 in one_thread_per_connection_end (thd=0xabe049b0, put_in_cache=true) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1182
#3 0x083289d9 in do_handle_one_connection (connect=0xba76218) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1355
#4 0x08328c8b in handle_one_connection (arg=0xba76218) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1241
#5 0x08654e88 in pfs_spawn_thread (arg=0xb9fe850) at /home/buildbot/buildbot/build/storage/perfschema/pfs.cc:1869
#6 0x00685a09 in start_thread () from /lib/libpthread.so.0
#7 0x004dd43e in clone () from /lib/libc.so.6
Thread 2 (Thread 0xb3712b70 (LWP 16569)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x00689624 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x08aa195a in inline_mysql_cond_timedwait (arg=0x0) at /home/buildbot/buildbot/build/include/mysql/psi/mysql_thread.h:1182
#3 timer_handler (arg=0x0) at /home/buildbot/buildbot/build/mysys/thr_timer.c:292
#4 0x08654e88 in pfs_spawn_thread (arg=0xb817ac0) at /home/buildbot/buildbot/build/storage/perfschema/pfs.cc:1869
#5 0x00685a09 in start_thread () from /lib/libpthread.so.0
#6 0x004dd43e in clone () from /lib/libc.so.6
Thread 1 (Thread 0xb06ffb70 (LWP 16617)):
#0 0x00dc6424 in __kernel_vsyscall ()
#1 0x0068a403 in pthread_kill () from /lib/libpthread.so.0
#2 0x08a9cdeb in my_write_core (sig=6) at /home/buildbot/buildbot/build/mysys/stacktrace.c:477
#3 0x08437087 in handle_fatal_signal (sig=6) at /home/buildbot/buildbot/build/sql/signal_handler.cc:343
#4 <signal handler called>
#5 0x00dc6424 in __kernel_vsyscall ()
#6 0x0042aaf1 in raise () from /lib/libc.so.6
#7 0x0042c3ca in abort () from /lib/libc.so.6
#8 0x087f678b in ut_dbg_assertion_failed (expr=0x8c83888 "lock->lock_word == X_LOCK_DECR", file=0x8c83848 "/home/buildbot/buildbot/build/storage/innobase/sync/sync0rw.cc", line=259) at /home/buildbot/buildbot/build/storage/innobase/ut/ut0dbg.cc:60
#9 0x087b50cf in rw_lock_free_func (lock=0xa53731a0) at /home/buildbot/buildbot/build/storage/innobase/sync/sync0rw.cc:259
#10 0x08880b6f in pfs_rw_lock_free_func (table=0xa534fc70) at /home/buildbot/buildbot/build/storage/innobase/include/sync0rw.ic:603
#11 dict_table_stats_latch_free (table=0xa534fc70) at /home/buildbot/buildbot/build/storage/innobase/dict/dict0dict.cc:300
#12 dict_table_stats_latch_destroy (table=0xa534fc70) at /home/buildbot/buildbot/build/storage/innobase/dict/dict0dict.cc:337
#13 0x088a4c3a in dict_mem_table_free (table=0xa534fc70) at /home/buildbot/buildbot/build/storage/innobase/dict/dict0mem.cc:205
#14 0x0882f6dc in btr_search_lazy_free (index=0xa53516f0) at /home/buildbot/buildbot/build/storage/innobase/btr/btr0sea.cc:265
#15 0x088327b0 in btr_search_drop_page_hash_index (block=0xb0aa1cd0) at /home/buildbot/buildbot/build/storage/innobase/btr/btr0sea.cc:1272
#16 0x0886a843 in buf_LRU_free_page (bpage=0xb0aa1cd0, zip=true) at /home/buildbot/buildbot/build/storage/innobase/buf/buf0lru.cc:1616
#17 0x0886c5c4 in buf_LRU_free_from_common_LRU_list (buf_pool=0xb998210, scan_all=false) at /home/buildbot/buildbot/build/storage/innobase/buf/buf0lru.cc:698
#18 buf_LRU_scan_and_free_block (buf_pool=0xb998210, scan_all=false) at /home/buildbot/buildbot/build/storage/innobase/buf/buf0lru.cc:740
#19 0x0886cc2f in buf_LRU_get_free_block (buf_pool=0xb998210) at /home/buildbot/buildbot/build/storage/innobase/buf/buf0lru.cc:971
#20 0x08851051 in buf_page_create (page_id=..., page_size=..., mtr=0xb06f978c) at /home/buildbot/buildbot/build/storage/innobase/buf/buf0buf.cc:5593
#21 0x088da593 in fsp_page_create (space=<value optimized out>, offset=<value optimized out>, page_size=..., rw_latch=RW_SX_LATCH, mtr=0xb06f978c, init_mtr=0xb06f978c) at /home/buildbot/buildbot/build/storage/innobase/fsp/fsp0fsp.cc:1309
#22 0x088e066d in fsp_alloc_free_page (space=0xba45b18, page_size=..., hint=<value optimized out>, rw_latch=RW_SX_LATCH, mtr=0xb06f978c, init_mtr=0xb06f978c) at /home/buildbot/buildbot/build/storage/innobase/fsp/fsp0fsp.cc:1455
#23 0x088e25cc in fseg_alloc_free_page_low (space=0xba45b18, page_size=..., seg_inode=0xb1295832 "", hint=0, direction=111 'o', rw_latch=RW_SX_LATCH, mtr=0xb06f978c, init_mtr=0xb06f978c) at /home/buildbot/buildbot/build/storage/innobase/fsp/fsp0fsp.cc:2519
#24 0x088e3855 in fseg_create_general (space_id=0, page=0, byte_offset=60, has_done_reservation=1, mtr=0xb06f978c) at /home/buildbot/buildbot/build/storage/innobase/fsp/fsp0fsp.cc:2105
#25 0x087f27f5 in trx_undo_create (trx=0xb12cb93c, rseg=0xba7f248, undo=0xb12cc558, type=2) at /home/buildbot/buildbot/build/storage/innobase/trx/trx0undo.cc:451
#26 trx_undo_assign_undo (trx=0xb12cb93c, rseg=0xba7f248, undo=0xb12cc558, type=2) at /home/buildbot/buildbot/build/storage/innobase/trx/trx0undo.cc:1610
#27 0x087d3888 in trx_undo_report_row_operation (thr=0xa5366560, index=0xba6c268, clust_entry=0xa53adf80, update=0x0, cmpl_info=0, rec=0xb10adda9 "", offsets=0xb06faa1c, roll_ptr=0xb06fa290) at /home/buildbot/buildbot/build/storage/innobase/trx/trx0rec.cc:2073
#28 0x088166aa in btr_cur_del_mark_set_clust_rec (block=0xb0aaaa30, rec=0xb10adda9 "", index=0xba6c268, offsets=0xb06faa1c, thr=0xa5366560, entry=0xa53adf80, mtr=0xb06fa364) at /home/buildbot/buildbot/build/storage/innobase/btr/btr0cur.cc:4865
#29 0x0879391f in row_upd_del_mark_clust_rec (node=0xa5365538, thr=0xa5366560) at /home/buildbot/buildbot/build/storage/innobase/row/row0upd.cc:2997
#30 row_upd_clust_step (node=0xa5365538, thr=0xa5366560) at /home/buildbot/buildbot/build/storage/innobase/row/row0upd.cc:3169
#31 0x08794886 in row_upd (node=0xa5365538, thr=0xa5366560) at /home/buildbot/buildbot/build/storage/innobase/row/row0upd.cc:3290
#32 0x08795e41 in row_upd_step (thr=0xa5366560) at /home/buildbot/buildbot/build/storage/innobase/row/row0upd.cc:3436
#33 0x0872b224 in que_thr_step (thr=0xa5366560) at /home/buildbot/buildbot/build/storage/innobase/que/que0que.cc:1024
#34 que_run_threads_low (thr=0xa5366560) at /home/buildbot/buildbot/build/storage/innobase/que/que0que.cc:1104
#35 que_run_threads (thr=0xa5366560) at /home/buildbot/buildbot/build/storage/innobase/que/que0que.cc:1144
#36 0x0872be94 in que_eval_sql (info=0xa53aaf10, sql=0x8c79bec "PROCEDURE DROP_TABLE_PROC () IS\ntid CHAR;\niid CHAR;\nDECLARE CURSOR cur_idx IS\nSELECT ID FROM SYS_INDEXES\nWHERE TABLE_ID = tid FOR UPDATE;\nBEGIN\nSELECT ID INTO tid FROM SYS_TABLES\nWHERE NAME = :name FO"..., reserve_dict_mutex=0, trx=0xb12cb93c) at /home/buildbot/buildbot/build/storage/innobase/que/que0que.cc:1221
#37 0x08762101 in row_drop_table_for_mysql (name=0xb06fc61c "test/t1", trx=0xb12cb93c, sqlcom=SQLCOM_DROP_TABLE, create_failed=false, nonatomic=true) at /home/buildbot/buildbot/build/storage/innobase/row/row0mysql.cc:3665
#38 0x0869a86a in ha_innobase::delete_table (this=0xa5313510, name=0xb06fd78f "./test/t1", sqlcom=SQLCOM_DROP_TABLE) at /home/buildbot/buildbot/build/storage/innobase/handler/ha_innodb.cc:13357
#39 0x0868eedd in ha_innobase::delete_table (this=0xa5313510, name=0xb06fd78f "./test/t1") at /home/buildbot/buildbot/build/storage/innobase/handler/ha_innodb.cc:13482
#40 0x0843f2b6 in ha_delete_table (thd=0xa53048d8, table_type=0xb84bc20, path=0xb06fd78f "./test/t1", db=0xa5313320 "test", alias=0xa5312eb0 "t1", generate_warning=true) at /home/buildbot/buildbot/build/sql/handler.cc:4473
#41 ha_delete_table (thd=0xa53048d8, table_type=0xb84bc20, path=0xb06fd78f "./test/t1", db=0xa5313320 "test", alias=0xa5312eb0 "t1", generate_warning=true) at /home/buildbot/buildbot/build/sql/handler.cc:2442
#42 0x082cad90 in mysql_rm_table_no_locks (thd=0xa53048d8, tables=0xa5312ed8, if_exists=false, drop_temporary=false, drop_view=false, dont_log_query=false, dont_free_locks=false) at /home/buildbot/buildbot/build/sql/sql_table.cc:2447
#43 0x082d23fb in mysql_rm_table (thd=0xa53048d8, tables=0xa5312ed8, if_exists=0 '\000', drop_temporary=0 '\000') at /home/buildbot/buildbot/build/sql/sql_table.cc:2090
#44 0x082281b7 in mysql_execute_command (thd=0xa53048d8) at /home/buildbot/buildbot/build/sql/sql_parse.cc:4506
#45 0x08231d2f in mysql_parse (thd=0xa53048d8, rawbuf=0xa5312e40 "DROP TABLE t1", length=13, parser_state=0xb06ff0c4, is_com_multi=false, is_next_command=false) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7741
#46 0x08234079 in dispatch_command (command=COM_QUERY, thd=0xa53048d8, packet=0xa5308b81 "DROP TABLE t1", packet_length=13, is_com_multi=false, is_next_command=false) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1832
#47 0x08236199 in do_command (thd=0xa53048d8) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1386
#48 0x08328a93 in do_handle_one_connection (connect=0xbafa180) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1336
#49 0x08328c8b in handle_one_connection (arg=0xbafa180) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1241
#50 0x08654e88 in pfs_spawn_thread (arg=0xbafa358) at /home/buildbot/buildbot/build/storage/perfschema/pfs.cc:1869
#51 0x00685a09 in start_thread () from /lib/libpthread.so.0
#52 0x004dd43e in clone () from /lib/libc.so.6