Bug #80663 Assertion `thd->owned_gtid.is_empty()' failed in sql/rpl_gtid_state.cc:613
| Submitted: | 9 Mar 2016 4:54 | Modified: | 24 Nov 2018 15:24 |
|---|---|---|---|
| Reporter: | Ramesh Sivaraman | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
| Version: | 5.7.10, 5.7.11, 8.0.13 | OS: | CentOS |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | debug | ||
[9 Mar 2016 4:54]
Ramesh Sivaraman
[9 Mar 2016 6:13]
Ramesh Sivaraman
Startup options: --server-id=100 --log-bin=binlog --binlog_format=MIXED
[9 Mar 2016 7:05]
MySQL Verification Team
Hello Ramesh, Thank you for the report and test case. Observed that 5.7.11 debug build is affected. Thanks, Umesh
[24 Nov 2018 5:16]
Roel Van de Paar
Please add 8.0.13 as affected # mysqld options required for replay: --log-bin --server-id=0 --binlog_format=STATEMENT CREATE DATABASE test; USE test; BINLOG ' SOgWTg8BAAAAbgAAAHIAAAAAAAQANS42LjMtbTUtZGVidWctbG9nAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAABI6BZOEzgNAAgAEgAEBAQEEgAAVgAEGggAAAAICAgCAAAAAAVAYI8='; XA START 'test3','',5; CREATE TEMPORARY TABLE t1(c1 INT)UNION=(t4,t5); BINLOG ' SOgWTg8BAAAAbgAAAHIAAAAAAAQANS42LjMtbTUtZGVidWctbG9nAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAABI6BZOEzgNAAgAEgAEBAQEEgAAVgAEGggAAAAICAgCAAAAAAVAYI8=';
[24 Nov 2018 5:20]
Roel Van de Paar
Similar stack.
#6 0x00007f7e2eefe39a in __assert_fail_base (fmt=0x7f7e2f0857d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=assertion@entry=0x565461113cc0 "thd->owned_gtid.is_empty()",
file=file@entry=0x5654611137d0 "/git/MS-8.0-trunk_dbg/sql/rpl_gtid_state.cc", line=line@entry=466,
function=function@entry=0x565461114f20 <Gtid_state::generate_automatic_gtid(THD*, int, long long, int*)::__PRETTY_FUNCTION__> "enum_return_status Gtid_state::generate_automatic_gtid(THD*, rpl_sidno, rpl_gno, rpl_sidno*)") at assert.c:92
#7 0x00007f7e2eefe412 in __GI___assert_fail (assertion=0x565461113cc0 "thd->owned_gtid.is_empty()",
file=0x5654611137d0 "/git/MS-8.0-trunk_dbg/sql/rpl_gtid_state.cc", line=466,
function=0x565461114f20 <Gtid_state::generate_automatic_gtid(THD*, int, long long, int*)::__PRETTY_FUNCTION__> "enum_return_status Gtid_state::generate_automatic_gtid(THD*, rpl_sidno, rpl_gno, rpl_sidno*)") at assert.c:101
#8 0x000056545f7d03de in Gtid_state::generate_automatic_gtid (this=0x7f7e2e469600, thd=0x7f7e07c23000, specified_sidno=0,
specified_gno=0, locked_sidno=0x7f7e2eec8ba4) at /git/MS-8.0-trunk_dbg/sql/rpl_gtid_state.cc:466
#9 0x000056545f811eb2 in MYSQL_BIN_LOG::assign_automatic_gtids_to_flush_group (this=0x5654623ca3a0 <mysql_bin_log>,
first_seen=0x7f7e07c23000) at /git/MS-8.0-trunk_dbg/sql/binlog.cc:1370
etc.
[24 Nov 2018 15:24]
Ramesh Sivaraman
Reproduced with 8.0.13
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.042 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.