Skip to content

Instantly share code, notes, and snippets.

@yoku0825
Created September 30, 2013 07:02
Show Gist options
  • Save yoku0825/6760217 to your computer and use it in GitHub Desktop.
Save yoku0825/6760217 to your computer and use it in GitHub Desktop.
(gdb) bt
#0 create_temp_file (to=0x7f1ae94b17f0 "5ce2fe28308fd9f2a7baf3\\\004", dir=0x7f1ac4016ea0 "/tmp",
prefix=0x7f1ac4015100 "ML", mode=514, MyFlags=16) at /home/yoku0825/mysql-5.6.14/mysys/mf_tempfile.c:60
#1 0x00000000008c890e in real_open_cached_file (cache=0x7f1ac401c858) at /home/yoku0825/mysql-5.6.14/mysys/mf_cache.c:86
#2 0x00000000008c9fa8 in my_b_flush_io_cache (info=0x7f1ac401c858, need_append_buffer_lock=<value optimized out>)
at /home/yoku0825/mysql-5.6.14/mysys/mf_iocache.c:1750
#3 0x00000000008cae34 in _my_b_write (info=0x7f1ac401c858, Buffer=0x7f1ac4032660 "93fbdabb0c5ef2c3\374\a\003", Count=100)
at /home/yoku0825/mysql-5.6.14/mysys/mf_iocache.c:1556
#4 0x00000000008806b6 in wrapper_my_b_safe_write (this=0x7f1ac40158a0, file=0x7f1ac401c858)
at /home/yoku0825/mysql-5.6.14/sql/log_event.cc:1031
#5 Rows_log_event::write_data_body (this=0x7f1ac40158a0, file=0x7f1ac401c858)
at /home/yoku0825/mysql-5.6.14/sql/log_event.cc:11452
#6 0x0000000000884b0c in Log_event::write (this=0x7f1ac40158a0, file=0x7f1ac401c858)
at /home/yoku0825/mysql-5.6.14/sql/log_event.h:1280
#7 0x0000000000889c91 in binlog_cache_data::write_event (this=0x7f1ac401c850, thd=0x4a89c10, ev=0x7f1ac40158a0)
at /home/yoku0825/mysql-5.6.14/sql/binlog.cc:927
#8 0x000000000088aba9 in MYSQL_BIN_LOG::flush_and_set_pending_rows_event (thd=0x4a89c10, event=0x7f1ac4015340,
is_transactional=true, this=0x1333c00) at /home/yoku0825/mysql-5.6.14/sql/binlog.cc:5000
#9 0x0000000000899333 in THD::binlog_prepare_pending_rows_event<Write_rows_log_event> (this=0x4a89c10,
table=0x7f1ac40106c0, serv_id=1056, needed=<value optimized out>, is_transactional=true, hint=<value optimized out>,
extra_row_info=0x0) at /home/yoku0825/mysql-5.6.14/sql/binlog.cc:8044
#10 0x000000000088ad1e in THD::binlog_write_row (this=0x4a89c10, table=0x7f1ac40106c0, is_trans=true,
record=<value optimized out>, extra_row_info=0x0) at /home/yoku0825/mysql-5.6.14/sql/binlog.cc:8202
#11 0x0000000000595bc2 in Write_rows_log_event::binlog_row_logging_function (thd=<value optimized out>,
table=<value optimized out>, is_transactional=<value optimized out>, before_record=<value optimized out>,
after_record=<value optimized out>) at /home/yoku0825/mysql-5.6.14/sql/log_event.h:4436
#12 0x000000000058e62f in binlog_log_row (table=0x7f1ac40106c0, before_record=0x0, after_record=0x7f1ac401bbf0 "\376\t\003",
log_func=0x595bb0 <Write_rows_log_event::binlog_row_logging_function(THD*, TABLE*, bool, uchar const*, uchar const*)>)
at /home/yoku0825/mysql-5.6.14/sql/handler.cc:7076
#13 0x0000000000590242 in handler::ha_write_row (this=0x7f1ac4011230, buf=0x7f1ac401bbf0 "\376\t\003")
at /home/yoku0825/mysql-5.6.14/sql/handler.cc:7212
#14 0x00000000006b5019 in write_record (thd=0x4a89c10, table=0x7f1ac40106c0, info=0x7f1ae94b25c0, update=0x0)
at /home/yoku0825/mysql-5.6.14/sql/sql_insert.cc:1921
#15 0x0000000000831a43 in read_sep_field (thd=<value optimized out>, ex=0x7f1ac4005040, table_list=0x7f1ac40050c8,
fields_vars=..., set_fields=..., set_values=..., handle_duplicates=DUP_ERROR, ignore=false, read_file_from_client=true)
at /home/yoku0825/mysql-5.6.14/sql/sql_load.cc:1119
#16 mysql_load (thd=<value optimized out>, ex=0x7f1ac4005040, table_list=0x7f1ac40050c8, fields_vars=..., set_fields=...,
set_values=..., handle_duplicates=DUP_ERROR, ignore=false, read_file_from_client=true)
at /home/yoku0825/mysql-5.6.14/sql/sql_load.cc:506
#17 0x00000000006d4ce8 in mysql_execute_command (thd=0x4a89c10) at /home/yoku0825/mysql-5.6.14/sql/sql_parse.cc:3693
#18 0x00000000006d6e77 in mysql_parse (thd=0x4a89c10, rawbuf=<value optimized out>, length=<value optimized out>,
parser_state=<value optimized out>) at /home/yoku0825/mysql-5.6.14/sql/sql_parse.cc:6235
#19 0x00000000006d880c in dispatch_command (command=COM_QUERY, thd=0x4a89c10, packet=0x7f1ae94b3af0 "\020\234\250\004",
packet_length=50) at /home/yoku0825/mysql-5.6.14/sql/sql_parse.cc:1334
#20 0x00000000006a0c5d in do_handle_one_connection (thd_arg=<value optimized out>)
at /home/yoku0825/mysql-5.6.14/sql/sql_connect.cc:982
#21 0x00000000006a0d92 in handle_one_connection (arg=0x4a89c10) at /home/yoku0825/mysql-5.6.14/sql/sql_connect.cc:898
#22 0x0000000000971217 in pfs_spawn_thread (arg=0x4b2dc20) at /home/yoku0825/mysql-5.6.14/storage/perfschema/pfs.cc:1858
#23 0x0000003dfdc07851 in start_thread () from /lib64/libpthread.so.0
#24 0x0000003dfd4e890d in clone () from /lib64/libc.so.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment