Description:
2016-06-28T06:34:07.178001Z 0 [Note] /sda/MS270616-mysql-5.7.13-linux-x86_64-debug/bin/mysqld: ready for connections.
Version: '5.7.13-debug' socket: '/sda/MS270616-mysql-5.7.13-linux-x86_64-debug/socket.sock' port: 18573 MySQL Community Server (GPL)
2016-06-28 16:34:12 0x7f2f0fbb3700 InnoDB: Assertion failure in thread 139840104118016 in file trx0trx.cc line 1257
InnoDB: Failing assertion: trx_sys->rseg_array[0] != __null
+bt
#0 0x00007ff8d9866741 in __pthread_kill (threadid=<optimized out>, signo=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:61
#1 0x000000000183b0e8 in my_write_core (sig=6) at /git/PS-5.7_dbg/mysys/stacktrace.c:247
#2 0x0000000000e76cd3 in handle_fatal_signal (sig=6) at /git/PS-5.7_dbg/sql/signal_handler.cc:223
#3 <signal handler called>
#4 0x00007ff8d7bff5f7 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#5 0x00007ff8d7c00ce8 in __GI_abort () at abort.c:90
#6 0x0000000001bab987 in ut_dbg_assertion_failed (expr=0x2210298 "trx_sys->rseg_array[0] != __null", file=0x220f8c0 "/git/PS-5.7_dbg/storage/innobase/trx/trx0trx.cc", line=1292) at /git/PS-5.7_dbg/storage/innobase/ut/ut0dbg.cc:67
#7 0x0000000001b96c87 in trx_assign_rseg_low (max_undo_logs=128, n_tablespaces=0, rseg_type=TRX_RSEG_TYPE_REDO) at /git/PS-5.7_dbg/storage/innobase/trx/trx0trx.cc:1292
#8 0x0000000001b975bd in trx_start_low (trx=0x7ff8cd232068, read_write=true) at /git/PS-5.7_dbg/storage/innobase/trx/trx0trx.cc:1450
#9 0x0000000001b9b73e in trx_start_if_not_started_xa_low (trx=0x7ff8cd232068, read_write=true) at /git/PS-5.7_dbg/storage/innobase/trx/trx0trx.cc:3168
#10 0x0000000001ad5768 in row_drop_database_for_mysql (name=0x7ff868272b60 "test/", trx=0x7ff8cd232068, found=0x7ff8cc03e9d8) at /git/PS-5.7_dbg/storage/innobase/row/row0mysql.cc:5027
#11 0x000000000197fa13 in innobase_drop_database (hton=0x43961d0, path=0x7ff8cc03eff0 "./test/") at /git/PS-5.7_dbg/storage/innobase/handler/ha_innodb.cc:13406
#12 0x0000000000f03522 in dropdb_handlerton (unused1=0x0, plugin=0x7ff8cc03eb18, path=0x7ff8cc03eff0) at /git/PS-5.7_dbg/sql/handler.cc:1027
#13 0x000000000154056b in plugin_foreach_with_mask (thd=0x0, func=0xf034cf <dropdb_handlerton(THD*, plugin_ref, void*)>, type=1, state_mask=4294967287, arg=0x7ff8cc03eff0) at /git/PS-5.7_dbg/sql/sql_plugin.cc:2318
#14 0x0000000000f03557 in ha_drop_database (path=0x7ff8cc03eff0 "./test/") at /git/PS-5.7_dbg/sql/handler.cc:1034
#15 0x00000000014bdaf6 in mysql_rm_db (thd=0x7ff8680129c0, db=..., if_exists=false, silent=false) at /git/PS-5.7_dbg/sql/sql_db.cc:888
#16 0x0000000001512712 in mysql_execute_command (thd=0x7ff8680129c0, first_level=true) at /git/PS-5.7_dbg/sql/sql_parse.cc:3973
#17 0x000000000151763f in mysql_parse (thd=0x7ff8680129c0, parser_state=0x7ff8cc041540) at /git/PS-5.7_dbg/sql/sql_parse.cc:5802
#18 0x000000000150c589 in dispatch_command (thd=0x7ff8680129c0, com_data=0x7ff8cc041cd0, command=COM_QUERY) at /git/PS-5.7_dbg/sql/sql_parse.cc:1449
#19 0x000000000150b4a3 in do_command (thd=0x7ff8680129c0) at /git/PS-5.7_dbg/sql/sql_parse.cc:1012
#20 0x00000000016450c4 in handle_connection (arg=0x4a29730) at /git/PS-5.7_dbg/sql/conn_handler/connection_handler_per_thread.cc:313
#21 0x0000000001869a34 in pfs_spawn_thread (arg=0x4a0b120) at /git/PS-5.7_dbg/storage/perfschema/pfs.cc:2188
#22 0x00007ff8d9861dc5 in start_thread (arg=0x7ff8cc042700) at pthread_create.c:308
#23 0x00007ff8d7cc021d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
How to repeat:
# mysqld options required for replay: --innodb-force-recovery=2047
DROP DATABASE test; # Once likely enough, otherwise repeat twice