Assertion `share->in_trans == 0' failed in maria_close on DROP TABLE under LOCK
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
High
|
Michael Widenius |
Bug Description
Version: '5.5.22-
mysqld: maria-5.
#8 0xb7422014 in __assert_fail () from /lib/libc.so.6
#9 0x085de4cc in maria_close (info=0x971c778)
at maria-5.
#10 0x0855e645 in ha_maria::close (this=0x9701e50)
at maria-5.
#11 0x083ce4b4 in handler::ha_close (this=0x9701e50)
at maria-5.
#12 0x082ed97e in closefrm (table=0x97016f0, free_share=true)
at maria-5.
#13 0x081defc3 in intern_close_table (table=0x97016f0)
at maria-5.
#14 0x081df03c in free_cache_entry (table=0x97016f0)
at maria-5.
#15 0x081e0677 in close_thread_table (thd=0x965bbb8, table_ptr=
at maria-5.
#16 0x081dffd0 in close_all_
remove_
#17 0x082c0dd8 in mysql_rm_
if_
at maria-5.
#18 0x082c0820 in mysql_rm_table (thd=0x965bbb8, tables=0x970b820,
if_exists=0 '\000', drop_temporary=0 '\000')
at maria-5.
#19 0x0823ba68 in mysql_execute_
at maria-5.
#20 0x08242a67 in mysql_parse (thd=0x965bbb8,
rawbuf=
at maria-5.
#21 0x08236edc in dispatch_command (command=COM_QUERY, thd=0x965bbb8,
packet=
at maria-5.
#22 0x082363a1 in do_command (thd=0x965bbb8)
at maria-5.
#23 0x08320b75 in do_handle_
at maria-5.
#24 0x083206c0 in handle_
at maria-5.
#25 0x08548c7b in pfs_spawn_thread (arg=0x974c9e8)
at maria-5.
#26 0xb7701b25 in start_thread () from /lib/libpthread
bzr version-info
revision-id: <email address hidden>
date: 2012-04-03 08:00:57 +0200
build-date: 2012-04-04 06:45:20 +0400
revno: 3363
Could not reproduce on MariaDB 5.3.
Could not reproduce with MyISAM.
Test case:
CREATE TABLE t1 (i INT) ENGINE=Aria;
CREATE TABLE t2 (i INT) ENGINE=Aria;
LOCK TABLE t1 WRITE, t2 WRITE;
# Also fails with FLUSH TABLE t1
# and with REPAIR TABLE t1 USE_FRM
DROP TABLE t1;
# End of test case
description: | updated |
description: | updated |
description: | updated |
Changed in maria: | |
status: | New → In Progress |
Set to 'High' rather than 'Critical' because it's a debug assertion, I have not gotten any visible negative effect on a non-debug build. Please adjust if needed.