gdb info 3

mysql> show tables; +----------------+ | Tables_in_test | +----------------+ | cindy | | test | +----------------+ 2 rows in set (0.00 sec) mysql> drop table cindy; (gdb) bt #0 trx_undo_assign_undo (trx=0x10959828, type=2) at trx/trx0undo.c:1775 #1 0x000000000077a4cc in trx_undo_report_row_operation (flags=<value optimized out>, op_type=2, thr=<value optimized out>, index=0xfaa9bb8, clust_entry=0x0, update=0x0, cmpl_info=0, rec=0x2aaac2580224 "", roll_ptr=0x5b76cf10) at trx/trx0rec.c:1201 #2 0x000000000079e03d in btr_cur_del_mark_set_clust_rec (flags=2, cursor=0x10204338, val=1, thr=0x102057e8, mtr=0x5b76cfd0) at btr/btr0cur.c:2548 #3 0x0000000000764646 in row_upd_del_mark_clust_rec (node=0xffe9910, thr=0x102057e8) at row/row0upd.c:1790 #4 row_upd_clust_step (node=0xffe9910, thr=0x102057e8) at row/row0upd.c:1904 #5 0x0000000000764f0b in row_upd (thr=0x102057e8) at row/row0upd.c:2011 #6 row_upd_step (thr=0x102057e8) at row/row0upd.c:2142 #7 0x0000000000743488 in que_thr_step (thr=0x102057e8) at que/que0que.c:1231 #8 que_run_threads_low (thr=0x102057e8) at que/que0que.c:1315 #9 que_run_threads (thr=0x102057e8) at que/que0que.c:1352 #10 0x0000000000743936 in que_eval_sql (info=0x1048ee68, sql=<value optimized out>, reserve_dict_mutex=<value optimized out>, trx=0x10959828) at que/que0que.c:1435 #11 0x00000000007554b5 in row_drop_table_for_mysql (name=0x5b76dc20 "test/cindy", trx=0x10959828, drop_db=0) at row/row0mysql.c:3208 #12 0x000000000070143f in ha_innobase::delete_table (this=<value optimized out>, name=0x5b76f0c0 "./test/cindy") at handler/ha_innodb.cc:7107 #13 0x0000000000665c58 in ha_delete_table (thd=0x2aaae01e4b50, table_type=<value optimized out>, path=0x5b76f0c0 "./test/cindy", db=0xfea1040 "test", alias=0xfea0cd8 "cindy", generate_warning=true) at handler.cc:1996 #14 0x000000000067739b in mysql_rm_table_part2 (thd=0x2aaae01e4b50, tables=0xfea0d10, if_exists=false, drop_temporary=false, drop_view=false, dont_log_query=false) at sql_table.cc:2054 #15 0x0000000000677857 in mysql_rm_table (thd=0x2aaae01e4b50, tables=0xfea0d10, if_exists=0 '/000', drop_temporary=<value optimized out>) at sql_table.cc:1833 #16 0x0000000000596329 in mysql_execute_command (thd=0x2aaae01e4b50) at sql_parse.cc:3425 #17 0x000000000059b117 in mysql_parse (thd=0x2aaae01e4b50, inBuf=0xfea0c40 "drop table cindy", length=16, found_semicolon=0x5b771080) at sql_parse.cc:6021 #18 0x000000000059d056 in dispatch_command (command=COM_QUERY, thd=0x2aaae01e4b50, packet=0x2aaae00f4241 "drop table cindy", packet_length=<value optimized out>) at sql_parse.cc:1232 #19 0x000000000059da46 in do_command (thd=0x2aaae01e4b50) at sql_parse.cc:874 #20 0x0000000000590288 in handle_one_connection (arg=<value optimized out>) at sql_connect.cc:1153 #21 0x000000330600673d in start_thread () from /lib64/libpthread.so.0 #22 0x00000033054d3d1d in clone () from /lib64/libc.so.6 (gdb) (gdb) c Continuing. Breakpoint 9, trx_undo_header_create (undo_page=0x2aaac7e38000 "/203/346/262", <incomplete sequence /351>, trx_id=..., mtr=0x5b76bab0) at trx/trx0undo.c:528 528 in trx/trx0undo.c (gdb) bt #0 trx_undo_header_create (undo_page=0x2aaac7e38000 "/203/346/262", <incomplete sequence /351>, trx_id=..., mtr=0x5b76bab0) at trx/trx0undo.c:528 #1 0x0000000000788dc6 in trx_undo_reuse_cached (trx=0x10959828, type=2) at trx/trx0undo.c:1712 #2 trx_undo_assign_undo (trx=0x10959828, type=2) at trx/trx0undo.c:1794 #3 0x000000000077a4cc in trx_undo_report_row_operation (flags=<value optimized out>, op_type=2, thr=<value optimized out>, index=0x10959828, clust_entry=0x0, update=0x0, cmpl_info=0, rec=0x2aaac2580224 "", roll_ptr=0x5b76cf10) at trx/trx0rec.c:1201 #4 0x000000000079e03d in btr_cur_del_mark_set_clust_rec (flags=2, cursor=0x10204338, val=1, thr=0x102057e8, mtr=0x5b76cfd0) at btr/btr0cur.c:2548 #5 0x0000000000764646 in row_upd_del_mark_clust_rec (node=0xffe9910, thr=0x102057e8) at row/row0upd.c:1790 #6 row_upd_clust_step (node=0xffe9910, thr=0x102057e8) at row/row0upd.c:1904 #7 0x0000000000764f0b in row_upd (thr=0x102057e8) at row/row0upd.c:2011 #8 row_upd_step (thr=0x102057e8) at row/row0upd.c:2142 #9 0x0000000000743488 in que_thr_step (thr=0x102057e8) at que/que0que.c:1231 #10 que_run_threads_low (thr=0x102057e8) at que/que0que.c:1315 #11 que_run_threads (thr=0x102057e8) at que/que0que.c:1352 #12 0x0000000000743936 in que_eval_sql (info=0x1048ee68, sql=<value optimized out>, reserve_dict_mutex=<value optimized out>, trx=0x10959828) at que/que0que.c:1435 #13 0x00000000007554b5 in row_drop_table_for_mysql (name=0x5b76dc20 "test/cindy", trx=0x10959828, drop_db=0) at row/row0mysql.c:3208 #14 0x000000000070143f in ha_innobase::delete_table (this=<value optimized out>, name=0x5b76f0c0 "./test/cindy") at handler/ha_innodb.cc:7107 #15 0x0000000000665c58 in ha_delete_table (thd=0x2aaae01e4b50, table_type=<value optimized out>, path=0x5b76f0c0 "./test/cindy", db=0xfea1040 "test", alias=0xfea0cd8 "cindy", generate_warning=true) at handler.cc:1996 #16 0x000000000067739b in mysql_rm_table_part2 (thd=0x2aaae01e4b50, tables=0xfea0d10, if_exists=false, drop_temporary=false, drop_view=false, dont_log_query=false) at sql_table.cc:2054 #17 0x0000000000677857 in mysql_rm_table (thd=0x2aaae01e4b50, tables=0xfea0d10, if_exists=0 '/000', drop_temporary=<value optimized out>) at sql_table.cc:1833 #18 0x0000000000596329 in mysql_execute_command (thd=0x2aaae01e4b50) at sql_parse.cc:3425 #19 0x000000000059b117 in mysql_parse (thd=0x2aaae01e4b50, inBuf=0xfea0c40 "drop table cindy", length=16, found_semicolon=0x5b771080) at sql_parse.cc:6021 #20 0x000000000059d056 in dispatch_command (command=COM_QUERY, thd=0x2aaae01e4b50, packet=0x2aaae00f4241 "drop table cindy", packet_length=<value optimized out>) at sql_parse.cc:1232 #21 0x000000000059da46 in do_command (thd=0x2aaae01e4b50) at sql_parse.cc:874 #22 0x0000000000590288 in handle_one_connection (arg=<value optimized out>) at sql_connect.cc:1153 #23 0x000000330600673d in start_thread () from /lib64/libpthread.so.0 ---Type <return> to continue, or q <return> to quit--- #24 0x00000033054d3d1d in clone () from /lib64/libc.so.6 (gdb) (gdb) c Continuing. [Switching to Thread 0x414df940 (LWP 26017)] Breakpoint 1, trx_undo_assign_undo (trx=0x181f5df8, type=1) at trx/trx0undo.c:1775 1775 trx/trx0undo.c: No such file or directory. in trx/trx0undo.c (gdb) bt #0 trx_undo_assign_undo (trx=0x181f5df8, type=1) at trx/trx0undo.c:1775 #1 0x000000000077a94f in trx_undo_report_row_operation (flags=<value optimized out>, op_type=1, thr=<value optimized out>, index=0x18177368, clust_entry=0x181fb8b8, update=0x0, cmpl_info=0, rec=0x0, roll_ptr=0x414da9c0) at trx/trx0rec.c:1185 #2 0x00000000007a4ec9 in btr_cur_ins_lock_and_undo (flags=0, cursor=0x414db7e0, entry=0x181fb8b8, rec=0x414db878, big_rec=0x414db870, n_ext=0, thr=0x181fab70, mtr=0x414daf40) at btr/btr0cur.c:967 #3 btr_cur_optimistic_insert (flags=0, cursor=0x414db7e0, entry=0x181fb8b8, rec=0x414db878, big_rec=0x414db870, n_ext=0, thr=0x181fab70, mtr=0x414daf40) at btr/btr0cur.c:1171 #4 0x000000000074b24c in row_ins_index_entry_low (mode=2, index=0x18177368, entry=0x181fb8b8, n_ext=0, thr=0x181fab70) at row/row0ins.c:2069 #5 0x000000000074bbb7 in row_ins_index_entry (index=0x18177368, entry=0x181fb8b8, n_ext=0, foreign=<value optimized out>, thr=0x181fab70) at row/row0ins.c:2148 #6 0x000000000074be72 in row_ins_index_entry_step (thr=0x181fab70) at row/row0ins.c:2233 #7 row_ins (thr=0x181fab70) at row/row0ins.c:2365 #8 row_ins_step (thr=0x181fab70) at row/row0ins.c:2475 #9 0x0000000000743478 in que_thr_step (thr=0x181fab70) at que/que0que.c:1229 #10 que_run_threads_low (thr=0x181fab70) at que/que0que.c:1315 #11 que_run_threads (thr=0x181fab70) at que/que0que.c:1352 #12 0x0000000000756ad2 in row_create_table_for_mysql (table=0x181f4a88, trx=0x181f5df8) at row/row0mysql.c:1894 #13 0x0000000000701daf in create_table_def (this=<value optimized out>, name=<value optimized out>, form=0x414dbf40, create_info=0x414de0c0) at handler/ha_innodb.cc:6247 #14 ha_innobase::create (this=<value optimized out>, name=<value optimized out>, form=0x414dbf40, create_info=0x414de0c0) at handler/ha_innodb.cc:6856 #15 0x0000000000665a82 in ha_create_table (thd=<value optimized out>, path=<value optimized out>, db=0x181f1e20 "test", table_name=0x181f1ab8 "cindya", create_info=0x414de0c0, update_create_info=false) at handler.cc:3610 #16 0x000000000062f559 in rea_create_table (thd=0x1819a340, path=0x414dd030 "./test/cindya", db=0x181f1e20 "test", table_name=0x181f1ab8 "cindya", create_info=0x414de0c0, create_fields=..., keys=0, key_info=0x181f2190, file=0x181f1fa0) at unireg.cc:415 #17 0x000000000067663a in mysql_create_table_no_lock (thd=0x1819a340, db=0x181f1e20 "test", table_name=0x181f1ab8 "cindya", create_info=0x414de0c0, alter_info=0x414de1a0, internal_tmp_table=false, select_field_count=0) at sql_table.cc:3961 #18 0x0000000000676771 in mysql_create_table (thd=0x1819a340, db=0x181f1e20 "test", table_name=0x181f1ab8 "cindya", create_info=0x414de0c0, alter_info=0x414de1a0, internal_tmp_table=false, select_field_count=0) at sql_table.cc:4058 #19 0x000000000059ad77 in mysql_execute_command (thd=0x1819a340) at sql_parse.cc:2778 #20 0x000000000059b117 in mysql_parse (thd=0x1819a340, inBuf=0x181f1a10 "create table cindya(id int)", length=27, found_semicolon=0x414df080) at sql_parse.cc:6021 ---Type <return> to continue, or q <return> to quit--- #21 0x000000000059d056 in dispatch_command (command=COM_QUERY, thd=0x1819a340, packet=0x181e99e1 "create table cindya(id int)", packet_length=<value optimized out>) at sql_parse.cc:1232 #22 0x000000000059da46 in do_command (thd=0x1819a340) at sql_parse.cc:874 #23 0x0000000000590288 in handle_one_connection (arg=<value optimized out>) at sql_connect.cc:1153 #24 0x000000330600673d in start_thread () from /lib64/libpthread.so.0 #25 0x00000033054d3d1d in clone () from /lib64/libc.so.6 (gdb) c Continuing. Breakpoint 16, trx_undof_page_add_undo_rec_log (undo_page=0x2aaacfa20000 "x/372/204R", old_free=272, new_free=291, mtr=0x414d9e10) at trx/trx0rec.c:47 47 trx/trx0rec.c: No such file or directory. in trx/trx0rec.c (gdb) bt #0 trx_undof_page_add_undo_rec_log (undo_page=0x2aaacfa20000 "x/372/204R", old_free=272, new_free=291, mtr=0x414d9e10) at trx/trx0rec.c:47 #1 0x000000000077a611 in trx_undo_page_set_next_prev_and_add (flags=<value optimized out>, op_type=1, thr=<value optimized out>, index=0x18177368, clust_entry=0x181fb8b8, update=0x0, cmpl_info=0, rec=0x0, roll_ptr=0x414da9c0) at trx/trx0rec.c:187 #2 trx_undo_page_report_insert (flags=<value optimized out>, op_type=1, thr=<value optimized out>, index=0x18177368, clust_entry=0x181fb8b8, update=0x0, cmpl_info=0, rec=0x0, roll_ptr=0x414da9c0) at trx/trx0rec.c:262 #3 trx_undo_report_row_operation (flags=<value optimized out>, op_type=1, thr=<value optimized out>, index=0x18177368, clust_entry=0x181fb8b8, update=0x0, cmpl_info=0, rec=0x0, roll_ptr=0x414da9c0) at trx/trx0rec.c:1235 #4 0x00000000007a4ec9 in btr_cur_ins_lock_and_undo (flags=0, cursor=0x414db7e0, entry=0x181fb8b8, rec=0x414db878, big_rec=0x414db870, n_ext=0, thr=0x181fab70, mtr=0x414daf40) at btr/btr0cur.c:967 #5 btr_cur_optimistic_insert (flags=0, cursor=0x414db7e0, entry=0x181fb8b8, rec=0x414db878, big_rec=0x414db870, n_ext=0, thr=0x181fab70, mtr=0x414daf40) at btr/btr0cur.c:1171 #6 0x000000000074b24c in row_ins_index_entry_low (mode=2, index=0x18177368, entry=0x181fb8b8, n_ext=0, thr=0x181fab70) at row/row0ins.c:2069 #7 0x000000000074bbb7 in row_ins_index_entry (index=0x18177368, entry=0x181fb8b8, n_ext=0, foreign=<value optimized out>, thr=0x181fab70) at row/row0ins.c:2148 #8 0x000000000074be72 in row_ins_index_entry_step (thr=0x181fab70) at row/row0ins.c:2233 #9 row_ins (thr=0x181fab70) at row/row0ins.c:2365 #10 row_ins_step (thr=0x181fab70) at row/row0ins.c:2475 #11 0x0000000000743478 in que_thr_step (thr=0x181fab70) at que/que0que.c:1229 #12 que_run_threads_low (thr=0x181fab70) at que/que0que.c:1315 #13 que_run_threads (thr=0x181fab70) at que/que0que.c:1352 #14 0x0000000000756ad2 in row_create_table_for_mysql (table=0x181f4a88, trx=0x181f5df8) at row/row0mysql.c:1894 #15 0x0000000000701daf in create_table_def (this=<value optimized out>, name=<value optimized out>, form=0x414dbf40, create_info=0x414de0c0) at handler/ha_innodb.cc:6247 #16 ha_innobase::create (this=<value optimized out>, name=<value optimized out>, form=0x414dbf40, create_info=0x414de0c0) at handler/ha_innodb.cc:6856 #17 0x0000000000665a82 in ha_create_table (thd=<value optimized out>, path=<value optimized out>, db=0x181f1e20 "test", table_name=0x181f1ab8 "cindya", create_info=0x414de0c0, update_create_info=false) at handler.cc:3610 #18 0x000000000062f559 in rea_create_table (thd=0x1819a340, path=0x414dd030 "./test/cindya", db=0x181f1e20 "test", table_name=0x181f1ab8 "cindya", create_info=0x414de0c0, create_fields=..., keys=0, key_info=0x181f2190, file=0x181f1fa0) at unireg.cc:415 #19 0x000000000067663a in mysql_create_table_no_lock (thd=0x1819a340, db=0x181f1e20 "test", table_name=0x181f1ab8 "cindya", create_info=0x414de0c0, alter_info=0x414de1a0, internal_tmp_table=false, select_field_count=0) at sql_table.cc:3961 ---Type <return> to continue, or q <return> to quit--- #20 0x0000000000676771 in mysql_create_table (thd=0x1819a340, db=0x181f1e20 "test", table_name=0x181f1ab8 "cindya", create_info=0x414de0c0, alter_info=0x414de1a0, internal_tmp_table=19, select_field_count=0) at sql_table.cc:4058 #21 0x000000000059ad77 in mysql_execute_command (thd=0x1819a340) at sql_parse.cc:2778 #22 0x000000000059b117 in mysql_parse (thd=0x1819a340, inBuf=0x181f1a10 "create table cindya(id int)", length=27, found_semicolon=0x414df080) at sql_parse.cc:6021 #23 0x000000000059d056 in dispatch_command (command=COM_QUERY, thd=0x1819a340, packet=0x181e99e1 "create table cindya(id int)", packet_length=<value optimized out>) at sql_parse.cc:1232 #24 0x000000000059da46 in do_command (thd=0x1819a340) at sql_parse.cc:874 #25 0x0000000000590288 in handle_one_connection (arg=<value optimized out>) at sql_connect.cc:1153 #26 0x000000330600673d in start_thread () from /lib64/libpthread.so.0 #27 0x00000033054d3d1d in clone () from /lib64/libc.so.6 (gdb) (gdb) c Continuing. Breakpoint 16, trx_undof_page_add_undo_rec_log (undo_page=0x2aaacfa20000 "x/372/204R", old_free=291, new_free=312, mtr=0x414d9e10) at trx/trx0rec.c:47 47 in trx/trx0rec.c (gdb) bt #0 trx_undof_page_add_undo_rec_log (undo_page=0x2aaacfa20000 "x/372/204R", old_free=291, new_free=312, mtr=0x414d9e10) at trx/trx0rec.c:47 #1 0x000000000077a611 in trx_undo_page_set_next_prev_and_add (flags=<value optimized out>, op_type=1, thr=<value optimized out>, index=0x18178958, clust_entry=0x181fbb28, update=0x0, cmpl_info=0, rec=0x0, roll_ptr=0x414da9c0) at trx/trx0rec.c:187 #2 trx_undo_page_report_insert (flags=<value optimized out>, op_type=1, thr=<value optimized out>, index=0x18178958, clust_entry=0x181fbb28, update=0x0, cmpl_info=0, rec=0x0, roll_ptr=0x414da9c0) at trx/trx0rec.c:262 #3 trx_undo_report_row_operation (flags=<value optimized out>, op_type=1, thr=<value optimized out>, index=0x18178958, clust_entry=0x181fbb28, update=0x0, cmpl_info=0, rec=0x0, roll_ptr=0x414da9c0) at trx/trx0rec.c:1235 #4 0x00000000007a4ec9 in btr_cur_ins_lock_and_undo (flags=0, cursor=0x414db7e0, entry=0x181fbb28, rec=0x414db878, big_rec=0x414db870, n_ext=0, thr=0x181fab70, mtr=0x414daf40) at btr/btr0cur.c:967 #5 btr_cur_optimistic_insert (flags=0, cursor=0x414db7e0, entry=0x181fbb28, rec=0x414db878, big_rec=0x414db870, n_ext=0, thr=0x181fab70, mtr=0x414daf40) at btr/btr0cur.c:1171 #6 0x000000000074b24c in row_ins_index_entry_low (mode=2, index=0x18178958, entry=0x181fbb28, n_ext=0, thr=0x181fab70) at row/row0ins.c:2069 #7 0x000000000074bbb7 in row_ins_index_entry (index=0x18178958, entry=0x181fbb28, n_ext=0, foreign=<value optimized out>, thr=0x181fab70) at row/row0ins.c:2148 #8 0x000000000074be72 in row_ins_index_entry_step (thr=0x181fab70) at row/row0ins.c:2233 #9 row_ins (thr=0x181fab70) at row/row0ins.c:2365 #10 row_ins_step (thr=0x181fab70) at row/row0ins.c:2475 #11 0x0000000000743478 in que_thr_step (thr=0x181fab70) at que/que0que.c:1229 #12 que_run_threads_low (thr=0x181fab70) at que/que0que.c:1315 #13 que_run_threads (thr=0x181fab70) at que/que0que.c:1352 #14 0x0000000000756ad2 in row_create_table_for_mysql (table=0x181f4a88, trx=0x181f5df8) at row/row0mysql.c:1894 #15 0x0000000000701daf in create_table_def (this=<value optimized out>, name=<value optimized out>, form=0x414dbf40, create_info=0x414de0c0) at handler/ha_innodb.cc:6247 #16 ha_innobase::create (this=<value optimized out>, name=<value optimized out>, form=0x414dbf40, create_info=0x414de0c0) at handler/ha_innodb.cc:6856 #17 0x0000000000665a82 in ha_create_table (thd=<value optimized out>, path=<value optimized out>, db=0x181f1e20 "test", table_name=0x181f1ab8 "cindya", create_info=0x414de0c0, update_create_info=false) at handler.cc:3610 #18 0x000000000062f559 in rea_create_table (thd=0x1819a340, path=0x414dd030 "./test/cindya", db=0x181f1e20 "test", table_name=0x181f1ab8 "cindya", create_info=0x414de0c0, create_fields=..., keys=0, key_info=0x181f2190, file=0x181f1fa0) at unireg.cc:415 #19 0x000000000067663a in mysql_create_table_no_lock (thd=0x1819a340, db=0x181f1e20 "test", table_name=0x181f1ab8 "cindya", create_info=0x414de0c0, alter_info=0x414de1a0, internal_tmp_table=false, select_field_count=0) at sql_table.cc:3961 ---Type <return> to continue, or q <return> to quit--- #20 0x0000000000676771 in mysql_create_table (thd=0x1819a340, db=0x181f1e20 "test", table_name=0x181f1ab8 "cindya", create_info=0x414de0c0, alter_info=0x414de1a0, internal_tmp_table=38, select_field_count=0) at sql_table.cc:4058 #21 0x000000000059ad77 in mysql_execute_command (thd=0x1819a340) at sql_parse.cc:2778 #22 0x000000000059b117 in mysql_parse (thd=0x1819a340, inBuf=0x181f1a10 "create table cindya(id int)", length=27, found_semicolon=0x414df080) at sql_parse.cc:6021 #23 0x000000000059d056 in dispatch_command (command=COM_QUERY, thd=0x1819a340, packet=0x181e99e1 "create table cindya(id int)", packet_length=<value optimized out>) at sql_parse.cc:1232 #24 0x000000000059da46 in do_command (thd=0x1819a340) at sql_parse.cc:874 #25 0x0000000000590288 in handle_one_connection (arg=<value optimized out>) at sql_connect.cc:1153 #26 0x000000330600673d in start_thread () from /lib64/libpthread.so.0 #27 0x00000033054d3d1d in clone () from /lib64/libc.so.6 (gdb) Breakpoint 16, trx_undof_page_add_undo_rec_log (undo_page=0x2aaacfa20000 "x/372/204R", old_free=312, new_free=337, mtr=0x414d9dd0) at trx/trx0rec.c:47 47 in trx/trx0rec.c (gdb) c Continuing. Breakpoint 11, trx_undo_set_state_at_finish (rseg=0x1817be18, trx=0x181f5df8, undo=0x18165098, mtr=0x414db510) at trx/trx0undo.c:1837 1837 trx/trx0undo.c: No such file or directory. in trx/trx0undo.c (gdb) bt #0 trx_undo_set_state_at_finish (rseg=0x1817be18, trx=0x181f5df8, undo=0x18165098, mtr=0x414db510) at trx/trx0undo.c:1837 #1 0x0000000000783fbb in trx_commit_off_kernel (trx=0x181f5df8) at trx/trx0trx.c:877 #2 0x0000000000784d2a in trx_commit_for_mysql (trx=0x181f5df8) at trx/trx0trx.c:1729 #3 0x0000000000701ee2 in ha_innobase::create (this=<value optimized out>, name=<value optimized out>, form=0x414dbf40, create_info=0x414de0c0) at handler/ha_innodb.cc:6909 #4 0x0000000000665a82 in ha_create_table (thd=<value optimized out>, path=<value optimized out>, db=0x181f1e20 "test", table_name=0x181f1ab8 "cindya", create_info=0x414de0c0, update_create_info=false) at handler.cc:3610 #5 0x000000000062f559 in rea_create_table (thd=0x1819a340, path=0x414dd030 "./test/cindya", db=0x181f1e20 "test", table_name=0x181f1ab8 "cindya", create_info=0x414de0c0, create_fields=..., keys=0, key_info=0x181f2190, file=0x181f1fa0) at unireg.cc:415 #6 0x000000000067663a in mysql_create_table_no_lock (thd=0x1819a340, db=0x181f1e20 "test", table_name=0x181f1ab8 "cindya", create_info=0x414de0c0, alter_info=0x414de1a0, internal_tmp_table=false, select_field_count=0) at sql_table.cc:3961 #7 0x0000000000676771 in mysql_create_table (thd=0x1819a340, db=0x181f1e20 "test", table_name=0x181f1ab8 "cindya", create_info=0x414de0c0, alter_info=0x414de1a0, internal_tmp_table=false, select_field_count=0) at sql_table.cc:4058 #8 0x000000000059ad77 in mysql_execute_command (thd=0x1819a340) at sql_parse.cc:2778 #9 0x000000000059b117 in mysql_parse (thd=0x1819a340, inBuf=0x181f1a10 "create table cindya(id int)", length=27, found_semicolon=0x414df080) at sql_parse.cc:6021 #10 0x000000000059d056 in dispatch_command (command=COM_QUERY, thd=0x1819a340, packet=0x181e99e1 "create table cindya(id int)", packet_length=<value optimized out>) at sql_parse.cc:1232 #11 0x000000000059da46 in do_command (thd=0x1819a340) at sql_parse.cc:874 #12 0x0000000000590288 in handle_one_connection (arg=<value optimized out>) at sql_connect.cc:1153 #13 0x000000330600673d in start_thread () from /lib64/libpthread.so.0 #14 0x00000033054d3d1d in clone () from /lib64/libc.so.6 (gdb) Breakpoint 7, trx_undo_insert_cleanup (trx=0x181f5df8) at trx/trx0undo.c:1992 1992 in trx/trx0undo.c (gdb) bt #0 trx_undo_insert_cleanup (trx=0x181f5df8) at trx/trx0undo.c:1992 #1 0x000000000078420c in trx_commit_off_kernel (trx=0x181f5df8) at trx/trx0trx.c:1013 #2 0x0000000000784d2a in trx_commit_for_mysql (trx=0x181f5df8) at trx/trx0trx.c:1729 #3 0x0000000000701ee2 in ha_innobase::create (this=<value optimized out>, name=<value optimized out>, form=0x414dbf40, create_info=0x414de0c0) at handler/ha_innodb.cc:6909 #4 0x0000000000665a82 in ha_create_table (thd=<value optimized out>, path=<value optimized out>, db=0x181f1e20 "test", table_name=0x181f1ab8 "cindya", create_info=0x414de0c0, update_create_info=false) at handler.cc:3610 #5 0x000000000062f559 in rea_create_table (thd=0x1819a340, path=0x414dd030 "./test/cindya", db=0x181f1e20 "test", table_name=0x181f1ab8 "cindya", create_info=0x414de0c0, create_fields=..., keys=0, key_info=0x181f2190, file=0x181f1fa0) at unireg.cc:415 #6 0x000000000067663a in mysql_create_table_no_lock (thd=0x1819a340, db=0x181f1e20 "test", table_name=0x181f1ab8 "cindya", create_info=0x414de0c0, alter_info=0x414de1a0, internal_tmp_table=false, select_field_count=0) at sql_table.cc:3961 #7 0x0000000000676771 in mysql_create_table (thd=0x1819a340, db=0x181f1e20 "test", table_name=0x181f1ab8 "cindya", create_info=0x414de0c0, alter_info=0x414de1a0, internal_tmp_table=false, select_field_count=0) at sql_table.cc:4058 #8 0x000000000059ad77 in mysql_execute_command (thd=0x1819a340) at sql_parse.cc:2778 #9 0x000000000059b117 in mysql_parse (thd=0x1819a340, inBuf=0x181f1a10 "create table cindya(id int)", length=27, found_semicolon=0x414df080) at sql_parse.cc:6021 #10 0x000000000059d056 in dispatch_command (command=COM_QUERY, thd=0x1819a340, packet=0x181e99e1 "create table cindya(id int)", packet_length=<value optimized out>) at sql_parse.cc:1232 #11 0x000000000059da46 in do_command (thd=0x1819a340) at sql_parse.cc:874 #12 0x0000000000590288 in handle_one_connection (arg=<value optimized out>) at sql_connect.cc:1153 #13 0x000000330600673d in start_thread () from /lib64/libpthread.so.0 #14 0x00000033054d3d1d in clone () from /lib64/libc.so.6 (gdb) (gdb) c Continuing. Breakpoint 1, trx_undo_assign_undo (trx=0x181757b8, type=1) at trx/trx0undo.c:1775 1775 in trx/trx0undo.c (gdb) bt #0 trx_undo_assign_undo (trx=0x181757b8, type=1) at trx/trx0undo.c:1775 #1 0x000000000077a94f in trx_undo_report_row_operation (flags=<value optimized out>, op_type=1, thr=<value optimized out>, index=0x181fc098, clust_entry=0x181f4498, update=0x0, cmpl_info=0, rec=0x0, roll_ptr=0x414dc0b0) at trx/trx0rec.c:1185 #2 0x00000000007a4ec9 in btr_cur_ins_lock_and_undo (flags=0, cursor=0x414dced0, entry=0x181f4498, rec=0x414dcf68, big_rec=0x414dcf60, n_ext=0, thr=0x181f40e0, mtr=0x414dc630) at btr/btr0cur.c:967 #3 btr_cur_optimistic_insert (flags=0, cursor=0x414dced0, entry=0x181f4498, rec=0x414dcf68, big_rec=0x414dcf60, n_ext=0, thr=0x181f40e0, mtr=0x414dc630) at btr/btr0cur.c:1171 #4 0x000000000074b24c in row_ins_index_entry_low (mode=2, index=0x181fc098, entry=0x181f4498, n_ext=0, thr=0x181f40e0) at row/row0ins.c:2069 #5 0x000000000074bbb7 in row_ins_index_entry (index=0x181fc098, entry=0x181f4498, n_ext=0, foreign=<value optimized out>, thr=0x181f40e0) at row/row0ins.c:2148 #6 0x000000000074be72 in row_ins_index_entry_step (thr=0x181f40e0) at row/row0ins.c:2233 #7 row_ins (thr=0x181f40e0) at row/row0ins.c:2365 #8 row_ins_step (thr=0x181f40e0) at row/row0ins.c:2475 #9 0x000000000075232e in row_insert_for_mysql (mysql_rec=0x181fab30 "/375/001", prebuilt=0x181fbde8) at row/row0mysql.c:1139 #10 0x0000000000702d4b in ha_innobase::write_row (this=0x181fa940, record=0x181fab30 "/375/001") at handler/ha_innodb.cc:4913 #11 0x000000000066545d in handler::ha_write_row (this=0x181fa940, buf=0x181fab30 "/375/001") at handler.cc:4654 #12 0x00000000005ff83d in write_record (thd=0x1819a340, table=0x181fb4d0, info=0x414dd340) at sql_insert.cc:1610 #13 0x00000000006030fa in mysql_insert (thd=0x1819a340, table_list=0x181f1af0, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false) at sql_insert.cc:839 #14 0x000000000059659d in mysql_execute_command (thd=0x1819a340) at sql_parse.cc:3223 #15 0x000000000059b117 in mysql_parse (thd=0x1819a340, inBuf=0x181f1a10 "insert into cindya value(1)", length=27, found_semicolon=0x414df080) at sql_parse.cc:6021 #16 0x000000000059d056 in dispatch_command (command=COM_QUERY, thd=0x1819a340, packet=0x181e99e1 "insert into cindya value(1)", packet_length=<value optimized out>) at sql_parse.cc:1232 #17 0x000000000059da46 in do_command (thd=0x1819a340) at sql_parse.cc:874 #18 0x0000000000590288 in handle_one_connection (arg=<value optimized out>) at sql_connect.cc:1153 #19 0x000000330600673d in start_thread () from /lib64/libpthread.so.0 #20 0x00000033054d3d1d in clone () from /lib64/libc.so.6 (gdb) (gdb) c Continuing. Breakpoint 16, trx_undof_page_add_undo_rec_log (undo_page=0x2aaacfa20000 "/274/357a/204", old_free=272, new_free=286, mtr=0x414db500) at trx/trx0rec.c:47 47 trx/trx0rec.c: No such file or directory. in trx/trx0rec.c (gdb) bt #0 trx_undof_page_add_undo_rec_log (undo_page=0x2aaacfa20000 "/274/357a/204", old_free=272, new_free=286, mtr=0x414db500) at trx/trx0rec.c:47 #1 0x000000000077a611 in trx_undo_page_set_next_prev_and_add (flags=<value optimized out>, op_type=1, thr=<value optimized out>, index=0x181fc098, clust_entry=0x181f4498, update=0x0, cmpl_info=0, rec=0x0, roll_ptr=0x414dc0b0) at trx/trx0rec.c:187 #2 trx_undo_page_report_insert (flags=<value optimized out>, op_type=1, thr=<value optimized out>, index=0x181fc098, clust_entry=0x181f4498, update=0x0, cmpl_info=0, rec=0x0, roll_ptr=0x414dc0b0) at trx/trx0rec.c:262 #3 trx_undo_report_row_operation (flags=<value optimized out>, op_type=1, thr=<value optimized out>, index=0x181fc098, clust_entry=0x181f4498, update=0x0, cmpl_info=0, rec=0x0, roll_ptr=0x414dc0b0) at trx/trx0rec.c:1235 #4 0x00000000007a4ec9 in btr_cur_ins_lock_and_undo (flags=0, cursor=0x414dced0, entry=0x181f4498, rec=0x414dcf68, big_rec=0x414dcf60, n_ext=0, thr=0x181f40e0, mtr=0x414dc630) at btr/btr0cur.c:967 #5 btr_cur_optimistic_insert (flags=0, cursor=0x414dced0, entry=0x181f4498, rec=0x414dcf68, big_rec=0x414dcf60, n_ext=0, thr=0x181f40e0, mtr=0x414dc630) at btr/btr0cur.c:1171 #6 0x000000000074b24c in row_ins_index_entry_low (mode=2, index=0x181fc098, entry=0x181f4498, n_ext=0, thr=0x181f40e0) at row/row0ins.c:2069 #7 0x000000000074bbb7 in row_ins_index_entry (index=0x181fc098, entry=0x181f4498, n_ext=0, foreign=<value optimized out>, thr=0x181f40e0) at row/row0ins.c:2148 #8 0x000000000074be72 in row_ins_index_entry_step (thr=0x181f40e0) at row/row0ins.c:2233 #9 row_ins (thr=0x181f40e0) at row/row0ins.c:2365 #10 row_ins_step (thr=0x181f40e0) at row/row0ins.c:2475 #11 0x000000000075232e in row_insert_for_mysql (mysql_rec=0x181fab30 "/375/001", prebuilt=0x181fbde8) at row/row0mysql.c:1139 #12 0x0000000000702d4b in ha_innobase::write_row (this=0x181fa940, record=0x181fab30 "/375/001") at handler/ha_innodb.cc:4913 #13 0x000000000066545d in handler::ha_write_row (this=0x181fa940, buf=0x181fab30 "/375/001") at handler.cc:4654 #14 0x00000000005ff83d in write_record (thd=0x1819a340, table=0x181fb4d0, info=0x414dd340) at sql_insert.cc:1610 #15 0x00000000006030fa in mysql_insert (thd=0x1819a340, table_list=0x181f1af0, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false) at sql_insert.cc:839 #16 0x000000000059659d in mysql_execute_command (thd=0x1819a340) at sql_parse.cc:3223 #17 0x000000000059b117 in mysql_parse (thd=0x1819a340, inBuf=0x181f1a10 "insert into cindya value(1)", length=27, found_semicolon=0x414df080) at sql_parse.cc:6021 #18 0x000000000059d056 in dispatch_command (command=COM_QUERY, thd=0x1819a340, packet=0x181e99e1 "insert into cindya value(1)", packet_length=<value optimized out>) at sql_parse.cc:1232 #19 0x000000000059da46 in do_command (thd=0x1819a340) at sql_parse.cc:874 #20 0x0000000000590288 in handle_one_connection (arg=<value optimized out>) at sql_connect.cc:1153 #21 0x000000330600673d in start_thread () from /lib64/libpthread.so.0 #22 0x00000033054d3d1d in clone () from /lib64/libc.so.6 (gdb) (gdb) c Continuing. Breakpoint 12, trx_undo_set_state_at_prepare (trx=0x181757b8, undo=0x18165098, mtr=0x414ddef0) at trx/trx0undo.c:1903 1903 trx/trx0undo.c: No such file or directory. in trx/trx0undo.c (gdb) bt #0 trx_undo_set_state_at_prepare (trx=0x181757b8, undo=0x18165098, mtr=0x414ddef0) at trx/trx0undo.c:1903 #1 0x0000000000784eb4 in trx_prepare_off_kernel (trx=0x181757b8) at trx/trx0trx.c:2027 #2 0x000000000078518a in trx_prepare_for_mysql (trx=0x181757b8) at trx/trx0trx.c:2122 #3 0x000000000070588d in innobase_xa_prepare (hton=<value optimized out>, thd=0x1819a340, all=false) at handler/ha_innodb.cc:9662 #4 0x000000000066345d in ha_commit_trans (thd=0x1819a340, all=false) at handler.cc:1175 #5 0x00000000006636a8 in ha_autocommit_or_rollback (thd=0x1819a340, error=0) at handler.cc:1367 #6 0x000000000059c589 in dispatch_command (command=<value optimized out>, thd=0x1819a340, packet=0x0, packet_length=404339832) at sql_parse.cc:1632 #7 0x000000000059da46 in do_command (thd=0x1819a340) at sql_parse.cc:874 #8 0x0000000000590288 in handle_one_connection (arg=<value optimized out>) at sql_connect.cc:1153 #9 0x000000330600673d in start_thread () from /lib64/libpthread.so.0 #10 0x00000033054d3d1d in clone () from /lib64/libc.so.6 (gdb) (gdb) c Continuing. Breakpoint 12, trx_undo_set_state_at_prepare (trx=0x181757b8, undo=0x18165098, mtr=0x414ddef0) at trx/trx0undo.c:1903 1903 trx/trx0undo.c: No such file or directory. in trx/trx0undo.c (gdb) bt #0 trx_undo_set_state_at_prepare (trx=0x181757b8, undo=0x18165098, mtr=0x414ddef0) at trx/trx0undo.c:1903 #1 0x0000000000784eb4 in trx_prepare_off_kernel (trx=0x181757b8) at trx/trx0trx.c:2027 #2 0x000000000078518a in trx_prepare_for_mysql (trx=0x181757b8) at trx/trx0trx.c:2122 #3 0x000000000070588d in innobase_xa_prepare (hton=<value optimized out>, thd=0x1819a340, all=false) at handler/ha_innodb.cc:9662 #4 0x000000000066345d in ha_commit_trans (thd=0x1819a340, all=false) at handler.cc:1175 #5 0x00000000006636a8 in ha_autocommit_or_rollback (thd=0x1819a340, error=0) at handler.cc:1367 #6 0x000000000059c589 in dispatch_command (command=<value optimized out>, thd=0x1819a340, packet=0x0, packet_length=404339832) at sql_parse.cc:1632 #7 0x000000000059da46 in do_command (thd=0x1819a340) at sql_parse.cc:874 #8 0x0000000000590288 in handle_one_connection (arg=<value optimized out>) at sql_connect.cc:1153 #9 0x000000330600673d in start_thread () from /lib64/libpthread.so.0 #10 0x00000033054d3d1d in clone () from /lib64/libc.so.6 (gdb) c Continuing. Breakpoint 11, trx_undo_set_state_at_finish (rseg=0x1817be18, trx=0x181757b8, undo=0x18165098, mtr=0x414ddeb0) at trx/trx0undo.c:1837 1837 in trx/trx0undo.c (gdb) bt #0 trx_undo_set_state_at_finish (rseg=0x1817be18, trx=0x181757b8, undo=0x18165098, mtr=0x414ddeb0) at trx/trx0undo.c:1837 #1 0x0000000000783fbb in trx_commit_off_kernel (trx=0x181757b8) at trx/trx0trx.c:877 #2 0x0000000000784d2a in trx_commit_for_mysql (trx=0x181757b8) at trx/trx0trx.c:1729 #3 0x0000000000700b14 in innobase_commit (hton=<value optimized out>, thd=0x1819a340, all=false) at handler/ha_innodb.cc:3005 #4 0x00000000006631be in ha_commit_one_phase (thd=0x1819a340, all=false) at handler.cc:1233 #5 0x000000000066341e in ha_commit_trans (thd=0x1819a340, all=<value optimized out>) at handler.cc:1192 #6 0x00000000006636a8 in ha_autocommit_or_rollback (thd=0x1819a340, error=0) at handler.cc:1367 #7 0x000000000059c589 in dispatch_command (command=<value optimized out>, thd=0x1819a340, packet=0x0, packet_length=404339832) at sql_parse.cc:1632 #8 0x000000000059da46 in do_command (thd=0x1819a340) at sql_parse.cc:874 #9 0x0000000000590288 in handle_one_connection (arg=<value optimized out>) at sql_connect.cc:1153 #10 0x000000330600673d in start_thread () from /lib64/libpthread.so.0 #11 0x00000033054d3d1d in clone () from /lib64/libc.so.6 (gdb) (gdb) c Continuing. Breakpoint 7, trx_undo_insert_cleanup (trx=0x181757b8) at trx/trx0undo.c:1992 1992 in trx/trx0undo.c (gdb) bt #0 trx_undo_insert_cleanup (trx=0x181757b8) at trx/trx0undo.c:1992 #1 0x000000000078420c in trx_commit_off_kernel (trx=0x181757b8) at trx/trx0trx.c:1013 #2 0x0000000000784d2a in trx_commit_for_mysql (trx=0x181757b8) at trx/trx0trx.c:1729 #3 0x0000000000700b14 in innobase_commit (hton=<value optimized out>, thd=0x1819a340, all=false) at handler/ha_innodb.cc:3005 #4 0x00000000006631be in ha_commit_one_phase (thd=0x1819a340, all=false) at handler.cc:1233 #5 0x000000000066341e in ha_commit_trans (thd=0x1819a340, all=<value optimized out>) at handler.cc:1192 #6 0x00000000006636a8 in ha_autocommit_or_rollback (thd=0x1819a340, error=0) at handler.cc:1367 #7 0x000000000059c589 in dispatch_command (command=<value optimized out>, thd=0x1819a340, packet=0x0, packet_length=404339832) at sql_parse.cc:1632 #8 0x000000000059da46 in do_command (thd=0x1819a340) at sql_parse.cc:874 #9 0x0000000000590288 in handle_one_connection (arg=<value optimized out>) at sql_connect.cc:1153 #10 0x000000330600673d in start_thread () from /lib64/libpthread.so.0 #11 0x00000033054d3d1d in clone () from /lib64/libc.so.6 (gdb) mysql> begin; Query OK, 0 rows affected (0.00 sec) mysql> insert into cindya value(123); Query OK, 1 row affected (10.57 sec) mysql> insert into cindya value(123); Query OK, 1 row affected (3.86 sec) mysql> rollback -> ; Breakpoint 1, trx_undo_assign_undo (trx=0x181757b8, type=1) at trx/trx0undo.c:1775 1775 in trx/trx0undo.c (gdb) c Continuing. Breakpoint 16, trx_undof_page_add_undo_rec_log (undo_page=0x2aaacfa20000 "/330z/026", <incomplete sequence /340>, old_free=272, new_free=286, mtr=0x414db500) at trx/trx0rec.c:47 47 trx/trx0rec.c: No such file or directory. in trx/trx0rec.c (gdb) Continuing. Breakpoint 16, trx_undof_page_add_undo_rec_log (undo_page=0x2aaacfa20000 "/361/032#/037", old_free=286, new_free=300, mtr=0x414db500) at trx/trx0rec.c:47 47 in trx/trx0rec.c (gdb) Continuing. (gdb) Continuing. Breakpoint 9, trx_undo_rec_get_pars (undo_rec=0x181fdda8 "/001,/v/001)/006", type=0x414dd228, cmpl_info=0x414dd220, updated_extern=0x414dd218, undo_no=0x414dd200, table_id=0x414dd1f0) at trx/trx0rec.c:287 287 in trx/trx0rec.c (gdb) bt #0 trx_undo_rec_get_pars (undo_rec=0x181fdda8 "/001,/v/001)/006", type=0x414dd228, cmpl_info=0x414dd220, updated_extern=0x414dd218, undo_no=0x414dd200, table_id=0x414dd1f0) at trx/trx0rec.c:287 #1 0x00000000007f0bfd in row_undo_ins_parse_undo_rec (node=0x181fd838) at row/row0uins.c:247 #2 row_undo_ins (node=0x181fd838) at row/row0uins.c:294 #3 0x0000000000761180 in row_undo (thr=0x181fd6b0) at row/row0undo.c:293 #4 row_undo_step (thr=0x181fd6b0) at row/row0undo.c:340 #5 0x00000000007435c4 in que_thr_step (thr=0x181fd6b0) at que/que0que.c:1250 #6 que_run_threads_low (thr=0x181fd6b0) at que/que0que.c:1315 #7 que_run_threads (thr=0x181fd6b0) at que/que0que.c:1352 #8 0x000000000077d7c4 in trx_general_rollback_for_mysql (trx=0x181757b8, savept=<value optimized out>) at trx/trx0roll.c:86 #9 0x000000000077db27 in trx_rollback_for_mysql (trx=0x181757b8) at trx/trx0roll.c:135 #10 0x0000000000704d07 in innobase_rollback (hton=<value optimized out>, thd=0x1819a340, all=true) at handler/ha_innodb.cc:3094 #11 0x0000000000662fc6 in ha_rollback_trans (thd=0x1819a340, all=true) at handler.cc:1307 #12 0x0000000000594f97 in end_trans (thd=0x181fdda8, completion=ROLLBACK) at sql_parse.cc:748 #13 0x0000000000598566 in mysql_execute_command (thd=0x1819a340) at sql_parse.cc:4120 #14 0x000000000059b117 in mysql_parse (thd=0x1819a340, inBuf=0x181f1a10 "rollback", length=8, found_semicolon=0x414df080) at sql_parse.cc:6021 #15 0x000000000059d056 in dispatch_command (command=COM_QUERY, thd=0x1819a340, packet=0x181e99e1 "rollback", packet_length=<value optimized out>) at sql_parse.cc:1232 #16 0x000000000059da46 in do_command (thd=0x1819a340) at sql_parse.cc:874 #17 0x0000000000590288 in handle_one_connection (arg=<value optimized out>) at sql_connect.cc:1153 #18 0x000000330600673d in start_thread () from /lib64/libpthread.so.0 #19 0x00000033054d3d1d in clone () from /lib64/libc.so.6 (gdb) (gdb) c Continuing. Breakpoint 9, trx_undo_rec_get_pars (undo_rec=0x181fdda8 "/001/036/v", type=0x414dd228, cmpl_info=0x414dd220, updated_extern=0x414dd218, undo_no=0x414dd200, table_id=0x414dd1f0) at trx/trx0rec.c:287 287 in trx/trx0rec.c (gdb) c Continuing. Breakpoint 11, trx_undo_set_state_at_finish (rseg=0x1817be18, trx=0x181757b8, undo=0x18165098, mtr=0x414dcd80) at trx/trx0undo.c:1837 1837 trx/trx0undo.c: No such file or directory. in trx/trx0undo.c (gdb) bt #0 trx_undo_set_state_at_finish (rseg=0x1817be18, trx=0x181757b8, undo=0x18165098, mtr=0x414dcd80) at trx/trx0undo.c:1837 #1 0x0000000000783fbb in trx_commit_off_kernel (trx=0x181757b8) at trx/trx0trx.c:877 #2 0x000000000077b74f in trx_finish_rollback_off_kernel (graph=<value optimized out>, trx=0x181757b8, next_thr=0x414dd2d0) at trx/trx0roll.c:1262 #3 0x0000000000743056 in que_thr_dec_refer_count (thr=0x181fd6b0, next_thr=0x414dd2d0) at que/que0que.c:857 #4 0x00000000007431ca in que_run_threads_low (thr=0x18165098) at que/que0que.c:1327 #5 que_run_threads (thr=0x18165098) at que/que0que.c:1352 #6 0x000000000077d7c4 in trx_general_rollback_for_mysql (trx=0x181757b8, savept=<value optimized out>) at trx/trx0roll.c:86 #7 0x000000000077db27 in trx_rollback_for_mysql (trx=0x181757b8) at trx/trx0roll.c:135 #8 0x0000000000704d07 in innobase_rollback (hton=<value optimized out>, thd=0x1819a340, all=true) at handler/ha_innodb.cc:3094 #9 0x0000000000662fc6 in ha_rollback_trans (thd=0x1819a340, all=true) at handler.cc:1307 #10 0x0000000000594f97 in end_trans (thd=0x1817be18, completion=ROLLBACK) at sql_parse.cc:748 #11 0x0000000000598566 in mysql_execute_command (thd=0x1819a340) at sql_parse.cc:4120 #12 0x000000000059b117 in mysql_parse (thd=0x1819a340, inBuf=0x181f1a10 "rollback", length=8, found_semicolon=0x414df080) at sql_parse.cc:6021 #13 0x000000000059d056 in dispatch_command (command=COM_QUERY, thd=0x1819a340, packet=0x181e99e1 "rollback", packet_length=<value optimized out>) at sql_parse.cc:1232 #14 0x000000000059da46 in do_command (thd=0x1819a340) at sql_parse.cc:874 #15 0x0000000000590288 in handle_one_connection (arg=<value optimized out>) at sql_connect.cc:1153 #16 0x000000330600673d in start_thread () from /lib64/libpthread.so.0 #17 0x00000033054d3d1d in clone () from /lib64/libc.so.6 (gdb) (gdb) c Continuing. Breakpoint 7, trx_undo_insert_cleanup (trx=0x181757b8) at trx/trx0undo.c:1992 1992 in trx/trx0undo.c (gdb) bt #0 trx_undo_insert_cleanup (trx=0x181757b8) at trx/trx0undo.c:1992 #1 0x000000000078420c in trx_commit_off_kernel (trx=0x181757b8) at trx/trx0trx.c:1013 #2 0x000000000077b74f in trx_finish_rollback_off_kernel (graph=<value optimized out>, trx=0x181757b8, next_thr=0x414dd2d0) at trx/trx0roll.c:1262 #3 0x0000000000743056 in que_thr_dec_refer_count (thr=0x181fd6b0, next_thr=0x414dd2d0) at que/que0que.c:857 #4 0x00000000007431ca in que_run_threads_low (thr=0x3e5) at que/que0que.c:1327 #5 que_run_threads (thr=0x3e5) at que/que0que.c:1352 #6 0x000000000077d7c4 in trx_general_rollback_for_mysql (trx=0x181757b8, savept=<value optimized out>) at trx/trx0roll.c:86 #7 0x000000000077db27 in trx_rollback_for_mysql (trx=0x181757b8) at trx/trx0roll.c:135 #8 0x0000000000704d07 in innobase_rollback (hton=<value optimized out>, thd=0x1819a340, all=true) at handler/ha_innodb.cc:3094 #9 0x0000000000662fc6 in ha_rollback_trans (thd=0x1819a340, all=true) at handler.cc:1307 #10 0x0000000000594f97 in end_trans (thd=0x181757b8, completion=ROLLBACK) at sql_parse.cc:748 #11 0x0000000000598566 in mysql_execute_command (thd=0x1819a340) at sql_parse.cc:4120 #12 0x000000000059b117 in mysql_parse (thd=0x1819a340, inBuf=0x181f1a10 "rollback", length=8, found_semicolon=0x414df080) at sql_parse.cc:6021 #13 0x000000000059d056 in dispatch_command (command=COM_QUERY, thd=0x1819a340, packet=0x181e99e1 "rollback", packet_length=<value optimized out>) at sql_parse.cc:1232 #14 0x000000000059da46 in do_command (thd=0x1819a340) at sql_parse.cc:874 #15 0x0000000000590288 in handle_one_connection (arg=<value optimized out>) at sql_connect.cc:1153 #16 0x000000330600673d in start_thread () from /lib64/libpthread.so.0 #17 0x00000033054d3d1d in clone () from /lib64/libc.so.6 (gdb) mysql> begin; Query OK, 0 rows affected (0.00 sec) mysql> insert into cindya value(123); Query OK, 1 row affected (10.73 sec) mysql> select * from cindya; +------+ | id | +------+ | 1 | | 123 | +------+ 2 rows in set (0.00 sec) mysql> insert into cindya value(123090); Query OK, 1 row affected (10.03 sec) mysql> commit; Breakpoint 1, trx_undo_assign_undo (trx=0x181757b8, type=1) at trx/trx0undo.c:1775 1775 in trx/trx0undo.c (gdb) c Continuing. Breakpoint 16, trx_undof_page_add_undo_rec_log (undo_page=0x2aaacfa20000 "/213/231/205/177", old_free=272, new_free=286, mtr=0x414db500) at trx/trx0rec.c:47 47 trx/trx0rec.c: No such file or directory. in trx/trx0rec.c (gdb) Continuing. Breakpoint 16, trx_undof_page_add_undo_rec_log (undo_page=0x2aaacfa20000 "/334H[M", old_free=286, new_free=300, mtr=0x414db500) at trx/trx0rec.c:47 47 in trx/trx0rec.c (gdb) Continuing. Breakpoint 12, trx_undo_set_state_at_prepare (trx=0x181757b8, undo=0x18165098, mtr=0x414dce40) at trx/trx0undo.c:1903 1903 trx/trx0undo.c: No such file or directory. in trx/trx0undo.c (gdb) bt #0 trx_undo_set_state_at_prepare (trx=0x181757b8, undo=0x18165098, mtr=0x414dce40) at trx/trx0undo.c:1903 #1 0x0000000000784eb4 in trx_prepare_off_kernel (trx=0x181757b8) at trx/trx0trx.c:2027 #2 0x000000000078518a in trx_prepare_for_mysql (trx=0x181757b8) at trx/trx0trx.c:2122 #3 0x000000000070588d in innobase_xa_prepare (hton=<value optimized out>, thd=0x1819a340, all=true) at handler/ha_innodb.cc:9662 #4 0x000000000066345d in ha_commit_trans (thd=0x1819a340, all=true) at handler.cc:1175 #5 0x0000000000594fe1 in end_trans (thd=0x181757b8, completion=COMMIT) at sql_parse.cc:731 #6 0x0000000000597a2c in mysql_execute_command (thd=0x1819a340) at sql_parse.cc:4114 #7 0x000000000059b117 in mysql_parse (thd=0x1819a340, inBuf=0x181f1a10 "commit", length=6, found_semicolon=0x414df080) at sql_parse.cc:6021 #8 0x000000000059d056 in dispatch_command (command=COM_QUERY, thd=0x1819a340, packet=0x181e99e1 "commit", packet_length=<value optimized out>) at sql_parse.cc:1232 #9 0x000000000059da46 in do_command (thd=0x1819a340) at sql_parse.cc:874 #10 0x0000000000590288 in handle_one_connection (arg=<value optimized out>) at sql_connect.cc:1153 #11 0x000000330600673d in start_thread () from /lib64/libpthread.so.0 #12 0x00000033054d3d1d in clone () from /lib64/libc.so.6 (gdb) (gdb) c Continuing. Breakpoint 11, trx_undo_set_state_at_finish (rseg=0x1817be18, trx=0x181757b8, undo=0x18165098, mtr=0x414dce00) at trx/trx0undo.c:1837 1837 in trx/trx0undo.c (gdb) bt #0 trx_undo_set_state_at_finish (rseg=0x1817be18, trx=0x181757b8, undo=0x18165098, mtr=0x414dce00) at trx/trx0undo.c:1837 #1 0x0000000000783fbb in trx_commit_off_kernel (trx=0x181757b8) at trx/trx0trx.c:877 #2 0x0000000000784d2a in trx_commit_for_mysql (trx=0x181757b8) at trx/trx0trx.c:1729 #3 0x0000000000700b14 in innobase_commit (hton=<value optimized out>, thd=0x1819a340, all=true) at handler/ha_innodb.cc:3005 #4 0x00000000006631be in ha_commit_one_phase (thd=0x1819a340, all=true) at handler.cc:1233 #5 0x000000000066341e in ha_commit_trans (thd=0x1819a340, all=<value optimized out>) at handler.cc:1192 #6 0x0000000000594fe1 in end_trans (thd=0x1817be18, completion=COMMIT) at sql_parse.cc:731 #7 0x0000000000597a2c in mysql_execute_command (thd=0x1819a340) at sql_parse.cc:4114 #8 0x000000000059b117 in mysql_parse (thd=0x1819a340, inBuf=0x181f1a10 "commit", length=6, found_semicolon=0x414df080) at sql_parse.cc:6021 #9 0x000000000059d056 in dispatch_command (command=COM_QUERY, thd=0x1819a340, packet=0x181e99e1 "commit", packet_length=<value optimized out>) at sql_parse.cc:1232 #10 0x000000000059da46 in do_command (thd=0x1819a340) at sql_parse.cc:874 #11 0x0000000000590288 in handle_one_connection (arg=<value optimized out>) at sql_connect.cc:1153 #12 0x000000330600673d in start_thread () from /lib64/libpthread.so.0 #13 0x00000033054d3d1d in clone () from /lib64/libc.so.6 (gdb) (gdb) c Continuing. Breakpoint 7, trx_undo_insert_cleanup (trx=0x181757b8) at trx/trx0undo.c:1992 1992 in trx/trx0undo.c (gdb) bt #0 trx_undo_insert_cleanup (trx=0x181757b8) at trx/trx0undo.c:1992 #1 0x000000000078420c in trx_commit_off_kernel (trx=0x181757b8) at trx/trx0trx.c:1013 #2 0x0000000000784d2a in trx_commit_for_mysql (trx=0x181757b8) at trx/trx0trx.c:1729 #3 0x0000000000700b14 in innobase_commit (hton=<value optimized out>, thd=0x1819a340, all=true) at handler/ha_innodb.cc:3005 #4 0x00000000006631be in ha_commit_one_phase (thd=0x1819a340, all=true) at handler.cc:1233 #5 0x000000000066341e in ha_commit_trans (thd=0x1819a340, all=<value optimized out>) at handler.cc:1192 #6 0x0000000000594fe1 in end_trans (thd=0x181757b8, completion=COMMIT) at sql_parse.cc:731 #7 0x0000000000597a2c in mysql_execute_command (thd=0x1819a340) at sql_parse.cc:4114 #8 0x000000000059b117 in mysql_parse (thd=0x1819a340, inBuf=0x181f1a10 "commit", length=6, found_semicolon=0x414df080) at sql_parse.cc:6021 #9 0x000000000059d056 in dispatch_command (command=COM_QUERY, thd=0x1819a340, packet=0x181e99e1 "commit", packet_length=<value optimized out>) at sql_parse.cc:1232 #10 0x000000000059da46 in do_command (thd=0x1819a340) at sql_parse.cc:874 #11 0x0000000000590288 in handle_one_connection (arg=<value optimized out>) at sql_connect.cc:1153 #12 0x000000330600673d in start_thread () from /lib64/libpthread.so.0 #13 0x00000033054d3d1d in clone () from /lib64/libc.so.6 (gdb)  

你可能感兴趣的:(thread,sql,mysql,command,table,insert)