Bug #13325 rpl_row_sp000.test causes slave to core (mysql_unlock_tables (thd=0x924dd48))
Submitted: 19 Sep 2005 15:53 Modified: 3 Oct 2005 12:10
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

[19 Sep 2005 15:53] Jonathan Miller
Description:
#0  0x00165402 in __kernel_vsyscall ()
#1  0x00a2855f in pthread_kill () from /lib/libpthread.so.0
#2  0x082c6bbb in write_core (sig=9183) at stacktrace.c:220
#3  0x0819d992 in handle_segfault (sig=11) at mysqld.cc:2063
#4  <signal handler called>
#5  mysql_unlock_tables (thd=0x924dd48, sql_lock=0x0) at lock.cc:253
#6  0x0822633e in Rows_log_event::exec_event (this=0x9247898, rli=0x92199f4)
    at log_event.cc:5319
#7  0x082bc3fa in handle_slave_sql (arg=0x9213810) at slave.cc:2960
#8  0x00a25b80 in start_thread () from /lib/libpthread.so.0
#9  0x0097d9ce in clone () from /lib/libc.so.6

How to repeat:
run:
./mysql-test-run.pl --force --mysqld=--binlog-format=row --do-test=rpl_row_sp000 --skip-ndb
[19 Sep 2005 16:34] Jonathan Miller
ignore first back trace:
#0  0x00e65402 in __kernel_vsyscall ()
#1  0x00a2855f in pthread_kill () from /lib/libpthread.so.0
#2  0x082c6d1b in write_core (sig=1779) at stacktrace.c:220
#3  0x0819da22 in handle_segfault (sig=11) at mysqld.cc:2063
#4  <signal handler called>
#5  0x082661b0 in ha_myisam::index_read (this=0xa7e4258, buf=0x0, key=0x0,
    key_len=0, find_flag=HA_READ_KEY_EXACT) at ha_myisam.cc:1153
#6  0x08226cae in find_and_fetch_row (table=0xa7e3b28,
    key=0xa80b528 "mtest", ' ' <repeats 187 times>, "p2      "...,
    record_buf=0xa80b058 "\005mtest\002p2\002\002p2\001\003\002\002")
    at log_event.cc:5873
#7  0x08226e2a in Update_rows_log_event::do_exec_row (this=0x0,
    table=0xa7e3b28, rli=0xa7b79f4) at log_event.cc:6219
#8  0x082266e2 in Rows_log_event::exec_event (this=0xa7fc5c8, rli=0xa7b79f4)
    at log_event.cc:5184
#9  0x082bc55a in handle_slave_sql (arg=0xa7b1810) at slave.cc:2960
#10 0x00a25b80 in start_thread () from /lib/libpthread.so.0
#11 0x0097d9ce in clone () from /lib/libc.so.6
[19 Sep 2005 16:46] Jonathan Miller
Maybe same as 12857
[30 Sep 2005 16:02] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/30579
[3 Oct 2005 12:10] Guilhem Bichot
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html