Bug #12856 RBR (ps-protocol) slave core in call to get_lock_data
Submitted: 29 Aug 2005 18:29 Modified: 24 Sep 2005 10:44
Reporter: Jonathan Miller Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Replication Severity:S1 (Critical)
Version:5.0-wl1012 OS:Linux (Linux)
Assigned to: Guilhem Bichot CPU Architecture:Any

[29 Aug 2005 18:29] Jonathan Miller
Description:
rpl_drop_db.core

#0  0x40250da1 in kill () from /lib/libc.so.6
#1  0x40181f4a in pthread_kill () from /lib/libpthread.so.0
#2  0x0829602d in write_core (sig=11) at stacktrace.c:220
#3  0x0818ef2d in handle_segfault (sig=11) at mysqld.cc:2062
#4  0x401855cd in __pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  get_lock_data (thd=0x877d258, table_ptr=0x87846e8, count=1, 
    get_old_locks=false, write_lock_used=0x874ccc4) at lock.cc:454
#7  0x0818adb8 in mysql_lock_tables (thd=0x877d258, tables=0x87846e8, 
    count=1, flags=0) at lock.cc:115
#8  0x081c7fdf in lock_tables (thd=0x877d258, tables=0xbedff87c, count=0)
    at sql_base.cc:2332
#9  0x08210e6c in Rows_log_event::exec_event(st_relay_log_info*) (
    this=0x413004f8, rli=0x87452fc) at log_event.cc:5074
#10 0x0828bdd9 in exec_relay_log_event (thd=0x877d258, rli=0x87452fc)
    at slave.cc:2960
#11 0x08289af8 in handle_slave_sql (arg=0x873f118) at slave.cc:3508
#12 0x4017f6de in pthread_start_thread () from /lib/libpthread.so.0
(gdb) quit

rpl_loaddatalocal.core (Unsure the reason for this core)
(gdb) bt
#0  0x40250da1 in kill () from /lib/libc.so.6
#1  0x40181f4a in pthread_kill () from /lib/libpthread.so.0
#2  0x0829602d in write_core (sig=11) at stacktrace.c:220
#3  0x0818ef2d in handle_segfault (sig=11) at mysqld.cc:2062
#4  0x401855cd in __pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
(gdb) quit

rpl_many_optimize.core
#0  0x40250da1 in kill () from /lib/libc.so.6
#1  0x40181f4a in pthread_kill () from /lib/libpthread.so.0
#2  0x0829602d in write_core (sig=11) at stacktrace.c:220
#3  0x0818ef2d in handle_segfault (sig=11) at mysqld.cc:2062
#4  0x401855cd in __pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  0x0818c16e in get_lock_data (thd=0x877d258, table_ptr=0x87846e8, 
    count=1, get_old_locks=false, write_lock_used=0x874ccc4)
    at lock.cc:454
#7  0x0818adb8 in mysql_lock_tables (thd=0x877d258, tables=0x87846e8, 
    count=1, flags=0) at lock.cc:115
#8  0x081c7fdf in lock_tables (thd=0x877d258, tables=0xbedff87c, count=0)
    at sql_base.cc:2332
#9  0x08210e6c in Rows_log_event::exec_event(st_relay_log_info*) (
    this=0x872c898, rli=0x87452fc) at log_event.cc:5074
#10 0x0828bdd9 in exec_relay_log_event (thd=0x877d258, rli=0x87452fc)
    at slave.cc:2960
#11 0x08289af8 in handle_slave_sql (arg=0x873f118) at slave.cc:3508
#12 0x4017f6de in pthread_start_thread () from /lib/libpthread.so.0
(gdb) quit

rpl_row_flsh_tbls.core
#0  0x40250da1 in kill () from /lib/libc.so.6
#1  0x40181f4a in pthread_kill () from /lib/libpthread.so.0
#2  0x0829602d in write_core (sig=11) at stacktrace.c:220
#3  0x0818ef2d in handle_segfault (sig=11) at mysqld.cc:2062
#4  0x401855cd in __pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  get_lock_data (thd=0x877b250, table_ptr=0x87826e0, count=1, 
    get_old_locks=false, write_lock_used=0x874ccc4) at lock.cc:454
#7  0x0818adb8 in mysql_lock_tables (thd=0x877b250, tables=0x87826e0, 
    count=1, flags=0) at lock.cc:115
#8  0x081c7fdf in lock_tables (thd=0x877b250, tables=0xbedff87c, count=0)
    at sql_base.cc:2332
#9  0x08210e6c in Rows_log_event::exec_event(st_relay_log_info*) (
    this=0x413004c0, rli=0x87452fc) at log_event.cc:5074
#10 0x0828bdd9 in exec_relay_log_event (thd=0x877b250, rli=0x87452fc)
    at slave.cc:2960
#11 0x08289af8 in handle_slave_sql (arg=0x873f118) at slave.cc:3508
#12 0x4017f6de in pthread_start_thread () from /lib/libpthread.so.0
(gdb) quit

How to repeat:
See above:
[24 Sep 2005 10:43] Guilhem Bichot
fixed, nothing to document