Breakpoint 1 at 0xe367a0: file /local/mysql-5.7.19.R1/sql/log_event.cc, line 4474. (gdb) c Continuing. [Thread 0x2ad52560e700 (LWP 689) exited] [New Thread 0x2ad52560e700 (LWP 804)] [Thread 0x2ad52560e700 (LWP 804) exited] [New Thread 0x2ad52560e700 (LWP 805)] [New Thread 0x2ad527a00700 (LWP 806)] [New Thread 0x2ad527c01700 (LWP 807)] [New Thread 0x2ad527e02700 (LWP 808)] [New Thread 0x2ad528003700 (LWP 809)] [New Thread 0x2ad528204700 (LWP 810)] [New Thread 0x2ad528405700 (LWP 811)] [New Thread 0x2ad528606700 (LWP 812)] [New Thread 0x2ad528807700 (LWP 813)] [New Thread 0x2ad43ed90700 (LWP 814)] [New Thread 0x2ad528c14700 (LWP 815)] [New Thread 0x2ad528e15700 (LWP 816)] [Thread 0x2ad528e15700 (LWP 816) exited] [New Thread 0x2ad43edd1700 (LWP 817)] [New Thread 0x2ad43ee12700 (LWP 908)] [New Thread 0x2ad43ee53700 (LWP 909)] [Switching to Thread 0x2ad43ee53700 (LWP 909)] Breakpoint 1, Query_log_event::do_apply_event (this=0x2ad5274fa020, rli=0x2ad525e2b000, query_arg=0x2ad5274bc184 "FLUSH SLOW LOGS", q_len_arg=15) at /local/mysql-5.7.19.R1/sql/log_event.cc:4476 4476 /local/mysql-5.7.19.R1/sql/log_event.cc: No such file or directory. (gdb) info registers rax 0x1d55b98 30759832 rbx 0x2ad525e2b000 47094952013824 rcx 0xf 15 rdx 0x2ad5274bc184 47094975676804 rsi 0x2ad525e2b000 47094952013824 rdi 0x2ad5274fa020 47094975930400 rbp 0x2ad43ee52730 0x2ad43ee52730 rsp 0x2ad43ee526d8 0x2ad43ee526d8 r8 0x0 0 r9 0x0 0 r10 0x73d1ca2 121445538 r11 0x246 582 r12 0x2ad5274fa020 47094975930400 r13 0x0 0 r14 0x2ad52744c000 47094975217664 r15 0x2ad52744c000 47094975217664 rip 0xe367a0 0xe367a0 eflags 0x202 [ IF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (gdb) x/1xg 0x2ad43ee52730 -0x298 0x2ad43ee52498: 0x0000000000000000 (gdb) break 4837 Breakpoint 2 at 0xe3775d: file /local/mysql-5.7.19.R1/sql/log_event.cc, line 4837. (gdb) info registers rax 0x1d55b98 30759832 rbx 0x2ad525e2b000 47094952013824 rcx 0xf 15 rdx 0x2ad5274bc184 47094975676804 rsi 0x2ad525e2b000 47094952013824 rdi 0x2ad5274fa020 47094975930400 rbp 0x2ad43ee52730 0x2ad43ee52730 rsp 0x2ad43ee526d8 0x2ad43ee526d8 r8 0x0 0 r9 0x0 0 r10 0x73d1ca2 121445538 r11 0x246 582 r12 0x2ad5274fa020 47094975930400 r13 0x0 0 r14 0x2ad52744c000 47094975217664 r15 0x2ad52744c000 47094975217664 rip 0xe367a0 0xe367a0 eflags 0x202 [ IF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (gdb) c Continuing. Breakpoint 2, Query_log_event::do_apply_event (this=0x2ad5274fa020, rli=0x2ad525e2b000, query_arg=0x2ad5274bc184 "FLUSH SLOW LOGS", q_len_arg=) at /local/mysql-5.7.19.R1/sql/log_event.cc:4837 4837 in /local/mysql-5.7.19.R1/sql/log_event.cc (gdb) info registers rax 0x0 0 rbx 0x2ad5274fa020 47094975930400 rcx 0x1 1 rdx 0x0 0 rsi 0x2ad5274270c0 47094975066304 rdi 0xbba 3002 rbp 0x2ad43ee526d0 0x2ad43ee526d0 rsp 0x2ad43ee52400 0x2ad43ee52400 r8 0x15326aa 22226602 r9 0x5 5 r10 0x0 0 r11 0x246 582 r12 0x2ad525e2b000 47094952013824 r13 0x2ad43ee52570 47091076638064 r14 0x3 3 r15 0x2ad52744c000 47094975217664 rip 0xe3775d 0xe3775d eflags 0x246 [ PF ZF IF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (gdb) x/1xg 0x2ad43ee52730 -0x298 0x2ad43ee52498: 0x0000000000000000 (gdb) x/1xg 0x2ad43ee526d0 -0x298 0x2ad43ee52438: 0x00002ad500000000 (gdb) x/100i 0xe3775d => 0xe3775d : mov (%r12),%rax 0xe37761 : mov %edx,-0x288(%rbp) 0xe37767 : mov (%rax),%r15 0xe3776a : mov (%rbx),%rax 0xe3776d : mov -0x18(%rax),%rax 0xe37771 : mov 0x48(%rbx,%rax,1),%rdi 0xe37776 : callq 0xe74710 0xe3777b : mov -0x288(%rbp),%edx 0xe37781 : mov %rax,%r9 0xe37784 : mov 0x68(%rbx),%rdi 0xe37788 : test %edx,%edx 0xe3778a : jne 0xe37bc0 0xe37790 : lea 0x77af3e(%rip),%rax # 0x15b26d5 0xe37797 : mov %rax,-0x288(%rbp) 0xe3779e : mov %r14d,%esi 0xe377a1 : mov %r9,-0x2a8(%rbp) 0xe377a8 : mov %edx,-0x2a0(%rbp) 0xe377ae : callq 0x7cf620 0xe377b3 : mov %rax,-0x298(%rbp) 0xe377ba : lea 0xfdaa8f(%rip),%rax # 0x1e12250 0xe377c1 : mov (%rax),%edi 0xe377c3 : callq 0x770240 0xe377c8 : mov $0xbba,%esi 0xe377cd : mov %rax,%rdi 0xe377d0 : callq 0x7cf620 0xe377d5 : mov -0x290(%rbp),%rcx 0xe377dc : mov -0x2a8(%rbp),%r9 0xe377e3 : xor %esi,%esi 0xe377e5 : mov -0x2a0(%rbp),%edx 0xe377eb : mov -0x298(%rbp),%r8 0xe377f2 : mov %r12,%rdi 0xe377f5 : mov %rcx,0x18(%rsp) 0xe377fa : mov -0x288(%rbp),%rcx 0xe37801 : mov %r9,0x10(%rsp) 0xe37806 : mov %edx,0x8(%rsp) 0xe3780a : mov %r14d,%r9d 0xe3780d : mov $0xbba,%edx 0xe37812 : mov %rcx,(%rsp) 0xe37816 : mov %rax,%rcx 0xe37819 : xor %eax,%eax 0xe3781b : callq *%r15 0xe3781e : mov 0x68(%rbx),%rax 0xe37822 : movb $0x1,0x1f40(%rax) 0xe37829 : mov 0x68(%rbx),%rsi 0xe3782d : jmpq 0xe370f1 0xe37832 : nopw 0x0(%rax,%rax,1) 0xe37838 : cmpb $0x0,0x872(%rdx) 0xe3783f : je 0xe36f3b 0xe37845 : xor %edx,%edx 0xe37847 : cmp $0x3,%ecx 0xe3784a : jne 0xe36f46 0xe37850 : mov 0x2a0(%rax),%edx 0xe37856 : cmp $0x41b,%edx 0xe3785c : jne 0xe36f46 0xe37862 : test %r14d,%r14d 0xe37865 : jne 0xe36f46 0xe3786b : callq 0xc68650 0xe37870 : mov 0x68(%rbx),%r15 0xe37874 : mov 0x3478(%r15),%rdi 0xe3787b : mov 0x94(%rdi),%ecx 0xe37881 : jmpq 0xe36f3b 0xe37886 : nopw %cs:0x0(%rax,%rax,1) 0xe37890 : lea 0xc78(%r14),%r15 0xe37897 : mov %r15,%rdi 0xe3789a : callq 0x76f720 0xe3789f : jmpq 0xe3717c 0xe378a4 : nopl 0x0(%rax) 0xe378a8 : lea 0xc78(%r14),%r15 0xe378af : mov %r15,%rdi 0xe378b2 : callq 0x76f720 0xe378b7 : jmpq 0xe36a90 0xe378bc : nopl 0x0(%rax) 0xe378c0 : mov (%r12),%rax 0xe378c4 : mov 0x2410(%r12),%rdi 0xe378cc : mov %r13,%rsi 0xe378cf : mov (%rax),%r14 0xe378d2 : callq 0x1308490 0xe378d7 : lea 0x2210(%r12),%r8 0xe378df : mov %rax,%r9 ---Type to continue, or q to quit--- 0xe378e2 : lea 0x77b5ef(%rip),%rcx # 0x15b2ed8 0xe378e9 : mov $0x1,%edx 0xe378ee : xor %esi,%esi 0xe378f0 : mov %r12,%rdi 0xe378f3 : xor %eax,%eax 0xe378f5 : callq *%r14 0xe378f8 : jmpq 0xe36978 0xe378fd : nopl (%rax) 0xe37900 : mov 0x2a0(%rdi),%edx 0xe37906 : jmpq 0xe36f46 0xe3790b : nopl 0x0(%rax,%rax,1) 0xe37910 : cmpl $0x4d5,0x2a0(%rax) 0xe3791a : mov $0x3,%ecx 0xe3791f : jne 0xe36ed8 0xe37925 : jmpq 0xe36f27 0xe3792a : nopw 0x0(%rax,%rax,1) 0xe37930 : mov 0x8(%r12),%rsi 0xe37935 : callq 0x11dca20 0xe3793a : jmpq 0xe37230 0xe3793f : nop 0xe37940 : xor %esi,%esi (gdb) (gdb) watch 0x2ad43ee52438 Cannot watch constant value `0x2ad43ee52438'. (gdb) watch *0x2ad43ee52438 Hardware watchpoint 3: *0x2ad43ee52438 (gdb) c Continuing. [New Thread 0x2ad43ee94700 (LWP 1369)] Hardware watchpoint 3: *0x2ad43ee52438 Old value = 0 New value = 33686018 Query_log_event::do_apply_event (this=0x2ad5274fa020, rli=0x2ad525e2b000, query_arg=0x2ad5274bc184 "FLUSH SLOW LOGS", q_len_arg=) at /local/mysql-5.7.19.R1/sql/log_event.cc:4832 4832 in /local/mysql-5.7.19.R1/sql/log_event.cc (gdb) x/1xg 0x2ad43ee52438 0x2ad43ee52438: 0x0202020202020202 (gdb) x/10i 0x2ad43ee52440: test %al,%cl 0x2ad43ee52442: rex.WXB (bad) 0x2ad43ee52444: (bad) 0x2ad43ee52445: sub (%rax),%al 0x2ad43ee52447: add %dl,%ch 0x2ad43ee52449: es 0x2ad43ee5244a: pop %rbx 0x2ad43ee5244b: add %eax,(%rax) 0x2ad43ee5244d: add %al,(%rax) 0x2ad43ee5244f: add %al,(%rax) (gdb) info registers rax 0x202020202020202 144680345676153346 rbx 0x2ad5274fa020 47094975930400 rcx 0x1 1 rdx 0x2ad4473c2020 47091216556064 rsi 0xfffffc1b 4294966299 rdi 0x1e26300 31613696 rbp 0x2ad43ee526d0 0x2ad43ee526d0 rsp 0x2ad43ee52400 0x2ad43ee52400 r8 0x15326aa 22226602 r9 0x2ad5274be14a 47094975684938 r10 0x0 0 r11 0x246 582 r12 0x2ad525e2b000 47094952013824 r13 0x2ad43ee52570 47091076638064 r14 0x3 3 r15 0xe867a0 15230880 rip 0xe377ba 0xe377ba eflags 0x286 [ PF SF IF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (gdb) x/10i 0xe377ba => 0xe377ba : lea 0xfdaa8f(%rip),%rax # 0x1e12250 0xe377c1 : mov (%rax),%edi 0xe377c3 : callq 0x770240 0xe377c8 : mov $0xbba,%esi 0xe377cd : mov %rax,%rdi 0xe377d0 : callq 0x7cf620 0xe377d5 : mov -0x290(%rbp),%rcx 0xe377dc : mov -0x2a8(%rbp),%r9 0xe377e3 : xor %esi,%esi 0xe377e5 : mov -0x2a0(%rbp),%edx (gdb) x/11i 0xe377ba => 0xe377ba : lea 0xfdaa8f(%rip),%rax # 0x1e12250 0xe377c1 : mov (%rax),%edi 0xe377c3 : callq 0x770240 0xe377c8 : mov $0xbba,%esi 0xe377cd : mov %rax,%rdi 0xe377d0 : callq 0x7cf620 0xe377d5 : mov -0x290(%rbp),%rcx 0xe377dc : mov -0x2a8(%rbp),%r9 0xe377e3 : xor %esi,%esi 0xe377e5 : mov -0x2a0(%rbp),%edx 0xe377eb : mov -0x298(%rbp),%r8 (gdb) p ER_THD $1 = {const char *(const THD *, int)} 0x7cf620 (gdb) bt #0 Query_log_event::do_apply_event (this=0x2ad5274fa020, rli=0x2ad525e2b000, query_arg=0x2ad5274bc184 "FLUSH SLOW LOGS", q_len_arg=) at /local/mysql-5.7.19.R1/sql/log_event.cc:4832 #1 0x0000000000e35552 in Log_event::apply_event (this=this@entry=0x2ad5274fa020, rli=rli@entry=0x2ad525e2b000) at /local/mysql-5.7.19.R1/sql/log_event.cc:3315 #2 0x0000000000e78720 in apply_event_and_update_pos (ptr_ev=ptr_ev@entry=0x2ad43ee529b0, thd=thd@entry=0x2ad52744c000, rli=rli@entry=0x2ad525e2b000) at /local/mysql-5.7.19.R1/sql/rpl_slave.cc:4714 #3 0x0000000000e84f96 in exec_relay_log_event (rli=0x2ad525e2b000, thd=0x2ad52744c000) at /local/mysql-5.7.19.R1/sql/rpl_slave.cc:5224 #4 handle_slave_sql (arg=arg@entry=0x2ad525f74000) at /local/mysql-5.7.19.R1/sql/rpl_slave.cc:7358 #5 0x00000000011dc6ff in pfs_spawn_thread (arg=0x2ad5259393a0) at /local/mysql-5.7.19.R1/storage/perfschema/pfs.cc:2188 #6 0x00002ad43f15fdc5 in start_thread () from /lib64/libpthread.so.0 #7 0x00002ad4406d4c9d in clone () from /lib64/libc.so.6 ###### ANOTHER GDB SESSION ##### Breakpoint 1, Query_log_event::do_apply_event (this=0x2b66924fa020, rli=0x2b6690a2b000, query_arg=0x2b66924bc184 "FLUSH SLOW LOGS", q_len_arg=) at /local/mysql-5.7.19.R1/sql/log_event.cc:4837 4837 /local/mysql-5.7.19.R1/sql/log_event.cc: No such file or directory. (gdb) break derror.cc:41 Breakpoint 2 at 0x7cf5b1: file /local/mysql-5.7.19.R1/sql/derror.cc, line 41. (gdb) c Continuing. Breakpoint 2, MY_LOCALE_ERRMSGS::lookup (this=0x1e26300 , mysql_errno=mysql_errno@entry=3) at /local/mysql-5.7.19.R1/sql/derror.cc:41 41 /local/mysql-5.7.19.R1/sql/derror.cc: No such file or directory. (gdb) bt #0 MY_LOCALE_ERRMSGS::lookup (this=0x1e26300 , mysql_errno=mysql_errno@entry=3) at /local/mysql-5.7.19.R1/sql/derror.cc:41 #1 0x00000000007cf635 in ER_THD (thd=, mysql_errno=mysql_errno@entry=3) at /local/mysql-5.7.19.R1/sql/derror.cc:57 #2 0x0000000000e377b3 in Query_log_event::do_apply_event (this=0x2b66924fa020, rli=0x2b6690a2b000, query_arg=0x2b66924bc184 "FLUSH SLOW LOGS", q_len_arg=) at /local/mysql-5.7.19.R1/sql/log_event.cc:4837 #3 0x0000000000e35552 in Log_event::apply_event (this=this@entry=0x2b66924fa020, rli=rli@entry=0x2b6690a2b000) at /local/mysql-5.7.19.R1/sql/log_event.cc:3315 #4 0x0000000000e78720 in apply_event_and_update_pos (ptr_ev=ptr_ev@entry=0x2b65a9bbd9b0, thd=thd@entry=0x2b669244c000, rli=rli@entry=0x2b6690a2b000) at /local/mysql-5.7.19.R1/sql/rpl_slave.cc:4714 #5 0x0000000000e84f96 in exec_relay_log_event (rli=0x2b6690a2b000, thd=0x2b669244c000) at /local/mysql-5.7.19.R1/sql/rpl_slave.cc:5224 #6 handle_slave_sql (arg=arg@entry=0x2b6690b74000) at /local/mysql-5.7.19.R1/sql/rpl_slave.cc:7358 #7 0x00000000011dc6ff in pfs_spawn_thread (arg=0x2b66901393a0) at /local/mysql-5.7.19.R1/storage/perfschema/pfs.cc:2188 #8 0x00002b65a9ecadc5 in start_thread () from /lib64/libpthread.so.0 #9 0x00002b65ab43fc9d in clone () from /lib64/libc.so.6 (gdb) p errmsgs $1 = (const char **) 0x2b65b23c2020 (gdb) p *errmsgs $2 = 0x2b65b23c4208 "hashchk" (gdb) p mysql_errno $5 = 3 (gdb) p errmsg_section_start $6 = {1000, 3000} (gdb) p i $7 = 0 (gdb) p errmsg_section_start[i] $8 = 1000 (gdb) p errmsg_section_start[1] $9 = 3000 (gdb) p offset $10 = 0 $18 = (const char **) 0x2b65b23c2020 (gdb) p NUM_SECTIONS $19 = 2 (gdb) p mysql_errno - errmsg_section_start[i] + offset $20 = -997 (gdb) p errmsgs[-997] $21 = 0x202020202020202
(gdb) p errmsg_section_size $22 = {886, 199} (gdb) p errmsg_section_start[i] + errmsg_section_size[i] $23 = 1886 (gdb) p errmsgs[13] $24 = 0x2b65b23c43cf "Can't get status of '%-.200s' (errno: %d - %s)" (gdb) p errmsgs[1013] $25 = 0x2b65b23d469b "Query block name %s is not found for %s hint" (gdb) p errmsgs[29] $26 = 0x2b65b23c46a3 "View '%-.192s' doesn't exist for '%-.192s'" (gdb) p MY_LOCALE_ERRMSGS Attempt to use a type name as an expression (gdb) p errmsgs $27 = (const char **) 0x2b65b23c2020 (gdb) p *errmsgs $28 = 0x2b65b23c4208 "hashchk" #### ANOTHER REPRO OF THE PROBLEM WITH DIFFERENT ERROR YET SAME ISSUE ############### 0x0000000000e37790 4837 in /local/mysql-5.7.19.R1/sql/log_event.cc (gdb) info registers rax 0x2b8c4484eb5a 47881444977498 rbx 0x2b8d22318020 47885164052512 rcx 0x1 1 rdx 0x0 0 rsi 0x2b8d2971c870 47885285705840 rdi 0x2b8d29729000 47885285756928 rbp 0x2b8c425a66d0 0x2b8c425a66d0 rsp 0x2b8c425a6400 0x2b8c425a6400 r8 0x15326aa 22226602 r9 0x2b8c4484eb5a 47881444977498 r10 0x0 0 r11 0x246 582 r12 0x2b8d2962c000 47885284720640 r13 0x2b8c425a6570 47881408636272 r14 0x1d 29 r15 0xe867a0 15230880 rip 0xe37790 0xe37790 eflags 0x246 [ PF ZF IF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (gdb) x/10i 0xe37790 => 0xe37790 : lea 0x77af3e(%rip),%rax # 0x15b26d5 0xe37797 : mov %rax,-0x288(%rbp) 0xe3779e : mov %r14d,%esi 0xe377a1 : mov %r9,-0x2a8(%rbp) 0xe377a8 : mov %edx,-0x2a0(%rbp) 0xe377ae : callq 0x7cf620 0xe377b3 : mov %rax,-0x298(%rbp) 0xe377ba : lea 0xfdaa8f(%rip),%rax # 0x1e12250 0xe377c1 : mov (%rax),%edi 0xe377c3 : callq 0x770240 (gdb) si 0x0000000000e37797 4837 in /local/mysql-5.7.19.R1/sql/log_event.cc (gdb) info registers rax 0x15b26d5 22750933 rbx 0x2b8d22318020 47885164052512 rcx 0x1 1 rdx 0x0 0 rsi 0x2b8d2971c870 47885285705840 rdi 0x2b8d29729000 47885285756928 rbp 0x2b8c425a66d0 0x2b8c425a66d0 rsp 0x2b8c425a6400 0x2b8c425a6400 r8 0x15326aa 22226602 r9 0x2b8c4484eb5a 47881444977498 r10 0x0 0 r11 0x246 582 r12 0x2b8d2962c000 47885284720640 r13 0x2b8c425a6570 47881408636272 r14 0x1d 29 r15 0xe867a0 15230880 rip 0xe37797 0xe37797 eflags 0x246 [ PF ZF IF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (gdb) si 0x0000000000e3779e 4837 in /local/mysql-5.7.19.R1/sql/log_event.cc (gdb) info registers rax 0x15b26d5 22750933 rbx 0x2b8d22318020 47885164052512 rcx 0x1 1 rdx 0x0 0 rsi 0x2b8d2971c870 47885285705840 rdi 0x2b8d29729000 47885285756928 rbp 0x2b8c425a66d0 0x2b8c425a66d0 rsp 0x2b8c425a6400 0x2b8c425a6400 r8 0x15326aa 22226602 r9 0x2b8c4484eb5a 47881444977498 r10 0x0 0 r11 0x246 582 r12 0x2b8d2962c000 47885284720640 r13 0x2b8c425a6570 47881408636272 r14 0x1d 29 r15 0xe867a0 15230880 rip 0xe3779e 0xe3779e eflags 0x246 [ PF ZF IF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (gdb) x/1xg 0x2b8c425a66d0 -0x298 0x2b8c425a6438: 0x00002b8d00000000 (gdb) si 0x0000000000e377a1 4837 in /local/mysql-5.7.19.R1/sql/log_event.cc (gdb) info registers rax 0x15b26d5 22750933 rbx 0x2b8d22318020 47885164052512 rcx 0x1 1 rdx 0x0 0 rsi 0x1d 29 rdi 0x2b8d29729000 47885285756928 rbp 0x2b8c425a66d0 0x2b8c425a66d0 rsp 0x2b8c425a6400 0x2b8c425a6400 r8 0x15326aa 22226602 r9 0x2b8c4484eb5a 47881444977498 r10 0x0 0 r11 0x246 582 r12 0x2b8d2962c000 47885284720640 r13 0x2b8c425a6570 47881408636272 r14 0x1d 29 r15 0xe867a0 15230880 rip 0xe377a1 0xe377a1 eflags 0x246 [ PF ZF IF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (gdb) x/10i 0xe377a1 => 0xe377a1 : mov %r9,-0x2a8(%rbp) 0xe377a8 : mov %edx,-0x2a0(%rbp) 0xe377ae : callq 0x7cf620 0xe377b3 : mov %rax,-0x298(%rbp) 0xe377ba : lea 0xfdaa8f(%rip),%rax # 0x1e12250 0xe377c1 : mov (%rax),%edi 0xe377c3 : callq 0x770240 0xe377c8 : mov $0xbba,%esi 0xe377cd : mov %rax,%rdi 0xe377d0 : callq 0x7cf620 (gdb) si 3 ER_THD (thd=0x2b8d29729000, mysql_errno=mysql_errno@entry=29) at /local/mysql-5.7.19.R1/sql/derror.cc:56 56 /local/mysql-5.7.19.R1/sql/derror.cc: No such file or directory. (gdb) info registers rax 0x15b26d5 22750933 rbx 0x2b8d22318020 47885164052512 rcx 0x1 1 rdx 0x0 0 rsi 0x1d 29 rdi 0x2b8d29729000 47885285756928 rbp 0x2b8c425a66d0 0x2b8c425a66d0 rsp 0x2b8c425a63f8 0x2b8c425a63f8 r8 0x15326aa 22226602 r9 0x2b8c4484eb5a 47881444977498 r10 0x0 0 r11 0x246 582 r12 0x2b8d2962c000 47885284720640 r13 0x2b8c425a6570 47881408636272 r14 0x1d 29 r15 0xe867a0 15230880 rip 0x7cf620 0x7cf620 eflags 0x246 [ PF ZF IF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (gdb) x/10i 0x7cf620 => 0x7cf620 : push %rbp 0x7cf621 : mov 0x5c8(%rdi),%rax 0x7cf628 : mov %rsp,%rbp 0x7cf62b : pop %rbp 0x7cf62c : mov 0x58(%rax),%rdi 0x7cf630 : jmpq 0x7cf5b0 0x7cf635: data32 nopw %cs:0x0(%rax,%rax,1) 0x7cf640 : push %rbp 0x7cf641 : mov %rsp,%rbp 0x7cf644 : push %r12 (gdb) break rpl_reporting.cc:113 Breakpoint 2 at 0xe867e1: file /local/mysql-5.7.19.R1/sql/rpl_reporting.cc, line 113. (gdb) c Continuing. Breakpoint 2, Slave_reporting_capability::report (this=0x2b8d2962c000, level=ERROR_LEVEL, err_code=3002, msg=0x2b8c4abd2001 "Query caused different errors on master and slave. Error on master: message (format)='%s' error code=%d; Error on slave:actual message='%s', error code=%d. Default database:'%s'. Query:'%s'") at /local/mysql-5.7.19.R1/sql/rpl_reporting.cc:113 113 /local/mysql-5.7.19.R1/sql/rpl_reporting.cc: No such file or directory. (gdb) bt #0 Slave_reporting_capability::report (this=0x2b8d2962c000, level=ERROR_LEVEL, err_code=3002, msg=0x2b8c4abd2001 "Query caused different errors on master and slave. Error on master: message (format)='%s' error code=%d; Error on slave:actual message='%s', error code=%d. Default database:'%s'. Query:'%s'") at /local/mysql-5.7.19.R1/sql/rpl_reporting.cc:113 #1 0x0000000000e3781e in Query_log_event::do_apply_event (this=0x2b8d22318020, rli=0x2b8d2962c000, query_arg=0x2b8d222da184 "FLUSH SLOW LOGS", q_len_arg=) at /local/mysql-5.7.19.R1/sql/log_event.cc:4837 #2 0x0000000000e35552 in Log_event::apply_event (this=this@entry=0x2b8d22318020, rli=rli@entry=0x2b8d2962c000) at /local/mysql-5.7.19.R1/sql/log_event.cc:3315 #3 0x0000000000e78720 in apply_event_and_update_pos (ptr_ev=ptr_ev@entry=0x2b8c425a69b0, thd=thd@entry=0x2b8d29729000, rli=rli@entry=0x2b8d2962c000) at /local/mysql-5.7.19.R1/sql/rpl_slave.cc:4714 #4 0x0000000000e84f96 in exec_relay_log_event (rli=0x2b8d2962c000, thd=0x2b8d29729000) at /local/mysql-5.7.19.R1/sql/rpl_slave.cc:5224 #5 handle_slave_sql (arg=arg@entry=0x2b8d2978d000) at /local/mysql-5.7.19.R1/sql/rpl_slave.cc:7358 #6 0x00000000011dc6ff in pfs_spawn_thread (arg=0x2b8d22d5f3a0) at /local/mysql-5.7.19.R1/storage/perfschema/pfs.cc:2188 #7 0x00002b8c428b3dc5 in start_thread () from /lib64/libpthread.so.0 #8 0x00002b8c43e28c9d in clone () from /lib64/libc.so.6 (gdb) break my_vsnprintf.c:194 Breakpoint 3 at 0x1308a66: file /local/mysql-5.7.19.R1/strings/my_vsnprintf.c, line 194. (gdb) c Continuing. Breakpoint 3, process_str_arg (cs=cs@entry=0x1da7cc0 , to=to@entry=0x2b8d2962c092 "", end=end@entry=0x2b8d2962c43b "", width=18446744073709551615, par=0x303030303030303
, print_type=0) at /local/mysql-5.7.19.R1/strings/my_vsnprintf.c:194 194 /local/mysql-5.7.19.R1/strings/my_vsnprintf.c: No such file or directory. (gdb) bt #0 process_str_arg (cs=cs@entry=0x1da7cc0 , to=to@entry=0x2b8d2962c092 "", end=end@entry=0x2b8d2962c43b "", width=18446744073709551615, par=0x303030303030303
, print_type=0) at /local/mysql-5.7.19.R1/strings/my_vsnprintf.c:194 #1 0x00000000013095ef in my_vsnprintf_ex (cs=0x1da7cc0 , to=0x2b8d2962c092 "", n=, fmt=, ap=0x2b8c425a6328) at /local/mysql-5.7.19.R1/strings/my_vsnprintf.c:607 #2 0x0000000000e86af0 in Slave_reporting_capability::va_report (this=0x2b8d2962c000, level=, err_code=3002, prefix_msg=0x0, msg=0x2b8c4abd2001 "Query caused different errors on master and slave. Error on master: message (format)='%s' error code=%d; Error on slave:actual message='%s', error code=%d. Default database:'%s'. Query:'%s'", args=0x2b8c425a6328) at /local/mysql-5.7.19.R1/sql/rpl_reporting.cc:162 #3 0x0000000000e86817 in Slave_reporting_capability::report (this=, level=, err_code=, msg=) at /local/mysql-5.7.19.R1/sql/rpl_reporting.cc:113 #4 0x0000000000e3781e in Query_log_event::do_apply_event (this=0x2b8d22318020, rli=0x2b8d2962c000, query_arg=0x2b8d222da184 "FLUSH SLOW LOGS", q_len_arg=) at /local/mysql-5.7.19.R1/sql/log_event.cc:4837 #5 0x0000000000e35552 in Log_event::apply_event (this=this@entry=0x2b8d22318020, rli=rli@entry=0x2b8d2962c000) at /local/mysql-5.7.19.R1/sql/log_event.cc:3315 #6 0x0000000000e78720 in apply_event_and_update_pos (ptr_ev=ptr_ev@entry=0x2b8c425a69b0, thd=thd@entry=0x2b8d29729000, rli=rli@entry=0x2b8d2962c000) at /local/mysql-5.7.19.R1/sql/rpl_slave.cc:4714 #7 0x0000000000e84f96 in exec_relay_log_event (rli=0x2b8d2962c000, thd=0x2b8d29729000) at /local/mysql-5.7.19.R1/sql/rpl_slave.cc:5224 #8 handle_slave_sql (arg=arg@entry=0x2b8d2978d000) at /local/mysql-5.7.19.R1/sql/rpl_slave.cc:7358 #9 0x00000000011dc6ff in pfs_spawn_thread (arg=0x2b8d22d5f3a0) at /local/mysql-5.7.19.R1/storage/perfschema/pfs.cc:2188 #10 0x00002b8c428b3dc5 in start_thread () from /lib64/libpthread.so.0 #11 0x00002b8c43e28c9d in clone () from /lib64/libc.so.6 (gdb) info registers rax 0x15bf9a1 22804897 rbx 0x1da7cc0 31096000 rcx 0xffffffffffffffff -1 rdx 0x2b8d2962c43b 47885284721723 rsi 0x2b8d2962c092 47885284720786 rdi 0x1da7cc0 31096000 rbp 0x2b8c425a5e50 0x2b8c425a5e50 rsp 0x2b8c425a5df0 0x2b8c425a5df0 r8 0x303030303030303 217020518514230019 r9 0x0 0 r10 0x0 0 r11 0x0 0 r12 0x303030303030303 217020518514230019 r13 0x0 0 r14 0x3a9 937 r15 0x3aa 938 rip 0x1308a66 0x1308a66 eflags 0x206 [ PF IF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (gdb) x/1xg 0x2b8c425a66d0 -0x298 0x2b8c425a6438: 0x0303030303030303 (gdb) x/1xg x/1xg 0x2b8c425a66d0 -0x298 No symbol "x" in current context. (gdb) x/1xg 0x2b8c425a6438 0x2b8c425a6438: 0x0303030303030303 (gdb) Timeout, server 63.33.101.43 not responding.