Crash in check_table_is_closed with concurrent workload
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| MariaDB |
Fix Released
|
Medium
|
Michael Widenius | ||
Bug Description
When executing a concurrent workload involving CREATE and DROP on per-thread tables, the server crashed as follows:
# 2011-10-29T06:01:37 #4 0x0000000000971837 in check_table_
# 2011-10-29T06:01:37 name=0x7f254c0828e0 "./transforms/
# 2011-10-29T06:01:37 where=0xe36557 "delete") at mi_dbug.c:179
# 2011-10-29T06:01:37 #5 0x000000000098f2e8 in mi_delete_table (
# 2011-10-29T06:01:37 name=0x7f254c0828e0 "./transforms/
# 2011-10-29T06:01:37 at mi_delete_
# 2011-10-29T06:01:37 #6 0x000000000093c314 in ha_myisam:
# 2011-10-29T06:01:37 name=0x7f254c0828e0 "./transforms/
# 2011-10-29T06:01:37 at ha_myisam.cc:2004
# 2011-10-29T06:01:37 #7 0x000000000083947e in handler:
# 2011-10-29T06:01:37 name=0x7f254c0828e0 "./transforms/
# 2011-10-29T06:01:37 at handler.cc:3560
# 2011-10-29T06:01:37 #8 0x00000000008363bd in ha_delete_table (thd=0x4927ec8,
# 2011-10-29T06:01:37 table_type=
# 2011-10-29T06:01:37 path=0x7f254c0828e0 "./transforms/
# 2011-10-29T06:01:37 db=0x7f24c00072b8 "transforms",
# 2011-10-29T06:01:37 alias=0x7f24c00
# 2011-10-29T06:01:37 at handler.cc:2066
# 2011-10-29T06:01:37 #9 0x0000000000859a79 in mysql_rm_
# 2011-10-29T06:01:37 tables=
# 2011-10-29T06:01:37 drop_view=false, dont_log_
# 2011-10-29T06:01:37 #10 0x000000000085903e in mysql_rm_table (thd=0x4927ec8,
# 2011-10-29T06:01:37 tables=
# 2011-10-29T06:01:37 at sql_table.cc:1845
# 2011-10-29T06:01:37 #11 0x00000000006c2d6b in mysql_execute_
# 2011-10-29T06:01:37 at sql_parse.cc:3411
# 2011-10-29T06:01:37 #12 0x00000000006cb25f in mysql_parse (thd=0x4927ec8,
# 2011-10-29T06:01:37 rawbuf=
# 2011-10-29T06:01:37 length=43, found_semicolon
# 2011-10-29T06:01:37 #13 0x00000000006bcccb in dispatch_command (command=COM_QUERY, thd=0x4927ec8,
# 2011-10-29T06:01:37 packet=0x492bb99 "DROP TABLE transforms.
# 2011-10-29T06:01:37 packet_length=43) at sql_parse.cc:1221
# 2011-10-29T06:01:37 #14 0x00000000006bc04b in do_command (thd=0x4927ec8) at sql_parse.cc:916
# 2011-10-29T06:01:37 #15 0x00000000006b8f27 in handle_
# 2011-10-29T06:01:37 at sql_connect.cc:1191
# 2011-10-29T06:01:37 #16 0x00000035a7207761 in start_thread () from /lib64/
# 2011-10-29T06:01:37 #17 0x00000035a6ee098d in clone () from /lib64/libc.so.6
Each thread operates on a separate set of tables so there are no concurrent DDL statements that involve the same table.
RQG command line:
perl runall.pl --queries=100000000 --debug --mysqld1=
Related branches
| Changed in maria: | |
| status: | New → In Progress |

revision-id: <email address hidden>
date: 2011-10-28 12:38:36 +0400
build-date: 2011-10-31 11:26:39 +0200
revno: 3258
branch-nick: maria-5.3