handle_fatal_signal (sig=6) in Protocol_text::store

Description

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 +bt #0 0x00007fe2272ea741 in __pthread_kill (threadid=<optimized out>, signo=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:61 #1 0x0000000000ac056e in my_write_core (sig=6) at /git/PS-5.6.33_dbg/mysys/stacktrace.c:422 #2 0x0000000000736353 in handle_fatal_signal (sig=6) at /git/PS-5.6.33_dbg/sql/signal_handler.cc:236 #3 <signal handler called> #4 0x00007fe2256815f7 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #5 0x00007fe225682ce8 in __GI_abort () at abort.c:90 #6 0x00007fe22567a566 in __assert_fail_base (fmt=0x7fe2257cace8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0xeb0e08 "field_types == 0 || field_types[field_pos] == MYSQL_TYPE_DECIMAL || field_types[field_pos] == MYSQL_TYPE_BIT || field_types[field_pos] == MYSQL_TYPE_NEWDECIMAL || field_types[field_pos] == MYSQL_TYPE_NEWDATE || (field_types[field_pos] >= MYSQL_TYPE_ENUM && field_types[field_pos] <= MYSQL_TYPE_GEOMETRY)", file=file@entry=0xeb0a90 "/git/PS-5.6.33_dbg/sql/protocol.cc", line=line@entry=993, function=function@entry=0xeb1560 <Protocol_text::store(char const*, unsigned long, charset_info_st const*)::__PRETTY_FUNCTION__> "virtual bool Protocol_text::store(const char*, size_t, const CHARSET_INFO*)") at assert.c:92 #7 0x00007fe22567a612 in __GI___assert_fail (assertion=0xeb0e08 "field_types == 0 || field_types[field_pos] == MYSQL_TYPE_DECIMAL || field_types[field_pos] == MYSQL_TYPE_BIT || field_types[field_pos] == MYSQL_TYPE_NEWDECIMAL || field_types[field_pos] == MYSQL_TYPE_NEWDATE || (field_types[field_pos] >= MYSQL_TYPE_ENUM && field_types[field_pos] <= MYSQL_TYPE_GEOMETRY)", file=0xeb0a90 "/git/PS-5.6.33_dbg/sql/protocol.cc", line=993, function=0xeb1560 <Protocol_text::store(char const*, unsigned long, charset_info_st const*)::__PRETTY_FUNCTION__> "virtual bool Protocol_text::store(const char*, size_t, const CHARSET_INFO*)") at assert.c:101 #8 0x000000000072e81e in Protocol_text::store (this=0x7fe1f733f500, from=0x7fe2278d5b50 "test.t.b", length=8, fromcs=0x1786160 <my_charset_utf8_general_ci>) at /git/PS-5.6.33_dbg/sql/protocol.cc:987 #9 0x00007fe20683dba2 in tokudb::analyze::standard_t::on_run (this=0x7fe1d8cca400) at /git/PS-5.6.33_dbg/storage/tokudb/ha_tokudb_admin.cc:445 #10 0x00007fe20685e3b9 in tokudb::background::job_manager_t::job_t::run (this=0x7fe1d8cca400) at /git/PS-5.6.33_dbg/storage/tokudb/tokudb_background.h:188 #11 0x00007fe20685dc9c in tokudb::background::job_manager_t::run (this=0x7fe223422c20, job=0x7fe1d8cca400) at /git/PS-5.6.33_dbg/storage/tokudb/tokudb_background.cc:210 #12 0x00007fe20685d80f in tokudb::background::job_manager_t::run_job (this=0x7fe223422c20, newjob=0x7fe1d8cca400, background=false) at /git/PS-5.6.33_dbg/storage/tokudb/tokudb_background.cc:125 #13 0x00007fe20683f1c9 in TOKUDB_SHARE::analyze_standard (this=0x7fe1d8c83000, thd=0x7fe1f733f000, txn=0x0) at /git/PS-5.6.33_dbg/storage/tokudb/ha_tokudb_admin.cc:851 #14 0x00007fe206823a00 in TOKUDB_SHARE::update_row_count (this=0x7fe1d8c83000, thd=0x7fe1f733f000, added=0, deleted=1, updated=0) at /git/PS-5.6.33_dbg/storage/tokudb/ha_tokudb.cc:385 #15 0x00007fe206836376 in ha_tokudb::external_lock (this=0x7fe1d8c7e010, thd=0x7fe1f733f000, lock_type=2) at /git/PS-5.6.33_dbg/storage/tokudb/ha_tokudb.cc:6504 #16 0x0000000000653531 in handler::ha_external_lock (this=0x7fe1d8c7e010, thd=0x7fe1f733f000, lock_type=2) at /git/PS-5.6.33_dbg/sql/handler.cc:7652 #17 0x000000000095e8c7 in unlock_external (thd=0x7fe1f733f000, table=0x7fe1d8c1a968, count=1) at /git/PS-5.6.33_dbg/sql/lock.cc:648 #18 0x000000000095df1b in mysql_unlock_tables (thd=0x7fe1f733f000, sql_lock=0x7fe1d8c1a940) at /git/PS-5.6.33_dbg/sql/lock.cc:391 #19 0x00000000007748df in close_thread_tables (thd=0x7fe1f733f000) at /git/PS-5.6.33_dbg/sql/sql_base.cc:1452 #20 0x00000000007f1805 in mysql_execute_command (thd=0x7fe1f733f000) at /git/PS-5.6.33_dbg/sql/sql_parse.cc:5598 #21 0x00000000007f4ab5 in mysql_parse (thd=0x7fe1f733f000, rawbuf=0x7fe1d8c1f010 "DELETE FROM t", length=13, parser_state=0x7fe2278d7510) at /git/PS-5.6.33_dbg/sql/sql_parse.cc:6972 #22 0x00000000007e696f in dispatch_command (command=COM_QUERY, thd=0x7fe1f733f000, packet=0x7fe1fcf96001 "DELETE FROM t", packet_length=13) at /git/PS-5.6.33_dbg/sql/sql_parse.cc:1441 #23 0x00000000007e5841 in do_command (thd=0x7fe1f733f000) at /git/PS-5.6.33_dbg/sql/sql_parse.cc:1053 #24 0x00000000007ace41 in do_handle_one_connection (thd_arg=0x7fe1f733f000) at /git/PS-5.6.33_dbg/sql/sql_connect.cc:1541 #25 0x00000000007ac8c1 in handle_one_connection (arg=0x7fe1f733f000) at /git/PS-5.6.33_dbg/sql/sql_connect.cc:1444 #26 0x0000000000b0f101 in pfs_spawn_thread (arg=0x7fe20cfff600) at /git/PS-5.6.33_dbg/storage/perfschema/pfs.cc:1860 #27 0x00007fe2272e5dc5 in start_thread (arg=0x7fe2278d8700) at pthread_create.c:308 #28 0x00007fe225742ced in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
1 2 3 4 5 2016-10-11 13:09:15 30310 [Note] /sda/PS061016-percona-server-5.6.33-78.2-linux-x86_64-debug/bin/mysqld: ready for connections. Version: '5.6.33-78.2-debug' socket: '/sda/PS061016-percona-server-5.6.33-78.2-linux-x86_64-debug/socket.sock' port: 10661 MySQL Community Server (GPL) 2016-10-11 13:09:20 30310 [Note] TokuDB: Auto running foreground analysis for ./test/t, delta_activity 1 is greater than 1 percent of 1 rows. - succeeded. mysqld: /git/PS-5.6.33_dbg/sql/protocol.cc:993: virtual bool Protocol_text::store(const char*, size_t, const CHARSET_INFO*): Assertion `field_types == 0 || field_types[field_pos] == MYSQL_TYPE_DECIMAL || field_types[field_pos] == MYSQL_TYPE_BIT || field_types[field_pos] == MYSQL_TYPE_NEWDECIMAL || field_types[field_pos] == MYSQL_TYPE_NEWDATE || (field_types[field_pos] >= MYSQL_TYPE_ENUM && field_types[field_pos] <= MYSQL_TYPE_GEOMETRY)' failed. 02:09:21 UTC - mysqld got signal 6 ;
1 2 3 4 5 6 Testcase; #mysqld options required for replay: --tokudb-analyze-delete-fraction=0.0 --tokudb-auto-analyze=1 --plugin-load-add=tokudb=ha_tokudb.so DROP DATABASE test;CREATE DATABASE test;USE test; CREATE TABLE t(a INT UNSIGNED,b INT UNSIGNED,c CHAR(1),d CHAR (1),e CHAR (1),f VARCHAR(1),g BLOB,h BLOB,id INT,KEY(b)) ENGINE=tokudb; INSERT INTO t VALUES(0,0,0,'xydbgsc4u70kp',0,0,0,0,0); DELETE FROM t;

Not sure of triage; please adjust as needed.

Environment

None

Status

Assignee

Unassigned

Reporter

roel.vandepaar

Labels

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

Freshdesk Tickets

None

Affects versions

Percona-Server-5.6.35-80.0

Priority

Major
Configure