============ (gdb) thread apply all backtrace ==================== (gdb) thread apply all backtrace Thread 2 (process 871): #0 0x00002ae29c37a7f6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000000000c6b2ab in Synchronize::sleep (this=0x2aaaaaee4ef8) at Synchronize.cpp:123 #2 0x0000000000b0b0d4 in Thread::thread (this=0x2aaaaaee4ef8) at Thread.cpp:193 #3 0x0000000000b0b221 in Thread::thread (parameter=0x2aaaaaee4ef8) at Thread.cpp:146 #4 0x00002ae29c377193 in start_thread () from /lib64/libpthread.so.0 #5 0x00002ae29cbf847d in clone () from /lib64/libc.so.6 #6 0x0000000000000000 in ?? () Thread 1 (process 833): #0 0x00002ae29cb68aa5 in raise () from /lib64/libc.so.6 #1 0x00002ae29cb69e60 in abort () from /lib64/libc.so.6 #2 0x00002ae29c8e9d24 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib64/libstdc++.so.6 #3 0x00002ae29c8e7e56 in std::set_unexpected () from /usr/lib64/libstdc++.so.6 #4 0x00002ae29c8e7e83 in std::terminate () from /usr/lib64/libstdc++.so.6 #5 0x00002ae29c8e7f6a in __cxa_throw () from /usr/lib64/libstdc++.so.6 #6 0x0000000000ad8d81 in Error::error (string=0xf148f0 "assertion (%s) failed at line %d in file %s\n") at Error.cpp:73 #7 0x0000000000ad8ddb in Error::assertionFailed (text=0xf18d75 "lockState == 0", fileName=0xf18d60 "SyncObject.cpp", line=132) at Error.cpp:78 #8 0x0000000000af7e09 in ~SyncObject (this=0x2aaaaad01368) at SyncObject.cpp:132 #9 0x0000000000bbbbaa in ~Cache (this=0x2aaaaad01010) at Cache.cpp:170 #10 0x0000000000bd78d4 in ~Database (this=0x2aaaaacd8bc8) at Database.cpp:611 #11 0x0000000000bc5a7c in Connection::shutdownDatabase (this=0x2aaaaaed97e0) at Connection.cpp:1805 #12 0x0000000000ae88b0 in StorageDatabase::close (this=0x2aaaaaed9210) at StorageDatabase.cpp:925 #13 0x0000000000aeceba in StorageHandler::shutdownHandler (this=0x2aaaaacd8048) at StorageHandler.cpp:194 #14 0x0000000000ae2b20 in StorageInterface::falcon_deinit (p=0x0) at ha_falcon.cpp:274 #15 0x0000000000ae2b45 in StorageInterface::panic (hton=0x205cf18, flag=HA_PANIC_CLOSE) at ha_falcon.cpp:2224 #16 0x00000000009b88d0 in ha_finalize_handlerton (plugin=0x201eb40) at handler.cc:392 #17 0x00000000007064e4 in plugin_deinitialize (plugin=0x201eb40, ref_check=true) at sql_plugin.cc:819 #18 0x0000000000706a1f in reap_plugins () at sql_plugin.cc:907 #19 0x000000000070948f in plugin_shutdown () at sql_plugin.cc:1511 #20 0x0000000000629301 in clean_up (print_message=false) at ../sql/mysqld.cc:1365 #21 0x00000000006296b9 in end_embedded_server () at lib_sql.cc:567 #22 0x000000000061d2df in mysql_server_end () at libmysql.c:202 #23 0x00000000006052be in free_used_memory () at mysqltest.cc:1139 #24 0x00000000006052d0 in cleanup_and_exit (exit_code=0) at mysqltest.cc:1148 #25 0x0000000000612570 in main (argc=20, argv=0x7fff0eb750a8) at mysqltest.cc:7981 ============ Thread 1 - (gdb) backtrace full ==================== #0 0x00002ae29cb68aa5 in raise () from /lib64/libc.so.6 No symbol table info available. #1 0x00002ae29cb69e60 in abort () from /lib64/libc.so.6 No symbol table info available. #2 0x00002ae29c8e9d24 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib64/libstdc++.so.6 No symbol table info available. #3 0x00002ae29c8e7e56 in std::set_unexpected () from /usr/lib64/libstdc++.so.6 No symbol table info available. #4 0x00002ae29c8e7e83 in std::terminate () from /usr/lib64/libstdc++.so.6 No symbol table info available. #5 0x00002ae29c8e7f6a in __cxa_throw () from /usr/lib64/libstdc++.so.6 No symbol table info available. #6 0x0000000000ad8d81 in Error::error (string=0xf148f0 "assertion (%s) failed at line %d in file %s\n") at Error.cpp:73 buffer = "assertion (lockState == 0) failed at line 132 in file SyncObject.cpp\n\000\000\000@¤¾\001\000\000\000\000\230\005å\001\000\000\000\000\230Ê᪪*\000\001ø\001ñªª*\000\000ðg*\000\000\230\005å\001\000\000\000\000\"N®\000\000\000\000\000Heóª\000\000\000\001 \235Ö\234â*\000\000ðF·\016ÿ\177\000\000c\022\217\000\000\000\000\000\001\000\000\000\001\000\000\000ç\036\217\000\000\000\000\000\200F·\016ÿ\177\000\0008¥¾\001\000\000\000\0008\005å\001\000\000\000\000"... args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7fff0eb74790, reg_save_area = 0x7fff0eb746c0}} #7 0x0000000000ad8ddb in Error::assertionFailed (text=0xf18d75 "lockState == 0", fileName=0xf18d60 "SyncObject.cpp", line=132) at Error.cpp:78 No locals. #8 0x0000000000af7e09 in ~SyncObject (this=0x2aaaaad01368) at SyncObject.cpp:132 No locals. #9 0x0000000000bbbbaa in ~Cache (this=0x2aaaaad01010) at Cache.cpp:170 No locals. #10 0x0000000000bd78d4 in ~Database (this=0x2aaaaacd8bc8) at Database.cpp:611 No locals. #11 0x0000000000bc5a7c in Connection::shutdownDatabase (this=0x2aaaaaed97e0) at Connection.cpp:1805 db = (class Database *) 0x2aaaaacd8bc8 #12 0x0000000000ae88b0 in StorageDatabase::close (this=0x2aaaaaed9210) at StorageDatabase.cpp:925 No locals. #13 0x0000000000aeceba in StorageHandler::shutdownHandler (this=0x2aaaaacd8048) at StorageHandler.cpp:194 storageDatabase = (StorageDatabase *) 0x2aaaaaed9210 n = 27 #14 0x0000000000ae2b20 in StorageInterface::falcon_deinit (p=0x0) at ha_falcon.cpp:274 No locals. #15 0x0000000000ae2b45 in StorageInterface::panic (hton=0x205cf18, flag=HA_PANIC_CLOSE) at ha_falcon.cpp:2224 No locals. #16 0x00000000009b88d0 in ha_finalize_handlerton (plugin=0x201eb40) at handler.cc:392 hton = (handlerton *) 0x205cf18 _db_stack_frame_ = {func = 0xe06bdf "plugin_shutdown", file = 0xe060e0 "sql_plugin.cc", level = 2147483651, prev = 0x7fff0eb74c00} __PRETTY_FUNCTION__ = "int ha_finalize_handlerton(st_plugin_int*)" #17 0x00000000007064e4 in plugin_deinitialize (plugin=0x201eb40, ref_check=true) at sql_plugin.cc:819 __PRETTY_FUNCTION__ = "void plugin_deinitialize(st_plugin_int*, bool)" #18 0x0000000000706a1f in reap_plugins () at sql_plugin.cc:907 count = 20 idx = 20 plugin = (st_plugin_int *) 0x201eb40 reap = (st_plugin_int **) 0x7fff0eb74b80 list = (st_plugin_int **) 0x7fff0eb74b10 __PRETTY_FUNCTION__ = "void reap_plugins()" #19 0x000000000070948f in plugin_shutdown () at sql_plugin.cc:1511 i = 20 count = 20 free_slots = 0 plugins = (st_plugin_int **) 0x7fff0eb74cb0 plugin = (st_plugin_int *) 0x2035928 dl = (st_plugin_dl **) 0x68da04 _db_stack_frame_ = {func = 0xdbd97d "free_used_memory", file = 0xdbd340 "mysqltest.cc", level = 2147483650, prev = 0x7fff0eb74cb0} #20 0x0000000000629301 in clean_up (print_message=false) at ../sql/mysqld.cc:1365 No locals. #21 0x00000000006296b9 in end_embedded_server () at lib_sql.cc:567 No locals. #22 0x000000000061d2df in mysql_server_end () at libmysql.c:202 No locals. #23 0x00000000006052be in free_used_memory () at mysqltest.cc:1139 i = 10 _db_stack_frame_ = {func = 0xdd1ed5 "?func", file = 0xdd1edb "?file", level = 2147483649, prev = 0x0} list = (st_plugin_int **) 0x7fff0eb74b10 __PRETTY_FUNCTION__ = "void reap_plugins()" #19 0x000000000070948f in plugin_shutdown () at sql_plugin.cc:1511 i = 20 count = 20 free_slots = 0 plugins = (st_plugin_int **) 0x7fff0eb74cb0 plugin = (st_plugin_int *) 0x2035928 dl = (st_plugin_dl **) 0x68da04 _db_stack_frame_ = {func = 0xdbd97d "free_used_memory", file = 0xdbd340 "mysqltest.cc", level = 2147483650, prev = 0x7fff0eb74cb0} #20 0x0000000000629301 in clean_up (print_message=false) at ../sql/mysqld.cc:1365 No locals. #21 0x00000000006296b9 in end_embedded_server () at lib_sql.cc:567 No locals. #22 0x000000000061d2df in mysql_server_end () at libmysql.c:202 No locals. #23 0x00000000006052be in free_used_memory () at mysqltest.cc:1139 i = 10 _db_stack_frame_ = {func = 0xdd1ed5 "?func", file = 0xdd1edb "?file", level = 2147483649, prev = 0x0} #24 0x00000000006052d0 in cleanup_and_exit (exit_code=0) at mysqltest.cc:1148 __PRETTY_FUNCTION__ = "void cleanup_and_exit(int)" #25 0x0000000000612570 in main (argc=20, argv=0x7fff0eb750a8) at mysqltest.cc:7981 command = (st_command *) 0x218b588 q_send_flag = 0 '\0' abort_flag = 0 '\0' command_executed = 7 last_command_executed = 7 save_file = "\000ÿÿÿÿÿÿÿ\001\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\027", '\0' , "\001\000\000\000\000\000\000\000¨æ³\234â*\000\000\000\200³\234â*\000\0001M·\016ÿ\177\000\000(7\036\001", '\0' , "PQ·\016ÿ\177\000\000¨P·\016ÿ\177\000\000\024", '\0' , "åÀó\233â*\000\000\b\000\000\000\001", '\0' , "ôËÞ\000\000\000\000\000@×=\001\000\000\000\000PN·\016ÿ\177\000\000§\032i\000\000\000\000\000ÐN·\016", '\0' , "*ÒÞ", '\0' , "\020\004\000\000\000\000\000\000`ù"... con = (st_connection *) 0x1325480 ============ Thread 2 - (gdb) backtrace full ==================== (gdb) thread apply 2 backtrace full Thread 2 (process 871): #0 0x00002ae29c37a7f6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 No symbol table info available. #1 0x0000000000c6b2ab in Synchronize::sleep (this=0x2aaaaaee4ef8) at Synchronize.cpp:123 ret = 0 #2 0x0000000000b0b0d4 in Thread::thread (this=0x2aaaaaee4ef8) at Thread.cpp:193 No locals. #3 0x0000000000b0b221 in Thread::thread (parameter=0x2aaaaaee4ef8) at Thread.cpp:146 thread = (Thread *) 0x2aaaaaee4ef8 #4 0x00002ae29c377193 in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #5 0x00002ae29cbf847d in clone () from /lib64/libc.so.6 No symbol table info available. #6 0x0000000000000000 in ?? () No symbol table info available. #0 0x00002ae29cb68aa5 in raise () from /lib64/libc.so.6