|
|
10.1.29 release bintar
|
Version: '10.1.29-MariaDB' socket: '/data/releases.old/10.1.29/mysql-test/var/tmp/mysqld.1.sock' port: 16000 MariaDB Server
|
pure virtual method called
|
terminate called without an active exception
|
181129 19:05:35 [ERROR] mysqld got signal 6 ;
|
|
#3 0x00007fcc63549fcf in raise () from /lib/x86_64-linux-gnu/libc.so.6
|
#4 0x00007fcc6354b3fa in abort () from /lib/x86_64-linux-gnu/libc.so.6
|
#5 0x00007fcc63c4a0ad in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
|
#6 0x00007fcc63c48066 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
|
#7 0x00007fcc63c480b1 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
|
#8 0x00007fcc63c48b8f in __cxa_pure_virtual () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
|
#9 0x000055a9855f54db in handler::ha_external_lock (this=0x7fcc4e053020, thd=thd@entry=0x7fcc59a97008, lock_type=lock_type@entry=2) at /home/buildbot/buildbot/build/sql/handler.cc:5891
|
#10 0x000055a9856a618b in unlock_external (thd=thd@entry=0x7fcc59a97008, table=0x7fcc4d983f18, count=<optimized out>) at /home/buildbot/buildbot/build/sql/lock.cc:689
|
#11 0x000055a9856a642c in mysql_unlock_tables (thd=0x7fcc59a97008, sql_lock=0x7fcc4d983ef0, free_lock=<optimized out>) at /home/buildbot/buildbot/build/sql/lock.cc:399
|
#12 0x000055a9856a6498 in mysql_unlock_tables (thd=<optimized out>, sql_lock=<optimized out>) at /home/buildbot/buildbot/build/sql/lock.cc:388
|
#13 0x000055a98542eec7 in close_thread_tables (thd=thd@entry=0x7fcc59a97008) at /home/buildbot/buildbot/build/sql/sql_base.cc:1028
|
#14 0x000055a985472f12 in mysql_execute_command (thd=thd@entry=0x7fcc59a97008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:5753
|
#15 0x000055a98547b8a5 in mysql_parse (thd=0x7fcc59a97008, rawbuf=<optimized out>, length=<optimized out>, parser_state=0x7fcc64af9610) at /home/buildbot/buildbot/build/sql/sql_parse.cc:7344
|
#16 0x000055a98547e39e in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7fcc59a97008, packet=0x7fcc4d983020 "UPDATE t1 SET i = pk + 1 WHERE pk = 1", packet_length=packet_length@entry=37) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1477
|
#17 0x000055a98547e90e in do_command (thd=0x7fcc59a97008) at /home/buildbot/buildbot/build/sql/sql_parse.cc:1106
|
#18 0x000055a98553f21f in do_handle_one_connection (thd_arg=thd_arg@entry=0x7fcc59a97008) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1349
|
#19 0x000055a98553f357 in handle_one_connection (arg=arg@entry=0x7fcc59a97008) at /home/buildbot/buildbot/build/sql/sql_connect.cc:1261
|
#20 0x000055a98575b9fd in pfs_spawn_thread (arg=0x7fcc6283f808) at /home/buildbot/buildbot/build/storage/perfschema/pfs.cc:1861
|
#21 0x00007fcc63f42494 in start_thread (arg=0x7fcc64afab00) at pthread_create.c:333
|
#22 0x00007fcc635ff93f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
--source include/have_innodb.inc
|
|
CREATE TABLE t1 (pk SERIAL, i INT, PRIMARY KEY(pk)) ENGINE=InnoDB;
|
INSERT INTO t1 () VALUES
|
(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),
|
(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),
|
(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),
|
(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),
|
(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),
|
(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),
|
(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),
|
(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),
|
(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),
|
(),();
|
|
CREATE TABLE t2 (pk INT PRIMARY KEY) ENGINE=InnoDB;
|
|
START TRANSACTION;
|
SELECT pk FROM t2;
|
|
--connect (con1,localhost,root,,test)
|
INSERT INTO t1 () VALUES (),(),(),();
|
|
--connect (con2,localhost,root,,test)
|
ALTER TABLE t1 FORCE;
|
INSERT INTO t1 () VALUES ();
|
|
--connection default
|
UPDATE t1 SET i = pk + 1 WHERE pk = 1;
|
|
# Cleanup
|
--disconnect con1
|
--disconnect con2
|
--connection default
|
DROP TABLE t1, t2;
|
The "pure virtual method called" error above seems to be specific to our release builds (not just RelWIthDebInfo from source, but actual release builds). On debug builds I get failures very similar to MDEV-14440:
|
10.1 328d7779bc
|
mysqld: /data/src/10.1/sql/handler.h:2810: int handler::ha_rnd_end(): Assertion `inited==RND' failed.
|
181129 19:11:16 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007f279e3d7ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
|
#8 0x000055d1a748f338 in handler::ha_rnd_end (this=0x7f2788866088) at /data/src/10.1/sql/handler.h:2810
|
#9 0x000055d1a78612c7 in QUICK_ROR_INTERSECT_SELECT::~QUICK_ROR_INTERSECT_SELECT (this=0x7f278801f580, __in_chrg=<optimized out>) at /data/src/10.1/sql/opt_range.cc:1698
|
#10 0x000055d1a7861326 in QUICK_ROR_INTERSECT_SELECT::~QUICK_ROR_INTERSECT_SELECT (this=0x7f278801f580, __in_chrg=<optimized out>) at /data/src/10.1/sql/opt_range.cc:1700
|
#11 0x000055d1a785fcdd in SQL_SELECT::cleanup (this=0x7f2788044070) at /data/src/10.1/sql/opt_range.cc:1209
|
#12 0x000055d1a785fd64 in SQL_SELECT::~SQL_SELECT (this=0x7f2788044070, __in_chrg=<optimized out>) at /data/src/10.1/sql/opt_range.cc:1223
|
#13 0x000055d1a75df804 in mysql_update (thd=0x7f2794bc7070, table_list=0x7f2788043180, fields=..., values=..., conds=0x7f2788043cb0, order_num=0, order=0x0, limit=18446744073709551615, handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7f27a022fcc0, updated_return=0x7f27a022fd50) at /data/src/10.1/sql/sql_update.cc:1057
|
#14 0x000055d1a7502b9e in mysql_execute_command (thd=0x7f2794bc7070) at /data/src/10.1/sql/sql_parse.cc:3789
|
#15 0x000055d1a750e075 in mysql_parse (thd=0x7f2794bc7070, rawbuf=0x7f2788043088 "UPDATE t1 SET i = pk + 1 WHERE pk = 1", length=37, parser_state=0x7f27a02305e0) at /data/src/10.1/sql/sql_parse.cc:7467
|
#16 0x000055d1a74fc8c6 in dispatch_command (command=COM_QUERY, thd=0x7f2794bc7070, packet=0x7f2796ac3071 "UPDATE t1 SET i = pk + 1 WHERE pk = 1", packet_length=37) at /data/src/10.1/sql/sql_parse.cc:1495
|
#17 0x000055d1a74fb64b in do_command (thd=0x7f2794bc7070) at /data/src/10.1/sql/sql_parse.cc:1124
|
#18 0x000055d1a76361aa in do_handle_one_connection (thd_arg=0x7f2794bc7070) at /data/src/10.1/sql/sql_connect.cc:1330
|
#19 0x000055d1a7635f0e in handle_one_connection (arg=0x7f2794bc7070) at /data/src/10.1/sql/sql_connect.cc:1242
|
#20 0x000055d1a79f4238 in pfs_spawn_thread (arg=0x7f2798ff2670) at /data/src/10.1/storage/perfschema/pfs.cc:1861
|
#21 0x00007f279fec0494 in start_thread (arg=0x7f27a0231b00) at pthread_create.c:333
|
#22 0x00007f279e49493f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
And on source non-debug builds, I get either the error ER_TABLE_DEF_CHANGED, or SIGSEGV similar to the one in MDEV-14440 (only without partitioning).
With all likelihood, the fix for MDEV-14440 will fix this issue as well, but i will assign it to varun to make sure of that.
|