Description:
When executing a workload that is heavy on DDL, Falcon crashed as follows:
#0 0x00110402 in __kernel_vsyscall ()
#1 0x00bdc617 in pthread_kill () from /lib/libpthread.so.0
#2 0x08449de3 in write_core (sig=11) at stacktrace.c:305
#3 0x082a383b in handle_segfault (sig=11) at mysqld.cc:2621
#4 <signal handler called>
#5 0x084d94db in Transaction::hasUncommittedRecords (this=0xb7121aa0, table=0xa5c50650) at Transaction.cpp:947
#6 0x0859afb3 in TransactionManager::hasUncommittedRecords (this=0xb70d6480, table=0xa5c50650, transaction=0x0) at TransactionManager.cpp:172
#7 0x0850145f in Database::hasUncommittedRecords (this=0xb72cf628, table=0xa5c50650, transaction=0x0) at Database.cpp:2279
#8 0x085033ea in Database::dropTable (this=0xb72cf628, table=0xa5c50650, transaction=0x0) at Database.cpp:1409
#9 0x08591b68 in Nfs::Statement::dropTable (this=0xa5cc7fd8, syntax=0xa5cca1a8) at Statement.cpp:1144
#10 0x0859540f in Nfs::Statement::executeDDL (this=0xa5cc7fd8) at Statement.cpp:832
#11 0x085963c6 in Nfs::Statement::execute (this=0xa5cc7fd8, sqlString=0xa9542b44 "drop table TMP.\"#SQLA42_1D2A_5\"", isQuery=false) at Statement.cpp:2705
#12 0x08596442 in Nfs::Statement::execute (this=0xa5cc7fd8, sqlString=0xa9542b44 "drop table TMP.\"#SQLA42_1D2A_5\"") at Statement.cpp:161
#13 0x084ba6fa in StorageDatabase::deleteTable (this=0xb70ce128, storageConnection=0xa6dfa840, tableShare=0xa5cc5b10) at StorageDatabase.cpp:486
#14 0x084c2de8 in StorageTableShare::deleteTable (this=0xa5cc5b10, storageConnection=0xa6dfa840) at StorageTableShare.cpp:138
#15 0x084c1079 in StorageTable::deleteTable (this=0xa7e8ff48) at StorageTable.cpp:81
#16 0x084b50bb in StorageInterface::delete_table (this=0x9d6d468, tableName=0x9d4b25c "/build/6.0-falcon-team/mysql-test/var/tmp/#sqla42_1d2a_5")
at ha_falcon.cpp:965
#17 0x083cfb02 in handler::ha_delete_table (this=0x9d6d468, name=0x9d4b25c "/build/6.0-falcon-team/mysql-test/var/tmp/#sqla42_1d2a_5") at handler.cc:3193
#18 0x082f97d7 in rm_temporary_table (base=0x96026a8, path=0x9d4b25c "/build/6.0-falcon-team/mysql-test/var/tmp/#sqla42_1d2a_5", frm_only=false)
at sql_base.cc:5421
#19 0x082fbf84 in close_temporary (table=0x9d4a950, free_share=true, delete_table=true) at sql_base.cc:1972
#20 0x082fc198 in close_temporary_table (thd=0xa9b16268, table=0x9d4a950, free_share=true, delete_table=true) at sql_base.cc:1944
#21 0x082fc41b in drop_temporary_table (thd=0xa9b16268, table_list=0x9d6cc10) at sql_base.cc:1890
#22 0x083f8c3b in mysql_rm_table_part2 (thd=0xa9b16268, tables=0x9d6c7c0, if_exists=true, drop_temporary=false, drop_view=false, dont_log_query=false)
at sql_table.cc:1608
#23 0x083f9517 in mysql_rm_table (thd=0xa9b16268, tables=0x9d6c7c0, if_exists=1 '\001', drop_temporary=0 '\0') at sql_table.cc:1494
#24 0x082b7971 in mysql_execute_command (thd=0xa9b16268) at sql_parse.cc:3080
#25 0x082bd268 in mysql_parse (thd=0xa9b16268, inBuf=0x9d6c6c0 "DROP TABLE IF EXISTS table74661, table74662, t10, t11, t20, t21", length=63,
found_semicolon=0xa9544270) at sql_parse.cc:5623
#26 0x082bdc81 in dispatch_command (command=COM_QUERY, thd=0xa9b16268, packet=0xa9b215a1 "DROP TABLE IF EXISTS table74661, table74662, t10, t11, t20, t21",
packet_length=63) at sql_parse.cc:1031
#27 0x082beee0 in do_command (thd=0xa9b16268) at sql_parse.cc:723
#28 0x082ac5f9 in handle_one_connection (arg=0xa9b16268) at sql_connect.cc:1134
#29 0x00bd750b in start_thread () from /lib/libpthread.so.0
#30 0x00b18b2e in clone () from /lib/libc.so.6
How to repeat:
A repeatable test case will hopefully follow.
Description: When executing a workload that is heavy on DDL, Falcon crashed as follows: #0 0x00110402 in __kernel_vsyscall () #1 0x00bdc617 in pthread_kill () from /lib/libpthread.so.0 #2 0x08449de3 in write_core (sig=11) at stacktrace.c:305 #3 0x082a383b in handle_segfault (sig=11) at mysqld.cc:2621 #4 <signal handler called> #5 0x084d94db in Transaction::hasUncommittedRecords (this=0xb7121aa0, table=0xa5c50650) at Transaction.cpp:947 #6 0x0859afb3 in TransactionManager::hasUncommittedRecords (this=0xb70d6480, table=0xa5c50650, transaction=0x0) at TransactionManager.cpp:172 #7 0x0850145f in Database::hasUncommittedRecords (this=0xb72cf628, table=0xa5c50650, transaction=0x0) at Database.cpp:2279 #8 0x085033ea in Database::dropTable (this=0xb72cf628, table=0xa5c50650, transaction=0x0) at Database.cpp:1409 #9 0x08591b68 in Nfs::Statement::dropTable (this=0xa5cc7fd8, syntax=0xa5cca1a8) at Statement.cpp:1144 #10 0x0859540f in Nfs::Statement::executeDDL (this=0xa5cc7fd8) at Statement.cpp:832 #11 0x085963c6 in Nfs::Statement::execute (this=0xa5cc7fd8, sqlString=0xa9542b44 "drop table TMP.\"#SQLA42_1D2A_5\"", isQuery=false) at Statement.cpp:2705 #12 0x08596442 in Nfs::Statement::execute (this=0xa5cc7fd8, sqlString=0xa9542b44 "drop table TMP.\"#SQLA42_1D2A_5\"") at Statement.cpp:161 #13 0x084ba6fa in StorageDatabase::deleteTable (this=0xb70ce128, storageConnection=0xa6dfa840, tableShare=0xa5cc5b10) at StorageDatabase.cpp:486 #14 0x084c2de8 in StorageTableShare::deleteTable (this=0xa5cc5b10, storageConnection=0xa6dfa840) at StorageTableShare.cpp:138 #15 0x084c1079 in StorageTable::deleteTable (this=0xa7e8ff48) at StorageTable.cpp:81 #16 0x084b50bb in StorageInterface::delete_table (this=0x9d6d468, tableName=0x9d4b25c "/build/6.0-falcon-team/mysql-test/var/tmp/#sqla42_1d2a_5") at ha_falcon.cpp:965 #17 0x083cfb02 in handler::ha_delete_table (this=0x9d6d468, name=0x9d4b25c "/build/6.0-falcon-team/mysql-test/var/tmp/#sqla42_1d2a_5") at handler.cc:3193 #18 0x082f97d7 in rm_temporary_table (base=0x96026a8, path=0x9d4b25c "/build/6.0-falcon-team/mysql-test/var/tmp/#sqla42_1d2a_5", frm_only=false) at sql_base.cc:5421 #19 0x082fbf84 in close_temporary (table=0x9d4a950, free_share=true, delete_table=true) at sql_base.cc:1972 #20 0x082fc198 in close_temporary_table (thd=0xa9b16268, table=0x9d4a950, free_share=true, delete_table=true) at sql_base.cc:1944 #21 0x082fc41b in drop_temporary_table (thd=0xa9b16268, table_list=0x9d6cc10) at sql_base.cc:1890 #22 0x083f8c3b in mysql_rm_table_part2 (thd=0xa9b16268, tables=0x9d6c7c0, if_exists=true, drop_temporary=false, drop_view=false, dont_log_query=false) at sql_table.cc:1608 #23 0x083f9517 in mysql_rm_table (thd=0xa9b16268, tables=0x9d6c7c0, if_exists=1 '\001', drop_temporary=0 '\0') at sql_table.cc:1494 #24 0x082b7971 in mysql_execute_command (thd=0xa9b16268) at sql_parse.cc:3080 #25 0x082bd268 in mysql_parse (thd=0xa9b16268, inBuf=0x9d6c6c0 "DROP TABLE IF EXISTS table74661, table74662, t10, t11, t20, t21", length=63, found_semicolon=0xa9544270) at sql_parse.cc:5623 #26 0x082bdc81 in dispatch_command (command=COM_QUERY, thd=0xa9b16268, packet=0xa9b215a1 "DROP TABLE IF EXISTS table74661, table74662, t10, t11, t20, t21", packet_length=63) at sql_parse.cc:1031 #27 0x082beee0 in do_command (thd=0xa9b16268) at sql_parse.cc:723 #28 0x082ac5f9 in handle_one_connection (arg=0xa9b16268) at sql_connect.cc:1134 #29 0x00bd750b in start_thread () from /lib/libpthread.so.0 #30 0x00b18b2e in clone () from /lib/libc.so.6 How to repeat: A repeatable test case will hopefully follow.