Bug #15923 Core dump in test suite (non-released code)
Submitted: 22 Dec 2005 2:25 Modified: 9 Jan 2006 10:28
Reporter: Lars Thalmann Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Replication Severity:S1 (Critical)
Version:5.1.5 OS:
Assigned to: Mats Kindahl CPU Architecture:Any

[22 Dec 2005 2:25] Lars Thalmann
Description:
Master code dumps 

#0  0x0000003f05e096a7 in pthread_kill () from /lib64/libpthread.so.0
(gdb) bt
#0  0x0000003f05e096a7 in pthread_kill () from /lib64/libpthread.so.0
#1  0x00000000006c61a4 in write_core (sig=11) at stacktrace.c:220
#2  0x00000000005ae798 in handle_segfault (sig=11) at mysqld.cc:2145
#3  <signal handler called>
#4  0x0000003f05573dc0 in memcpy () from /lib64/libc.so.6
#5  0x000000000058f3dd in Field_blob::pack (this=0x1b5c040, to=0x1c46659 "\004", from=0x2aaaac2d6078 <Address 0x2aaaac2d6078 out of bounds>, max_length=4294967295)
    at field.cc:7265
#6  0x000000000059cdea in THD::pack_row (this=Variable "this" is not available.
) at sql_class.cc:2318
#7  0x000000000059cf11 in THD::binlog_delete_row (this=0x1b2b678, table=0x1bda718, is_trans=true, cols=0x4515eee0, colcnt=32, record=0x1bdba28 "") at sql_class.cc:2437
#8  0x000000000067714a in binlog_log_row<Delete_rows_log_event> (table=0x1bda718, before_record=0x1bdba28 "", after_record=Variable "after_record" is not available.
) at log_event.h:2132
#9  0x000000000067542c in handler::ha_delete_row (this=0x1c14928, buf=0x1bdba28 "") at handler.cc:2683
#10 0x000000000062a8d7 in mysql_delete (thd=0x1b2b678, table_list=0x1b52368, conds=0x0, order=0x1b2bc70, limit=18446744073709551615, options=0, reset_auto_increment=false)
    at sql_delete.cc:218
#11 0x00000000005c572c in mysql_execute_command (thd=0x1b2b678) at sql_parse.cc:3346
#12 0x00000000005c9614 in mysql_parse (thd=0x1b2b678, inBuf=0x1b522c8 "delete from t9", length=Variable "length" is not available.
) at sql_parse.cc:5634
#13 0x00000000005c9d4a in dispatch_command (command=COM_QUERY, thd=0x1b2b678, packet=0x1b25659 "delete from t9 ", packet_length=16) at sql_parse.cc:1708
#14 0x00000000005cae60 in do_command (thd=0x1b2b678) at sql_parse.cc:1509
#15 0x00000000005cbaee in handle_one_connection (arg=Variable "arg" is not available.
) at sql_parse.cc:1152
#16 0x0000003f05e0697c in start_thread () from /lib64/libpthread.so.0
#17 0x0000003f055c9c2e in clone () from /lib64/libc.so.6
#18 0x0000000000000000 in ?? ()

How to repeat:
- ps_7ndb.test on rpl-c.  
- You need to execute tests in suite also before this test.
- You need --mysqld="--binlog-format=row"
[3 Jan 2006 21:10] 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/commits/565
[5 Jan 2006 9:53] 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/commits/651
[9 Jan 2006 8:37] 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/commits/778
[9 Jan 2006 10:28] Mats Kindahl
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