[MDEV-15131] Assertion `false' failed in table_setup_actors::read_row_values upon querying perfschema under 'test_pseudo_invisible' Created: 2018-01-30  Updated: 2018-04-23  Resolved: 2018-04-20

Status: Closed
Project: MariaDB Server
Component/s: Admin statements, Server
Affects Version/s: 10.3
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Sachin Setiya (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates MDEV-15130 Assertion `table->s->null_bytes == 0'... Closed
Sprint: 10.3.6-1

 Description   

SET debug_dbug="+d,test_pseudo_invisible";
SELECT * FROM performance_schema.setup_actors;

10.3 b8c92d752c34e51dbe8ed551542415e2481581d7

mysqld: /data/src/10.3/storage/perfschema/table_setup_actors.cc:210: virtual int table_setup_actors::read_row_values(TABLE*, unsigned char*, Field**, bool): Assertion `false' failed.
180130 19:12:49 [ERROR] mysqld got signal 6 ;
 
#7  0x00007fef66c5cee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x0000563db34a696b in table_setup_actors::read_row_values (this=0x7fef501173e0, table=0x7fef501162f0, buf=0x7fef50006968 "\377", fields=0x7fef50006bc0, read_all=false) at /data/src/10.3/storage/perfschema/table_setup_actors.cc:210
#9  0x0000563db3480517 in PFS_engine_table::read_row (this=0x7fef501173e0, table=0x7fef501162f0, buf=0x7fef50006968 "\377", fields=0x7fef50006ba8) at /data/src/10.3/storage/perfschema/pfs_engine_table.cc:271
#10 0x0000563db347d1f8 in ha_perfschema::rnd_next (this=0x7fef50116f28, buf=0x7fef50006968 "\377") at /data/src/10.3/storage/perfschema/ha_perfschema.cc:347
#11 0x0000563db319d8cc in handler::ha_rnd_next (this=0x7fef50116f28, buf=0x7fef50006968 "\377") at /data/src/10.3/sql/handler.cc:2757
#12 0x0000563db331b200 in rr_sequential (info=0x7fef50018530) at /data/src/10.3/sql/records.cc:485
#13 0x0000563db2e249a7 in READ_RECORD::read_record (this=0x7fef50018530) at /data/src/10.3/sql/records.h:73
#14 0x0000563db2f279af in join_init_read_record (tab=0x7fef50018468) at /data/src/10.3/sql/sql_select.cc:20159
#15 0x0000563db2f25770 in sub_select (join=0x7fef50017048, join_tab=0x7fef50018468, end_of_records=false) at /data/src/10.3/sql/sql_select.cc:19233
#16 0x0000563db2f24d3b in do_select (join=0x7fef50017048, procedure=0x0) at /data/src/10.3/sql/sql_select.cc:18776
#17 0x0000563db2efe2ca in JOIN::exec_inner (this=0x7fef50017048) at /data/src/10.3/sql/sql_select.cc:4059
#18 0x0000563db2efd536 in JOIN::exec (this=0x7fef50017048) at /data/src/10.3/sql/sql_select.cc:3842
#19 0x0000563db2efe9af in mysql_select (thd=0x7fef50000b00, tables=0x7fef50014e80, wild_num=1, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x7fef50017028, unit=0x7fef50004890, select_lex=0x7fef50004fe8) at /data/src/10.3/sql/sql_select.cc:4258
#20 0x0000563db2ef08fc in handle_select (thd=0x7fef50000b00, lex=0x7fef500047c8, result=0x7fef50017028, setup_tables_done_option=0) at /data/src/10.3/sql/sql_select.cc:379
#21 0x0000563db2ebb6fc in execute_sqlcom_select (thd=0x7fef50000b00, all_tables=0x7fef50014e80) at /data/src/10.3/sql/sql_parse.cc:6530
#22 0x0000563db2eb1de6 in mysql_execute_command (thd=0x7fef50000b00) at /data/src/10.3/sql/sql_parse.cc:3751
#23 0x0000563db2ebf050 in mysql_parse (thd=0x7fef50000b00, rawbuf=0x7fef50014c38 "SELECT * FROM performance_schema.setup_actors", length=45, parser_state=0x7fef60ecb5f0, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:7987
#24 0x0000563db2eac87f in dispatch_command (command=COM_QUERY, thd=0x7fef50000b00, packet=0x7fef5000b141 "", packet_length=45, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1826
#25 0x0000563db2eab2b3 in do_command (thd=0x7fef50000b00) at /data/src/10.3/sql/sql_parse.cc:1370
#26 0x0000563db30127e8 in do_handle_one_connection (connect=0x563db59f9e80) at /data/src/10.3/sql/sql_connect.cc:1401
#27 0x0000563db3012575 in handle_one_connection (arg=0x563db59f9e80) at /data/src/10.3/sql/sql_connect.cc:1307
#28 0x0000563db34b01b4 in pfs_spawn_thread (arg=0x563db5a15660) at /data/src/10.3/storage/perfschema/pfs.cc:1862
#29 0x00007fef68933494 in start_thread (arg=0x7fef60ecc700) at pthread_create.c:333
#30 0x00007fef66d1993f in clone () from /lib/x86_64-linux-gnu/libc.so.6



 Comments   
Comment by Sachin Setiya (Inactive) [ 2018-04-19 ]

patch for 15130 will solve this.

Comment by Sachin Setiya (Inactive) [ 2018-04-20 ]

Not a bug, dbug_debug can make server to misbehave.

Generated at Thu Feb 08 08:18:55 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.