Bug #74678 | Assertion `host_length <= 60' failed in set_setup_actor_key | ||
---|---|---|---|
Submitted: | 4 Nov 2014 8:28 | Modified: | 4 Nov 2014 9:04 |
Reporter: | Ramesh Sivaraman | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
Version: | 5.6.20-debug, 5.6.22, 5.7.6 | OS: | Linux (CentOS 7) |
Assigned to: | CPU Architecture: | Any |
[4 Nov 2014 8:28]
Ramesh Sivaraman
[4 Nov 2014 9:04]
MySQL Verification Team
Hello Ramesh Sivaraman, Thank you for the bug report and test case. Confirmed the issue with debug build of 5.6.22/5.76. Thanks, Umesh
[4 Nov 2014 9:05]
MySQL Verification Team
// 5.6.22 debug build (gdb) bt #0 0x0000003deb00c8ac in pthread_kill () from /lib64/libpthread.so.0 #1 0x0000000000b0011b in my_write_core (sig=6) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/mysys/stacktrace.c:422 #2 0x000000000077ecb8 in handle_fatal_signal (sig=6) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/sql/signal_handler.cc:230 #3 <signal handler called> #4 0x0000003deac32625 in raise () from /lib64/libc.so.6 #5 0x0000003deac33e05 in abort () from /lib64/libc.so.6 #6 0x0000003deac2b74e in __assert_fail_base () from /lib64/libc.so.6 #7 0x0000003deac2b810 in __assert_fail () from /lib64/libc.so.6 #8 0x0000000000e44133 in set_setup_actor_key (key=0x29e2944, user=0x31d2bb5 "m???", ' ' <repeats 38 times>, "???", ' ' <repeats 39 times>, user_length=22, host=0x31d2b01 "???", ' ' <repeats 171 times>, "m??? "..., host_length=66, role=0x31d2be5 "???", ' ' <repeats 39 times>, role_length=22) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/perfschema/pfs_setup_actor.cc:140 #9 0x0000000000e44340 in insert_setup_actor (user=0x7f6e2c791a60, host=0x7f6e2c791a40, role=0x7f6e2c791a20) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/perfschema/pfs_setup_actor.cc:189 #10 0x0000000000e5b1d4 in table_setup_actors::write_row (table=0x31d1e20, buf=0x31d2b00 "\377???", ' ' <repeats 171 times>, "m??? "..., fields=0x31d2978) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/perfschema/table_setup_actors.cc:111 #11 0x0000000000e35c63 in PFS_engine_table_share::write_row (this=0x16a1840, table=0x31d1e20, buf=0x31d2b00 "\377???", ' ' <repeats 171 times>, "m??? "..., fields=0x31d2960) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/perfschema/pfs_engine_table.cc:287 #12 0x0000000000e316f2 in ha_perfschema::write_row (this=0x31d2710, buf=0x31d2b00 "\377???", ' ' <repeats 171 times>, "m??? "...) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/perfschema/ha_perfschema.cc:248 #13 0x0000000000699b8b in handler::ha_write_row (this=0x31d2710, buf=0x31d2b00 "\377???", ' ' <repeats 171 times>, "m??? "...) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/sql/handler.cc:7273 #14 0x000000000080f414 in write_record (thd=0x312ebf0, table=0x31d1e20, info=0x7f6e2c791e80, update=0x7f6e2c791e00) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/sql/sql_insert.cc:1921 #15 0x000000000080d21b in mysql_insert (thd=0x312ebf0, table_list=0x7f6e00005148, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/sql/sql_insert.cc:1072 #16 0x000000000082fe71 in mysql_execute_command (thd=0x312ebf0) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/sql/sql_parse.cc:3443 #17 0x00000000008380e1 in mysql_parse (thd=0x312ebf0, rawbuf=0x7f6e00004fd0 "insert into performance_schema.setup_actors values('myhost','mysuser','myrole')", length=79, parser_state=0x7f6e2c793680) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/sql/sql_parse.cc:6357 #18 0x000000000082aa63 in dispatch_command (command=COM_QUERY, thd=0x312ebf0, packet=0x325e541 "insert into performance_schema.setup_actors values('myhost','mysuser','myrole')", packet_length=79) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/sql/sql_parse.cc:1332 #19 0x0000000000829ac8 in do_command (thd=0x312ebf0) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/sql/sql_parse.cc:1034 #20 0x00000000007f0f17 in do_handle_one_connection (thd_arg=0x312ebf0) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/sql/sql_connect.cc:982 #21 0x00000000007f09e8 in handle_one_connection (arg=0x312ebf0) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/sql/sql_connect.cc:898 #22 0x0000000000e64c25 in pfs_spawn_thread (arg=0x3221c70) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/perfschema/pfs.cc:1860 #23 0x0000003deb0079d1 in start_thread () from /lib64/libpthread.so.0 #24 0x0000003deace89dd in clone () from /lib64/libc.so.6
[4 Nov 2014 9:05]
MySQL Verification Team
// 5.7.6 debug build (gdb) bt #0 0x0000003deb00c8ac in pthread_kill () from /lib64/libpthread.so.0 #1 0x0000000000f990a1 in my_write_core (sig=6) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/mysys/stacktrace.c:247 #2 0x000000000092d7cc in handle_fatal_signal (sig=6) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/sql/signal_handler.cc:219 #3 <signal handler called> #4 0x0000003deac32625 in raise () from /lib64/libc.so.6 #5 0x0000003deac33e05 in abort () from /lib64/libc.so.6 #6 0x0000003deac2b74e in __assert_fail_base () from /lib64/libc.so.6 #7 0x0000003deac2b810 in __assert_fail () from /lib64/libc.so.6 #8 0x00000000013a56e9 in set_setup_actor_key (key=0x3a6c844, user=0x4713e75 "m???", ' ' <repeats 38 times>, "???", ' ' <repeats 39 times>, user_length=22, host=0x4713dc1 "???", ' ' <repeats 171 times>, "m??? "..., host_length=66, role=0x4713ea5 "???", ' ' <repeats 39 times>, role_length=22) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/storage/perfschema/pfs_setup_actor.cc:141 #9 0x00000000013a592d in insert_setup_actor (user=0x7fc16e1d08b0, host=0x7fc16e1d0890, role=0x7fc16e1d0870) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/storage/perfschema/pfs_setup_actor.cc:190 #10 0x00000000013c653b in table_setup_actors::write_row (table=0x4713020, buf=0x4713dc0 "\377???", ' ' <repeats 171 times>, "m??? "..., fields=0x4713c80) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/storage/perfschema/table_setup_actors.cc:110 #11 0x0000000001392a35 in PFS_engine_table_share::write_row (this=0x2053a40, table=0x4713020, buf=0x4713dc0 "\377???", ' ' <repeats 171 times>, "m??? "..., fields=0x4713c68) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/storage/perfschema/pfs_engine_table.cc:342 #12 0x00000000013806e4 in ha_perfschema::write_row (this=0x47139c0, buf=0x4713dc0 "\377???", ' ' <repeats 171 times>, "m??? "...) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/storage/perfschema/ha_perfschema.cc:254 #13 0x000000000099f380 in handler::ha_write_row (this=0x47139c0, buf=0x4713dc0 "\377???", ' ' <repeats 171 times>, "m??? "...) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/sql/handler.cc:7443 #14 0x0000000000e92911 in write_record (thd=0x7fc12c000cf0, table=0x4713020, info=0x7fc16e1d0ca0, update=0x7fc16e1d0c20) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/sql/sql_insert.cc:1680 #15 0x0000000000e901a1 in mysql_insert (thd=0x7fc12c000cf0, table_list=0x7fc12c005e10, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/sql/sql_insert.cc:708 #16 0x0000000000cb6855 in mysql_execute_command (thd=0x7fc12c000cf0) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/sql/sql_parse.cc:3338 #17 0x0000000000cbce6a in mysql_parse (thd=0x7fc12c000cf0, parser_state=0x7fc16e1d2660) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/sql/sql_parse.cc:5397 #18 0x0000000000cb0f2c in dispatch_command (command=COM_QUERY, thd=0x7fc12c000cf0, packet=0x7fc12c009a21 "insert into performance_schema.setup_actors values('myhost','mysuser','myrole')", packet_length=79) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/sql/sql_parse.cc:1249 #19 0x0000000000cafbd4 in do_command (thd=0x7fc12c000cf0) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/sql/sql_parse.cc:833 #20 0x0000000000dbe89c in handle_connection (arg=0x48d3600) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/sql/conn_handler/connection_handler_per_thread.cc:298 #21 0x000000000138347f in pfs_spawn_thread (arg=0x4729c10) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/storage/perfschema/pfs.cc:2137 #22 0x0000003deb0079d1 in start_thread () from /lib64/libpthread.so.0 #23 0x0000003deace89dd in clone () from /lib64/libc.so.6