sql/handler.cc:3008: int handler::ha_close(): Assertion `m_lock_type == 2' failed.
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Invalid
|
High
|
Laurynas Biveinis | |||
5.6 |
Fix Released
|
High
|
Laurynas Biveinis | |||
5.7 |
Fix Released
|
High
|
Laurynas Biveinis |
Bug Description
2017-11-
Version: '5.7.19-
2017-11-
2017-11-
2017-11-
mysqld: /git/PS-
03:58:51 UTC - mysqld got signal 6 ;
Thread 1 (Thread 0x7ff3e8059700 (LWP 8566)):
#0 0x00007ff3f2ce99b1 in __pthread_kill (threadid=
#1 0x0000000001862e06 in my_write_core (sig=6) at /git/PS-
#2 0x0000000000e8a2af in handle_fatal_signal (sig=6) at /git/PS-
#3 <signal handler called>
#4 0x00007ff3f10011f7 in __GI_raise (sig=sig@entry=6) at ../nptl/
#5 0x00007ff3f10028e8 in __GI_abort () at abort.c:90
#6 0x00007ff3f0ffa266 in __assert_fail_base (fmt=0x7ff3f114ce68 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=
#7 0x00007ff3f0ffa312 in __GI___assert_fail (assertion=
#8 0x0000000000f1ba53 in handler::ha_close (this=0x7ff3487
#9 0x0000000001623017 in closefrm (table=
#10 0x000000000149efb1 in close_temporary (table=
#11 0x000000000149dfe2 in close_temporary
#12 0x0000000001793a8c in Start_log_
#13 0x0000000001794762 in Format_
#14 0x000000000178e02f in Log_event:
#15 0x00000000017e12a7 in mysql_client_
#16 0x0000000001530328 in mysql_execute_
#17 0x0000000001532408 in mysql_parse (thd=0x7ff3480e
#18 0x0000000001526fe7 in dispatch_command (thd=0x7ff3480e
#19 0x0000000001525e2d in do_command (thd=0x7ff3480e
#20 0x000000000166583a in handle_connection (arg=0x5150030) at /git/PS-
#21 0x00000000018919e5 in pfs_spawn_thread (arg=0x5176600) at /git/PS-
#22 0x00007ff3f2ce4e25 in start_thread (arg=0x7ff3e805
#23 0x00007ff3f10c434d in clone () at ../sysdeps/
To reproduce;
cd $basedir
patch -p0 < MYR-174.diff
cd mysql-test
./mtr --mysqld=
Also see;
https:/
https:/
https:/
https:/
However, this may be a different bug.
This testcase does NOT reproduce on MS 5.7.19.
tags: | added: regression |
Reduced testcase, start with --server-id=0:
--source include/ have_log_ bin.inc
create temporary table t4(f int); AAHIAAAAAAAQANS 42LjMtbTUtZGVid WctbG9nAAAAAAAA AAAAAAAAAAAAAAA A AAAAAAAAAAAAAAA AAABI6BZOEzgNAA gAEgAEBAQEEgAAV gAEGggAAAAICAgC AAAAAAVAYI8= ';
LOCK TABLES t4 WRITE;
BINLOG ' SOgWTg8BAAAAbgA
UNLOCK TABLES;
DROP TABLE t4;