Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.3(EOL), 10.4(EOL), 10.5, 10.6
-
None
Description
mtr rpl.rpl_semi_sync_slave_compressed_protocol crashes
#7 0x00007f46a16c2b92 in __GI___assert_fail (assertion=0x1afa0cb "0", file=0x1af9e38 "/my/maria-10.6/sql/net_serv.cc", line=1202, function=0x1afa460 <my_real_read(st_net*, unsigned long*, char)::__PRETTY_FUNCTION__> "ulong my_real_read(NET*, size_t*, my_bool)") at assert.c:101
|
#8 0x0000000000e08d38 in my_real_read (net=0x7f465800c0c8, complen=0x7f4698331ab8, header=0 '\000') at /my/maria-10.6/sql/net_serv.cc:1202
|
#9 0x0000000000e0913c in my_net_read_packet_reallen (net=0x7f465800c0c8, read_from_server=0 '\000', reallen=0x7f4698331c68) at /my/maria-10.6/sql/net_serv.cc:1379
|
#10 0x0000000000c2ed15 in cli_safe_read_reallen (mysql=0x7f465800c0c8, reallen=0x7f4698331c68) at /my/maria-10.6/sql-common/client.c:383
|
#11 0x00000000007f8c9a in read_event (mysql=0x7f465800c0c8, mi=0x4bafcc0, suppress_warnings=0x7f4698331cab, network_read_len=0x7f4698331c68) at /my/maria-10.6/sql/slave.cc:3656
|
#12 0x00000000007fba8c in handle_slave_io (arg=0x4bafcc0) at /my/maria-10.6/sql/slave.cc:4824
|
The code is:
DBUG_PRINT("error", |
("Packets out of order (Found: %d, expected %u)", |
(int) net->buff[net->where_b + 3], |
net->pkt_nr));
|
EXTRA_DEBUG_ASSERT(0);
|
You need to have a debug server with -DEXTRA_DEBUG to get crash. Alternatively compile with:
./BUILD/compile-pentium64-valgrind-max
This crash happened after the last merge to 10.6, around last Friday, has not happened before that.
I did verify that all versions starting with 10.3 are affected. I did not test 10.2, so I don't know if this is affected